/* Enhanced styles for login form with better design */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.login-container {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

form {
    display: flex;
    flex-direction: column;
}

input[type="text"],
input[type="password"] {
    padding: 1rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #2575fc;
    box-shadow: 0 0 8px rgba(37, 117, 252, 0.5);
    background: #fff;
}

button {
    padding: 1rem;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

button:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    box-shadow: 0 6px 20px rgba(37, 117, 252, 0.4);
    transform: translateY(-2px);
}

p#message {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #e74c3c;
    font-weight: 500;
}

/* Add subtle pulsating animation for focus */
input[type="text"]:focus,
input[type="password"]:focus {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(37, 117, 252, 0.5);
    }
    50% {
        box-shadow: 0 0 12px rgba(37, 117, 252, 0.7);
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .login-container {
        padding: 2rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    input[type="text"],
    input[type="password"],
    button {
        font-size: 0.95rem;
    }
}
