/**
 * Utilitaires type « utility-first » pour compatibilité avec l’ancien markup Tailwind.
 * Couleurs alignées sur le thème violet Pluie.
 */

/* ——— Couleurs texte ——— */
.text-white { color: #fff !important; }
.text-dark-100 { color: #e8e4f0 !important; }
.text-dark-200 { color: #c4bed4 !important; }
.text-dark-300 { color: #a39ab8 !important; }
.text-dark-400 { color: #8a819c !important; }
.text-dark-500 { color: #6d6580 !important; }
.text-accent-400 { color: #c4b5fd !important; }
.text-accent-500 { color: #a78bfa !important; }
.text-emerald-300 { color: #6ee7b7 !important; }
.text-emerald-400 { color: #34d399 !important; }
.text-violet-400 { color: #a78bfa !important; }
.text-amber-400 { color: #fbbf24 !important; }
.text-amber-300 { color: #fcd34d !important; }
.text-red-300 { color: #fca5a5 !important; }
.text-red-400 { color: #f87171 !important; }
.text-blue-400 { color: #60a5fa !important; }
.text-primary-400 { color: #c4b5fd !important; }

/* ——— Fonds ——— */
.bg-dark-500 { background-color: #2d2640 !important; }
.bg-dark-600 { background-color: #241f38 !important; }
.bg-dark-700 { background-color: #1f1a2e !important; }
.bg-dark-800 { background-color: #161022 !important; }
.bg-dark-900 { background-color: #0e0a16 !important; }
.bg-dark-600\/30 { background-color: rgba(36, 31, 56, 0.3) !important; }
.bg-dark-600\/50 { background-color: rgba(36, 31, 56, 0.5) !important; }
.bg-dark-500\/50 { background-color: rgba(45, 38, 64, 0.5) !important; }
.bg-accent-500 { background-color: #8b5cf6 !important; }
.bg-accent-500\/10 { background-color: rgba(139, 92, 246, 0.1) !important; }
.bg-accent-500\/20 { background-color: rgba(139, 92, 246, 0.2) !important; }
.bg-accent-500\/30 { background-color: rgba(139, 92, 246, 0.3) !important; }
.bg-primary-500\/20 { background-color: rgba(139, 92, 246, 0.2) !important; }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1) !important; }
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2) !important; }
.bg-emerald-500\/30 { background-color: rgba(16, 185, 129, 0.3) !important; }
.bg-red-500\/10 { background-color: rgba(239, 68, 68, 0.1) !important; }
.bg-red-500\/20 { background-color: rgba(239, 68, 68, 0.2) !important; }
.bg-red-500\/30 { background-color: rgba(239, 68, 68, 0.3) !important; }
.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1) !important; }
.bg-amber-500\/30 { background-color: rgba(245, 158, 11, 0.3) !important; }
.bg-black\/70 { background-color: rgba(0, 0, 0, 0.7) !important; }

/* ——— Bordures ——— */
.border { border-width: 1px !important; border-style: solid !important; }
.border-t { border-top-width: 1px !important; border-top-style: solid !important; }
.border-b { border-bottom-width: 1px !important; border-bottom-style: solid !important; }
.border-dark-500 { border-color: #2d2640 !important; }
.border-dark-500\/50 { border-color: rgba(45, 38, 64, 0.5) !important; }
.border-dark-600 { border-color: #241f38 !important; }
.border-dark-600\/50 { border-color: rgba(36, 31, 56, 0.5) !important; }
.border-accent-500\/30 { border-color: rgba(139, 92, 246, 0.3) !important; }
.border-accent-500\/50 { border-color: rgba(139, 92, 246, 0.5) !important; }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3) !important; }
.border-emerald-500\/50 { border-color: rgba(16, 185, 129, 0.5) !important; }
.border-red-500\/30 { border-color: rgba(239, 68, 68, 0.3) !important; }
.border-yellow-200 { border-color: rgba(250, 204, 21, 0.35) !important; }
.rounded { border-radius: 0.25rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-2xl { border-radius: 1rem !important; }
.rounded-3xl { border-radius: 1.25rem !important; }
.rounded-t-3xl { border-top-left-radius: 1.5rem !important; border-top-right-radius: 1.5rem !important; }
.rounded-full { border-radius: 9999px !important; }

/* ——— Display & flex ——— */
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.inline { display: inline !important; }
.hidden { display: none !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-wrap { flex-wrap: wrap !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.items-center { align-items: center !important; }
.items-baseline { align-items: baseline !important; }
.items-stretch { align-items: stretch !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.justify-start { justify-content: flex-start !important; }

/* ——— Grid ——— */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.col-span-2 { grid-column: span 2 / span 2 !important; }

/* ——— Gap ——— */
.gap-0\.5 { gap: 0.125rem !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }

/* ——— Espacement vertical entre enfants ——— */
.space-y-2 > * + * { margin-top: 0.5rem !important; }
.space-y-3 > * + * { margin-top: 0.75rem !important; }
.space-y-4 > * + * { margin-top: 1rem !important; }
.space-x-1 > * + * { margin-left: 0.25rem !important; }
.space-x-2 > * + * { margin-left: 0.5rem !important; }
.space-x-3 > * + * { margin-left: 0.75rem !important; }
.space-x-4 > * + * { margin-left: 1rem !important; }

/* ——— Dimensions ——— */
.w-full { width: 100% !important; }
.w-2 { width: 0.5rem !important; }
.w-5 { width: 1.25rem !important; }
.w-8 { width: 2rem !important; }
.w-9 { width: 2.25rem !important; }
.w-10 { width: 2.5rem !important; }
.w-11 { width: 2.75rem !important; }
.w-12 { width: 3rem !important; }
.w-14 { width: 3.5rem !important; }
.w-16 { width: 4rem !important; }
.w-20 { width: 5rem !important; }
.w-24 { width: 6rem !important; }
.h-1 { height: 0.25rem !important; }
.h-2 { height: 0.5rem !important; }
.h-5 { height: 1.25rem !important; }
.h-8 { height: 2rem !important; }
.h-9 { height: 2.25rem !important; }
.h-10 { height: 2.5rem !important; }
.h-11 { height: 2.75rem !important; }
.h-12 { height: 3rem !important; }
.h-14 { height: 3.5rem !important; }
.h-20 { height: 5rem !important; }
.h-24 { height: 6rem !important; }
.min-w-0 { min-width: 0 !important; }
.max-w-sm { max-width: 24rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-lg { max-width: 32rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.max-w-6xl { max-width: 72rem !important; }
.max-h-80 { max-height: 20rem !important; }
.max-h-\[90vh\] { max-height: 90vh !important; }

/* ——— Marges / padding (sous-ensemble fréquent) ——— */
.m-0 { margin: 0 !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-1\.5 { margin-bottom: 0.375rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-auto { margin-top: auto !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-4 { margin-left: 1rem !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 0.75rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.p-12 { padding: 3rem !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.pt-1\.5 { padding-top: 0.375rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 0.75rem !important; }
.pb-8 { padding-bottom: 2rem !important; }

/* ——— Typo ——— */
.text-\[8px\] { font-size: 8px !important; }
.text-\[9px\] { font-size: 9px !important; }
.text-\[10px\] { font-size: 10px !important; }
.text-xs { font-size: 0.75rem !important; }
.text-sm { font-size: 0.875rem !important; }
.text-base { font-size: 1rem !important; }
.text-lg { font-size: 1.125rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-2xl { font-size: 1.5rem !important; }
.text-3xl { font-size: 1.875rem !important; }
.text-4xl { font-size: 2.25rem !important; }
.text-5xl { font-size: 3rem !important; }
.text-6xl { font-size: 3.75rem !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.uppercase { text-transform: uppercase !important; }
.truncate { overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.leading-tight { line-height: 1.25 !important; }
.line-through { text-decoration: line-through !important; }
.underline { text-decoration: underline !important; }
.tracking-wider { letter-spacing: 0.05em !important; }

.line-clamp-2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

/* ——— Position ——— */
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }
.sticky { position: sticky !important; }
.inset-0 { inset: 0 !important; }
.top-0 { top: 0 !important; }
.top-1\/2 { top: 50% !important; }
.bottom-0 { bottom: 0 !important; }
.left-2 { left: 0.5rem !important; }
.right-2 { right: 0.5rem !important; }
.z-10 { z-index: 10 !important; }
.z-50 { z-index: 50 !important; }
.z-\[100\] { z-index: 100 !important; }
.z-\[99999\] { z-index: 99999 !important; }

/* ——— Divers ——— */
.overflow-hidden { overflow: hidden !important; }
.overflow-x-hidden { overflow-x: hidden !important; }
.overflow-y-auto { overflow-y: auto !important; }
.min-h-screen { min-height: 100vh !important; }
.h-full { height: 100% !important; }
.object-contain { object-fit: contain !important; }
.antialiased { -webkit-font-smoothing: antialiased !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-70 { opacity: 0.7 !important; }
.opacity-100 { opacity: 1 !important; }
.cursor-not-allowed { cursor: not-allowed !important; }
.pointer-events-none { pointer-events: none !important; }
.pointer-events-auto { pointer-events: auto !important; }
.resize-none { resize: none !important; }
.align-middle { vertical-align: middle !important; }

/* ——— Transform ——— */
.-translate-y-1\/2 { transform: translateY(-50%) !important; }
.rotate-180 { transform: rotate(180deg) !important; }
.transition-transform { transition-property: transform !important; transition-duration: 0.2s !important; }
.translate-x-0 { transform: translateX(0) !important; }
.translate-x-full { transform: translateX(100%) !important; }
.-translate-x-full { transform: translateX(-100%) !important; }

/* ——— Transitions ——— */
.transition-all { transition-property: all !important; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; transition-duration: 150ms !important; }
.transition-colors { transition-property: color, background-color, border-color !important; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; transition-duration: 150ms !important; }
.transition-opacity { transition-property: opacity !important; transition-duration: 150ms !important; }
.duration-200 { transition-duration: 200ms !important; }
.duration-300 { transition-duration: 300ms !important; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1) !important; }

/* ——— Effets ——— */
.backdrop-blur-sm { backdrop-filter: blur(4px) !important; -webkit-backdrop-filter: blur(4px) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important; }

/* ——— Hover (couleurs utilisées dans le projet) ——— */
.hover\:bg-dark-500:hover { background-color: #2d2640 !important; }
.hover\:bg-dark-600\/50:hover { background-color: rgba(36, 31, 56, 0.5) !important; }
.hover\:bg-accent-500\/20:hover { background-color: rgba(139, 92, 246, 0.2) !important; }
.hover\:bg-red-500\/30:hover { background-color: rgba(239, 68, 68, 0.3) !important; }
.hover\:text-white:hover { color: #fff !important; }
.hover\:text-accent-300:hover { color: #ddd6fe !important; }
.hover\:border-accent-500\/50:hover { border-color: rgba(139, 92, 246, 0.5) !important; }
.hover\:border-emerald-500\/50:hover { border-color: rgba(16, 185, 129, 0.5) !important; }
.hover\:border-violet-500\/50:hover { border-color: rgba(139, 92, 246, 0.5) !important; }
.hover\:border-amber-500\/50:hover { border-color: rgba(245, 158, 11, 0.5) !important; }
.hover\:scale-105:hover { transform: scale(1.05) !important; }
.hover\:opacity-100:hover { opacity: 1 !important; }

/* ——— Dégradés boutons / cartes ——— */
.from-accent-400\/20 { --tw-gradient-from: rgba(167, 139, 250, 0.2); }
.to-accent-600\/20 { --tw-gradient-to: rgba(124, 58, 237, 0.2); }
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent)) !important;
}
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-from, #8b5cf6), var(--tw-gradient-to, #6d28d9)) !important;
}
.from-accent-500 { --tw-gradient-from: #8b5cf6; }
.to-accent-600 { --tw-gradient-to: #6d28d9; }
.hover\:from-accent-400:hover { --tw-gradient-from: #a78bfa; }
.hover\:to-accent-500:hover { --tw-gradient-to: #8b5cf6; }

/* Bouton ajouter panier */
.add-to-cart-btn.bg-gradient-to-r,
button[name="addToCart"].bg-gradient-to-r {
  background-image: linear-gradient(to right, #8b5cf6, #6d28d9) !important;
}

/* ——— Responsive sm: (640px) ——— */
@media (min-width: 640px) {
  .sm\:inline { display: inline !important; }
  .sm\:hidden { display: none !important; }
  .sm\:flex { display: flex !important; }
  .sm\:flex-row { flex-direction: row !important; }
  .sm\:gap-1 { gap: 0.25rem !important; }
  .sm\:gap-1\.5 { gap: 0.375rem !important; }
  .sm\:gap-2 { gap: 0.5rem !important; }
  .sm\:gap-3 { gap: 0.75rem !important; }
  .sm\:p-3 { padding: 0.75rem !important; }
  .sm\:p-4 { padding: 1rem !important; }
  .sm\:px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
  .sm\:px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
  .sm\:px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
  .sm\:py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
  .sm\:mb-2 { margin-bottom: 0.5rem !important; }
  .sm\:mb-3 { margin-bottom: 0.75rem !important; }
  .sm\:mb-4 { margin-bottom: 1rem !important; }
  .sm\:mt-1 { margin-top: 0.25rem !important; }
  .sm\:w-auto { width: auto !important; }
  .sm\:w-10 { width: 2.5rem !important; }
  .sm\:w-16 { width: 4rem !important; }
  .sm\:h-10 { height: 2.5rem !important; }
  .sm\:top-2 { top: 0.5rem !important; }
  .sm\:bottom-2 { bottom: 0.5rem !important; }
  .sm\:left-2 { left: 0.5rem !important; }
  .sm\:right-2 { right: 0.5rem !important; }
  .sm\:text-xs { font-size: 0.75rem !important; }
  .sm\:text-sm { font-size: 0.875rem !important; }
  .sm\:text-base { font-size: 1rem !important; }
  .sm\:text-lg { font-size: 1.125rem !important; }
  .sm\:text-xl { font-size: 1.25rem !important; }
  .sm\:rounded-lg { border-radius: 0.5rem !important; }
  .sm\:rounded-xl { border-radius: 0.75rem !important; }
  .sm\:top-4 { top: 1rem !important; }
  .sm\:bottom-4 { bottom: 1rem !important; }
  .sm\:left-4 { left: 1rem !important; }
  .sm\:right-4 { right: 1rem !important; }
  .sm\:space-x-1\.5 > * + * { margin-left: 0.375rem !important; }
  .sm\:space-x-2 > * + * { margin-left: 0.5rem !important; }
  .sm\:col-span-2 { grid-column: span 2 / span 2 !important; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .sm\:items-center { align-items: center !important; }
  .sm\:justify-between { justify-content: space-between !important; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .md\:gap-2 { gap: 0.5rem !important; }
  .md\:gap-3 { gap: 0.75rem !important; }
  .md\:gap-4 { gap: 1rem !important; }
  .md\:p-2 { padding: 0.5rem !important; }
  .md\:p-4 { padding: 1rem !important; }
  .md\:px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
  .md\:py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
  .md\:mb-3 { margin-bottom: 0.75rem !important; }
  .md\:mb-4 { margin-bottom: 1rem !important; }
  .md\:pt-2 { padding-top: 0.5rem !important; }
  .md\:pt-3 { padding-top: 0.75rem !important; }
  .md\:text-xs { font-size: 0.75rem !important; }
  .md\:text-sm { font-size: 0.875rem !important; }
  .md\:text-base { font-size: 1rem !important; }
  .md\:text-lg { font-size: 1.125rem !important; }
  .md\:text-xl { font-size: 1.25rem !important; }
  .md\:text-2xl { font-size: 1.5rem !important; }
  .md\:rounded-xl { border-radius: 0.75rem !important; }
  .md\:top-6 { top: 1.5rem !important; }
  .md\:bottom-6 { bottom: 1.5rem !important; }
  .md\:left-6 { left: 1.5rem !important; }
  .md\:right-6 { right: 1.5rem !important; }
  .md\:space-x-2 > * + * { margin-left: 0.5rem !important; }
}

/* lg: grid admin */
@media (min-width: 992px) {
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}

/* Spin loader */
@keyframes pluie-spin {
  to { transform: rotate(360deg); }
}
.animate-spin {
  animation: pluie-spin 0.8s linear infinite;
}

/* Points sémantiques (remplace couleurs « accent » bleues dans tableaux) */
.bg-accent-400 { background-color: #a78bfa !important; }
.bg-emerald-400 { background-color: #34d399 !important; }
.bg-violet-400 { background-color: #a78bfa !important; }
.bg-amber-400 { background-color: #fbbf24 !important; }

/* Table hover admin */
tr.hover\:bg-gray-50:hover { background-color: rgba(36, 31, 56, 0.4) !important; }

/* Anciennes classes table tailwind / primaire */
.bg-primary-600 {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
}
.hover\:bg-primary-700:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%) !important;
}
.bg-primary-100 { background-color: rgba(139, 92, 246, 0.15) !important; }
.text-primary-600,
.text-primary-700 { color: #c4b5fd !important; }
.bg-green-100 { background-color: rgba(16, 185, 129, 0.15) !important; }
.text-green-700 { color: #34d399 !important; }
.bg-yellow-100,
.bg-yellow-50 { background-color: rgba(245, 158, 11, 0.12) !important; }
.text-yellow-700,
.text-yellow-800 { color: #fbbf24 !important; }
.bg-red-100 { background-color: rgba(239, 68, 68, 0.15) !important; }
.text-red-700 { color: #f87171 !important; }
.bg-gray-100 { background-color: rgba(107, 107, 120, 0.15) !important; }
.text-gray-700,
.text-gray-800 { color: #c4bed4 !important; }
.text-gray-600 { color: #a39ab8 !important; }
.text-gray-500 { color: #8a819c !important; }
.text-gray-400 { color: #8a819c !important; }
.text-gray-900,
.text-black { color: #ebe7f5 !important; }
.bg-white,
.bg-gray-50 { background-color: var(--pluie-surface) !important; }
.border-gray-200,
.border-gray-300 { border-color: var(--pluie-border) !important; }
.divide-gray-200 > * + * { border-color: var(--pluie-border) !important; }
.rounded-lg.shadow-md,
.rounded-lg.shadow {
  background: var(--pluie-surface) !important;
  border: 1px solid var(--pluie-border) !important;
}
.bg-gray-500.bg-opacity-75 { background-color: rgba(0, 0, 0, 0.72) !important; }
.bg-opacity-75 { opacity: 0.85; }

/* Inputs globaux (hors .form-control si besoin) */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  background-color: var(--pluie-elevated) !important;
  border: 1px solid var(--pluie-border) !important;
  color: #ebe7f5 !important;
  border-radius: 0.75rem !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #8b5cf6 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2) !important;
}

.placeholder-dark-400::placeholder {
  color: #8a819c !important;
}

.focus\:border-accent-500:focus {
  border-color: #8b5cf6 !important;
}

.focus\:outline-none:focus {
  outline: none !important;
}
