.wellis-uspopup {
    position: fixed;
    inset: 0;
    z-index: 999999999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: inherit;
}

.wellis-uspopup[hidden] {
    display: none !important;
}

.wellis-uspopup.is-open {
    display: flex;
}

.wellis-uspopup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.wellis-uspopup__modal {
    position: relative;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 40px 48px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    animation: wellisUspopupIn 180ms ease-out;
}

@keyframes wellisUspopupIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wellis-uspopup__title {
    font-size: 28px;
    color: #313130;
    margin: 0 0 6px;
    letter-spacing: 0.2px;
    font-family: URWDIN-Regular, sans-serif;
    font-weight: 700;
}

.wellis-uspopup__subtitle {
    font-size: 16px;
    font-style: italic;
    color: #B89452;
    margin: 0 0 22px;
}

.wellis-uspopup__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.wellis-uspopup__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #ffffff !important;
    border: 1px solid #1a1a1a;
    border-radius: 6px !important;
    font-size: 14px;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    cursor: pointer;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
    line-height: 1;
}

.wellis-uspopup__btn:hover,
.wellis-uspopup__btn:focus-visible {
    border-color: #B89452;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    outline: none;
}

.wellis-uspopup__btn:active {
    transform: translateY(1px);
}

.wellis-uspopup__flag {
    display: inline-flex;
    width: 24px;
    height: 16px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.wellis-uspopup__flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wellis-uspopup__label {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .wellis-uspopup__modal {
        padding: 32px 24px;
    }

    .wellis-uspopup__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .wellis-uspopup__btn {
        justify-content: center;
    }
}
