/* ===== Auth screen — RestartBrains ===== */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3E8FF 100%);
    padding: 20px;
}
.auth-card {
    background: #FFFFFF;
    border: 1px solid #F3F4F6;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px -10px rgba(147, 51, 234, 0.12), 0 4px 12px rgba(0,0,0,0.04);
}
.auth-logo { text-align: center; margin-bottom: 28px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.auth-logo img { margin-bottom: 4px; }
.auth-logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
    margin: 0;
}
.auth-logo span { font-size: 11px; font-weight: 700; color: #9333EA; letter-spacing: 0.08em; text-transform: uppercase; }

.auth-form h2 { font-size: 18px; font-weight: 700; margin-bottom: 20px; text-align: center; color: #111827; }
.auth-form .form-group { margin-bottom: 14px; }
.auth-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.auth-form input {
    width: 100%;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    color: #111827;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    height: 44px;
    box-sizing: border-box;
}
.auth-form input::placeholder { color: #9CA3AF; }
.auth-form input:focus {
    border-color: #9333EA;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.12);
}

.form-error {
    color: #EF4444;
    font-size: 13px;
    margin-bottom: 12px;
    min-height: 18px;
}
.form-success {
    color: #10B981;
    font-size: 13px;
    margin-bottom: 12px;
    min-height: 18px;
    word-break: break-all;
}

.btn {
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 10px 18px;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.btn-primary {
    background: linear-gradient(135deg, #9333EA, #A855F7);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.25);
}
.btn-primary:hover { box-shadow: 0 6px 18px rgba(147, 51, 234, 0.35); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-full { width: 100%; padding: 12px; font-size: 15px; }

.auth-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}
.auth-links a {
    color: #9333EA;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}
.auth-links a:hover { text-decoration: underline; color: #7E22CE; }

@media (max-width: 480px) {
    .auth-card { padding: 28px 24px; }
}
