﻿/* =========================================
    APPOINTMENT PAGE
    ========================================= */

.appointment-hero {
    padding: 85px 0;
    background: linear-gradient( 135deg, #eaf6fb 0%, #f8fbfd 55%, #e7f2f8 100% );
    border-bottom: 1px solid #dce8ef;
}

.appointment-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

    .appointment-hero-content > span {
        color: #087f8c;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 2.5px;
    }

    .appointment-hero-content h1 {
        color: #12304a;
        font-size: 44px;
        font-weight: 800;
        line-height: 1.2;
        margin: 12px 0 16px;
    }

    .appointment-hero-content p {
        color: #5d7385;
        font-size: 16px;
        line-height: 1.8;
        margin: 0;
    }


/* =========================================
   APPOINTMENT SECTION
   ========================================= */

.appointment-section {
    padding: 90px 0;
    background: #f5f9fc;
}


/* =========================================
   SUCCESS MESSAGE
   ========================================= */

.appointment-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 850px;
    margin: 0 auto 35px;
    padding: 20px 28px;
    background: #eaf8f1;
    border: 1px solid #b8e5cc;
    border-radius: 12px;
    color: #176b45;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(23, 107, 69, 0.08);
    opacity: 1;
    transition: opacity 0.5s ease;
}

    .appointment-success i {
        font-size: 24px;
        flex-shrink: 0;
    }


/* =========================================
   APPOINTMENT INFORMATION
   ========================================= */

.appointment-info {
    padding: 15px 10px;
}

.appointment-subtitle {
    color: #087f8c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.appointment-info h2 {
    color: #12304a;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    margin: 10px 0 18px;
}

.appointment-info > p {
    color: #5b7181;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}


/* =========================================
   INFORMATION ITEMS
   ========================================= */

.appointment-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.appointment-info-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e5f4f5;
    border: 1px solid #cce7e9;
    font-size: 22px;
}

.appointment-info-item strong {
    display: block;
    color: #12304a;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.appointment-info-item span {
    display: block;
    color: #637988;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================
   EMERGENCY BOX
   ========================================= */

.appointment-emergency {
    margin-top: 30px;
    padding: 22px 24px;
    background: #12304a;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(18, 48, 74, 0.14);
}

    .appointment-emergency small {
        display: block;
        color: #9fc2d3;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 5px;
    }

    .appointment-emergency strong {
        display: block;
        color: #ffffff;
        font-size: 23px;
        font-weight: 800;
        margin-bottom: 3px;
    }

    .appointment-emergency span {
        color: #c5d7e2;
        font-size: 13px;
    }


/* =========================================
   FORM CARD
   ========================================= */

.appointment-form-card {
    padding: 38px;
    background: #ffffff;
    border: 1px solid #dce7ef;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(18, 48, 74, 0.09);
}

.form-heading {
    margin-bottom: 30px;
}

    .form-heading span {
        color: #087f8c;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .form-heading h2 {
        color: #12304a;
        font-size: 30px;
        font-weight: 800;
        margin: 8px 0 6px;
    }

    .form-heading p {
        color: #6a7f8e;
        font-size: 14px;
        margin: 0;
    }


/* =========================================
   FORM ELEMENTS
   ========================================= */

.appointment-form-card label {
    display: block;
    color: #345064;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.appointment-form-card .form-control,
.appointment-form-card .form-select {
    min-height: 48px;
    padding: 10px 14px;
    color: #344f60;
    background-color: #ffffff;
    border: 1px solid #d5e1e9;
    border-radius: 9px;
    font-size: 14px;
    box-shadow: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.appointment-form-card textarea.form-control {
    min-height: 125px;
    resize: vertical;
}

.appointment-form-card .form-control::placeholder {
    color: #9aabb7;
}

.appointment-form-card .form-control:focus,
.appointment-form-card .form-select:focus {
    color: #344f60;
    background-color: #ffffff;
    border-color: #087f8c;
    box-shadow: 0 0 0 3px rgba(8, 127, 140, 0.10);
}


/* =========================================
   VALIDATION
   ========================================= */

.appointment-form-card .text-danger {
    display: block;
    margin-top: 6px;
    color: #c0392b !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.appointment-form-card
.form-control.input-validation-error,
.appointment-form-card
.form-select.input-validation-error {
    border-color: #dc3545;
}

    .appointment-form-card
    .form-control.input-validation-error:focus,
    .appointment-form-card
    .form-select.input-validation-error:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.10);
    }


/* =========================================
   SUBMIT BUTTON
   ========================================= */

.btn-submit-appointment {
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    background: #12304a;
    border: 1px solid #12304a;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

    .btn-submit-appointment:hover {
        color: #ffffff;
        background: #087f8c;
        border-color: #087f8c;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(8, 127, 140, 0.18);
    }

    .btn-submit-appointment i {
        font-size: 15px;
    }


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 991px) {

    .appointment-hero {
        padding: 70px 0;
    }

    .appointment-hero-content h1 {
        font-size: 38px;
    }

    .appointment-info {
        padding: 0;
    }

        .appointment-info h2 {
            font-size: 32px;
        }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .appointment-hero {
        padding: 60px 0;
    }

    .appointment-hero-content h1 {
        font-size: 31px;
    }

    .appointment-hero-content p {
        font-size: 15px;
    }

    .appointment-section {
        padding: 65px 0;
    }

    .appointment-info h2 {
        font-size: 29px;
    }

    .appointment-form-card {
        padding: 28px 20px;
        border-radius: 17px;
    }

    .form-heading h2 {
        font-size: 26px;
    }

    .appointment-emergency strong {
        font-size: 20px;
    }

    .appointment-success {
        align-items: flex-start;
        margin-bottom: 25px;
        padding: 13px 15px;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 480px) {

    .appointment-hero-content h1 {
        font-size: 28px;
    }

    .appointment-form-card {
        padding: 24px 16px;
    }

    .appointment-info-icon {
        flex-basis: 45px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .btn-submit-appointment {
        min-height: 48px;
    }
}
