@layer utilities {
/* ===== utilities layer — utility.css ===== */
/* ═══════════════════════════════════════════════════════════
   utility.css — ~20 Utility Classes
   BACFUTURES OPC CRM · Conv 20 · ITCSS Layer: Utilities
   ═══════════════════════════════════════════════════════════ */

/* ─── Display ─── */
.hidden { display: none; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-min-200 { min-width: var(--width-md); }

/* ─── Alignment ─── */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }

/* ─── Gap ─── */
.gap-0 { gap: var(--space-0); }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }

/* ─── Margin ─── */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }

/* ─── Padding ─── */
.p-2 { padding: var(--space-2); }

/* ─── Text ─── */
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-bold { font-weight: var(--font-weight-semibold); }
.text-sm { font-size: var(--font-size-sm); }
.text-xs { font-size: var(--font-size-xs); }
.text-danger { color: var(--color-danger-text); }
.text-success { color: var(--color-success-text); }
.text-warning { color: var(--color-warning-text); }
.text-info { color: var(--color-info-text); }
.text-primary { color: var(--color-primary-text); }
.text-nowrap { white-space: nowrap; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ─── Width ─── */
.w-full { width: 100%; }
.w-auto { width: auto; }
.max-w-sm { max-width: var(--width-xl); }
.max-w-md { max-width: var(--width-md); }
.max-w-lg { max-width: var(--width-lg); }
.pre-wrap { white-space: pre-wrap; }
.indent { margin-left: calc(var(--depth, 0) * var(--space-3)); }

/* ─── Cursor ─── */
.cursor-pointer { cursor: pointer; }

/* ─── Overflow ─── */
.overflow-auto { overflow: auto; }

/* ─── Font ─── */
.font-mono { font-family: var(--font-family-mono); }

/* ─── Icons ─── */
.icon-sm { font-size: var(--font-size-base); }
.icon-md { font-size: var(--font-size-lg); }
.icon-lg { font-size: var(--font-size-xl); }

/* ─── Flex wrap ─── */
.flex-wrap { flex-wrap: wrap; }

/* ─── Utility ─── */
.input-auto { width: auto; }
.no-scroll { overflow: hidden; }

}
