/* Login & register */

.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.auth-title {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.auth-subtitle {
    margin: 0 0 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-error {
    padding: 0.75rem;
    margin-bottom: 1rem;
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 6px;
    font-size: 0.9rem;
}

.auth-success {
    padding: 0.75rem;
    margin-bottom: 1rem;
    background: #f0fdf4;
    color: #15803d;
    border-radius: 6px;
    font-size: 0.9rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.auth-field input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-sizing: border-box;
}

.auth-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.auth-submit {
    margin-top: 0.5rem;
    padding: 0.7rem 1rem;
    font-size: 1rem;
}

.auth-footer {
    margin: 1.5rem 0 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
}

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

/* Icon wrap (verification/reset result pages) */
.auth-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.1rem;
}
.auth-icon-wrap svg { width: 26px; height: 26px; }

.auth-icon-wrap--success { background: #f0fdf4; color: #16a34a; }
.auth-icon-wrap--error   { background: #fef2f2; color: #dc2626; }
.auth-icon-wrap--info    { background: #eff6ff; color: #2563eb; }

.auth-hint {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.auth-forgot {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
}
.auth-forgot:hover { color: var(--primary); text-decoration: underline; }
