.auth-header-slot {
    width: stretch;
    display: flex;
    justify-content: right;
    align-items: center;
    gap: .7rem;
}

.auth-header-slot a,
.auth-header-slot button {
    cursor: pointer;
    background: var(--brand-2);
    color: var(--surface-9);
    font-size: .8rem;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: .25rem;
    padding: .67rem 1rem;
}

.auth-header-slot a:hover,
.auth-header-slot button:hover {
    background: var(--brand-1);
}

.auth-card {
    position: relative;
    background: var(--surface-4);
    border: 1px solid var(--surface-6);
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-card h2 {
    margin: 0;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-card label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.auth-card button[type="submit"],
.auth-card #goLoginBtn,
.auth-card #goToLoginBtn {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.btn-secondary {
    padding: 0.4rem 0.8rem;
    cursor: pointer;
}

.auth-error {
    color: var(--error-inline-strong);
    margin: 0;
    font-size: 0.9rem;
}

.auth-footer {
    font-size: 0.85rem;
    margin: 0;
}

.auth-card input.invalid {
    border-color: var(--error-inline-strong);
}

.auth-error[hidden] {
    display: none;
}

.auth-card button[type="submit"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--surface-5);
    color: var(--surface-7);
    filter: grayscale(40%);
}
