/* Login and signup, in the departure-board style. */
body.ta-auth {
    min-height: 100vh;
    margin: 0;
    padding: 24px 16px;
    box-sizing: border-box;
    background: #0E0F12;
    color: #0E0F12;
    font-family: Archivo, system-ui, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    display: flex;
    align-items: stretch;
    border: 3px solid #FFD21F;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 10px 10px 0 #FFD21F;
    background: #FFFFFF;
    max-width: 100%;
}

.auth-image {
    width: 420px;
    display: none;
    position: relative;
}
.auth-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1);
}
.auth-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #FFD21F;
    mix-blend-mode: multiply;
}

.auth-card {
    width: 420px;
    max-width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.auth-card h3 {
    font-weight: 900;
    font-stretch: 70%;
    font-size: 40px;
    line-height: .95;
    text-transform: uppercase;
}
.auth-card .form-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.auth-card .form-control {
    height: 48px;
    border: 2px solid #0E0F12;
    border-radius: 6px;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-weight: 700;
}
.auth-card .form-control:focus {
    box-shadow: none;
    outline: 3px solid #FF4D1F;
    outline-offset: 1px;
}
.auth-card .btn-primary {
    min-height: 52px;
    border: 2px solid #0E0F12;
    border-radius: 6px;
    background: #FFD21F;
    color: #0E0F12;
    font-weight: 900;
    font-stretch: 80%;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: transform 120ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease;
}
.auth-card .btn-primary:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
    .auth-card .btn-primary:hover { background: #FFE680; color: #0E0F12; border-color: #0E0F12; }
}
.auth-card a { color: #0E0F12; font-weight: 800; }
.auth-card .alert-danger { border: 2px solid #0E0F12; background: #FF4D1F; color: #0E0F12; font-weight: 700; border-radius: 6px; }
.auth-card ul.errorlist { list-style: none; padding: 0; margin: 4px 0 0; font-size: 13px; font-weight: 700; color: #B3330F; }

@media (min-width: 768px) {
    .auth-image { display: block; }
}
@media (max-width: 768px) {
    .auth-wrapper { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .auth-card .btn-primary:active { transform: none; }
}
