
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #818ec5, #8e78a3);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
.login-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 350px;
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.logo {
    width: 80px;
    margin-bottom: 10px;
}
h2 {
    color: #333;
    margin-bottom: 20px;
}
input[type="text"], input[type="password"] {
    width: 89%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}
input[type="text"]:focus, input[type="password"]:focus {
    border-color: #667eea;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
    outline: none;
}
button {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease-in-out;
}
button:hover {
    background: #5a67d8;
}
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

.footer {
    margin-top: 15px;
    font-size: 14px;
    color: #777;
}
.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
}

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