body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    margin: 20px;
}

.login-header {
    background: #0d6efd;
    color: white;
    padding: 30px;
    text-align: center;
}

.login-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

.login-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.login-body {
    padding: 40px;
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
}

.input-group-text {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #6c757d;
}

.form-control {
    border-color: #e9ecef;
    padding: 12px 16px;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 24px;
    font-size: 1.1em;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.alert {
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-danger .bi {
    margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-card {
        margin: 10px;
    }
    
    .login-header {
        padding: 25px 20px;
    }
    
    .login-body {
        padding: 30px 20px;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
}

/* Focus indicators for accessibility */
.form-control:focus,
.form-check-input:focus,
.btn-login:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}