*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html{font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scroll-behavior:smooth}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:#fff;color:#333;line-height:1.5}a{color:#4f46e5;text-decoration:none;font-weight:500;cursor:pointer;transition:color .2s}a:hover{color:#4338ca;text-decoration:underline}.form-header{text-align:center;margin-bottom:1.75rem}.form-icon{width:52px;height:52px;margin:0 auto .85rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:14px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px #667eea59}.form-icon svg{width:26px;height:26px;color:#fff}.form-header h2{font-size:1.4rem;font-weight:700;color:#1a1a2e;margin-bottom:.3rem}.form-header p{font-size:.875rem;color:#888}.auth-form{display:flex;flex-direction:column;gap:1.1rem}.form-group{display:flex;flex-direction:column;gap:.35rem}.form-group label{font-size:.825rem;font-weight:600;color:#444;letter-spacing:.01em}.input-wrapper{display:flex;align-items:center;border:1.5px solid #e0e0e0;border-radius:10px;padding:0 .85rem;background:#fafafa;transition:border-color .25s,box-shadow .25s,background .25s}.input-wrapper:focus-within{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a;background:#fff}.input-wrapper svg{width:18px;height:18px;color:#aaa;flex-shrink:0;transition:color .25s}.input-wrapper:focus-within svg{color:#4f46e5}.input-wrapper input{flex:1;border:none;outline:none;background:transparent;padding:.7rem .65rem;font-size:.925rem;color:#333;font-family:inherit}.input-wrapper input::placeholder{color:#bbb}.form-options{display:flex;justify-content:flex-end;margin-top:-.3rem}.forgot-link{font-size:.825rem;color:#4f46e5;font-weight:500;cursor:pointer}.forgot-link:hover{text-decoration:underline}.error-message,.success-message{display:flex;align-items:center;gap:.5rem;padding:.65rem .85rem;border-radius:10px;font-size:.85rem;font-weight:500;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.error-message{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.error-message svg{width:16px;height:16px;flex-shrink:0}.success-message{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}.success-message svg{width:16px;height:16px;flex-shrink:0}.btn-primary{width:100%;padding:.75rem;border:none;border-radius:10px;font-size:.95rem;font-weight:600;font-family:inherit;color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed);cursor:pointer;transition:transform .15s,box-shadow .25s,opacity .25s;box-shadow:0 4px 14px #4f46e559;display:flex;align-items:center;justify-content:center;min-height:46px}.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 20px #4f46e573}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-primary:disabled{opacity:.7;cursor:not-allowed}.spinner{width:20px;height:20px;border:2.5px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.form-footer{text-align:center;margin-top:1.5rem;padding-top:1.15rem;border-top:1px solid #f0f0f0}.form-footer p{font-size:.875rem;color:#888}.form-footer a{color:#4f46e5;font-weight:600;cursor:pointer}@media (max-width: 480px){.form-header h2{font-size:1.25rem}}
