/* login.css */

body {
    background: #ffffff; /* Default white background */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: #444;
}

.container {
    max-width: 360px;
    width: 100%;
    padding: 40px 30px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
    box-sizing: border-box;
    margin: 30px auto;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    width: 100px; /* Adjust the width as needed */
    margin-bottom: 20px; /* Space between the logo and the heading */
}

.error_message {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    z-index: 1000;
}

form input[type="text"],
form input[type="password"] {
    width: calc(100% - 20px);
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
    border-color: #28a745;
    outline: none;
}

form input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

form input[type="submit"]:hover {
    background-color: #218838;
}

a {
    display: block;
    margin-top: 20px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

h1 {
    margin-bottom: 30px;
    color: #4CAF50;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    text-align: center;
    background: linear-gradient(to right, #4CAF50, #81C784); /* Gradient text */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

