*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;background:#f8fafc;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;line-height:1.6}.login-container{width:100%;max-width:400px}.login-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:32px;box-shadow:0 1px 3px rgba(0,0,0,.1);transition:all .2s ease}.login-card:hover{box-shadow:0 4px 6px rgba(0,0,0,.1)}.login-header{text-align:center;margin-bottom:32px}.login-header h2{color:#1a202c;font-size:1.75rem;font-weight:600;margin-bottom:8px}.login-header p{color:#718096;font-size:14px;font-weight:400}.form-group{margin-bottom:20px;position:relative}.input-wrapper{position:relative;display:flex;flex-direction:column}.input-wrapper input{background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:12px 16px;color:#1a202c;font-size:16px;font-weight:400;transition:all .2s ease;width:100%;outline:0}.input-wrapper input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.input-wrapper input:focus+label,.input-wrapper input:valid+label{transform:translateY(-32px) scale(.85);color:#3b82f6;font-weight:500}.input-wrapper label{position:absolute;left:16px;top:12px;color:#718096;font-size:16px;font-weight:400;transition:all .2s ease;pointer-events:none;transform-origin:left top;background:#fff;padding:0 4px}.input-wrapper .password-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:0 0;border:none;cursor:pointer;padding:8px;color:#718096;transition:color .2s ease;z-index:2}.input-wrapper .password-toggle:hover{color:#3b82f6}.toggle-icon{display:block;width:16px;height:16px;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23718096' stroke-width='1.5'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3e%3c/svg%3e");background-size:contain;background-repeat:no-repeat;background-position:center;transition:background-image .2s ease}.password-toggle:hover .toggle-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b82f6' stroke-width='1.5'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3e%3c/svg%3e")}.toggle-icon.show-password{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23718096' stroke-width='1.5'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 11-4.243-4.243m4.242 4.242L9.88 9.88'/%3e%3c/svg%3e")}.form-options{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:12px}.remember-wrapper{display:flex;align-items:center;gap:8px;cursor:pointer}.remember-wrapper input[type=checkbox]{display:none}.checkmark{width:16px;height:16px;border:1px solid #d1d5db;border-radius:3px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0;background:#fff}.remember-wrapper input[type=checkbox]:checked+.checkbox-label .checkmark{background:#3b82f6;border-color:#3b82f6}.remember-wrapper input[type=checkbox]:checked+.checkbox-label .checkmark::after{content:'✓';color:#fff;font-size:10px;font-weight:700}.checkbox-label{color:#4a5568;font-size:14px;cursor:pointer;user-select:none;display:flex;align-items:center;gap:8px}.forgot-password{color:#3b82f6;text-decoration:none;font-size:14px;font-weight:500;transition:color .2s ease}.forgot-password:hover{color:#2563eb}.login-btn{width:100%;background:#3b82f6;border:none;border-radius:6px;padding:12px 24px;color:#fff;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease;position:relative;margin-bottom:24px}.login-btn:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 6px rgba(59,130,246,.2)}.login-btn:active{transform:translateY(0)}.login-btn.loading{pointer-events:none;background:#9ca3af}.btn-text{transition:opacity .2s ease}.btn-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:16px;height:16px;border:2px solid transparent;border-top:2px solid #fff;border-radius:50%;opacity:0;animation:spin 1s linear infinite;transition:opacity .2s ease}.login-btn.loading .btn-text{opacity:0}.login-btn.loading .btn-loader{opacity:1}.error-message{color:#dc2626;font-size:12px;font-weight:500;margin-top:6px;margin-left:4px;opacity:0;transform:translateY(-10px);transition:all .2s ease;display:none}.error-message.show{opacity:1;transform:translateY(0);display:block!important}.form-group.error .input-wrapper input{border-color:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.1)}.success-message{display:none;text-align:center;padding:32px 20px;opacity:0;transform:translateY(20px);transition:all .3s ease}.success-message.show{display:block;opacity:1;transform:translateY(0)}.success-icon{width:48px;height:48px;background:#059669;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;color:#fff;margin:0 auto 16px}.success-message h3{color:#1a202c;font-size:1.25rem;margin-bottom:8px}.success-message p{color:#718096;font-size:14px}.signup-link{text-align:center}.signup-link p{color:#718096;font-size:14px}.signup-link a{color:#3b82f6;text-decoration:none;font-weight:500;transition:color .2s ease}.signup-link a:hover{color:#2563eb}.register-container{width:100%;max-width:70vh}@keyframes spin{0%{transform:translate(-50%,-50%) rotate(0)}100%{transform:translate(-50%,-50%) rotate(360deg)}}@media (max-width:480px){body{padding:16px}.login-card{padding:24px}.login-header h2{font-size:1.5rem}.form-options{flex-direction:column;align-items:flex-start;gap:16px}}