#casinohelp-es-popup {
    box-sizing: border-box;
    width: min(460px, calc(100% - 32px));
    max-height: 85vh;
    margin: auto;
    padding: 36px 28px 28px;
    overflow-y: auto;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: #222;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .3);
    text-align: center;
    transition: opacity .4s ease, transform .4s ease;
}

#casinohelp-es-popup::backdrop {
    background: rgba(0, 0, 0, .65);
    transition: background .4s ease;
}

#casinohelp-es-popup.is-closing {
    opacity: 0;
    transform: translateY(12px);
}

#casinohelp-es-popup.is-closing::backdrop {
    background: rgba(0, 0, 0, 0);
}

#casinohelp-es-popup.is-fallback {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 2147483647;
    margin: 0;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .3), 0 0 0 100vmax rgba(0, 0, 0, .65);
}

#casinohelp-es-popup.is-fallback.is-closing {
    transform: translate(-50%, calc(-50% + 12px));
    box-shadow: 0 20px 70px rgba(0, 0, 0, .3), 0 0 0 100vmax rgba(0, 0, 0, 0);
}

#casinohelp-es-popup form {
    margin: 0;
}

#casinohelp-es-popup h2 {
    margin: 0 0 14px;
    color: inherit;
    font-size: 26px;
}

#casinohelp-es-popup p {
    margin: 0 0 24px;
    line-height: 1.6;
}

#casinohelp-es-popup .es-popup-warning {
    margin: 0 0 24px;
    padding: 12px 14px;
    border-left: 4px solid #b91c1c;
    border-radius: 6px;
    background: #fef2f2;
    color: #7f1d1d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}

#casinohelp-es-popup .es-popup-warning a {
    color: #7f1d1d;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#casinohelp-es-popup .es-popup-warning a:hover {
    color: #450a0a;
}

#casinohelp-es-popup .es-popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    padding: 4px 8px;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

#casinohelp-es-popup .es-popup-button {
    padding: 12px 28px;
    border: 0;
    border-radius: 8px;
    background: #166534;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

#casinohelp-es-popup button:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    #casinohelp-es-popup {
        transition: none;
    }
}