﻿table th, table td {
    white-space: nowrap;
}

.theme-light {
    color-scheme: light;
}

.theme-dark {
    color-scheme: dark;
}

/* =========================
   LIGHT THEME
   ========================= */

.theme-light body {
    background: #f1f1f1 !important;
    color: #1c1c1c !important;
}

/* Fonds */
.theme-light .bg-white {
    background-color: #ffffff !important;
}

.theme-light .bg-slate-100 {
    background-color: #f1f1f1 !important;
}

.theme-light .bg-slate-50 {
    background-color: #f7f7f7 !important;
}

.theme-light .bg-slate-50\/60 {
    background-color: rgba(247, 247, 247, 0.60) !important;
}

.theme-light .bg-slate-200 {
    background-color: #e7e7e7 !important;
}

/* Texte */
.theme-light .text-slate-800 {
    color: #1c1c1c !important;
}

.theme-light .text-slate-700 {
    color: #2b2b2b !important;
}

.theme-light .text-slate-600 {
    color: #444444 !important;
}

.theme-light .text-slate-500 {
    color: #565656 !important;
}

.theme-light .text-slate-300 {
    color: #666666 !important;
}

.theme-light .dark\:text-slate-300 {
    color: inherit !important;
}

.theme-light .dark\:text-slate-100 {
    color: inherit !important;
}

/* Bordures */
.theme-light .border-slate-200 {
    border-color: #d2d2d2 !important;
}

.theme-light .border-slate-300 {
    border-color: #c3c3c3 !important;
}

.theme-light .divide-slate-200 > :not([hidden]) ~ :not([hidden]) {
    border-color: #d2d2d2 !important;
}

/* Hover / actif */
.theme-light .hover\:bg-slate-100:hover {
    background-color: #e9e9e9 !important;
}

.theme-light .hover\:bg-slate-300:hover {
    background-color: #dcdcdc !important;
}

.theme-light .hover\:bg-red-50:hover {
    background-color: #fceaea !important;
}

/* Ombres */
.theme-light .shadow {
    box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 2px 10px rgba(0,0,0,0.04) !important;
}

.theme-light .shadow-xl {
    box-shadow: 0 6px 18px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06) !important;
}

/* Table headers */
.theme-light thead.bg-slate-50,
.theme-light thead.bg-white {
    background-color: #f7f7f7 !important;
}

/* Inputs */
.theme-light input,
.theme-light select,
.theme-light textarea {
    color: #1c1c1c !important;
    background-color: #ffffff !important;
}
/* =========================
   DARK THEME - INCHANGÉ
   ========================= */

.dark .dark\:bg-slate-900 {
    background-color: #2a2a2a !important;
}

.dark .dark\:bg-slate-800 {
    background-color: #363636 !important;
}

.dark .dark\:bg-slate-700 {
    background-color: #444444 !important;
}

.dark .dark\:text-slate-100 {
    color: #f3f3f3 !important;
}

.dark .dark\:text-slate-300 {
    color: #c7c7c7 !important;
}

.dark .dark\:border-slate-700,
.dark .dark\:border-slate-600 {
    border-color: #555555 !important;
}

.dark .dark\:hover\:bg-slate-700:hover {
    background-color: #505050 !important;
}

.dark .dark\:bg-slate-900\/40 {
    background-color: rgba(42, 42, 42, 0.40) !important;
}

.dark .dark\:bg-slate-900\/30 {
    background-color: rgba(42, 42, 42, 0.30) !important;
}

.dark .dark\:bg-slate-900\/20 {
    background-color: rgba(42, 42, 42, 0.20) !important;
}

.dark .dark\:bg-slate-800\/40 {
    background-color: rgba(54, 54, 54, 0.40) !important;
}

.dark .dark\:bg-slate-800\/30 {
    background-color: rgba(54, 54, 54, 0.30) !important;
}

