* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
        
body {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
        
.login-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
}
        
.login-header {
    background: #4a6fc0;
    color: white;
    padding: 25px;
    text-align: center;
}
        
.login-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}
        
.login-header p {
    font-size: 14px;
    opacity: 0.9;
}
        
.login-form {
    padding: 25px;
}
        
.form-group {
    margin-bottom: 20px;
}
        
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}
        
.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}
        
.form-group input:focus {
    border-color: #4a6fc0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 111, 192, 0.2);
}
        
.btn-login {
    width: 100%;
    padding: 14px;
    background: #4a6fc0;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
        
.btn-login:hover {
    background: #3a5ca9;
}
        
.btn-login:active {
    transform: translateY(1px);
}
        
.error-message {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}
        
.loading {
    display: none;
    text-align: center;
    margin-top: 15px;
}
        
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4a6fc0;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
        
@keyframes spin {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
        transform: rotate(360deg); 
    }
}
        
.footer {
    text-align: center;
    padding: 15px;
    color: #777;
    font-size: 12px;
    border-top: 1px solid #eee;
}