/**
 * World Villages GeoTarget modal
 */

#wv-geo-banner.wv-geo-banner {
    position: fixed;
    inset: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#wv-geo-banner.wv-geo-banner--visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.wv-geo-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.wv-geo-modal__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    box-sizing: border-box;
    padding: 42px 42px 36px;
    margin: 0;
    display: block;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.25s ease;
}

#wv-geo-banner.wv-geo-banner--visible .wv-geo-modal__content {
    transform: translateY(0) scale(1);
}

.wv-geo-banner__content {
    width: 100%;
    min-width: 0;
    text-align: center;
}

.wv-geo-banner__title {
    margin: 0 0 10px;
    padding: 0;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #222222;
}

.wv-geo-banner__message {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #555555;
}

.wv-geo-banner__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    width: 100%;
}

.wv-geo-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    box-sizing: border-box;
    padding: 11px 20px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wv-geo-banner__button:hover {
    opacity: 0.85;
}

.wv-geo-banner__button--primary {
    background: #003c71;
    border: 1px solid #003c71;
    color: #ffffff;
}

.wv-geo-banner__button--primary:hover {
    background: #002f58;
    border-color: #002f58;
    color: #ffffff;
}

.wv-geo-banner__button--secondary {
    background: transparent;
    border: 1px solid #003c71;
    color: #003c71;
}

.wv-geo-banner__button--secondary:hover {
    background: rgba(0, 60, 113, 0.06);
    border-color: #003c71;
    color: #003c71;
}

.wv-geo-banner__close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #666666;
    font-family: inherit;
    font-size: 28px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
}

.wv-geo-banner__close:hover {
    color: #111111;
}

.wv-geo-banner__button:focus-visible,
.wv-geo-banner__close:focus-visible {
    outline: 3px solid rgba(0, 60, 113, 0.35);
    outline-offset: 2px;
}

body.wv-geo-modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    #wv-geo-banner.wv-geo-banner {
        padding: 16px;
    }

    .wv-geo-modal__content {
        max-width: 100%;
        padding: 38px 22px 26px;
        border-radius: 6px;
    }

    .wv-geo-banner__title {
        font-size: 20px;
    }

    .wv-geo-banner__message {
        font-size: 15px;
    }

    .wv-geo-banner__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 22px;
    }

    .wv-geo-banner__button {
        width: 100%;
        min-height: 46px;
    }

    .wv-geo-banner__close {
        top: 8px;
        right: 8px;
    }
}
