 :root {
            --bg: #0d1117;
            --bg-elevated: #161b22;
            --bg-card: #1c2129;
            --fg: #f0f6fc;
            --fg-muted: #8b949e;
            --accent: #3b82f6;
            --accent-glow: rgba(59, 130, 246, 0.15);
            --border: rgba(139, 148, 158, 0.15);
        }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--fg);
    overflow-x: hidden;
    min-height: 100vh;
}

.grid-bg {
            position: fixed;
            inset: 0;
            z-index: 0;
            background-image:
                 linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
                 linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 30%, transparent 100%);
        }

.form-container {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-panel {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-panel.hidden-panel {
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.form-panel.active-panel {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.input-group {
    position: relative;
}

.input-group input {
    transition: all 0.3s ease;
}

.input-group input:focus {
    box-shadow: 0 0 0 3px rgba(51, 120, 255, 0.15), 0 1px 3px rgba(0,0,0,0.08);
}

.input-group .input-icon {
    transition: color 0.3s ease;
}

.input-group input:focus ~ .input-icon,
.input-group input:focus + .input-icon {
    color: #3378ff;
}

.btn-primary {
    background: linear-gradient(135deg, #3378ff 0%, #1b57f5 50%, #1443e1 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px -5px rgba(51, 120, 255, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: floatShape 20s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 35px) scale(1.05); }
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.08);
}

.password-toggle {
    cursor: pointer;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #3378ff;
}

.tab-indicator {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast {
    animation: slideInToast 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInToast {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-exit {
    animation: slideOutToast 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideOutToast {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.spinner {
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.strength-bar {
    transition: all 0.4s ease;
}

.checkbox-custom {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.checkbox-custom:checked {
    background: #3378ff;
    border-color: #3378ff;
}

.checkbox-custom:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@media (max-width: 1024px) {
    .left-panel {
        display: none;
    }
}

.stat-counter {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #1e293b !important;
}