.page_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login_container {
    background-color: #2d3748;
    max-width: 400px;
    width: 100%;
    /* Give more breathing room */
    padding: 6rem 2rem;
    /* Make the tile noticeably taller */
    min-height: 480px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.logo {
    display: block;
    margin: 0 auto 1.5rem;
    height: 320px;
    width: auto;
}

.login_container div {
    margin-bottom: 1rem;
}

.login_error {
    color: #fc8181;
    font-size: 1rem;
    text-align: center;
    margin-top: 0.25rem;
}

.login_container button:not(.reveal_button) {
    display: block;
    padding: 0.40rem 1rem;
    background-color: #4299e1;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login_container button:not(.reveal_button):hover {
    background-color: #2b6cb0;
}

.login_container label {
    font-size: 1rem;
    font-weight: bold;
    display: block;
    text-align: left;
    margin: 1rem 0 0.2rem;
    color: #ffffff;
}

.login_container div input {
    width: 100%;
    padding: 0.65rem 0.5rem;
    font-size: 1rem;
    color: white;
    border: 2px solid #4a5568;
    background-color: #2d3748;
    border-radius: 10px;
    outline: none;
    box-sizing: border-box;
    /* Ensure padding and border are included in the element's total width and height */
}

.password_wrapper {
    position: relative;
}

.reveal_button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    color: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
}


.button_row {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.button_row button {
    flex: 1;
}

.forgot_password_link {
    display: block;
    width: 100%;
    text-align: right;
}

.loading_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 31, 44, 0.664);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 900;
}

.spinner_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Make the spinner area five times taller */
    height: 500px;
}

.spinner {
    margin: 0 0 10px 0;
    /* Increase the spinner icon size by 500% */
    font-size: 500%;
}
