/* Account forms and signed-in state. Shared colours live in style.css. */
.account-section { padding-top: 4rem; padding-bottom: 6rem; }
.auth-container h2 { font-size: 22px; line-height: 1.3; }
.auth-container p { color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
.auth-tabs { display: flex; gap: 2rem; margin-bottom: 24px; border-bottom: 1px solid var(--stroke); }
.auth-tabs button { padding: 0 0 12px; background: none; border: 0; font-size: 18px; font-weight: 650; }
.auth-form, .account-actions { display: grid; gap: 20px; }
.auth-field { display: grid; gap: 8px; }
.auth-field label { font-size: 14px; font-weight: 550; }
.auth-field input { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--stroke2); border-radius: 9px; background: #242426; color: var(--text); }
.auth-field small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.password-field { position: relative; }
.password-field input { padding-right: 70px; }
.toggle-password-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); padding: 6px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; }
.auth-text-button { padding: 10px 0; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; text-underline-offset: 4px; }
.button-outline { border-color: var(--stroke2); color: var(--text); background: transparent; }
.button-outline:hover { background: rgba(255,255,255,.06); }
.auth-container .button { cursor: pointer; min-height: 48px; white-space: normal; }
.auth-container button:disabled { opacity: .55; cursor: wait; }
.auth-feedback { margin: 0 0 24px; padding: 14px; border: 1px solid var(--stroke2); border-radius: 10px; color: var(--text); background: #252529; line-height: 1.6; overflow-wrap: anywhere; }
.auth-feedback[data-kind="error"] { border-color: #c77676; background: #321f23; color: #ffcece; }
.auth-feedback[data-kind="success"] { border-color: #6b9e83; background: #192d24; color: #d1efdf; }
.auth-social { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.auth-social p { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 13px; }
.confirmation-help { border-top: 1px solid var(--stroke); margin-top: 24px; padding-top: 20px; }
.confirmation-help summary { cursor: pointer; color: var(--muted); font-size: 13px; line-height: 1.6; }
.confirmation-help form { margin-top: 18px; }
#account-profile strong { color: var(--text); font-weight: 550; }
@media (max-width: 400px) { .auth-social { grid-template-columns: 1fr; } }
