
/* =========================================
   LA PAZ HOTEL - BOOKING SECURITY WARNING
   ========================================= */

body.security-warning-open {
    overflow: hidden;
}

/* Modal wrapper */
.security-warning {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.security-warning.is-visible {
    visibility: visible;
    opacity: 1;
}

/* Background overlay */
.security-warning__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 29, 24, 0.78);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Modal container */
.security-warning__modal {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 42px 46px 32px;
    background: #fff;
    border: 1px solid rgba(177, 145, 91, 0.35);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    text-align: center;
    transform: translateY(18px);
    transition: transform 0.35s ease;
}

.security-warning.is-visible .security-warning__modal {
    transform: translateY(0);
}

/* Warning icon */
.security-warning__icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #b18b50;
    border-radius: 50%;
    color: #a77d3c;
}

.security-warning__icon span {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
}

/* Hotel name */
.security-warning__eyebrow {
    margin: 0 0 12px;
    color: #9b8053;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
}

/* Main heading */
.security-warning__modal h2 {
    margin: 0 0 18px;
    color: #354b3d;
    font-family: "Playfair Display", serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.security-warning__intro {
    margin: 0 auto 24px;
    max-width: 490px;
    color: #555b56;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 14px;
    line-height: 1.85;
}

/* Warning content */
.security-warning__content {
    padding: 22px 24px;
    background: #f7f7f3;
    border-left: 3px solid #b18b50;
    text-align: left;
}

.security-warning__content h3 {
    margin: 0 0 14px;
    color: #354b3d;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.security-warning__content ul {
    margin: 0;
    padding-left: 19px;
}

.security-warning__content li {
    padding-left: 4px;
    margin-bottom: 10px;
    color: #555b56;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 13px;
    line-height: 1.75;
}

.security-warning__content li:last-child {
    margin-bottom: 0;
}

/* Official contact information */
.security-warning__contacts {
    margin: 23px 0;
    padding: 18px;
    border: 1px solid #e8e3d9;
    text-align: center;
}

.security-warning__contacts p {
    margin: 0 0 12px;
    color: #9b8053;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.security-warning__contacts a {
    display: block;
    margin: 7px 0;
    color: #354b3d;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.security-warning__contacts a:hover {
    color: #a77d3c;
}

.security-warning__contacts strong {
    font-weight: 700;
}

/* Confirmation button */
#securityWarningClose {
    width: 100%;
    min-height: 50px;
    padding: 14px 20px;
    border: 1px solid #354b3d;
    border-radius: 3px;
    background: #354b3d;
    color: #fff;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

#securityWarningClose:hover {
    background: #26392e;
    border-color: #26392e;
}

#securityWarningClose:focus-visible {
    outline: 3px solid #b18b50;
    outline-offset: 4px;
}

/* Footer */
.security-warning__footer {
    margin: 18px 0 0;
    color: #999;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 11px;
    line-height: 1.6;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 600px) {
    .security-warning {
        padding: 12px;
    }

    .security-warning__modal {
        max-height: calc(100vh - 24px);
        padding: 30px 20px 24px;
    }

    .security-warning__icon {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }

    .security-warning__icon span {
        font-size: 29px;
    }

    .security-warning__eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .security-warning__modal h2 {
        font-size: 22px;
    }

    .security-warning__intro {
        font-size: 13px;
    }

    .security-warning__content {
        padding: 17px 16px;
    }

    .security-warning__content li {
        font-size: 12px;
    }

    .security-warning__contacts {
        padding: 15px 10px;
    }

    #securityWarningClose {
        font-size: 11px;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .security-warning,
    .security-warning__modal,
    #securityWarningClose {
        transition: none;
    }
}
