body {
    font-family: 'Times New Roman', Times, serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-image: url('../images/background.jpg');
    background-size: cover; /* Để hình nền phủ toàn bộ trang */
    background-repeat: no-repeat; /* Không lặp lại hình nền */
}

.login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px; /* Set a maximum width */
    width: 100%; /* Allow it to be responsive */
    margin: 0 20px; /* Add left and right margins */
    text-align: center;
}

h2 {
    color: #333;
    margin-bottom: 20px;
}

.error-message {
    color: red;
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    text-align: left;
    font-size: 16px; /* Set font size for labels */
}

input[type="text"],
input[type="password"],
select {
    width: calc(100% - 24px); /* Adjust width to account for padding */
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
    box-sizing: border-box; /* Ensure padding is included in width */
    height: 48px; /* Set a fixed height */
    font-size: 16px; /* Match font size with labels */
}

input:focus,
select:focus {
    border-color: #007bff;
    outline: none;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

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

.language-select {
    margin-bottom: 15px;
}