/* General Page Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Login Container */
.login-container {
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 15px;
}

.logo img {
    max-height: 80px; /* Adjust size as needed */
    display: block;
    margin: 0 auto;
}

/* Login Heading */
h2 {
    margin-bottom: 20px;
    color: #333;
}

/* Error Message */
.error {
    color: #ff4d4d;
    font-weight: bold;
    background-color: #ffe6e6;
    border: 1px solid #ff4d4d;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 16px;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
}

/* Input Fields */
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Remember Me Checkbox */
.remember-me {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin: 10px 0;
}

.remember-me input {
    margin-right: 5px;
}

/* Login Button */
button {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Forgot Password Link */
.forgot-password {
    margin-top: 10px;
    display: block;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}