.auth-section {
    min-height: 100vh;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #0f0f1a 100%);
    display: flex;
    align-items: center;
}
.container { max-width: 520px; margin: 0 auto; padding: 0 20px; }
.auth-wrapper {
    background: rgba(20,20,30,0.95);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 35px;
    border: 1px solid rgba(255,255,255,0.08);
}
.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: #1a1a2e;
    padding: 6px;
    border-radius: 60px;
}
.auth-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: transparent;
    border-radius: 50px;
    color: #a1a1aa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.auth-tab.active {
    background: linear-gradient(135deg, #e50914, #b81d24);
    color: white;
}
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: #d1d1d6; display: flex; align-items: center; gap: 8px; }
.form-group label i { color: #f5c518; }
.form-group small {
    font-size: 11px;
    color: #a1a1aa;
    margin-top: 4px;
}
.auth-input, .form-group input {
    width: 100%;
    padding: 14px 16px;
    background: #1a1a2e;
    border: 2px solid #2a2a3a;
    border-radius: 14px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}
.auth-input:focus, .form-group input:focus { outline: none; border-color: #f5c518; }
.form-group input.error {
    border-color: #f5c518;
    background: rgba(245,197,24,0.05);
}
.form-group input.valid {
    border-color: #22c55e;
}
.input-error {
    font-size: 11px;
    color: #f5c518;
    margin-top: 4px;
    display: none;
}
.input-error.show {
    display: block;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.checkbox-group { margin: 5px 0; }
.checkbox-group label { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #a1a1aa; font-size: 13px; }
.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #e50914, #b81d24);
    border: none;
    border-radius: 40px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.auth-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.auth-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    color: #ef4444;
    padding: 12px;
    border-radius: 14px;
    font-size: 13px;
    text-align: center;
    margin-bottom: 20px;
}
.auth-success {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    color: #22c55e;
    padding: 12px;
    border-radius: 14px;
    font-size: 13px;
    text-align: center;
    margin-bottom: 20px;
}
.switch-auth {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.switch-link {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(245,197,24,0.3);
    border-radius: 40px;
    padding: 10px 20px;
    color: #f5c518;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}
.switch-link:hover {
    background: rgba(245,197,24,0.1);
    transform: translateY(-2px);
}
@media (max-width: 550px) {
    .auth-wrapper { padding: 25px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}