/* ── Auth page shared panel ──────────────────────── */
.login-form {
    width: 25rem;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    background-color: #ffffff;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.login-form.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ── Auth headings ───────────────────────────────── */
.auth-title {
    margin: 0 0 4px;
}

.auth-sub {
    font-size: 0.85rem;
    margin: 8px 0 8px;
}

/* ── Spacing after separator ─────────────────────── */
.login-form hr.thin {
    margin-bottom: 30px;
}

/* ── Auth alert badge ─────────────────────────────── */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.auth-alert [class^="mif-"] {
    flex-shrink: 0;
    font-size: 1rem;
}

/* ── Input field spacing ─────────────────────────── */
.auth-field {
    margin-bottom: 20px;
}

/* ── Form actions: button row + forgot-password ───── */
.auth-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.auth-forgot {
    font-size: 0.82rem;
    text-decoration: none;
}

.auth-forgot:hover {
    text-decoration: underline;
    color: inherit;
}

/* ── Cancel / secondary action link below form ───── */
.auth-cancel-form {
    margin-top: 8px;
}
