/* INTIVARA Login / Register info popup */

:root {
    --auth-navy: #1E2D4F;
    --auth-magenta: #F03167;
    --auth-ivory: #F7F5F2;
    --auth-powder: #AFC5D6;
    --auth-gold: #BF9855;
    --auth-graphite: #2B313B;
}

body.auth-popup-open {
    overflow: hidden;
}

.auth-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(30, 45, 79, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: authPopupFadeIn 0.25s ease;
}

.auth-popup-overlay.hidden {
    display: none;
}

@keyframes authPopupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-popup-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--auth-ivory);
    border-radius: 18px;
    padding: 36px 32px 28px;
    box-shadow:
        0 24px 60px rgba(30, 45, 79, 0.22),
        0 0 0 1px rgba(191, 152, 85, 0.15);
    animation: authPopupSlideUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes authPopupSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(30, 45, 79, 0.06);
    color: var(--auth-graphite);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.auth-popup-close:hover {
    background: rgba(240, 49, 103, 0.12);
    color: var(--auth-magenta);
}

.auth-popup-logo {
    display: block;
    height: 44px;
    width: auto;
    margin: 0 auto 20px;
}

.auth-popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    background: var(--auth-magenta);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.auth-popup-title {
    font-family: 'FontBold', sans-serif;
    font-size: clamp(22px, 4vw, 28px);
    line-height: 1.25;
    color: var(--auth-navy);
    margin: 0 0 12px;
    text-align: center;
}

.auth-popup-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--auth-graphite);
    opacity: 0.85;
    text-align: center;
    margin: 0 0 24px;
}

.auth-popup-platforms {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.auth-popup-platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(30, 45, 79, 0.15);
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: var(--auth-navy);
}

.auth-popup-contact {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--auth-graphite);
    opacity: 0.7;
    margin-bottom: 20px;
}

.auth-popup-contact a {
    color: var(--auth-magenta);
    text-decoration: none;
    font-weight: 600;
}

.auth-popup-contact a:hover {
    text-decoration: underline;
}

.auth-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.auth-popup-btn-primary {
    width: 100%;
    padding: 13px 24px;
    border: none;
    border-radius: 100px;
    background: var(--auth-navy);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-popup-btn-primary:hover {
    background: var(--auth-magenta);
}

.auth-popup-dont-show {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--auth-graphite);
    opacity: 0.75;
    cursor: pointer;
    user-select: none;
}

.auth-popup-dont-show input {
    width: 16px;
    height: 16px;
    accent-color: var(--auth-magenta);
    cursor: pointer;
}

/* Gold accent line at top */
.auth-popup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--auth-gold);
}
