/* Logowanie i rejestracja - hero jak na landingu + karta formularza (aw-legal-card/aw-field) */

.aw-auth-card { position: relative; z-index: 1; width: 100%; max-width: 440px; color: var(--aw-ink); }
.aw-auth-card .aw-legal-card-body { padding: 32px; }
.aw-auth-card h2 { margin-top: 4px; font-size: 22px; letter-spacing: normal; }
.aw-auth-card .aw-eyebrow { background: none; border: 0; padding: 0; color: var(--aw-accent); }
.aw-auth-card .aw-eyebrow-dot { display: none; }

.aw-auth-checklist { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; }
.aw-auth-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; color: #cbd5e1; }
.aw-auth-checklist li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: #34d399; }

.aw-auth-notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 12px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.aw-auth-notice svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.aw-auth-notice-ok { background: rgba(var(--aw-accent-rgb),.1); color: #047857; }
.aw-auth-notice-error { background: #fef2f2; color: #b91c1c; }

.aw-auth-field-wrap { position: relative; }
.aw-auth-field-wrap .aw-auth-field-icon { position: absolute; z-index: 1; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--aw-muted); pointer-events: none; }
.aw-auth-card .aw-field .aw-auth-field-wrap input { padding-left: 42px; }
.aw-auth-card .aw-field .aw-auth-field-wrap.has-toggle input { padding-right: 44px; }
.aw-auth-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; color: var(--aw-muted); cursor: pointer; }
.aw-auth-toggle:hover { background: var(--aw-soft); color: var(--aw-ink); }
.aw-auth-toggle svg { width: 17px; height: 17px; }

.aw-auth-links { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--aw-border); text-align: center; }
.aw-auth-links p { font-size: 13px; }
.aw-auth-sub-links { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; }
.aw-auth-sub-links a { color: var(--aw-muted); }

.aw-auth-steps { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; list-style: none; padding: 0; }
.aw-auth-steps li { display: flex; align-items: flex-start; gap: 14px; }
.aw-auth-steps .aw-step-number { width: 30px; height: 30px; font-size: 12px; margin-bottom: 0; flex-shrink: 0; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #6ee7b7; }
.aw-auth-steps strong { display: block; font-size: 14px; font-weight: 700; color: white; }
.aw-auth-steps span { font-size: 12px; color: #94a3b8; }

.aw-auth-consent { margin-top: 4px; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 12px; background: var(--aw-soft); }
.aw-auth-consent label { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--aw-muted); cursor: pointer; }
.aw-auth-consent input[type="checkbox"] { margin-top: 2px; width: 15px; height: 15px; accent-color: var(--aw-accent); flex-shrink: 0; }
.aw-auth-consent a { font-weight: 650; color: var(--aw-accent); }

.aw-auth-strength { margin-top: 10px; display: none; flex-direction: column; gap: 8px; }
.aw-auth-strength.is-visible { display: flex; }
.aw-auth-strength-bars { display: flex; gap: 6px; }
.aw-auth-strength-bars span { height: 5px; flex: 1; border-radius: 999px; background: var(--aw-border); transition: background 200ms ease; }
.aw-auth-strength-label { font-size: 11px; font-weight: 650; }
.aw-auth-hints { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 14px; list-style: none; padding: 0; margin: 0; }
.aw-auth-hints li { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--aw-muted); }
.aw-auth-hint-icon { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 999px; background: var(--aw-border); color: transparent; flex-shrink: 0; }
.aw-auth-hint-icon svg { width: 8px; height: 8px; }
.aw-auth-hints li.is-ok { color: var(--aw-ink); }
.aw-auth-hints li.is-ok .aw-auth-hint-icon { background: var(--aw-accent); color: white; }

@media (max-width: 600px) {
    .aw-auth-hints { grid-template-columns: 1fr; }
}
