/* =========================================
   TITEL
========================================= */

.data-title {

    text-align: center;

    color: #00a7b5;

    font-size: 2rem;

    margin-bottom: 25px;
}

/* =========================================
   FORMULIER CONTAINER
========================================= */

.data-container {

    width: 90%;

    max-width: 700px;

    margin: 25px auto;

    padding: 30px;

    background: linear-gradient(
        135deg,
        #f8ffff,
        #ddffff
    );

    border-radius: 25px;

    border: 2px solid #7cefff;

    box-shadow:
        0 0 25px rgba(
            0,
            207,
            255,
            0.35
        );
}

/* =========================================
   LABELS
========================================= */

.data-container label {

    display: block;

    margin-top: 15px;

    margin-bottom: 5px;

    font-weight: bold;

    color: #006b75;
}

/* =========================================
   VELDEN
========================================= */

.data-container input,
.data-container select,
.data-container textarea {

    width: 100%;

    padding: 12px;

    border-radius: 12px;

    border: 2px solid #a9f4ff;

    background: white;

    font-size: 16px;

    box-sizing: border-box;

    transition: 0.3s;
}

.data-container input:focus,
.data-container select:focus,
.data-container textarea:focus {

    outline: none;

    border-color: #00d4ff;

    box-shadow:
        0 0 20px rgba(
            0,
            212,
            255,
            0.70
        );
}

.data-container textarea {

    resize: vertical;

    min-height: 120px;
}

/* =========================================
   KNOPPEN
========================================= */

.button-row {

    display: flex;

    gap: 15px;

    margin-top: 30px;
}

.data-submit {

    flex: 1;

    background: #e53935;

    color: white;

    border: none;

    border-radius: 15px;

    padding: 14px;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.data-submit:hover {

    background: #c62828;

    box-shadow:
        0 0 20px rgba(
            229,
            57,
            53,
            0.60
        );
}

.cancel-btn {

    flex: 1;

    background: #e0e0e0;

    border: none;

    border-radius: 15px;

    padding: 14px;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;
}

.cancel-btn:hover {

    background: #cfcfcf;
}

/* =========================================
   LOADING SCHERM
========================================= */

#aanvraagLoadingOverlay {

    position: fixed;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    background: rgba(
        0,
        0,
        0,
        0.70
    );

    z-index: 9999;
}

/* =========================================
   LOADER
========================================= */

.loader {

    width: 65px;

    height: 65px;

    border: 6px solid #ffffff30;

    border-top: 6px solid #00d4ff;

    border-radius: 50%;

    animation: spin 1s linear infinite;
}

@keyframes spin {

    from {

        transform: rotate(0deg);
    }

    to {

        transform: rotate(360deg);
    }
}

.loading-text {

    margin-top: 15px;

    color: white;

    font-weight: bold;
}

/* =========================================
   SUCCESS POPUP
========================================= */

#aanvraagSuccessPopup {

    position: fixed;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    background: rgba(
        0,
        0,
        0,
        0.60
    );

    z-index: 9999;
}

.popup-box {

    width: 90%;

    max-width: 500px;

    background: white;

    padding: 30px;

    border-radius: 25px;

    text-align: center;

    box-shadow:
        0 0 25px rgba(
            0,
            212,
            255,
            0.30
        );
}

.popup-box h3 {

    color: #00a7b5;

    margin-bottom: 15px;
}

.popup-box p {

    line-height: 1.7;
}

/* =========================================
   MOBIEL
========================================= */

@media (max-width: 768px) {

    .data-container {

        width: 95%;

        padding: 20px;
    }

    .button-row {

        flex-direction: column;
    }

    .data-submit,
    .cancel-btn {

        width: 100%;
    }
}