/* Reset some default styles */
body, h1, p, input {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #121212; /* Dark mode background */
    color: #e0e0e0; /* Light text color for contrast */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: #1f1f1f; /* Darker container background */
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px; /* Limit width for better appearance */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

input[type="text"], 
input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #2e2e2e;
    color: #e0e0e0;
}

input[type="submit"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #28a745; /* Green button */
    color: #fff;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #218838; /* Darker green on hover */
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
}

.login-link, .register-link {
    font-size: 14px;
    color: #b0b0b0;
    text-align: center;
    margin-top: 10px;
}

.login-link a, .register-link a {
    color: #007bff; /* Link color */
    text-decoration: none;
}

.login-link a:hover, .register-link a:hover {
    text-decoration: underline;
}
