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

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

.login-container {
    background: white;
    border-radius: 16px;
    padding: 48px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

.login-header h1 {
    font-size: 28px;
    color: #1a202c;
    margin-bottom: 8px;
}

.login-header p {
    color: #718096;
    font-size: 14px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: #f7fafc;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #fff5f5;
    color: #742a2a;
    border: 1px solid #fc8181;
}

.alert-success {
    background: #f0fff4;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 24px;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.back-link:hover {
    color: #764ba2;
}

.demo-credentials {
    margin-top: 24px;
    padding: 16px;
    background: #edf2f7;
    border-radius: 8px;
    font-size: 13px;
    color: #4a5568;
}

.demo-credentials strong {
    color: #2d3748;
}

/* ================= FOOTER ================= */
footer {
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 24px 0;
    backdrop-filter: blur(10px);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.footer-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-info span {
    font-size: 14px;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-info i {
    color: #667eea;
}

.footer-info a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-info a:hover {
    color: #764ba2;
}

.footer-copyright {
    font-size: 13px;
    color: #718096;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    body {
        padding: 20px 20px 200px 20px;
    }
    
    .login-container {
        padding: 32px 24px;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-content {
        padding: 0 20px;
    }
}