/* Auth card */
.auth-card {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 36px 32px;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border);
}
.auth-title {
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text);
}
.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* Auth form */
.auth-card .form-control {
    background: var(--bg-input);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 10px 14px;
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color 0.2s;
}
.auth-card .form-control:focus {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 0 0 3px rgba(6,214,160,0.15);
}
.auth-card .form-control::placeholder {
    color: var(--text-muted);
}
.auth-card label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

/* Auth buttons */
.btn-auth-primary {
    background: var(--accent);
    color: #111;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.15px;
    transition: background 0.2s;
}
.btn-auth-primary:hover {
    background: var(--accent-hover);
    color: #111;
}

.btn-auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    color: var(--text);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-auth-google:hover {
    background: var(--bg-card-hover);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    color: var(--text);
    text-decoration: none;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}
.auth-divider span {
    padding: 0 12px;
}

/* Auth links */
.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 0.85rem;
}
.auth-links a {
    color: var(--accent);
    text-decoration: none;
}
.auth-links a:hover {
    text-decoration: underline;
}

/* Profile */
.profile-info {
    font-size: 0.95rem;
}

/* reCAPTCHA badge hide (invisible) */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* ========== Dark Mode Overrides ========== */

[data-theme="dark"] .btn-auth-google:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
