body {
    font-family: sans-serif;
    background-color: #f4f4f4; /* Light grey background, similar to dotted pattern */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    /* Optional: Add a subtle dot pattern if desired */
    /* background-image: radial-gradient(#bbb 1px, transparent 1px); */
    /* background-size: 15px 15px; */
}

.login-container {
    background-color: #fff; /* White container background */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px; /* Adjusted width */
}

h1 {
    color: #007bff; /* Blue title color */
    margin-bottom: 30px;
    font-size: 1.8em;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
    text-align: left; /* Align labels and inputs left */
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically align items in the group */
    flex-wrap: wrap; /* Allow wrapping if needed */
}

.form-group label {
    display: inline-block;
    width: 120px; /* Fixed width for labels */
    margin-right: 10px;
    color: #333;
    font-weight: bold;
    text-align: right; /* Align label text to the right */
    font-size: 0.9em;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    flex-grow: 1; /* Allow input to take remaining space */
    padding: 12px; /* Increased padding */
    border: none; /* Remove border */
    border-radius: 4px;
    background-color: #87CEEB; /* Light blue background like the image */
    color: #fff; /* White text for contrast */
    min-width: 150px; /* Minimum width */
    font-size: 1em;
    height: 40px; /* Match image height */
    box-sizing: border-box; /* Include padding in height */
}

/* Style placeholder text if needed */
.form-group input[type="text"]::placeholder,
.form-group input[type="password"]::placeholder {
    color: #eee;
}


.form-group.remember-me {
    justify-content: flex-start; /* Align remember me to the start */
    margin-left: 130px; /* Align with input fields */
    height: 20px; /* Match checkbox height */
}

.form-group.remember-me label {
    width: auto; /* Auto width for remember label */
    margin-right: 5px;
    text-align: left;
    font-weight: normal; /* Normal weight for remember label */
}

.form-group input[type="checkbox"] {
    width: 20px; /* Adjust size */
    height: 20px; /* Adjust size */
    accent-color: #87CEEB; /* Blue checkbox */
    margin: 0; /* Remove default margin */
    cursor: pointer;
    background-color: #87CEEB; /* Match background */
    border: none; /* Remove border */
    appearance: none; /* Remove default appearance */
    position: relative; /* For custom checkmark */
}

/* Custom checkmark for checkbox */
.form-group input[type="checkbox"]:checked::after {
    content: 'X'; /* Use 'X' as in the image */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff; /* White 'X' */
    font-weight: bold;
    font-size: 0.8em;
}


.form-group button {
    background-color: #aaa; /* Grey button background */
    color: #333; /* Darker text for better contrast on grey */
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em; /* Slightly larger font */
    font-weight: bold;
    width: 100%; /* Make button full width */
    margin-top: 10px; /* Add some space above the button */
    transition: background-color 0.3s ease;
    height: 50px; /* Match image height */
    box-sizing: border-box;
}

.form-group button:hover {
    background-color: #888; /* Darker grey on hover */
}

.error-message {
    color: #dc3545; /* Red error message */
    margin-top: 15px;
    font-size: 0.9em;
    text-align: center;
    width: 100%;
}
