/* Reset margin and padding for body */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

/* Header styling - positioned in the top left */
.header {
    text-align: left;
    background-color: #333;
    color: white;
    padding: 10px 20px; /* Decreased padding for a narrower header */
    position: absolute;
    top: 0;
    left: 0;
    height: 10%;
    width: 100%; /* Auto width to fit the content */
    display: flex; /* Use flexbox to align items */
    flex-direction: column; /* Arrange items vertically */
    justify-content: center; /* Center items vertically */
}

/* Control font size for h1 */
.header h1 {
    font-size: 24px; /* Adjust the size of h1 as needed */
    margin: 0; /* Remove default margin to control spacing */
}

/* Control font size for h2 */
.header h2 {
    font-size: 18px; /* Adjust the size of h2 as needed */
    margin: 0; /* Remove default margin to control spacing */
    font-weight: normal;
}

/* Control the spacing between h1 and h2 */
.header h1 + h2 {
    margin-top: 5px; /* Adjust this value to control the space between h1 and h2 */
}

/* Footer styling */
.footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 10px;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Style for the login container */
.login-container {
    width: 300px;
    margin: 150px auto; /* Adjusted margin to move the form down a bit */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Ensure no text cursor appears outside input fields */
.login-container * {
    user-select: none;
}

/* Style for input fields */
.login-input {
    width: 100%;
    padding: 15px;
    margin: 10px 0 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    user-select: text;
}

/* Style for error messages */
.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
    height: 18px; /* Ensure space is reserved even if there's no error message */
}

/* Style for the login button */
.login-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

/* Change background color on hover */
.login-button:hover {
    background: linear-gradient(45deg, #2575fc 0%, #6a11cb 100%);
}

/* Style for the forget password link */
.forget-password {
    display: block;
    margin-top: 15px;
    color: blue;
    text-decoration: none;
}

/* Change color on hover */
.forget-password:hover {
    text-decoration: underline;
}
