.auth-tagline { font-size: clamp(1.6rem, 1.1rem + 1.1vw, 2.15rem); }

.aja-auth-card .alert { margin-bottom: 1.25rem; }

.auth-slider {
    margin: 0 -6px;
    padding-bottom: 6px;
    overflow: hidden;
}

.title-text {
    display: flex;
    width: 200%;
}
.title-text .title {
    width: 50%;
    padding: 0 6px;
    color: var(--aja-ink);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .06em;
    transition: margin-left .5s cubic-bezier(.65, 0, .35, 1);
}

.slide-controls {
    position: relative;
    display: flex;
    height: 52px;
    margin: 1.25rem 6px 1.5rem;
    padding: 4px;
    border-radius: 14px;
    background: var(--aja-surface-2);
    box-shadow: inset 0 0 0 1px var(--aja-border);
}
.slide-controls input[type="radio"] { display: none; }
.slide-controls .slide {
    position: relative;
    z-index: 1;
    flex: 1;
    display: grid;
    place-items: center;
    color: var(--aja-muted);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: color .3s ease;
}
.slide-controls .slide:hover { color: var(--aja-ink); }
.slide-controls .slider-tab {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    z-index: 0;
    width: calc(50% - 4px);
    border-radius: 10px;
    background: var(--aja-surface);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 4px 12px -4px rgba(16, 24, 40, .14), inset 0 -2px 0 var(--aja-gold);
    transition: left .5s cubic-bezier(.65, 0, .35, 1);
}
#login:checked ~ label.login { color: var(--aja-ink); cursor: default; }
#signup:checked ~ .slider-tab { left: 50%; }
#signup:checked ~ label.signup { color: var(--aja-ink); cursor: default; }
#signup:checked ~ label.login { color: var(--aja-muted); }

.form-inner {
    display: flex;
    width: 200%;
}
.form-inner form {
    width: 50%;
    padding: 0 6px;
    transition: margin-left .5s cubic-bezier(.65, 0, .35, 1);
}

.auth-field { position: relative; margin-bottom: 1rem; }
.auth-field .bx {
    position: absolute;
    top: 50%;
    left: 1rem;
    color: var(--aja-muted);
    font-size: 1.2rem;
    pointer-events: none;
    transform: translateY(-50%);
    transition: color .15s;
}
.auth-field .form-control { padding-left: 2.75rem; }
.auth-field:focus-within .bx { color: var(--aja-gold-700); }

.auth-field input::-webkit-outer-spin-button,
.auth-field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.auth-field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.pass-link {
    display: flex;
    justify-content: flex-end;
    margin: -.25rem 0 1.25rem;
}
#password-reset {
    padding: 0;
    border: 0;
    background: none;
    color: var(--aja-gold-700);
    font-size: .875rem;
    font-weight: 600;
}
#password-reset:hover { text-decoration: underline; }
#password-reset:focus-visible { border-radius: 6px; outline: 0; box-shadow: var(--aja-ring); }

.signup-link {
    margin-top: 1.5rem;
    color: var(--aja-muted);
    font-size: .925rem;
    text-align: center;
}
.signup-link a {
    color: var(--aja-gold-700);
    font-weight: 600;
    text-decoration: none;
}
.signup-link a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
    .title-text .title,
    .slide-controls .slider-tab,
    .form-inner form { transition: none; }
}
