/* Utility classes. Loaded last, so they win over component styles in main.css. */

/* Text alignment */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* Text style */
.text-dim { color: var(--text-dim) !important; }
.text-accent { color: var(--accent) !important; }
.text-sm { font-size: 0.875rem !important; }
.text-lg { font-size: 1.25rem !important; }
.fw-bold { font-weight: 700 !important; }
.uppercase { text-transform: uppercase !important; }

/* Spacing scale: 0, 1=.25rem, 2=.5rem, 3=1rem, 4=1.5rem, 5=2rem */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: .25rem !important; } .mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; } .mt-4 { margin-top: 1.5rem !important; } .mt-5 { margin-top: 2rem !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: .25rem !important; } .mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; } .mb-4 { margin-bottom: 1.5rem !important; } .mb-5 { margin-bottom: 2rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.p-0 { padding: 0 !important; }
.p-2 { padding: .5rem !important; } .p-3 { padding: 1rem !important; } .p-4 { padding: 1.5rem !important; }

/* Display / layout */
.block { display: block !important; }
.inline { display: inline !important; }
.hidden { display: none !important; }
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.items-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.gap-2 { gap: .5rem !important; } .gap-3 { gap: 1rem !important; }
.w-full { width: 100% !important; }

/* Visually hidden but still read by screen readers */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
