/* ============================================================================
 * tailwind-subset.css — PAGI PRO
 * Remplace le CDN Tailwind runtime (anti-pattern JIT en prod).
 * Contient UNIQUEMENT les utilitaires Tailwind réellement utilisés dans
 * index.html, app.html et js/**. Si tu ajoutes une nouvelle classe Tailwind
 * dans le HTML/JS, pense à l'ajouter ici.
 * Couleurs custom : pagi #6FA82C, anthracite #0F1B2D.
 * ========================================================================== */

/* --- Layout / display --- */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.grid { display: grid; }
.hidden { display: none; }
.inline-block { display: inline-block; }
.overflow-auto { overflow: auto; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-3 { gap: 0.75rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Sizing --- */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.h-24 { height: 6rem; }
.max-w-md { max-width: 28rem; }

/* --- Spacing (padding) --- */
.p-3 { padding: 0.75rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-6 { padding-top: 1.5rem; }

/* --- Spacing (margin) --- */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.space-y-0\.5 > * + * { margin-top: 0.125rem; }

/* --- Typography --- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-sans { font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; }
.font-display { font-family: 'Manrope', 'Inter', 'Segoe UI', sans-serif; }
.tracking-tight { letter-spacing: -0.025em; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }

/* --- Text colors --- */
.text-white { color: #ffffff; }
.text-anthracite { color: #0F1B2D; }
.text-pagi { color: #6FA82C; }
.text-red-600 { color: #dc2626; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }

/* --- Backgrounds --- */
.bg-white { background-color: #ffffff; }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-pagi { background-color: #6FA82C; }
.bg-anthracite { background-color: #0F1B2D; }

/* --- Gradient (page de connexion) --- */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-anthracite { --tw-gradient-stops: #0F1B2D, var(--tw-gradient-via, #142239), var(--tw-gradient-to, #0a1322); }
.via-\[\#142239\] { --tw-gradient-via: #142239; }
.to-\[\#0a1322\] { --tw-gradient-to: #0a1322; }

/* --- Borders / radius --- */
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-gray-200 { border-color: #e5e7eb; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }

/* --- Effects --- */
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgba(0,0,0,.04)) drop-shadow(0 4px 3px rgba(0,0,0,.1)); }
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.transition { transition: color .15s, background-color .15s, border-color .15s, box-shadow .15s, transform .15s, opacity .15s; }
.opacity-50 { opacity: 0.5; }
.cursor-not-allowed { cursor: not-allowed; }

/* --- Hover --- */
.hover\:bg-\[\#142239\]:hover { background-color: #142239; }

/* --- Responsive (>= 768px) --- */
@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:inline { display: inline; }
}
