/* Center the login form container */
div.form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f4f4f4;
    padding: 20px;
}

/* Login Form Styling */
form {
    max-width: 400px;
    width: 100%;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px; /* More rounded edges for a modern look */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Deeper shadow for more emphasis */
    font-family: Arial, sans-serif;
    text-align: center;
}

/* Form Header */
h2 {
    font-size: 2em; /* Increased font size for a bold look */
    color: #333;
    margin-bottom: 20px;
    font-weight: 700; /* Stronger weight for better visibility */
}

/* Labels */
label {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 5px;
    text-align: left;
    display: block;
}

/* Input Fields */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px; /* Adjusted padding for better usability */
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    background: #f9f9f9;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 6px rgba(0, 115, 170, 0.5); /* More pronounced shadow for focus */
    outline: none;
}

/* Login Button */
button {
    width: 100%;
    padding: 12px;
    background-color: #0073aa;
    color: white;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #005b85;
    transform: translateY(-2px);
}

button:active {
    background-color: #004a70;
}

/* Forgot Password Link */
a {
    color: #0073aa;
    text-decoration: none;
    font-size: 0.9em;
}

a:hover {
    text-decoration: underline;
    color: #005b85;
}

/* Subscribe Button */
a.button-subscribe {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: #ff4081;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

a.button-subscribe:hover {
    background-color: #e83573;
}

/* Error Messages */
div.error {
    color: #d9534f;
    font-size: 0.95em;
    padding: 10px;
    margin-bottom: 15px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}

/* Success Messages */
div.success {
    color: #28a745;
    font-size: 0.95em;
    padding: 10px;
    margin-bottom: 15px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}

/* Extra Margin for Links */
p {
    margin: 15px 0;
    text-align: center;
    font-size: 0.9em;
    color: #555;
}

input[type="checkbox"] {
    vertical-align: middle; /* Align checkbox vertically */
}

label[for="rememberme"] {
    font-size: 0.9em;
    color: #555;
    display: inline-block; /* Ensure proper spacing */
    margin-top: 0; /* Remove any unwanted top margin */
}