:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;padding:0;min-width:320px;min-height:100vh;width:100%}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.auth-screen{position:fixed;top:0;left:0;width:100vw;height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;padding:15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;overflow:auto;z-index:1000}.auth-container{background:#fff;border-radius:12px;box-shadow:0 20px 40px #0000001a;padding:30px;width:100%;max-width:420px;text-align:center;margin:auto;max-height:90vh;overflow-y:auto}.auth-header{margin-bottom:25px}.auth-header h1{color:#333;margin:0 0 10px;font-size:28px;font-weight:600}.auth-header p{color:#666;margin:0;font-size:16px}.auth-form{text-align:left}.auth-mode-selector{display:flex;margin-bottom:25px;border-radius:8px;overflow:hidden;border:1px solid #e1e5e9}.mode-btn{flex:1;padding:12px 16px;border:none;background:#f8f9fa;color:#666;cursor:pointer;transition:all .2s ease;font-weight:500}.mode-btn.active{background:#667eea;color:#fff}.mode-btn:hover:not(.active){background:#e9ecef}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#333;font-weight:500;font-size:14px}.form-group input{width:100%;padding:12px 16px;border:2px solid #e1e5e9;border-radius:8px;font-size:16px;transition:border-color .2s ease;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#667eea}.form-group input:disabled{background-color:#f8f9fa;cursor:not-allowed}.error-message{background:#fee;color:#c53030;padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:14px;border:1px solid #fed7d7}.auth-btn{width:100%;padding:14px 20px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;margin-bottom:10px}.auth-btn.primary{background:#667eea;color:#fff}.auth-btn.primary:hover:not(:disabled){background:#5a6fd8;transform:translateY(-1px)}.auth-btn.secondary{background:#f8f9fa;color:#666;border:1px solid #e1e5e9}.auth-btn.secondary:hover:not(:disabled){background:#e9ecef}.auth-btn:disabled{opacity:.6;cursor:not-allowed;transform:none!important}.auth-info{margin-top:25px;padding:20px;background:#f8f9fa;border-radius:8px;border-left:4px solid #667eea}.auth-info p{margin:0 0 10px;color:#333;font-size:14px}.auth-info ul{margin:0;padding-left:20px;color:#666;font-size:13px}.auth-info li{margin-bottom:5px}.otp-step{text-align:center}.otp-step h3{color:#333;margin:0 0 10px;font-size:24px}.otp-step p{color:#666;margin-bottom:25px;font-size:16px}.otp-actions{display:flex;gap:10px;margin-top:20px}.otp-actions .auth-btn{margin-bottom:0}.success-step{text-align:center;padding:20px 0}.success-icon{font-size:48px;margin-bottom:20px}.success-step h3{color:#38a169;margin:0 0 10px;font-size:24px}.success-step p{color:#666;margin-bottom:10px;font-size:16px}.auth-footer{margin-top:30px;padding-top:20px;border-top:1px solid #e1e5e9;text-align:center}.auth-footer p{color:#999;font-size:12px;margin:0}@media (max-width: 480px){.auth-container{padding:30px 20px;margin:10px}.auth-header h1{font-size:24px}.otp-actions{flex-direction:column}}.auth-btn:disabled{position:relative}.auth-btn:disabled:after{content:"";position:absolute;width:16px;height:16px;margin:auto;border:2px solid transparent;border-top-color:currentColor;border-radius:50%;animation:spin 1s linear infinite;inset:0}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}/ * Responsive Design */ @media (max-height: 700px){.auth-screen{padding:10px}.auth-container{padding:20px;max-height:95vh}.auth-header{margin-bottom:20px}.auth-header h1{font-size:24px}.form-group{margin-bottom:15px}}@media (max-width: 480px){.auth-screen{padding:10px}.auth-container{padding:20px;max-width:100%}.auth-header h1{font-size:22px}.mode-btn{padding:10px 12px;font-size:14px}}@media (max-height: 600px){.auth-container{padding:15px;max-height:98vh}.auth-header{margin-bottom:15px}.auth-header h1{font-size:20px;margin-bottom:5px}.auth-header p{font-size:14px}.form-group{margin-bottom:12px}.auth-btn{padding:10px;margin-bottom:10px}}
