/* Minimal utility classes (bootstrap-like) used across .cshtml */

/* Display */
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.d-inline { display: inline !important; }
.d-block { display: block !important; }

/* Flex alignment */
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }

/* Gaps */
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: 1rem !important; }

/* Spacing (margin/padding) */
.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: 3rem !important; }

.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }

.me-1 { margin-right: .25rem !important; }
.me-2 { margin-right: .5rem !important; }
.me-3 { margin-right: 1rem !important; }

.ms-2 { margin-left: .5rem !important; }

.mx-1 { margin-left: .25rem !important; margin-right: .25rem !important; }

.p-3 { padding: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }

/* Typography */
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fs-5 { font-size: 1.25rem !important; }

.text-muted { color: var(--muted) !important; }
.text-danger { color: var(--err) !important; }
.text-end { text-align: right !important; }
.text-center { text-align: center !important; }

/* Tables helpers */
.align-middle th,
.align-middle td { vertical-align: middle !important; }

.table-striped tbody tr:nth-child(odd) td { background: rgba(255,255,255,.02); }

/* Buttons - bootstrap-ish aliases */
.btn-sm { height: 30px; padding: 0 10px; font-size: .8rem; }

.btn-primary, .btn--primary { background: rgba(124,58,237,.22); border-color: rgba(124,58,237,.55); }
.btn-secondary { background: #0e1222; }
.btn-danger, .btn--danger { background: rgba(220,38,38,.18); border-color: rgba(220,38,38,.45); }

.btn-outline-primary { background: transparent; border-color: rgba(124,58,237,.55); color: var(--accent); }
.btn-outline-secondary { background: transparent; border-color: var(--line); color: var(--fg); }

.disabled { pointer-events: none; opacity: .5; }

.btn-group { display: inline-flex; gap: 6px; }
