/* ==========================================================================
   NHL "Doctor not available for online booking" modal.

   Matches the appointment-cancellation modal (overlay + white card + × close +
   primary button) for consistency with the site's existing modal components,
   and renders the Booking Department phone/email in the same navy tel:/mailto:
   style — with the orange left accent — as the Step-2 "Special Appointments"
   card so the contact block reads identically to the booking form.
   ========================================================================== */

.nhl-du-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 1rem;
}

.nhl-du-card {
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(16, 24, 40, 0.22);
    padding: 2rem;
    width: 100%;
    max-width: 460px;
    text-align: left;
}

/* !important throughout: the site's global button styles (blue pill background,
   padding, min-width) otherwise turn this plain × into a coloured oval — the same
   site-wide override the Special Appointments card guards against. */
.nhl-du-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 32px !important;
    min-width: 0 !important;
    height: 32px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: pointer;
    color: #667085 !important;
    transition: background 0.15s, color 0.15s;
}

.nhl-du-close:hover,
.nhl-du-close:focus {
    background: #eef0f4 !important;
    color: #101828 !important;
}

.nhl-du-title {
    margin: 0 0 0.85rem;
    padding-right: 1.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #002d70;
}

.nhl-du-msg {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1a1a1a;
}

/* Contact block — mirrors the Special Appointments card look. */
.nhl-du-contact {
    background: #f7f9fc;
    border: 1px solid #e6e8ec;
    border-left: 5px solid #f97316;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* No trailing gap under the last block (contact card, or the message when the
   contact details are not configured), so the card bottom padding is even. */
.nhl-du-card > *:last-child {
    margin-bottom: 0;
}

.nhl-du-link,
.nhl-du-email {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #002d70;
    text-decoration: none;
}

.nhl-du-link {
    font-size: 1.15rem;
    font-weight: 700;
}

.nhl-du-email {
    font-size: 0.95rem;
    font-weight: 600;
    word-break: break-all;
}

.nhl-du-link:hover,
.nhl-du-email:hover,
.nhl-du-link:focus-visible,
.nhl-du-email:focus-visible {
    color: #001a44;
    text-decoration: none;
}

.nhl-du-phone-icon,
.nhl-du-email-icon {
    fill: none;
    stroke: #002d70;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.nhl-du-phone-icon {
    width: 22px;
    height: 22px;
}

.nhl-du-email-icon {
    width: 18px;
    height: 18px;
}

/* Focusing the dialog container on open must not draw a ring. */
.nhl-du-card:focus,
.nhl-du-card:focus-visible {
    outline: none;
}

.nhl-du-card a:focus-visible {
    outline: 2px solid #002d70;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Compact ring, hugging the button, only on keyboard focus. */
.nhl-du-close:focus-visible {
    outline: 2px solid #002d70;
    outline-offset: 1px;
    border-radius: 50%;
}

@media (max-width: 480px) {
    .nhl-du-card {
        padding: 1.5rem 1.25rem;
    }
}
