.auth-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-primary);
}

.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth-bg-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 10%, rgba(255, 218, 0, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 90%, rgba(254, 204, 0, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 200, 0, 0.04) 0%, transparent 60%),
        linear-gradient(180deg, rgba(12, 12, 14, 1) 0%, rgba(18, 18, 22, 1) 50%, rgba(12, 12, 14, 1) 100%);
}

.auth-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 218, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 218, 0, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.auth-particles {
    position: absolute;
    inset: 0;
}

.auth-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.auth-bg-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 218, 0, 0.15) 0%, rgba(255, 180, 0, 0.05) 50%, transparent 70%);
    top: -250px;
    left: -150px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.auth-bg-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(254, 204, 0, 0.12) 0%, rgba(255, 160, 0, 0.04) 50%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.auth-bg-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 218, 0, 0.08) 0%, transparent 60%);
    top: 40%;
    left: 40%;
    animation: orbFloat3 30s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    25% { transform: translate(80px, 40px) scale(1.15); opacity: 1; }
    50% { transform: translate(30px, 80px) scale(0.9); opacity: 0.7; }
    75% { transform: translate(-40px, 30px) scale(1.1); opacity: 0.9; }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    25% { transform: translate(-60px, -40px) scale(1.1); opacity: 0.9; }
    50% { transform: translate(-30px, -70px) scale(0.85); opacity: 0.6; }
    75% { transform: translate(50px, -20px) scale(1.05); opacity: 0.8; }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    33% { transform: translate(-40%, -60%) scale(1.3); opacity: 0.8; }
    66% { transform: translate(-60%, -40%) scale(0.8); opacity: 0.4; }
}

.auth-bg::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 218, 0, 0.1);
    border-radius: 50%;
    top: 20%;
    right: 10%;
    animation: shapeFloat 15s ease-in-out infinite;
}

.auth-bg::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px dashed rgba(255, 218, 0, 0.08);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 15%;
    left: 5%;
    animation: shapeFloat 20s ease-in-out infinite reverse;
}

@keyframes shapeFloat {
    0%, 100% { transform: rotate(0deg) translate(0, 0); }
    25% { transform: rotate(90deg) translate(20px, -20px); }
    50% { transform: rotate(180deg) translate(0, 0); }
    75% { transform: rotate(270deg) translate(-20px, 20px); }
}

.auth-split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    z-index: 1;
}

.auth-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-12);
    position: relative;
    background: linear-gradient(135deg, rgba(18, 18, 20, 0.98) 0%, rgba(12, 12, 14, 1) 100%);
    overflow: hidden;
}

.auth-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(255, 218, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(255, 200, 0, 0.05) 0%, transparent 50%);
    animation: showcaseBgPulse 10s ease-in-out infinite;
}

@keyframes showcaseBgPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.auth-showcase::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 218, 0, 0.2) 20%, rgba(255, 218, 0, 0.3) 50%, rgba(255, 218, 0, 0.2) 80%, transparent 100%);
}

.auth-showcase .showcase-content::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 218, 0, 0.1), transparent);
    transform: rotate(-15deg);
    animation: lineMove 8s linear infinite;
}

.auth-showcase .showcase-content::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 218, 0, 0.08), transparent);
    transform: rotate(10deg);
    animation: lineMove 12s linear infinite reverse;
}

@keyframes lineMove {
    0% { transform: translateX(-20%) rotate(-15deg); }
    100% { transform: translateX(20%) rotate(-15deg); }
}

.showcase-content {
    max-width: 480px;
    text-align: center;
    animation: showcaseIn 0.8s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes showcaseIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.showcase-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-12);
    text-decoration: none;
}

.showcase-logo img {
    height: 40px;
    width: auto;
}

.showcase-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.showcase-visual {
    margin-bottom: var(--space-10);
    position: relative;
}

.visual-orbit {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border-width: 1px;
    border-style: solid;
}

.orbit-ring.ring-1 {
    inset: 0;
    border-color: rgba(255, 218, 0, 0.3);
    animation: orbitRotate1 12s linear infinite;
}

.orbit-ring.ring-1::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-primary), 0 0 40px rgba(255, 218, 0, 0.5);
}

.orbit-ring.ring-2 {
    inset: 35px;
    border-color: rgba(255, 218, 0, 0.2);
    border-style: dashed;
    animation: orbitRotate2 18s linear infinite reverse;
}

.orbit-ring.ring-2::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: rgba(255, 218, 0, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color-primary);
}

.orbit-ring.ring-3 {
    inset: 70px;
    border-color: rgba(255, 218, 0, 0.15);
    animation: orbitRotate3 8s linear infinite;
}

.orbit-ring.ring-3::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -4px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 218, 0, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--color-primary);
}

@keyframes orbitRotate1 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbitRotate2 {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes orbitRotate3 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #2e2c1a, #1a170f);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 80px rgba(255, 218, 0, 0.25),
        0 0 40px rgba(255, 218, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: centerPulse 4s ease-in-out infinite;
}

@keyframes centerPulse {
    0%, 100% { 
        box-shadow: 
            0 0 80px rgba(255, 218, 0, 0.25),
            0 0 40px rgba(255, 218, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 100px rgba(255, 218, 0, 0.35),
            0 0 60px rgba(255, 218, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

.orbit-logo {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 20px rgba(255, 218, 0, 0.6));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(255, 218, 0, 0.6));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(255, 218, 0, 0.9));
        transform: scale(1.05);
    }
}

.orbit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-primary), 0 0 40px rgba(255, 218, 0, 0.5);
    animation: dotFloat 3s ease-in-out infinite;
}

.orbit-dot.dot-1 { top: 20%; left: 5%; animation-delay: 0s; }
.orbit-dot.dot-2 { top: 60%; right: 0; animation-delay: 1s; }
.orbit-dot.dot-3 { bottom: 10%; left: 20%; animation-delay: 2s; }

@keyframes dotFloat {
    0%, 100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 20px var(--color-primary), 0 0 40px rgba(255, 218, 0, 0.5); }
    50% { transform: scale(1.5); opacity: 1; box-shadow: 0 0 30px var(--color-primary), 0 0 60px rgba(255, 218, 0, 0.7); }
}

.visual-orbit::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(255, 218, 0, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    animation: orbitGlow 5s ease-in-out infinite;
}

@keyframes orbitGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.showcase-text { margin-bottom: var(--space-10); }

.showcase-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-3);
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

.showcase-stats { display: flex; justify-content: center; gap: var(--space-8); }
.stat-item { text-align: center; }
.stat-value { display: block; font-size: 1.75rem; font-weight: 700; color: var(--color-primary); line-height: 1; margin-bottom: var(--space-1); }
.stat-label { font-size: 0.75rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.showcase-features { display: flex; flex-direction: column; gap: var(--space-4); text-align: left; }

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.feature-item:hover { background: rgba(255, 218, 0, 0.05); border-color: rgba(255, 218, 0, 0.1); }

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg { width: 22px; height: 22px; color: var(--color-primary); }
.feature-text { display: flex; flex-direction: column; gap: 2px; }
.feature-title { font-size: 0.9375rem; font-weight: 600; color: var(--color-text-primary); }
.feature-desc { font-size: 0.8125rem; color: var(--color-text-muted); }

.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-12);
    position: relative;
    min-height: 100vh;
}

.auth-back {
    position: absolute;
    top: var(--space-8);
    left: var(--space-8);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    z-index: 10;
}

.auth-back:hover { color: var(--color-primary); transform: translateX(-4px); }
.auth-back svg { transition: transform 0.3s ease; }
.auth-back:hover svg { transform: translateX(-4px); }

.auth-form-container { width: 100%; max-width: 420px; animation: formIn 0.6s ease-out 0.2s both; }
.auth-form-container.register-form { max-width: 440px; }

@keyframes formIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header { text-align: center; margin-bottom: var(--space-8); }

.auth-header-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-5);
    background: linear-gradient(135deg, var(--color-primary-muted), rgba(255, 218, 0, 0.1));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconFloat 3s ease-in-out infinite;
}

.auth-header-icon svg { width: 28px; height: 28px; color: var(--color-primary); }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.auth-title { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--space-2); }
.auth-subtitle { font-size: 0.9375rem; color: var(--color-text-muted); margin: 0; }

.register-progress { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin-bottom: var(--space-8); }

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.active, .progress-step.completed { opacity: 1; }

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.progress-step.active .step-number { border-color: var(--color-primary); background: var(--color-primary-muted); color: var(--color-primary); }
.progress-step.completed .step-number { border-color: var(--color-success); background: rgba(16, 185, 129, 0.2); color: var(--color-success); }
.step-label { font-size: 0.75rem; color: var(--color-text-muted); }

.progress-line { width: 60px; height: 2px; background: var(--color-border); position: relative; overflow: hidden; }
.progress-line::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--color-primary); transition: width 0.5s ease; }
.progress-line.active::after { width: 100%; }

.form-step { display: none; }
.form-step.active { display: block; animation: stepIn 0.4s ease-out; }

@keyframes stepIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.step-back {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: var(--space-6);
    padding: 0;
    transition: all 0.3s ease;
}

.step-back:hover { color: var(--color-primary); }
.step-back svg { width: 16px; height: 16px; }

.auth-form { display: flex; flex-direction: column; gap: var(--space-5); }
.auth-field { position: relative; }
.field-wrapper { position: relative; }

.auth-input {
    width: 100%;
    padding: var(--space-4) var(--space-4) var(--space-4) var(--space-12);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text-primary);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    outline: none;
    transition: all 0.3s ease;
}

.auth-input::placeholder { color: transparent; }
.auth-input:hover { border-color: var(--color-border-hover); }
.auth-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-muted); background: var(--color-bg-secondary); }

.auth-label {
    position: absolute;
    left: var(--space-12);
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    padding: 0 var(--space-1);
}

.auth-input:focus ~ .auth-label,
.auth-input:not(:placeholder-shown) ~ .auth-label {
    top: 0;
    left: var(--space-3);
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--color-primary);
    background: var(--color-bg-primary);
}

.field-icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.field-icon svg { width: 20px; height: 20px; }
.auth-input:focus ~ .field-icon { color: var(--color-primary); }

.field-status {
    position: absolute;
    right: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.field-status::before { content: ''; position: absolute; inset: 0; border-radius: 50%; }

.auth-field.success .field-status { opacity: 1; }
.auth-field.success .field-status::before { background: var(--color-success); animation: statusPop 0.3s ease; }
.auth-field.success .field-status::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: white; }

.auth-field.error .field-status { opacity: 1; }
.auth-field.error .field-status::before { background: var(--color-error); }
.auth-field.error .field-status::after { content: '!'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: white; }

@keyframes statusPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.auth-field.success .auth-input { border-color: var(--color-success); }
.auth-field.error .auth-input { border-color: var(--color-error); animation: shake 0.4s ease; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.field-feedback { margin-top: var(--space-2); font-size: 0.75rem; color: var(--color-text-muted); min-height: 18px; transition: color 0.3s ease; }
.auth-field.error .field-feedback { color: var(--color-error); }
.auth-field.success .field-feedback { color: var(--color-success); }
.field-feedback.no-match, .field-feedback.no-match .feedback-text { color: var(--color-error) !important; }
.field-feedback.match, .field-feedback.match .feedback-text { color: var(--color-success) !important; }

.toggle-password {
    position: absolute;
    right: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    padding: 0;
    transition: color 0.3s ease;
}

.toggle-password:hover { color: var(--color-text-primary); }
.toggle-password svg { width: 20px; height: 20px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: opacity 0.2s ease; }
.toggle-password .eye-closed { opacity: 0; }
.toggle-password.active .eye-open { opacity: 0; }
.toggle-password.active .eye-closed { opacity: 1; }
.auth-field[data-field="password"] .field-status, .auth-field[data-field="password_confirm"] .field-status { right: var(--space-12); }

.password-strength-container { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-3); margin-bottom: var(--space-4); }
.strength-meter { flex: 1; height: 4px; background: var(--color-bg-hover); border-radius: 2px; overflow: hidden; }
.strength-fill { height: 100%; width: 0; border-radius: 2px; transition: all 0.4s ease; }
.strength-fill[data-strength="1"] { width: 25%; background: var(--color-error); }
.strength-fill[data-strength="2"] { width: 50%; background: var(--color-warning); }
.strength-fill[data-strength="3"] { width: 75%; background: var(--color-primary); }
.strength-fill[data-strength="4"] { width: 100%; background: var(--color-success); }
.strength-label { font-size: 0.75rem; color: var(--color-text-muted); min-width: 80px; text-align: right; }

.password-requirements { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-6); }
.requirement { display: flex; align-items: center; gap: var(--space-2); font-size: 0.75rem; color: var(--color-text-muted); transition: color 0.3s ease; }
.requirement.met { color: var(--color-success); }
.req-icon { width: 14px; height: 14px; flex-shrink: 0; transition: all 0.3s ease; }
.requirement.met .req-icon { color: var(--color-success); }
.requirement.met .req-icon circle { fill: var(--color-success); stroke: var(--color-success); }

.auth-submit {
    position: relative;
    width: 100%;
    padding: var(--space-4) var(--space-6);
    margin-top: var(--space-2);
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.auth-submit:hover { transform: translateY(-2px); }
.auth-submit:active { transform: translateY(0); }

.btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.auth-submit:hover .btn-bg { box-shadow: 0 8px 30px rgba(255, 218, 0, 0.3); }
.btn-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 50%); opacity: 0; transition: opacity 0.3s ease; }
.auth-submit:hover .btn-bg::after { opacity: 1; }

.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-inverse);
    z-index: 1;
}

.btn-arrow { width: 18px; height: 18px; transition: transform 0.3s ease; }
.auth-submit:hover .btn-arrow { transform: translateX(4px); }

.btn-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.loader-dot { width: 8px; height: 8px; background: var(--color-text-inverse); border-radius: 50%; animation: loaderBounce 1.4s ease-in-out infinite both; }
.loader-dot:nth-child(1) { animation-delay: -0.32s; }
.loader-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes loaderBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.auth-submit.loading .btn-content { opacity: 0; visibility: hidden; }
.auth-submit.loading .btn-loader { opacity: 1; visibility: visible; }
.auth-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

.auth-message {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: messageSlide 0.4s ease-out;
}

@keyframes messageSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-message.error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); color: var(--color-error); }
.auth-message.success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.2); color: var(--color-success); }

.auth-footer { text-align: center; margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.auth-footer p { font-size: 0.875rem; color: var(--color-text-muted); margin: 0; }

.auth-link {
    color: var(--color-primary);
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.auth-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--color-primary); transition: width 0.3s ease; }
.auth-link:hover::after { width: 100%; }

.auth-mobile-logo { display: none; position: absolute; top: var(--space-8); right: var(--space-8); }
.auth-mobile-logo img { height: 32px; width: auto; }

@media (max-width: 1024px) {
    .auth-split { grid-template-columns: 1fr; }
    .auth-showcase { display: none; }
    .auth-form-side { padding: var(--space-8); }
    .auth-mobile-logo { display: block; }
}

@media (max-width: 480px) {
    .auth-form-side { padding: var(--space-4); padding-top: var(--space-16); }
    .auth-back { top: var(--space-4); left: var(--space-4); }
    .auth-mobile-logo { top: var(--space-4); right: var(--space-4); }
    .auth-header-icon { width: 56px; height: 56px; }
    .auth-title { font-size: 1.5rem; }
    .register-progress { gap: var(--space-2); }
    .progress-line { width: 40px; }
    .step-label { display: none; }
    .password-requirements { grid-template-columns: 1fr; }
}

.auth-input:focus-visible,
.auth-submit:focus-visible,
.toggle-password:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
