:root {
    /* brand palette */
    --anmc-primary: #1D3565;
    --anmc-navy: #1F3163;
    --anmc-blue: #526FA8;
    --anmc-light: #F5F7FC;
    --anmc-accent: #9E2638;
    --anmc-red: #B3171E;
    --anmc-gold: #C7A65A;
    --anmc-text: #273858;
    --anmc-border: #C9CEE0;
    --anmc-whatsapp: #25D366;
    --anmc-grad-title: linear-gradient(90deg, #1D3565 0%, #2A3566 45%, #9E2638 100%);
}

.book-grid {
    zoom: 1.2;
}
/* =========================================================
   21. BOOK YOUR APPOINTMENT
   ========================================================= */
.book-body {
    padding: 52px 0 110px;
    background: #fff;
}

.doctor-summary {
    --bs-card-border-width: 0;
    --bs-card-border-radius: 12px;
    box-shadow: 0 12px 38px rgba(31, 51, 99, .10);
}

.doctor-summary {
    min-height: 242px;
}

.doctor-summary-photo {
    min-height: 260px;
}

    .doctor-summary-photo img {
    }

.specialty-medallion--square {
    position: absolute;
    bottom: 0;
    width: 46px;
    height: 46px;
    border-radius: 3px;
    border-width: 2px;
    font-size: 20px;
    z-index: 2;
}

.doctor-summary-body {
    padding: 30px 40px 26px 58px;
}

.doctor-summary-name {
    font-size: 30px;
    font-weight: 400;
    color: #1F335F;
    margin: 0 0 12px;
}

.doctor-summary-bio {
    font-size: 17.5px;
    line-height: 1.75;
    color: #4E5565;
    max-width: 660px;
    margin-bottom: 18px;
}

.doctor-summary-line {
    font-size: 16.5px;
    line-height: 1.55;
    color: #0F1A2E;
}

    .doctor-summary-line b {
        color: #1F335F;
        font-weight: 700;
    }

.book-grid {
    --bs-gutter-x: 0;
    margin-top: 32px;
}

@media (min-width: 992px) {
    .book-cal {
        flex: 0 0 auto;
        width: 28.7%;
    }

    .book-panel {
        flex: 0 0 auto;
        width: 66.2%;
    }
}

.book-cal {
    align-self: flex-start;
    background: #FAFAFB;
    border-radius: 6px;
    padding: 38px 26px 34px;
}

.cal-heading {
    font-size: clamp(17px, 1.45vw, 20px);
    font-weight: 400;
    color: #1F335F;
    margin: 0 0 22px;
    line-height: 1.2;
}

.calendar-head {
    margin-bottom: 14px;
}

.cal-nav {
    width: 25px;
    height: 25px;
    border: 1px solid #E3E6EE;
    border-radius: 6px;
    background: #fff;
    color: #1F335F;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

    .cal-nav:hover:not(:disabled) {
        background: #EEF1F8;
    }

    .cal-nav:disabled {
        opacity: .35;
        cursor: not-allowed;
    }

.cal-month {
    font-size: 14.5px;
    font-weight: 500;
    color: #1F335F;
    line-height: 1.2;
}

.cal-year {
    font-size: 9px;
    color: #8E95AD;
    line-height: 1.2;
}

.cal-weekdays, .cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.cal-weekdays {
    font-size: 12.5px;
    color: #8E95AD;
    margin-bottom: 8px;
}

.cal-days {
    row-gap: 11px;
    padding-bottom: 14px;
    border-bottom: 1px solid #E3E6EE;
}

.cal-day {
    width: 26px;
    height: 26px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    font-size: 12.5px;
    color: #1F335F;
    transition: background .15s;
}

    .cal-day:hover:not(:disabled):not(.is-selected) {
        background: #E6EAF4;
    }

    .cal-day:disabled {
        color: #C3C7D6;
        cursor: default;
    }

    .cal-day.is-out:disabled {
        color: #AEB4C8;
    }

    .cal-day.is-selected {
        background: #1F335F;
        color: #fff;
        font-weight: 500;
    }

    .cal-day:focus-visible {
        outline: 2px solid #C7A65A;
        outline-offset: 1px;
    }

.slots-heading {
    font-size: 16px;
    font-weight: 400;
    color: #0F1A2E;
    margin: 36px 0 12px;
}

.slots {
    gap: 6px !important;
}

.slot-pill {
    height: 29px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border: 0;
    border-radius: 999px;
    background: #ECECED;
    color: #3A3F4C;
    font-size: 12.5px;
    font-weight: 400;
    white-space: nowrap;
    transition: background .2s, color .2s;
}

    .slot-pill:hover {
        background: #DDE1EC;
        color: #1F335F;
    }

.btn-check:checked + .slot-pill, .btn-check:checked + .slot-pill:hover {
    background: #1F335F;
    color: #fff;
}

.btn-check:focus-visible + .slot-pill {
    box-shadow: 0 0 0 .2rem rgba(199, 166, 90, .45);
}

.book-panel {
    padding-top: 42px;
}

@media (min-width: 992px) {
    .book-panel {
        padding-top: 40px;
    }
}

.book-hint {
    font-size: 11.5px;
    color: #0F1A2E;
    margin-bottom: 22px;
}

.book-tabs {
    --bs-nav-pills-link-active-bg: #1F335F;
    background: #FAFAFB;
    border-radius: 4px;
    gap: 0;
}

    .book-tabs .nav-link {
        height: 48px;
        font-size: 15.5px;
        font-weight: 400;
        color: #1646B8;
        border-radius: 4px;
        border: 1px solid transparent;
    }

        .book-tabs .nav-link.active {
            background: #1F335F;
            color: #fff;
            border-color: #2B4BA6;
        }

        .book-tabs .nav-link:focus-visible {
            box-shadow: 0 0 0 .2rem rgba(199, 166, 90, .45);
        }

.book-fields {
    margin-top: 12px;
}

    .book-fields .form-label {
        font-size: 13.5px;
        font-weight: 500;
        color: #0F1A2E;
        margin-bottom: 9px;
    }

    .book-fields .req, .auth-field .req {
        color: #B3171E;
        margin-right: 3px;
        font-size: 11px;
    }

    .book-fields .form-control, .book-fields .form-select {
        height: 35px;
        font-size: 11.5px;
        color: #1F335F;
        border: 1px solid #E6E8EF;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(40, 50, 100, .05);
        padding-left: 18px;
    }

        .book-fields .form-control::placeholder {
            color: #7B8397;
        }

    .book-fields .form-select {
        padding-right: 36px;
        background-position: right 16px center;
        background-size: 12px;
    }

        .book-fields .form-select:invalid {
            color: #7B8397;
        }

.field-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #4A5670;
    pointer-events: none;
}

.book-submit {
    margin-top: 28px;
    height: 38px;
    min-width: 124px;
    --bs-btn-padding-x: 24px;
}

.person-list {
    margin: 24px 0 0;
}

.person-row {
    border: 1px solid #E3E6EE;
    border-radius: 6px;
    padding: 10px 16px 9px;
    margin-bottom: 14px;
    background: #fff;
}

    .person-row dl {
        font-size: 14px;
    }

    .person-row dt {
        font-weight: 400;
        color: #6B7488;
        white-space: nowrap;
        margin-bottom: 3px;
    }

    .person-row dd {
        color: #0F1A2E;
        font-size: 12.5px;
        margin-bottom: 3px !important;
    }


    .person-row:hover, .person-row.active {
        background-color: #2c3d66;
        color: #fff
    }

        .person-row:hover dt, .person-row.active dt {
            color: #fff
        }

        .person-row:hover dd, .person-row.active dd {
            color: #fff
        }

.title-grad {
    width: fit-content;
    background: var(--anmc-grad-title);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.person-remove {
    border: 0;
    background: transparent;
    color: #CDD1DE;
    font-size: 17px;
    padding: 2px;
    margin-top: 12px;
    transition: color .2s;
}

    .person-remove:hover {
        color: #B3171E;
    }

.person-empty {
    margin: 22px 0 0;
    font-size: 13px;
    color: #6B7488;
}

@media (max-width: 991.98px) {
    .book-body {
        padding: 36px 0 80px;
    }

    .book-cal {
        margin-bottom: 8px;
    }

    .book-panel {
        padding-top: 28px;
    }

    .doctor-summary-body {
        padding: 24px 22px;
    }
}

@media (max-width: 575.98px) {
    .book-tabs .nav-link {
        height: 44px;
        font-size: 13.5px;
        padding: 0 6px;
    }

    .doctor-summary-name {
        font-size: 22px;
    }

    .specialty-medallion--square {
        right: 14px;
        bottom: -22px;
    }
}



.btn-anmc--lg {
    --bs-btn-padding-x: 27px;
    --bs-btn-font-size: 13px;
    --bs-btn-font-weight: 600;
    height: 42px;
    box-shadow: 0 4px 12px rgba(179, 23, 30, .25);
}

.btn-anmc {
    gap: 14px;
}

.btn-anmc {
    --bs-btn-color: #fff !important;
    --bs-btn-bg: var(--anmc-red) !important;
    --bs-btn-border-color: var(--anmc-red) !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: var(--anmc-accent) !important;
    --bs-btn-hover-border-color: var(--anmc-accent) !important;
    --bs-btn-active-color: #fff !important;
    --bs-btn-active-bg: var(--anmc-accent) !important;
    --bs-btn-active-border-color: var(--anmc-accent) !important;
    --bs-btn-focus-shadow-rgb: 199, 166, 90;
    --bs-btn-padding-x: 23px;
    --bs-btn-padding-y: 0;
    --bs-btn-font-size: 12.5px;
    --bs-btn-font-weight: 500;
    display: inline-flex;
    align-items: center;
    height: 34px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(179, 23, 30, .25);
    background-color: var(--bs-btn-bg) !important;
    color: var(--bs-btn-color) !important;
}
