:root{--auth-blue: #2563eb;--auth-blue-dark: #1d4ed8;--auth-blue-light: #eff6ff;--auth-blue-border: #bfdbfe;--auth-border: #e2e8f0;--auth-bg: #f1f5f9;--auth-card: #ffffff;--auth-text: #1e293b;--auth-text-mid: #475569;--auth-text-muted: #64748b;--auth-text-light: #94a3b8;--auth-error: #dc2626;--auth-error-bg: #fef2f2;--auth-error-bdr: #fecaca;--auth-success-bg: #f0fdf4;--auth-success-bdr: #bbf7d0;--auth-success-txt: #166534;--auth-warn-bg: #fffbeb;--auth-warn-bdr: #fde68a;--auth-warn-txt: #92400e;--auth-radius: 8px;--auth-input-h: 42px;--auth-shadow: 0 4px 28px rgba(0,0,0,.09), 0 1px 4px rgba(0,0,0,.05)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body.auth-body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;background:var(--auth-bg);min-height:100vh;color:var(--auth-text);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}.auth-page{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px 48px}.auth-wrap{width:100%;max-width:460px}.auth-wrap.wide{max-width:620px}.auth-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:10px}.auth-brand-icon{width:38px;height:38px;background:var(--auth-blue);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;box-shadow:0 2px 8px #2563eb4d}.auth-brand-text{font-size:21px;font-weight:700;color:var(--auth-text);letter-spacing:-.4px}.auth-brand-text span{color:var(--auth-blue)}.auth-brand-anffas-logo{height:56px;width:auto;object-fit:contain}.auth-brand-cqa{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:24px;color:var(--auth-text-muted);font-size:12px;font-weight:500;letter-spacing:.2px}.auth-brand-cqa-icon{width:20px;height:20px;background:var(--auth-blue);border-radius:5px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.auth-card{background:var(--auth-card);border-radius:14px;box-shadow:var(--auth-shadow);padding:36px 40px}.auth-card-title{font-size:20px;font-weight:700;color:var(--auth-text);letter-spacing:-.3px;margin-bottom:4px}.auth-card-subtitle{font-size:13px;color:var(--auth-text-muted);margin-bottom:26px}.auth-section{margin-top:22px;margin-bottom:14px;display:flex;align-items:center;gap:10px}.auth-section:after{content:"";flex:1;height:1px;background:var(--auth-border)}.auth-section-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:var(--auth-text-muted);flex-shrink:0}.auth-fields{display:flex;flex-direction:column;gap:14px}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-group{display:flex;flex-direction:column;gap:5px}.auth-label{font-size:12.5px;font-weight:500;color:var(--auth-text);display:block}.auth-req{color:var(--auth-blue);font-size:11px}.auth-input,.auth-select{height:var(--auth-input-h);border:1.5px solid var(--auth-border);border-radius:var(--auth-radius);padding:0 12px;font-size:13.5px;color:var(--auth-text);background:#fff;width:100%;transition:border-color .15s,box-shadow .15s;outline:none;font-family:inherit;appearance:none;-webkit-appearance:none}.auth-input::placeholder{color:var(--auth-text-light)}.auth-input:focus,.auth-select:focus{border-color:var(--auth-blue);box-shadow:0 0 0 3px #2563eb1f}.auth-input.is-invalid{border-color:var(--auth-error)}.auth-input.is-invalid:focus{box-shadow:0 0 0 3px #dc26261f}.auth-select{background-image:url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px;cursor:pointer}.auth-pw-wrap{display:flex;align-items:center;border:1.5px solid var(--auth-border);border-radius:var(--auth-radius);overflow:hidden;background:#fff;transition:border-color .15s,box-shadow .15s}.auth-pw-wrap:focus-within{border-color:var(--auth-blue);box-shadow:0 0 0 3px #2563eb1f}.auth-pw-wrap .auth-input{border:none;border-radius:0;flex:1;box-shadow:none!important}.auth-pw-toggle{width:42px;min-width:42px;display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;color:var(--auth-text-muted);padding:0;flex-shrink:0;transition:color .15s;align-self:stretch}.auth-pw-toggle:hover{color:var(--auth-text)}.auth-hint{font-size:12px;color:var(--auth-text-muted)}.auth-error-text,.invalid-feedback{font-size:12px;color:var(--auth-error);display:block}.auth-forgot{font-size:12.5px;color:var(--auth-blue);text-decoration:none;display:block;text-align:right;margin-top:2px}.auth-forgot:hover{text-decoration:underline}.auth-btn{width:100%;height:44px;background:var(--auth-blue);color:#fff;border:none;border-radius:var(--auth-radius);font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .15s,transform .1s;margin-top:22px;font-family:inherit;letter-spacing:.1px}.auth-btn:hover{background:var(--auth-blue-dark)}.auth-btn:active{transform:scale(.99)}.auth-bottom-link{text-align:center;font-size:13px;color:var(--auth-text-muted);margin-top:18px}.auth-bottom-link a{color:var(--auth-blue);font-weight:500;text-decoration:none}.auth-bottom-link a:hover{text-decoration:underline}.auth-alert{padding:10px 14px;border-radius:var(--auth-radius);font-size:13px;margin-bottom:16px;display:flex;align-items:flex-start;gap:8px}.auth-alert.success{background:var(--auth-success-bg);color:var(--auth-success-txt);border:1px solid var(--auth-success-bdr)}.auth-alert.danger{background:var(--auth-error-bg);color:var(--auth-error);border:1px solid var(--auth-error-bdr)}.auth-alert.warning{background:var(--auth-warn-bg);color:var(--auth-warn-txt);border:1px solid var(--auth-warn-bdr)}.auth-tips{background:var(--auth-blue-light);border:1px solid var(--auth-blue-border);border-radius:var(--auth-radius);padding:14px 16px;font-size:12.5px;color:var(--auth-text-mid)}.auth-tips-title{font-weight:600;color:var(--auth-blue);display:flex;align-items:center;gap:6px;margin-bottom:8px;font-size:12.5px}.auth-tips ul{list-style:none;display:flex;flex-direction:column;gap:4px}.auth-tips ul li{padding-left:12px;position:relative}.auth-tips ul li:before{content:"·";position:absolute;left:0;color:var(--auth-blue);font-weight:700}.auth-page-footer{text-align:center;font-size:12px;color:var(--auth-text-light);margin-top:20px}.auth-body .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-body .col{display:flex;flex-direction:column;gap:5px;min-width:0}.auth-body .form-label{font-size:12.5px;font-weight:500;color:var(--auth-text);display:block}.auth-body .form-control{height:var(--auth-input-h);border:1.5px solid var(--auth-border);border-radius:var(--auth-radius);padding:0 12px;font-size:13.5px;color:var(--auth-text);background:#fff;width:100%;transition:border-color .15s,box-shadow .15s;outline:none;font-family:inherit;appearance:none;-webkit-appearance:none}.auth-body .form-control:focus{border-color:var(--auth-blue);box-shadow:0 0 0 3px #2563eb1f}.auth-body .form-control:disabled{background:#f8fafc;color:var(--auth-text-muted);cursor:not-allowed}.auth-body .form-control.is-invalid{border-color:var(--auth-error)}.auth-body .invalid-feedback,.auth-body .d-block{display:block}.auth-body .text-center{text-align:center}.auth-body .text-muted,.auth-body .text-muted a{color:var(--auth-text-muted)}.auth-body .m-4{margin:1rem}.auth-body .mb-1{margin-bottom:.25rem}.auth-body .mb-5{margin-bottom:2rem}.auth-body .px-5{padding-left:2rem;padding-right:2rem}.auth-body .px-2{padding-left:.5rem;padding-right:.5rem}.auth-body .small,.auth-body small{font-size:.875em}.auth-body .nav{display:flex;flex-wrap:wrap;list-style:none;padding:0;justify-content:center}.auth-body .nav-link{color:var(--auth-text-muted);text-decoration:none;padding:.25rem .5rem;font-size:13px}.auth-body .nav-link:hover{text-decoration:underline}.auth-body .text-success{color:#16a34a}@media(max-width:540px){.auth-page{padding:24px 12px 36px;align-items:flex-start}.auth-card{padding:28px 20px}.auth-grid,.auth-body .row{grid-template-columns:1fr}}
