:root {
    --bg-color: #0c1014;
    --card-bg: rgba(22, 26, 30, 0.8);
    --accent-blue: #0c66e4;
    --accent-teal: #00c7e4;
    --text-primary: #deebff;
    --text-secondary: #8c9bab;
    --border-color: #333c44;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg-color); color: var(--text-primary); height: 100vh; display: flex; overflow: hidden; }

.login-container { display: flex; width: 100%; }

/* Left Hero Side */
.hero-side {
    flex: 1.2;
    background: linear-gradient(rgba(12, 102, 228, 0.2), rgba(12, 16, 20, 0.8)), 
                url('https://images.unsplash.com/photo-1509391366360-fe5bb6585e2b?auto=format&fit=crop&q=80&w=2070');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    position: relative;
}

.hero-side::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, transparent, var(--bg-color));
}

.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-content h1 { font-size: 48px; font-weight: 700; margin-bottom: 24px; line-height: 1.1; background: linear-gradient(to right, #fff, #8c9bab); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 18px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 32px; }

.feature-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(12, 102, 228, 0.2); border: 1px solid rgba(12, 102, 228, 0.3); padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; color: #579dff; margin-bottom: 24px; }

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Right Form Side */
.form-side {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: var(--bg-color);
    border-left: 1px solid var(--border-color);
}

.form-card { width: 100%; max-width: 400px; }
.logo { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; }
.logo-icon { background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal)); width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; box-shadow: 0 4px 12px rgba(12, 102, 228, 0.4); }
.logo span { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; }

.form-header h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.form-header p { color: var(--text-secondary); font-size: 15px; margin-bottom: 32px; }

.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.input-wrapper { position: relative; }
.input-wrapper i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #454f59; transition: color 0.2s; }
.input-wrapper input { width: 100%; background: #1d2125; border: 1px solid var(--border-color); padding: 14px 16px 14px 48px; border-radius: 8px; color: #fff; font-size: 15px; transition: all 0.2s; }
.input-wrapper input:focus { border-color: var(--accent-blue); background: #22272b; outline: none; box-shadow: 0 0 0 4px rgba(12, 102, 228, 0.15); }
.input-wrapper input:focus + i { color: var(--accent-blue); }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
}

.checkbox-label input {
    accent-color: var(--accent-blue);
}

.forgot-link {
    color: var(--accent-blue);
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-btn { width: 100%; background: var(--accent-blue); color: white; border: none; padding: 14px; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.login-btn:hover { background: #0052cc; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(12, 102, 228, 0.3); }
.login-btn:active { transform: translateY(0); }

.footer-links { margin-top: 32px; text-align: center; font-size: 14px; color: var(--text-secondary); }
.footer-links a { color: var(--accent-blue); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }

#errorMessage { background: rgba(255, 86, 48, 0.1); border: 1px solid rgba(255, 86, 48, 0.2); color: #ff5630; padding: 12px; border-radius: 6px; font-size: 14px; margin-bottom: 24px; display: none; align-items: center; gap: 10px; }

/* Animation */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.form-card { animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
