*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#1f2937;background-color:#fbfaf7;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.login-wrapper{position:relative;min-height:100vh;min-height:100dvh;width:100%;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at center,#fff,#f4f3f0);overflow-x:hidden}.grid-bg{position:absolute;inset:0;background-size:44px 44px;background-image:linear-gradient(to right,rgba(0,0,0,.02) 1px,transparent 1px),linear-gradient(to bottom,rgba(0,0,0,.02) 1px,transparent 1px);z-index:1;pointer-events:none}.login-container{position:relative;width:100%;max-width:430px;z-index:2}.floating-bubble{position:absolute;background:#fff;border:1px solid rgba(0,0,0,.06);padding:8px 16px;border-radius:99px;font-size:12px;font-weight:500;color:#374151;box-shadow:0 0 0 1px #00000008,0 8px 20px #00000008,0 2px 4px #00000003;z-index:10;white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform .2s cubic-bezier(.175,.885,.32,1.275),box-shadow .2s ease,opacity .3s ease;pointer-events:auto}.floating-bubble:hover{transform:scale(1.08) translateY(-2px);box-shadow:0 0 0 1px #0000000f,0 12px 24px #0000000f,0 3px 6px #00000005}.floating-bubble.popping{animation:bubble-pop-anim .3s cubic-bezier(.1,.8,.3,1) forwards;pointer-events:none}@keyframes bubble-pop-anim{0%{transform:scale(1);opacity:1}50%{transform:scale(1.15);opacity:.7}to{transform:scale(1.4);opacity:0;filter:blur(3px)}}.bubble-1{left:-80px;top:30px;animation:float-1 6s ease-in-out infinite alternate}.bubble-2{left:-130px;top:170px;animation:float-2 8s ease-in-out infinite alternate .5s}.bubble-3{right:-70px;top:60px;animation:float-3 5s ease-in-out infinite alternate .2s}.bubble-4{right:-90px;top:200px;animation:float-4 7s ease-in-out infinite alternate .8s}@keyframes float-1{0%{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-12px) rotate(2deg)}}@keyframes float-2{0%{transform:translateY(0) rotate(1deg)}to{transform:translateY(-15px) rotate(-2deg)}}@keyframes float-3{0%{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-10px) rotate(1deg)}}@keyframes float-4{0%{transform:translateY(0) rotate(2deg)}to{transform:translateY(-14px) rotate(-1deg)}}.login-card{position:relative;background:#fff;padding:36px 32px;border-radius:20px;border:1px solid rgba(0,0,0,.08);box-shadow:0 0 0 1px #00000008,0 24px 60px -8px #00000029,0 4px 16px -4px #0000000f;width:100%}.sandbox-badge{position:absolute;top:16px;right:16px;background:#f59e0b14;border:1px solid rgba(245,158,11,.18);color:#d97706;padding:3px 8px;border-radius:99px;font-size:10px;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.avatar-container{display:flex;justify-content:center;margin-bottom:16px}.avatar-squircle{width:72px;height:72px;border-radius:16px;background:#fbfbfc;border:1px solid rgba(0,0,0,.06);padding:4px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px #00000005,inset 0 1px #ffffffe6}.avatar-squircle img{width:100%;height:100%;object-fit:contain;border-radius:12px}.card-header{text-align:center;margin-bottom:18px}.card-header h1{font-family:"Instrument Serif",Georgia,serif;font-size:38px;font-weight:400;color:#0f172a;line-height:1.1;margin-bottom:6px}.card-header p{font-size:13px;color:#6b7280;line-height:1.4}.auth-tabs{display:flex;justify-content:center;gap:16px;margin-bottom:18px;border-bottom:1px solid #f3f4f6;padding-bottom:6px}.auth-tab{background:none;border:none;font-size:13px;font-weight:500;color:#9ca3af;cursor:pointer;position:relative;padding:4px 8px;transition:color .2s ease;font-family:inherit}.auth-tab.active{color:#0f172a;font-weight:600}.auth-tab.active:after{content:"";position:absolute;bottom:-7px;left:0;right:0;height:2px;background:#0f172a;border-radius:2px}.auth-form{width:100%}.input-group{margin-bottom:12px;display:flex;flex-direction:column;gap:4px}.input-group label{font-size:12px;font-weight:600;color:#475569;text-align:left}.input-group input{width:100%;height:42px;padding:0 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;color:#0f172a;background:#fff;outline:none;transition:all .2s cubic-bezier(.4,0,.2,1)}.input-group input::placeholder{color:#94a3b8}.input-group input:focus{border-color:#c084fc;box-shadow:0 0 0 3px #c084fc1f}.submit-btn{width:100%;height:42px;background:#09090b;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .2s ease;margin-top:16px;position:relative;font-family:inherit}.submit-btn:hover:not(:disabled){background:#18181b;transform:translateY(-1px)}.submit-btn:active:not(:disabled){transform:translateY(0)}.submit-btn:disabled{opacity:.65;cursor:not-allowed}.spinner{display:none;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.submit-btn.loading .spinner{display:inline-block}.submit-btn.loading .btn-text{opacity:.6}.error-msg{margin-top:8px;color:#ef4444;font-size:12px;text-align:center;min-height:14px;font-weight:500}.social-auth-section{margin-top:4px}.google-login-btn{width:100%;height:42px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#374151;font-size:13px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:all .2s ease}.google-login-btn:hover{background:#f9fafb;border-color:#d1d5db}.google-icon{width:16px;height:16px}.divider{display:flex;align-items:center;text-align:center;margin:12px 0;color:#9ca3af;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.divider:before,.divider:after{content:"";flex:1;border-bottom:1px solid #e5e7eb}.divider:not(:empty):before{margin-right:8px}.divider:not(:empty):after{margin-left:8px}.card-footer{margin-top:20px;text-align:center}.card-footer p{font-size:11px;color:#94a3b8;line-height:1.4;font-weight:500}.pop-ring{position:fixed;width:20px;height:20px;border:2px solid #c084fc;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;z-index:9999;animation:ring-expand .4s cubic-bezier(.1,.8,.3,1) forwards}@keyframes ring-expand{0%{width:20px;height:20px;opacity:1;border-width:3px}to{width:80px;height:80px;opacity:0;border-width:1px}}.pop-particle{position:fixed;width:6px;height:6px;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;z-index:9999;animation:particle-fly .6s cubic-bezier(.1,.8,.3,1) forwards}@keyframes particle-fly{0%{transform:translate(-50%,-50%) scale(1);opacity:1}to{transform:translate(calc(-50% + var(--tx)),calc(-50% + var(--ty))) scale(0);opacity:0}}@media(max-width:768px){.floating-bubble{display:none}.login-card{padding:28px 24px;border-radius:16px}.card-header h1{font-size:32px}}*:focus-visible{outline:2px solid #c084fc;outline-offset:2px}input:focus-visible{outline:none}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.forgot-password-link{display:block;text-align:right;margin-top:-4px;margin-bottom:8px;font-size:12px;color:#6b7280;text-decoration:none;cursor:pointer;background:none;border:none;padding:0;font-family:inherit;transition:color .2s ease}.forgot-password-link:hover{color:#0f172a}
