/* Visible countdown pill injected by booking-timer.js on booking-flow pages. */
.booking-timer-pill {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #002070;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(0, 32, 112, 0.28), 0 1px 4px rgba(0, 0, 0, 0.08);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background-color .25s ease, padding .3s ease;
    cursor: pointer;
}

.booking-timer-pill .booking-timer-icon {
    font-size: 15px;
    line-height: 1;
}

.booking-timer-pill .booking-timer-label {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    display: none;
    overflow: hidden;
    white-space: nowrap;
    max-width: 240px;
    opacity: 1;
    transition: max-width .3s ease, opacity .2s ease, margin .3s ease;
}

/* Collapsed state: shrinks to just the clock icon + time after a few idle seconds.
   Click anywhere on the pill to re-expand. */
.booking-timer-pill--collapsed {
    padding: 10px 14px;
    gap: 6px;
}

.booking-timer-pill--collapsed .booking-timer-label {
    max-width: 0;
    opacity: 0;
    margin: 0;
}

.booking-timer-pill .booking-timer-value {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    min-width: 44px;
    text-align: center;
}

.booking-timer-pill--warn {
    background: #d4360e;
    animation: bookingTimerPulse 1.4s ease-in-out infinite;
}

@keyframes bookingTimerPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(212, 54, 14, 0.35), 0 1px 4px rgba(0, 0, 0, 0.08); }
    50% { box-shadow: 0 6px 28px rgba(212, 54, 14, 0.55), 0 1px 6px rgba(0, 0, 0, 0.12); }
}

@media (min-width: 640px) {
    .booking-timer-pill .booking-timer-label {
        display: inline;
    }
}

@media (max-width: 480px) {
    .booking-timer-pill {
        left: 12px;
        right: 12px;
        bottom: 12px;
        justify-content: center;
    }
}
