﻿body {
}

.btn-disabled {
    background-color: #d6d6d6 !important; 
    color: #a0a0a0 !important; 
    cursor: not-allowed;
}
form {
    margin: 0 auto;
    max-width: 600px;
    padding: 20px;
    z-index: 99999;
    background-color: #f8f9fa;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    font-weight: bold;
}

input,
textarea {
    font-size: 1rem;
    padding: 0.8rem;
    border-radius: 4px;
}

#loading {
    margin-top: 1rem;
    color: green;
}

/* Modal stijl */
.modal-body {
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
}
.modal-dialog {
    margin-top: 10vh;
    z-index: 9999;
}
.modal-header {
    background-color: #c4b8ad;
    color: white;
}

.modal-footer {
    text-align: center;
}

#submitBtn {
    font-weight: bold;
    background-color: #c4b8ad;
}

#successMessage {
    display: none;
}

#successMessage {
    margin-top: 1.5rem;
    color: green;
}

#errorMessage {
    display: none;
    margin-top: 1.5rem;
    color: red;
}

#closeBtn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

@media (max-width: 768px) {
    form {
        padding: 0 1rem;
        max-width: 100%; 
        z-index:99999;
         }

    .form-group {
        margin-bottom: 1.2rem;
         }

    input,
    textarea {
        width: 100%;
    }

    .modal-dialog {
        margin: 10px;
        margin-top: 10vh;
        z-index: 9999;

    }

    .modal-content {
        font-size: 0.9rem;
    }
}
