* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --dark: #0a0a1a;
    --darker: #050510;
    --light: #e0e0e0;
    --error: #ff6b6b;
    --success: #4ade80;
    --warning: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    color: var(--light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(100,100,200,0.1);
}

.auth-card {
    flex: 1;
    padding: 40px;
    background: linear-gradient(180deg, rgba(10,10,26,0.9) 0%, rgba(15,15,42,0.9) 100%);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    display: inline-block;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.auth-header h1 {
    font-size: 2em;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.auth-header p {
    color: #888;
    font-size: 0.9em;
}

.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-size: 0.9em;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(100,100,200,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1em;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(102,126,234,0.1);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #aaa;
}

.checkbox input {
    width: auto;
    margin-right: 8px;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 30px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102,126,234,0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
}

.auth-footer p {
    color: #888;
    font-size: 0.9em;
    margin: 10px 0;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: var(--secondary);
}

.error-message, .success-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.error-message {
    background: rgba(255,107,107,0.1);
    border: 1px solid rgba(255,107,107,0.3);
    color: var(--error);
}

.success-message {
    background: rgba(74,222,128,0.1);
    border: 1px solid rgba(74,222,128,0.3);
    color: var(--success);
}

.auth-info {
    flex: 1;
    padding: 40px;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-info h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #fff;
}

.auth-info ul {
    list-style: none;
    margin-top: 30px;
}

.auth-info li {
    padding: 10px 0;
    color: #aaa;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-info {
        display: none;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-header h1 {
        font-size: 1.5em;
    }
}