/* Extracted from keystoneapp/templates/appointments/book_appointment.html */
.appointment-page {
        background: #f6f8fb;
        padding: 48px 0 72px;
    }

    .appointment-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 1.5rem;
        align-items: start;
    }

    .appointment-card,
    .appointment-help-card {
        background: #fff;
        border: 1px solid #e6edf5;
        border-radius: 8px;
        box-shadow: 0 18px 42px rgba(15, 35, 63, .08);
        overflow: hidden;
    }

    .appointment-header {
        background: linear-gradient(135deg, #10233f 0%, #163b63 52%, #0f766e 100%);
        color: #fff;
        padding: 2.1rem;
    }

    .appointment-header h1 {
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 800;
        line-height: 1.08;
        letter-spacing: 0;
        margin: 0 0 .75rem;
    }

    .appointment-header p {
        color: rgba(255, 255, 255, .88);
        max-width: 760px;
        margin-bottom: 0;
    }

    .appointment-form-body {
        padding: 1.25rem;
    }

    .appointment-step {
        border: 1px solid #e6edf5;
        border-radius: 8px;
        margin-bottom: .9rem;
        overflow: hidden;
        background: #fff;
    }

    .appointment-step summary {
        list-style: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem 1.1rem;
        color: #10233f;
        font-weight: 800;
    }

    .appointment-step summary::-webkit-details-marker {
        display: none;
    }

    .step-title {
        display: flex;
        align-items: center;
        gap: .75rem;
        min-width: 0;
    }

    .step-number {
        flex: 0 0 auto;
        width: 34px;
        height: 34px;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #e8f7ff;
        color: #0b5f87;
        font-weight: 900;
    }

    .step-heading {
        display: block;
        line-height: 1.2;
    }

    .step-hint {
        display: block;
        color: #667085;
        font-size: .84rem;
        font-weight: 600;
        margin-top: .2rem;
    }

    .step-status {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        color: #0f766e;
        font-size: .85rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .step-status .done-label {
        display: none;
    }

    .appointment-step.is-complete .step-status .done-label {
        display: inline;
    }

    .appointment-step .step-arrow {
        color: #0b5f87;
        transition: transform .2s ease;
    }

    .appointment-step[open] .step-arrow {
        transform: rotate(180deg);
    }

    .step-content {
        border-top: 1px solid #e6edf5;
        padding: 1.15rem;
    }

    .form-label {
        color: #334155;
        font-weight: 700;
        margin-bottom: .4rem;
    }

    .required-star {
        color: #dc3545;
    }

    .form-floating-icon {
        position: relative;
    }

    .form-floating-icon .form-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #64748b;
        z-index: 2;
    }

    .form-floating-icon .form-control,
    .form-floating-icon .form-select {
        min-height: 46px;
        padding-left: 40px;
        border-color: #d9e2ec;
    }

    .form-floating-icon textarea.form-control {
        min-height: 120px;
        padding-top: 12px;
    }

    .form-floating-icon textarea.form-control + .form-icon {
        top: 21px;
        transform: none;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: #0f766e;
        box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .12);
    }

    .field-help {
        color: #667085;
        font-size: .86rem;
        margin-top: .35rem;
    }

    .error-text {
        color: #dc3545;
        font-size: .86rem;
        margin-top: .35rem;
    }

    .appointment-consent {
        border: 1px solid #d9e2ec;
        border-radius: 8px;
        background: #f8fbff;
        padding: 1rem;
    }

    .appointment-consent .form-check {
        display: flex;
        gap: .75rem;
        align-items: flex-start;
        padding-left: 0;
    }

    .appointment-consent .form-check-input {
        margin-left: 0;
        margin-top: .2rem;
        width: 1.2rem;
        height: 1.2rem;
        clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
        border-radius: 0;
    }

    .appointment-security {
        border: 1px solid #e6edf5;
        border-radius: 8px;
        padding: 1rem;
        background: #fff;
    }

    .g-recaptcha {
        display: inline-block;
        max-width: 100%;
    }

    .btn-submit-appointment {
        background: #0f766e;
        border: 1px solid #0f766e;
        color: #fff;
        min-height: 48px;
        border-radius: 8px;
        font-weight: 800;
        padding: .75rem 1.5rem;
    }

    .btn-submit-appointment:hover {
        background: #0c5f59;
        border-color: #0c5f59;
        color: #fff;
    }

    .btn-cancel {
        border: 1px solid #d9e2ec;
        color: #334155;
        background: #fff;
        min-height: 48px;
        border-radius: 8px;
        font-weight: 800;
        padding: .75rem 1.5rem;
    }

    .loading-spinner {
        display: none;
        width: 18px;
        height: 18px;
        border: 2px solid #fff;
        border-top-color: transparent;
        border-radius: 50%;
        animation: appointment-spin .8s linear infinite;
        margin-right: 8px;
    }

    @keyframes appointment-spin {
        to { transform: rotate(360deg); }
    }

    .form-submitting .loading-spinner {
        display: inline-block;
    }

    .form-submitting .btn-text {
        display: none;
    }

    .btn-loading-text {
        display: none;
    }

    .form-submitting .btn-loading-text {
        display: inline;
    }

    .appointment-help-card {
        padding: 1.25rem;
        position: sticky;
        top: 110px;
    }

    .appointment-help-card h2 {
        color: #10233f;
        font-size: 1.15rem;
        font-weight: 800;
        margin-bottom: .75rem;
    }

    .help-list {
        display: grid;
        gap: .8rem;
        margin: 1rem 0;
    }

    .help-item {
        display: flex;
        gap: .75rem;
        color: #526173;
    }

    .help-item i {
        color: #0f766e;
        margin-top: .2rem;
    }

    .emergency-box {
        border-radius: 8px;
        background: #fff7ed;
        border: 1px solid #fed7aa;
        color: #7c2d12;
        padding: 1rem;
        margin-top: 1rem;
    }

    .emergency-box a {
        color: #9a3412;
        font-weight: 900;
    }

    .alert-success-custom,
    .alert-danger-custom {
        border: 0;
        border-left: 4px solid;
        border-radius: 8px;
        padding: 1rem;
    }

    .alert-success-custom {
        background: #ecfdf3;
        border-left-color: #22c55e;
        color: #14532d;
    }

    .alert-danger-custom {
        background: #fff1f2;
        border-left-color: #dc3545;
        color: #7f1d1d;
    }

    @media (max-width: 991.98px) {
        .appointment-shell {
            grid-template-columns: 1fr;
        }

        .appointment-help-card {
            position: static;
        }
    }

    @media (max-width: 575.98px) {
        .appointment-page {
            padding: 32px 0 56px;
        }

        .appointment-header,
        .appointment-form-body,
        .step-content,
        .appointment-help-card {
            padding: 1rem;
        }

        .appointment-step summary {
            align-items: flex-start;
            padding: .95rem;
        }

        .step-status .done-label {
            display: none !important;
        }
    }

/* Generated classes for former inline style attributes */
/* Inline styles extracted from keystoneapp/templates/appointments/book_appointment.html */
.ktl-inline-f3bc65ad { display: none; }
