* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-container {
    display: flex;
    min-height: 100vh;
}

/* Left Panel */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1e3c72 0%, #2b5797 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-left-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    max-width: 500px;
}

.login-left h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.login-left h1 i {
    color: #ffd700;
    margin-right: 10px;
}

.login-left .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(255,215,0,0.3);
    padding-bottom: 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.feature i {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 10px;
}

.feature span {
    display: block;
    font-weight: 500;
}

/* Right Panel */
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
    padding: 40px;
}

.login-form-container h2 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 10px;
}

.login-subtitle {
    color: #718096;
    margin-bottom: 30px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 500;
}

.login-form label i {
    color: #2b5797;
    margin-right: 5px;
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: #2b5797;
    box-shadow: 0 0 0 3px rgba(43,87,151,0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #718096;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.forgot-password {
    color: #2b5797;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1e3c72 0%, #2b5797 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(43,87,151,0.4);
}

.error-message {
    margin-top: 15px;
    padding: 10px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c33;
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-credentials {
    margin-top: 30px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.demo-credentials p {
    color: #4a5568;
    margin-bottom: 10px;
    font-weight: 600;
}

.cred-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    font-size: 0.9rem;
    color: #2d3748;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-left {
        padding: 40px 20px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}