.auth-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    margin-left: 0px;
    margin-right: 0px;
}

.auth-form label {
    color: #3F4254;
    margin-bottom: 5px;
    text-align: left;
    font-weight: 550; /* Medium bold */
}

.auth-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    color: #000;
}

.auth-form button {
    margin-top: 10px;
    padding: 0 15px;
    background-color: #FF5722;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.auth-form button:hover {
    background-color: #e64a19;
}

.auth-form p {
    text-align: center;
    margin-top: 20px;
    font-size: 17px;
}

.auth-form a {
    color: #FF5722;
    text-decoration: underline;
}

.auth-form a:hover {
    text-decoration: none;
}


.auth-container {
    border-radius: 8px;
    max-width: 750px; /* Restrict the maximum width */
    width: fit-content; /* Adjust to content dynamically */
    color: #000000;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align items to the start horizontally */
    padding: 20px; /* Space inside the container */
    gap: 10px; /* Space between child elements */
    margin: 20px auto 50px; /* Center horizontally and add vertical spacing */
    background-color: rgba(255, 255, 255, 1); /* Solid white background */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow for better visibility */
}


/* .auth-container h2 {

    color: #000000;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
} */

.auth-container h2 {
    color: #000000;
    margin: 0; /* Reset all margins to remove extra space */
    margin-bottom: 20px; /* Add precise bottom margin */
    font-size: 24px;
    text-align: center;
    line-height: 1.2; /* Adjust line spacing (optional) */
}


.auth-container form {
    margin-bottom: 20px;
}

.auth-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    color: #000;
    background-color: #fff;
}

.auth-container button {
    width: 100%;
    padding: 15px 15px 15px 15px;
    border-radius: 8px;
    background-color: #FF5722;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.auth-container button:hover {
    background-color: #E64A19;
}

.auth-container button:disabled {
    background-color: #B0BEC5; /* Gray color for disabled state */
    color: #ffffff; /* Text color */
    cursor: not-allowed; /* Change cursor to indicate it cannot be clicked */
}

.auth-container p {
    font-size: 14px;
    text-align: center;
    margin: 10px 0;
}

.auth-container a {
    color: #252525;
    text-decoration: none;
    font-weight: 550;
}

.auth-container a:hover {
    text-decoration: underline;
}


.auth-form .form-group {
    display: flex;
    flex-direction: column; /* Adjust if needed */
    margin-bottom: 15px;
}


.auth-form button:disabled {
    background-color: #B0BEC5; /* Gray for disabled state */
    color: #ffffff; /* Text color */
    cursor: not-allowed; /* Not-allowed cursor */
}

input[type="checkbox"], label {
    display: inline; /* or inline-block */
    margin-right: 25px; /* Space between checkbox and label */
}

.auth-heading {
    align-self: flex-start; /* Ensures the heading stays at the top left */
    margin: 0;
    margin-left: 15px;
}

.auth-options {
    display: flex;
    justify-content: space-between; /* Distribute items to left and right */
    align-items: center; /* Center items vertically */
    padding: 0 15px; /* Ensures padding for the container */
    /*margin-top: 10px;*/
}


.auth-options a {
    margin: 0;
}

.auth-options label {
    margin-bottom: 0px;
    margin-left: 0px;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 550; /* Medium bold */
    white-space: nowrap; /* Prevents line break */
}

.remember-me input[type="checkbox"] {

    margin-bottom: 0px;
    margin-right: 5px; /* Space between checkbox and label text */
}

.forgot-password {
    font-size: 14px;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}


.background-content {
    background-image: url('{% static 'images/constellation.png' %}'); /* You can keep this here if using inline styles is not preferred */
    background-size: cover; /* Scales the image to cover the entire container */
    background-position: bottom right; /* Centers the image within the container */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    width: 100%; /* Make the div take the full width */
    height: auto; /* Adjust height as needed, here it takes full viewport height */

    position: relative; /* Ensures that child elements can be positioned relative to this */
    display: flex; /* Flexbox for positioning content */
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    color: #000; /* Set text color, adjust as needed */
    margin: 0;
    padding: 0;
}


.background-content::before {
    content: '';
    background-size: cover; /* Ensures the image covers the entire container */
    background-position: center; /* Center the image */
    position: absolute; /* Positioning to cover the entire container */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1; /* Send it to the back */
}

.error-messages {
    color: red; /* Red color for the error text */
    padding: 5px; /* Add padding around the messages */
    font-size: 14px; /* Adjust font size */
}

.error-messages ul {
    color: red; /* Red color for the error text */
    list-style-type: none; /* Remove bullets from the list */
    padding-left: 0; /* Remove left padding */
}

.error-messages li {
    color: red; /* Red color for the error text */
    margin-bottom: 5px; /* Add space between error messages */
}
