.auth-shell {
    min-height: 100vh;
}

.auth-main {
    align-items: stretch;
}

.auth-panel {
    min-height: 360px;
}

.auth-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3vw, 38px);
    letter-spacing: 0.02em;
}

.auth-panel-copy {
    max-width: 32rem;
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.auth-kicker {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}

.auth-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.auth-highlight {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 16, 24, 0.65);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--muted);
}

.auth-highlight strong {
    color: var(--text);
    font-weight: 600;
}

.auth-card .card-header {
    margin-bottom: 18px;
}

.auth-card {
    display: grid;
    align-content: start;
}

.auth-form-stack {
    position: relative;
    min-height: 360px;
}

.auth-form {
    display: grid;
    gap: 16px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.auth-form.active {
    opacity: 1;
    pointer-events: auto;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.auth-input,
.auth-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: rgba(10, 17, 24, 0.65);
    color: var(--text);
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input::placeholder {
    color: rgba(157, 179, 199, 0.6);
}

.auth-input:focus,
.auth-select:focus {
    outline: none;
    border-color: rgba(74, 212, 200, 0.6);
    box-shadow: 0 0 0 2px rgba(74, 212, 200, 0.18);
}

.auth-select {
    color-scheme: dark;
    border-radius: 10px;
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(6, 12, 18, 0.86);
    color: #f5f8ff;
}

.auth-select option {
    background-color: #0b1420;
    color: #f5f8ff;
}

.auth-select option:disabled {
    color: #718096;
}

.auth-select:disabled {
    color: #8fa2b8;
    background-color: rgba(8, 16, 26, 0.7);
}

.auth-submit {
    width: 100%;
}

.auth-message {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 12px;
    display: none;
}

.auth-message.is-visible {
    display: block;
}

.auth-message--error {
    background: rgba(255, 99, 71, 0.15);
    color: #ff8f6d;
    border: 1px solid rgba(255, 143, 109, 0.35);
}

.auth-message--success {
    background: rgba(74, 212, 200, 0.15);
    color: #79f2e6;
    border: 1px solid rgba(74, 212, 200, 0.35);
}

@media (max-width: 900px) {
    .auth-panel {
        min-height: auto;
    }
}
