* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
}

.login-wrapper {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-height: 600px;
}

.brand-section {
    flex: 1;
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.login-section {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-logo {
    text-align: center;
}

.logo-icon {
    font-size: 4rem;
    color: #3498db;
    margin-bottom: 20px;
}

.brand-logo h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tagline {
    color: #95a5a6;
    font-size: 1rem;
}

.brand-features {
    margin: 40px 0;
}

.feature {
    margin-bottom: 30px;
}

.feature i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 10px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature p {
    color: #95a5a6;
    font-size: 0.9rem;
}

.company-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #95a5a6;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.login-header p {
    color: #95a5a6;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #95a5a6;
    cursor: pointer;
    font-size: 1.2rem;
}

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

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

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

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #95a5a6;
    font-size: 0.9rem;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
    z-index: -1;
}

.demo-credentials {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #3498db;
}

.credential-item {
    margin: 8px 0;
    padding: 5px;
    background: white;
    border-radius: 5px;
}

.debug-link {
    text-align: center;
    margin-top: 20px;
}

.debug-link a {
    color: #3498db;
    text-decoration: none;
    margin: 0 5px;
}

.notification {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification.error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.notification.success {
    background: #efe;
    color: #3a3;
    border: 1px solid #cfc;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .login-wrapper {
        flex-direction: column;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .brand-section,
    .login-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .login-wrapper {
        min-height: auto;
    }
    
    .brand-logo h1 {
        font-size: 2rem;
    }
    
    .feature h3 {
        font-size: 1rem;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
}