* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
}

.login-content {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 600px;
}

.logo-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-logo {
    height: 300px;
    width: auto;
}

.login-box {
    flex: 1;
    background: white;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 400px;
}

.login-header {
    background: #2c3e50;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.login-header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.login-header p {
    opacity: 0.9;
    font-size: 14px;
}

.login-form {
    padding: 30px 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.login-btn {
    width: 100%;
    background: #3498db;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.login-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.login-btn:active {
    transform: translateY(0);
}

.error-message {
    margin-top: 15px;
    padding: 10px;
    background: #e74c3c;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.error-message.show {
    display: block;
    animation: shake 0.5s ease-in-out;
}

.success-message {
    margin-top: 15px;
    padding: 10px;
    background: #27ae60;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.login-links {
    text-align: center;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
}

.login-links p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.login-links a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.login-links a:hover {
    text-decoration: underline;
}



@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }
    
    .login-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo-section {
        order: 2;
    }
    
    .login-box {
        order: 1;
        max-width: 100%;
    }
    
    .login-logo {
        height: 200px;
    }
    
    .login-header {
        padding: 20px 15px;
    }
    
    .login-header h1 {
        font-size: 1.5rem;
    }
    
    .login-form {
        padding: 20px 15px;
    }
}