/* Style the body to center the form and add a gradient background */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #4A90E2, #50C9C3);
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style the form to have a clean look */
form {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    width: 350px;
    animation: fadeIn 1s ease;
}

/* Add a nice fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Table settings */
table {
    width: 100%;
}

td {
    padding: 12px 0;
}

/* Style input fields */
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #4A90E2;
    outline: none;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
}

/* Style the submit button */
input[type="submit"] {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #45a049;
    transform: translateY(-3px);
}

input[type="submit"]:active {
    transform: translateY(1px);
}

/* Style the heading */
h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

/* Add subtle shadow and hover effect */
form:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Optional: Add a link or button for "Forgot Password" */
.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #4A90E2;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #50C9C3;
}
