:root {
    /* Login Page Specific Variables */
    --primary: #0f172a; /* Dark Navy */
    --accent: #2563eb; /* Royal Blue */
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-light: #64748b;
    --error: #ef4444;
}

/* Base Reset for Login Page */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Split Screen Container */
.login-container {
    display: flex;
    background: white;
    width: 1000px;
    max-width: 90%;
    height: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* Left Side - Visuals */
.left-panel {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.welcome-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.welcome-text p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
}

/* Right Side - Form */
.right-panel {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
}

/* Input Styling */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    width: 20px;
    height: 20px;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 14px 14px 45px; /* Space for icon */
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    background: #f8fafc;
}

.input-wrapper input:focus {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Button Styling */
button {
    width: 100%;
    padding: 15px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(1px);
}

/* Error Message */
.error-box {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--error);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info {
    margin-top: auto;
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
        width: 100%;
        border-radius: 0;
    }
    .left-panel {
        padding: 40px;
    }
    .right-panel {
        padding: 40px;
    }
}