.auth-overlay{z-index:200;background:#00000073;justify-content:center;align-items:center;padding:0;animation:.2s ease-out auth-fade-in;display:flex;position:fixed;inset:0}@keyframes auth-fade-in{0%{opacity:0}to{opacity:1}}.auth-dialog{-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:100dvh;box-shadow:none;background:#fff;border-radius:0;animation:.3s ease-out auth-slide-up;overflow-y:auto}@keyframes auth-slide-up{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.auth-header{z-index:2;background:#fff;justify-content:space-between;align-items:center;padding:12px 16px 0;display:flex;position:sticky;top:0}.auth-header-title{color:var(--theme-palette-color-4);margin:0;font-size:1.05rem;font-weight:700}.auth-close-btn{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:4px;transition:all .2s;display:flex}.auth-close-btn:hover{color:var(--theme-palette-color-4);background:#f3f4f6}.auth-tabs{z-index:2;background:#fff;border-bottom:1px solid #e5e7eb;gap:0;margin:8px 16px 0;display:flex;position:sticky;top:40px}.auth-tab{color:#9ca3af;cursor:pointer;text-align:center;background:0 0;border:none;border-bottom:2px solid #0000;flex:1;padding:10px 0;font-size:.85rem;font-weight:600;transition:all .2s}.auth-tab:hover{color:var(--theme-palette-color-4)}.auth-tab.active{color:var(--theme-palette-color-1);border-bottom-color:var(--theme-palette-color-1)}.auth-body{padding:12px 16px 16px}.auth-form{flex-direction:column;gap:10px;display:flex}.auth-row{grid-template-columns:1fr;gap:10px;display:grid}@media (min-width:480px){.auth-row{grid-template-columns:1fr 1fr}}.auth-field{flex-direction:column;gap:5px;display:flex}.auth-label{color:var(--theme-palette-color-4);font-size:.8rem;font-weight:600;line-height:1.2}.auth-label .required{color:var(--theme-palette-color-1);margin-left:2px}.auth-input{width:100%;color:var(--theme-palette-color-4);background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:9px 12px;font-size:.88rem;transition:all .2s}.auth-input:focus{border-color:var(--theme-palette-color-1);outline:none;box-shadow:0 0 0 3px #ef444414}.auth-input.has-error{border-color:#ef4444;box-shadow:0 0 0 3px #ef444414}.auth-input::placeholder{color:#9ca3af}.auth-field-error{color:#ef4444;font-size:.73rem;font-weight:500}.auth-email-wrapper{position:relative}.auth-email-wrapper .auth-input{padding-right:44px}.auth-input.has-success{border-color:#10b981;box-shadow:0 0 0 3px #10b98114}.email-status-indicator{justify-content:center;align-items:center;display:flex;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.email-status-indicator.checking{color:#9ca3af}.status-dot{border-radius:50%;width:10px;height:10px;animation:2s ease-in-out infinite pulse-dot}.status-dot.available{background:#10b981;box-shadow:0 0 0 3px #10b98133}.status-dot.taken{background:#ef4444;box-shadow:0 0 0 3px #ef444433}@keyframes pulse-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.1)}}.auth-field-success{color:#10b981;font-size:.78rem;font-weight:500}.spin{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.auth-password-wrapper{position:relative}.auth-password-wrapper .auth-input{padding-right:44px}.auth-password-toggle{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;transition:color .2s;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.auth-password-toggle:hover{color:var(--theme-palette-color-4)}.auth-submit-btn{background:var(--theme-palette-color-1);color:#fff;cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;margin-top:2px;padding:11px 20px;font-size:.9rem;font-weight:600;transition:all .2s;display:flex}.auth-submit-btn:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.auth-submit-btn:disabled{opacity:.5;cursor:not-allowed}.auth-error{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:10px 14px;font-size:.85rem;font-weight:500}.auth-password-hint{color:#9ca3af;font-size:.75rem;line-height:1.4}.password-strength-container{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;margin-top:6px;padding:8px 10px}.password-requirements{grid-template-columns:1fr 1fr;gap:3px 12px;margin-bottom:8px;display:grid}.requirement{align-items:center;gap:5px;font-size:.72rem;font-weight:500;transition:all .2s;display:flex}.requirement.invalid{color:#9ca3af}.requirement.invalid svg{color:#ef4444;flex-shrink:0}.requirement.valid{color:#059669}.requirement.valid svg{color:#059669;flex-shrink:0}.password-strength-bar{background:#e5e7eb;border-radius:2px;width:100%;height:4px;margin-bottom:4px;overflow:hidden}.password-strength-fill{border-radius:3px;height:100%;transition:width .3s,background-color .3s}.password-strength-fill.strength-0{background:#ef4444}.password-strength-fill.strength-1{background:#f97316}.password-strength-fill.strength-2{background:#eab308}.password-strength-fill.strength-3{background:#84cc16}.password-strength-fill.strength-4{background:#22c55e}.password-strength-fill.strength-5{background:#059669}.password-strength-label{text-align:center;font-size:.7rem;font-weight:600;transition:color .3s}.password-strength-label.strength-0,.password-strength-label.strength-1,.password-strength-label.strength-2{color:#ef4444}.password-strength-label.strength-3{color:#eab308}.password-strength-label.strength-4{color:#22c55e}.password-strength-label.strength-5{color:#059669}.auth-success-message{text-align:center;padding:20px}.success-icon{color:#fff;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto 20px;font-size:32px;font-weight:700;animation:.4s ease-out scale-in;display:inline-flex}.auth-success-message h3{color:#10b981;margin:0 0 16px;font-size:1.5rem;font-weight:700}.auth-success-message p{color:var(--theme-palette-color-4);margin:0 0 14px;font-size:.95rem;line-height:1.6}.auth-success-message strong{color:var(--theme-palette-color-1);font-weight:600}.success-hint{color:#6b7280!important;font-size:.9rem!important}.success-note{border-top:1px solid #e5e7eb;padding-top:10px;font-style:italic;color:#9ca3af!important;margin-top:10px!important;font-size:.85rem!important}.auth-context-text{color:var(--theme-palette-color-3);text-align:center;margin-bottom:4px;font-size:.85rem;line-height:1.5}.auth-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.6s linear infinite auth-spin}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-forgot-link{color:var(--theme-palette-color-1);cursor:pointer;text-align:right;background:0 0;border:none;align-self:flex-end;padding:0;font-size:.82rem;font-weight:600;transition:opacity .2s}.auth-forgot-link:hover{opacity:.8;text-decoration:underline}.auth-forgot-link:disabled{opacity:.4;cursor:not-allowed}.auth-back-link{color:var(--theme-palette-color-3);cursor:pointer;background:0 0;border:none;align-self:center;align-items:center;gap:6px;margin-top:4px;padding:0;font-size:.85rem;font-weight:500;transition:color .2s;display:inline-flex}.auth-back-link:hover{color:var(--theme-palette-color-1)}.auth-back-link:disabled{opacity:.4;cursor:not-allowed}.auth-success-message{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:8px 0 12px;display:flex}.auth-success-icon{color:#16a34a;margin-bottom:4px}.auth-success-title{color:var(--theme-palette-color-4);margin:0;font-size:1.05rem;font-weight:700}.auth-success-desc{color:var(--theme-palette-color-3);margin:0;font-size:.88rem;line-height:1.5}.auth-success-hint{color:#9ca3af;margin:0;font-size:.78rem}.reset-page{background:#f9fafb;justify-content:center;align-items:center;min-height:100vh;padding:24px 16px;display:flex}.reset-card{background:#fff;border-radius:16px;flex-direction:column;align-items:center;gap:12px;width:100%;max-width:440px;padding:32px 24px;display:flex;box-shadow:0 4px 24px #00000014}.reset-card .auth-form{width:100%;margin-top:8px}.reset-title{color:var(--theme-palette-color-4);text-align:center;margin:0;font-size:1.15rem;font-weight:700}.reset-desc{color:var(--theme-palette-color-3);text-align:center;margin:0;font-size:.88rem;line-height:1.5}.reset-icon-key{color:var(--theme-palette-color-1)}.reset-icon-success{color:#16a34a}.reset-icon-warning{color:#f59e0b}@media (min-width:640px){.reset-card{padding:40px 32px}}.auth-account-toggle{border:1px solid #d1d5db;border-radius:8px;gap:0;margin-bottom:2px;display:flex;overflow:hidden}.auth-account-toggle-btn{color:#6b7280;cursor:pointer;background:#fff;border:none;flex:1;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:.84rem;font-weight:600;transition:all .2s;display:flex}.auth-account-toggle-btn+.auth-account-toggle-btn{border-left:1px solid #d1d5db}.auth-account-toggle-btn.active{background:var(--theme-palette-color-1);color:#fff}.auth-account-toggle-btn:not(.active):hover{background:#f3f4f6}.auth-company-section{background:#fafbfc;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:8px;padding:10px 12px;animation:.2s ease-out auth-fade-in;display:flex}.auth-company-section .auth-row{gap:8px}.auth-address-section{background:#fafbfc;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:8px;padding:10px 12px;animation:.2s ease-out auth-fade-in;display:flex}.auth-address-section .auth-row{gap:8px}.auth-field-hint{color:#9ca3af;margin-top:-2px;font-size:.7rem;line-height:1.2}.auth-select{width:100%;color:var(--theme-palette-color-4);appearance:auto;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:9px 12px;font-size:.88rem;transition:all .2s}.auth-select:focus{border-color:var(--theme-palette-color-1);outline:none;box-shadow:0 0 0 3px #ef444414}.auth-select.has-error{border-color:#ef4444}.auth-prefill-hint{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;margin:0 0 12px;padding:10px 14px;font-size:.85rem;line-height:1.4}.auth-input.prefilled{color:#475569;cursor:default;background:#f8fafc;border-color:#e2e8f0}.auth-edit-link{cursor:pointer;color:#6366f1;background:0 0;border:none;align-items:center;gap:3px;margin-left:8px;padding:0;font-size:.75rem;font-weight:500;transition:color .15s;display:inline-flex}.auth-edit-link:hover{color:#4338ca}@media (min-width:640px){.auth-overlay{padding:16px}.auth-dialog{border-radius:16px;width:100%;max-width:580px;height:auto;max-height:92vh;box-shadow:0 20px 60px #0003}.auth-header{padding:16px 20px 0;position:static}.auth-tabs{margin:10px 20px 0;position:static}.auth-body{padding:14px 20px 20px}}@media (min-width:768px){.auth-dialog{max-width:680px}.auth-header{padding:18px 24px 0}.auth-tabs{margin:12px 24px 0}.auth-body{padding:16px 24px 24px}.auth-form{gap:10px}}
.password-strength-indicator{margin-top:8px}.password-strength-bar-wrapper{align-items:center;gap:12px;margin-bottom:12px;display:flex}.password-strength-bar{background:#e5e7eb;border-radius:3px;flex:1;height:6px;overflow:hidden}.password-strength-bar-fill{border-radius:3px;height:100%;transition:width .3s,background-color .3s}.password-strength-label{text-align:right;min-width:90px;font-size:12px;font-weight:600}.password-requirements{flex-direction:column;gap:6px;display:flex}.password-requirement{align-items:center;gap:8px;font-size:13px;transition:color .2s;display:flex}.password-requirement.met{color:#16a34a}.password-requirement.unmet{color:#6b7280}.requirement-icon{flex-shrink:0}.requirement-icon.success{color:#16a34a}.requirement-icon.error{color:#9ca3af}.requirement-label{line-height:1.4}@media (max-width:480px){.password-strength-label{min-width:80px;font-size:11px}.password-requirement{font-size:12px}}
