.form-wrap {
    display: flex;
    justify-content: center;
}

.form-card {
    width: min(520px, 94vw);
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

.form-card.wide {
    width: min(680px, 94vw);
}

/* Legacy field layout is deliberately scoped away from auth screens. New
   inline/checkbox controls should use an explicit component class. */
body:not(.auth-entry) label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

input,
select,
textarea {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

