/* ══════════════════════════════════════════════════════════════════════
   GEO POPUP — Stripe-style Country Detection Banner
   LACSO HUB Localization System v3.0
   ══════════════════════════════════════════════════════════════════════ */

#geo-popup {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    width: calc(100% - 48px);
    max-width: 560px;
    background: rgba(12, 16, 35, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
    transition: bottom 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Space Grotesk', sans-serif;
}

#geo-popup.geo-popup--visible {
    bottom: 32px;
}

.geo-popup-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.geo-popup-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.geo-popup-content {
    flex: 1;
}

.geo-popup-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 4px;
    line-height: 1.35;
}

.geo-popup-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 14px;
    line-height: 1.5;
}

.geo-popup-subtitle strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.geo-popup-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.geo-btn-accept {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s ease, transform 0.15s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
    white-space: nowrap;
}

.geo-btn-accept:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.geo-btn-decline {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: 0.83rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.geo-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.geo-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.geo-popup-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ── Progress line at top ─────────────────────── */
#geo-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4);
    opacity: 0.7;
}

/* ── Mobile ───────────────────────────────────── */
@media (max-width: 600px) {
    #geo-popup {
        left: 16px;
        right: 16px;
        width: auto;
        transform: none;
        bottom: -200px;
    }

    #geo-popup.geo-popup--visible {
        bottom: 16px;
    }

    .geo-popup-actions {
        flex-direction: column;
    }

    .geo-btn-accept,
    .geo-btn-decline {
        justify-content: center;
        text-align: center;
    }
}
