/* Classes utilitaires generiques : remplacent les styles inline repetitifs
   (flex, espacements, alignement texte) rencontres partout dans les vues admin. */

.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-block { display: block; }
.d-none { display: none; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

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

.gap-xs { gap: 0.25rem; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }
.gap-xl { gap: 2rem; }

.w-full { width: 100%; }
.max-w-full { max-width: 100%; }

.mb-xs { margin-bottom: 0.25rem; }
.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 1.5rem; }
.mb-xl { margin-bottom: 2rem; }
.mt-xs { margin-top: 0.25rem; }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.mr-xs { margin-right: 0.25rem; }
.mr-auto { margin-right: auto; }
.ml-auto { margin-left: auto; }
.m-0 { margin: 0; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-primary { color: var(--primary); }

.font-weight-600 { font-weight: 600; }
.font-weight-700 { font-weight: 700; }
.font-size-sm { font-size: 0.85rem; }
.font-size-xs { font-size: 0.75rem; }

.opacity-50 { opacity: 0.5; }
.no-decoration { text-decoration: none; }

.overflow-visible { overflow: visible; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }

/* Messages flash - utilisees partout mais jamais stylees jusqu'ici (bug corrige au passage) */
.alert { padding: 1rem; border-radius: calc(8px * var(--radius-scale)); margin-bottom: 2rem; border: 1px solid transparent; }
.alert-success { background: rgba(var(--success-rgb), 0.1); color: var(--success); border-color: rgba(var(--success-rgb), 0.2); }
.alert-danger { background: rgba(var(--danger-rgb), 0.1); color: var(--danger); border-color: rgba(var(--danger-rgb), 0.2); }
