/* ================================================
   LOGIN PAGE — Affluent Intelligence Engine
   Premium branded login with purple gradient depth
   ================================================ */

/* Login-specific variables */
:root {
    --error: #e74c3c;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(139, 109, 184, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 109, 184, 0.06) 0%, transparent 40%),
        #0a0a0a;
}

.login-container {
    text-align: center;
    max-width: 400px;
    width: 90%;
}
.login-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--accent);
    display: block;
}
h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}
.subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 40px;
}
.login-card {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(139, 109, 184, 0.1) 0%, transparent 60%),
        var(--bg-secondary);
    border: 1px solid rgba(139, 109, 184, 0.2);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 80px rgba(139, 109, 184, 0.05);
    position: relative;
    overflow: hidden;
}
.login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.google-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
}
.google-btn:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}
.google-btn svg {
    width: 20px;
    height: 20px;
}
.google-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.domain-note {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 16px;
}
.error-msg {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: var(--error);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: left;
}
