*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f8fafc;color:#1a1a2e;min-height:100vh}.auth-layout{display:flex;min-height:100vh;padding:16px;gap:0;background:#f1f5f9}.auth-left-panel{position:relative;width:45%;min-height:calc(100vh - 32px);background:linear-gradient(145deg,#065f46,#047857 30%,#d97706 90%,#ea580c);display:flex;flex-direction:column;justify-content:center;padding:48px;overflow:hidden;border-radius:20px}.auth-left-panel:after{content:"";position:absolute;inset:0;border-radius:20px;opacity:.4;mix-blend-mode:overlay;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");background-size:128px 128px}.auth-left-content{position:relative;z-index:2}.auth-logo{display:flex;align-items:center;gap:10px;margin-bottom:48px}.auth-logo-icon{width:36px;height:36px;background:#fff3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.25);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:18px;font-family:Archivo,sans-serif}.auth-logo-text{color:#fff;font-size:20px;font-weight:600;font-family:Archivo,sans-serif;letter-spacing:-.02em}.auth-left-tagline h1{color:#fff;font-size:32px;font-weight:700;line-height:1.2;margin-bottom:16px;font-family:Archivo,sans-serif;letter-spacing:-.02em}.auth-left-tagline p{color:#ffffffbf;font-size:16px;line-height:1.6;max-width:320px}.auth-left-shapes{position:absolute;inset:0;pointer-events:none;z-index:1}.auth-shape{position:absolute;border-radius:50%;opacity:.12}.auth-shape-1{width:300px;height:300px;background:#fbbf24;top:-80px;right:-60px}.auth-shape-2{width:200px;height:200px;background:#10b981;bottom:10%;left:-40px}.auth-shape-3{width:150px;height:150px;background:#f59e0b;top:40%;right:20%}.auth-right-panel{flex:1;display:flex;align-items:center;justify-content:center;padding:48px 32px}.auth-right-content{width:100%;max-width:400px}.auth-step{animation:authFadeIn .2s ease-out}@keyframes authFadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.auth-step-title{font-size:24px;font-weight:700;color:#1a1a2e;margin-bottom:8px;font-family:Archivo,sans-serif;letter-spacing:-.02em}.auth-step-subtitle{font-size:15px;color:#64748b;line-height:1.5;margin-bottom:28px}.auth-step-subtitle strong{color:#334155;font-weight:600}.auth-form{display:flex;flex-direction:column;gap:20px}.auth-field{display:flex;flex-direction:column;gap:6px}.auth-field label{font-size:13px;font-weight:500;color:#475569}.auth-field input{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:15px;font-family:inherit;color:#1a1a2e;background:#fff;transition:border-color .15s,box-shadow .15s;outline:none}.auth-field input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.auth-field input:disabled{opacity:.6;cursor:not-allowed}.auth-field input::placeholder{color:#94a3b8}.auth-field-error{font-size:12px;color:#ef4444}.auth-btn-primary{width:100%;padding:11px 20px;background:#2563eb;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:500;font-family:inherit;cursor:pointer;transition:background .15s}.auth-btn-primary:hover:not(:disabled){background:#1d4ed8}.auth-btn-primary:disabled{opacity:.5;cursor:not-allowed}.auth-btn-secondary{padding:9px 18px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-weight:500;font-family:inherit;cursor:pointer;transition:background .15s}.auth-btn-secondary:hover:not(:disabled){background:#e2e8f0}.auth-btn-secondary:disabled{opacity:.5;cursor:not-allowed}.auth-btn-link{background:none;border:none;color:#64748b;font-size:14px;font-family:inherit;cursor:pointer;padding:8px 0;margin-top:12px;transition:color .15s}.auth-btn-link:hover{color:#2563eb}.auth-divider{display:flex;align-items:center;gap:16px;margin:24px 0}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:#e2e8f0}.auth-divider span{font-size:13px;color:#94a3b8;font-weight:500}.oauth-buttons{display:flex;flex-direction:column;gap:12px}.oauth-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:11px 20px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:14px;font-weight:500;font-family:inherit;color:#374151;cursor:pointer;transition:background .15s,border-color .15s}.oauth-btn:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.oauth-btn:disabled{opacity:.5;cursor:not-allowed}#appleid-signin{width:100%;height:44px;border-radius:8px;overflow:hidden}#appleid-signin>div,#appleid-signin>div>div,#appleid-signin>div>div>svg{width:100%!important;max-width:100%!important}.auth-error{padding:10px 14px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:13px;line-height:1.4}.auth-verify-icon{font-size:48px;margin-bottom:16px}.auth-verify-spinner{display:flex;align-items:center;gap:12px;padding:16px;background:#f8fafc;border-radius:8px;margin:24px 0;font-size:14px;color:#64748b}.auth-spinner{width:20px;height:20px;border:2px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:authSpin .8s linear infinite}@keyframes authSpin{to{transform:rotate(360deg)}}.auth-step-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.auth-verify-actions{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.password-strength{display:flex;align-items:center;gap:10px;margin-top:4px}.password-strength-bars{display:flex;gap:4px;flex:1}.password-strength-bar{height:4px;flex:1;border-radius:2px;background:#e5e7eb;transition:background-color .2s}.password-strength-label{font-size:12px;font-weight:500;min-width:48px}.auth-file-drop{border:2px dashed #e2e8f0;border-radius:8px;padding:20px;text-align:center;cursor:pointer;color:#64748b;font-size:14px;transition:border-color .15s,background .15s}.auth-file-drop:hover{border-color:#3b82f6;background:#f8fafc}.auth-file-drop-active{border-color:#2563eb;background:#eff6ff;border-style:solid}.auth-file-name{color:#2563eb;font-weight:500}.auth-app-list{display:flex;flex-direction:column;gap:8px;max-height:300px;overflow-y:auto;margin:16px 0 24px;padding-right:4px}.auth-app-item{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:background .15s}.auth-app-item:hover{background:#f8fafc}.auth-app-item input[type=checkbox]{width:18px;height:18px;accent-color:#2563eb}.auth-app-info{display:flex;align-items:center;gap:10px;flex:1}.auth-app-icon{width:36px;height:36px;border-radius:8px}.auth-app-name{font-size:14px;font-weight:500;color:#1a1a2e}.auth-app-bundle{font-size:12px;color:#94a3b8}@media(max-width:768px){.auth-layout{flex-direction:column;padding:0}.auth-left-panel{display:none}.auth-right-panel{min-height:100vh;padding:32px 20px;border-radius:0;margin-left:0}.auth-right-content{max-width:100%}}html.dark body{background:#1e293b;color:#e2e8f0}html.dark .auth-layout{background:#1e293b}html.dark .auth-step-title{color:#f1f5f9}html.dark .auth-step-subtitle{color:#94a3b8}html.dark .auth-step-subtitle strong{color:#e2e8f0}html.dark .auth-field label{color:#cbd5e1}html.dark .auth-field input{background:#0f172a;border-color:#334155;color:#f1f5f9}html.dark .auth-field input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626;background:#0f172a}html.dark .oauth-btn{background:#1e293b;border-color:#334155;color:#e2e8f0}html.dark .oauth-btn:hover:not(:disabled){background:#334155}html.dark .auth-error{background:#dc26261a;border-color:#dc26264d}html.dark .auth-verify-spinner{background:#0f172a;color:#94a3b8}html.dark .auth-file-drop{border-color:#334155;color:#94a3b8}html.dark .auth-file-drop:hover{background:#0f172a}html.dark .auth-app-item{border-color:#334155}html.dark .auth-app-item:hover{background:#0f172a}html.dark .auth-app-name{color:#f1f5f9}html.dark .auth-btn-secondary{background:#334155;border-color:#475569;color:#e2e8f0}html.dark .auth-btn-secondary:hover:not(:disabled){background:#475569}html.dark .auth-btn-link{color:#94a3b8}html.dark .auth-btn-link:hover{color:#60a5fa}html.dark .auth-divider:before,html.dark .auth-divider:after{background:#334155}
