﻿.portal-page {
    width: 100%;
    padding: 50px 20px;
    background-color: #f0f0f0;
    margin-top: 90px;
}

.portal-card {
    width: 100%;
    max-width: 520px;
    margin: 50px auto;
    padding: 40px;
    background: #f0f0f0;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

    .portal-card h1 {
        margin: 0 0 12px;
        font-size: 30px;
        font-weight: 800;
        line-height: 1.2;
        color: #d71319;
    }

.portal-intro {
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}


/* Velden
   ========================================= */

.portal-field {
    margin-bottom: 22px;
}

    .portal-field label {
        display: block;
        margin-bottom: 7px;
        font-size: 15px;
        font-weight: 700;
        color: #222;
    }

.portal-input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .portal-input:hover {
        border-color: #aaa;
    }

    .portal-input:focus {
        border-color: #555;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
    }


/* Validatie
   ========================================= */

.portal-validation {
    display: block;
    clear: both;
    width: 100%;
    margin-top: 2px;
    font-size: 14px;
    color: #c62828;
}

.portal-validation-summary {
    display: block;
    clear: both;
    width: 100%;
    margin-top: 2px;
    font-size: 14px;
    color: #c62828;
}

.input-validation-error {
    display: block;
    clear: both;
    width: 100%;
    margin-top: 2px;
    font-size: 14px;
    color: #c62828;
    ;
}

    .input-validation-error:focus {
        border-color: #c62828;
        box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.10);
    }


/* Button
   ========================================= */

.portal-button {
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.1s ease, opacity 0.2s ease;

}

    .portal-button:hover {
        opacity: 0.9;
    }

    .portal-button:active {
        transform: translateY(1px);
    }


/* Links onder formulier
   ========================================= */

.portal-links {
    margin-top: 22px;
    text-align: left;
    font-size: 15px;
}

    .portal-links a {
        text-decoration: none;
    }

        .portal-links a:hover {
            text-decoration: underline;
        }

.portal-center {
    margin-top: 22px;
    text-align: center;
    font-size: 15px;
}

    .portal-links a {
        text-decoration: none;
    }

        .portal-links a:hover {
            text-decoration: underline;
        }

/* Meldingen
   ========================================= */

.portal-success {
    margin-bottom: 25px;
    padding: 15px 18px;
    border: 1px solid #b7dfbd;
    border-radius: 6px;
    background: #f0faf2;
    color: #286333;
    line-height: 1.5;
}

.portal-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: -5px 0 22px;
}

.portal-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.portal-remember label {
    margin: 0;
    font-size: 15px;
    cursor: pointer;
    user-select: none;
}

.appointment-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #28a745;
    color: white;
    font-size: 34px;
    font-weight: 700;
}

.appointment-confirmation {
    text-align: center;
}

    .appointment-confirmation h2 {
        margin-bottom: 10px;
    }

.appointment-confirmation-details {
    margin: 25px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: left;
}

    .appointment-confirmation-details p {
        margin: 0 0 15px;
    }

        .appointment-confirmation-details p:last-child {
            margin-bottom: 0;
        }

.appointment-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

    .appointment-detail:last-child {
        margin-bottom: 0;
    }

    .appointment-detail > div {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .appointment-detail strong {
        font-size: 14px;
    }

    .appointment-detail span {
        font-size: 16px;
    }

.appointment-error-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #dc3545;
    color: white;
    font-size: 36px;
    font-weight: 700;
}

.appointment-error-message {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    font-weight: 600;
}

/* Mobiel
   ========================================= */

@media (max-width: 600px) {

    .portal-page {
        padding: 10px 5px;
    }

    .portal-card {
        padding: 28px 20px;
        border-radius: 8px;
        width: 85%;
    }

        .portal-card h1 {
            font-size: 26px;
        }
}
