/* WiFi Voucher — Google login page */

.fi-simple-layout:has(.login-page) {
    background: #030712;
    position: relative;
    overflow: hidden;
}

.fi-simple-layout:has(.login-page)::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% -5%, rgba(245, 158, 11, 0.28), transparent 65%),
        radial-gradient(ellipse 50% 45% at 0% 100%, rgba(99, 102, 241, 0.18), transparent 60%),
        radial-gradient(ellipse 45% 40% at 100% 80%, rgba(249, 115, 22, 0.12), transparent 55%),
        linear-gradient(160deg, #020617 0%, #0f172a 45%, #1e1b4b 100%);
    pointer-events: none;
}

.fi-simple-layout:has(.login-page)::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
    pointer-events: none;
}

.login-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: login-float 8s ease-in-out infinite;
}

.login-orb--amber {
    width: 280px;
    height: 280px;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(245, 158, 11, 0.22);
}

.login-orb--indigo {
    width: 220px;
    height: 220px;
    bottom: -60px;
    right: -40px;
    background: rgba(99, 102, 241, 0.16);
    animation-delay: -3s;
}

@keyframes login-float {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 1; }
}

.fi-simple-main:has(.login-page) {
    position: relative;
    z-index: 1;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 32px 64px -20px rgba(0, 0, 0, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    --tw-ring-shadow: 0 0 #0000 !important;
    animation: login-card-in 0.6s ease-out both;
    overflow: hidden;
}

.fi-simple-main:has(.login-page)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f59e0b, #f97316, transparent);
    pointer-events: none;
}

@keyframes login-card-in {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-wrap {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 100%;
    max-width: 22rem;
    text-align: center;
}

.login-icon-wrap {
    position: relative;
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto 1.5rem;
}

.login-icon-glow {
    position: absolute;
    inset: -8px;
    border-radius: 1.35rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.45), rgba(249, 115, 22, 0.25));
    filter: blur(16px);
    animation: login-glow-pulse 3.5s ease-in-out infinite;
}

@keyframes login-glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.06); }
}

.login-icon-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 45%, #ea580c 100%);
    box-shadow:
        0 12px 32px -8px rgba(245, 158, 11, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.login-icon-box svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #fff;
}

.login-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    background: linear-gradient(180deg, #ffffff 0%, #fde68a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.login-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 9999px;
}

.login-desc {
    margin: 1.25rem 0 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #94a3b8;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.75rem 0;
    color: #475569;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.login-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b !important;
    text-decoration: none !important;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.875rem;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-google-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 32px -8px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: #0f172a !important;
}

.login-google-btn:active {
    transform: translateY(0);
}

.login-google-btn svg.google-logo {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.login-google-btn .arrow {
    width: 1rem;
    height: 1rem;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.login-google-btn:hover .arrow {
    transform: translateX(3px);
    color: #64748b;
}

.login-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.login-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
}

.login-pill svg {
    width: 0.85rem;
    height: 0.85rem;
}

.login-pill--safe svg { color: #34d399; }
.login-pill--phone svg { color: #fbbf24; }

.login-footnote {
    margin-top: 1.25rem;
    font-size: 0.7rem;
    color: #64748b;
}
