.req_stat {
    width: 100%;
    align-items: start;
    text-align: left;

    font-size: 12px;
    margin-top: 10px;
}

.req_stat p {
    margin: 0;
    margin-left: 10px;
}

@keyframes loginEntryAnim {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 100px)); /* Starts 20px lower */
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);    /* Moves to its natural position */
  }
}

.login_pane {
    width: 400px;
    height: 550px;

    border: 1px solid var(--border-color);
    background-color: var(--background);

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: center;

    animation: loginEntryAnim 0.5s var(--ease_custom) forwards;
}

.login_pane img {
    width: 300px;
    height: 300px;
}

.login_pane h1 {
    margin-top: 0;
}

.login_fields_container {
    display: flex;
    flex-direction: column;
    flex: 1;

    align-items: center;

    margin: 20px;
}

.login_fields_container input {
    width: 225px;
    padding: 5px;

    font-family: var(--font-family);

    background-color: var(--background);
    color: var(--text-color);
    border: 1px solid var(--border-color);

    /* Dual background setup: 
       1. Top layer (Primary Color) starting at 0% width.
       2. Bottom layer (Base Background) serving as the fallback color. */
    background-image: linear-gradient(var(--primary-color), var(--primary-color));
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 0% 100%;

    transition: background-size 0.35s cubic-bezier(.09, .53, .29, .96);
}

.login_fields_container input[type="text"]:focus,
.login_fields_container input[type="password"]:focus {
    /* Removes native outline/focus ring in Firefox, Chrome, and Safari */
    outline: none;

    /* Expand the primary color layer across the input from left to right */
    background-size: 100% 100%;
}

.login_fields_container .error_input {
    border: 1px solid var(--fail-color)
}

.login_fields_container button {
    width: 115px;
    padding: 5px;
    height: 40px;

    margin-top: 10px;

    background-color: var(--background);
    color: var(--text-color);
    border: 1px solid var(--border-color);

    font-family: var(--font-family);

    transition: 0.3s cubic-bezier(.09,.53,.29,.96);
}

.login_fields_container button:hover,
.login_fields_container button:focus {
    width: 160px;
    cursor: pointer;
    outline: none;

    background-color: var(--primary-color);
}

.login_fields_container .error_alert {
    display: none;

    margin: 0;
    margin-top: 10px;

    font-size: 12px;

    color: var(--fail-color);
    font-style: italic;
}