/* V2T FlexPlan AI - Auth Page Styles */

.auth-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-primary, #0a0f1a) 0%, #0d1926 50%, #0a1a1a 100%);
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary, #e8ecf1);
}

.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 24px;
}

.auth-card {
    background: var(--bg-secondary, #111827);
    border: 1px solid var(--border-primary, #1e293b);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    font-weight: 400;
    margin: 16px 0 4px;
    color: var(--text-primary, #e8ecf1);
}

.auth-subtitle {
    color: var(--text-tertiary, #64748b);
    font-size: 14px;
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-form label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary, #94a3b8);
}

.auth-form input {
    background: var(--bg-tertiary, #1a2332);
    border: 1px solid var(--border-primary, #1e293b);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-primary, #e8ecf1);
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
    border-color: var(--accent-primary, #00D4AA);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.15);
}

.auth-form input::placeholder {
    color: var(--text-tertiary, #475569);
}

.auth-btn {
    background: linear-gradient(135deg, #00D4AA 0%, #007A63 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    font-family: inherit;
    margin-top: 8px;
}

.auth-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.auth-btn:active:not(:disabled) {
    transform: translateY(0);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-tertiary, #475569);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-primary, #1e293b);
}

.auth-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ef4444;
    font-size: 13px;
    margin-bottom: 16px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-tertiary, #64748b);
}

.auth-footer a {
    color: var(--accent-primary, #00D4AA);
    text-decoration: none;
    font-weight: 500;
}

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

/* Password visibility toggle row */
.auth-form .forgot-link {
    text-align: right;
    margin-top: -8px;
}

.auth-form .forgot-link a {
    color: var(--accent-primary, #00D4AA);
    text-decoration: none;
    font-size: 13px;
}

.auth-form .forgot-link a:hover {
    text-decoration: underline;
}
