/* Evening booking policy acknowledgement. Kept independent from Salon Booking styles. */
.omni-night-booking-warning {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.omni-night-booking-warning[hidden] {
    display: none;
}

body.omni-night-booking-warning-open {
    overflow: hidden;
}

.omni-night-booking-warning__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(21, 31, 36, 0.64);
}

.omni-night-booking-warning__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 34px 28px 28px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(10, 24, 31, 0.28);
    color: #23343d;
}

.omni-night-booking-warning__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #52636b;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.omni-night-booking-warning__close:hover,
.omni-night-booking-warning__close:focus {
    color: #23343d;
}

.omni-night-booking-warning__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #f6ead4;
    color: #9a681d;
    font-size: 24px;
    font-weight: 700;
}

.omni-night-booking-warning__title {
    margin: 0 28px 14px 0;
    color: #23343d;
    font-size: 24px;
    line-height: 1.25;
}

.omni-night-booking-warning__description {
    color: #52636b;
    font-size: 16px;
    line-height: 1.55;
}

.omni-night-booking-warning__description p {
    margin: 0 0 8px;
}

.omni-night-booking-warning__description p:last-child {
    margin-bottom: 0;
    color: #23343d;
    font-weight: 600;
}

.omni-night-booking-warning__actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    margin-top: 24px;
}

.omni-night-booking-warning__actions button {
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #23343d;
    border-radius: 3px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.omni-night-booking-warning__back {
    background: #fff;
    color: #23343d;
}

.omni-night-booking-warning__continue {
    background: #23343d;
    color: #fff;
}

.omni-night-booking-warning__actions button:hover,
.omni-night-booking-warning__actions button:focus {
    box-shadow: 0 0 0 3px rgba(139, 182, 200, 0.45);
    outline: 0;
}

.omni-night-booking-warning__dialog:focus {
    outline: 2px solid #8bb6c8;
    outline-offset: 4px;
}

@media (min-width: 520px) {
    .omni-night-booking-warning__actions {
        flex-direction: row;
        align-items: stretch;
    }

    .omni-night-booking-warning__back {
        flex: 0 0 34%;
    }

    .omni-night-booking-warning__continue {
        flex: 1;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .omni-night-booking-warning__dialog {
        animation: omni-night-booking-warning-in 160ms ease-out;
    }
}

@keyframes omni-night-booking-warning-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
