/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

/* Header */
header {
    background-color: #007bff;
    color: #fff;
    padding: 15px 0;
    text-align: center; /* Center the header content */
}

header .logo {
    display: inline-block; /* Center the logo */
}

header .logo img {
    max-height: 60px;
}

/* Login Form */
.container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

h2 {
    text-align: center;
    color: #007bff;
    margin-bottom: 20px;
}

form {
    display: grid;
    gap: 15px;
}

/* Input fields */
input[type="email"],
input[type="password"] {
    max-width: 400px; /* Set a maximum width for input fields */
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin: 0 auto; /* Center the input fields */
}

/* Button */
button {
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: 100%;
}

button:hover {
    background-color: #0056b3;
}

/* Message Styles */
.message {
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Links */
p {
    text-align: center;
}

p a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

p a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    button {
        font-size: 14px;
    }
}
