:root {
  --col1-width: 65%;
  --col2-width: 20%;
  --col3-width: 15%;
}

.messagec {
    list-style: none;
    margin: 0;
    padding: 0;
}

.messagec li {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

/* --- Structure principale --- */
.debug-splitview {
  display: flex;
  height: auto;
  background-color: #18191a;
  color: #d4d4d4;
  font-family: Consolas, 'Courier New', monospace;
  border: 1px solid #2d2d30;
  border-radius: 8px;
  overflow: hidden;
  user-select: none;
}

/* --- Panneaux --- */
.split-pane {
  overflow: auto;
  background-color: #1e1e1e;
  padding: 1.2rem;
  transition: width 0.1s;
}

#pane1 { width: var(--col1-width); }
#pane2 { width: var(--col2-width); }
#pane3 { width: var(--col3-width); }

/* --- Barres séparatrices --- */
.split-bar {
  width: 6px;
  background: linear-gradient(to bottom, #2d2d30, #3a3a3c);
  cursor: col-resize;
  position: relative;
}
.split-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2px;
  right: 2px;
  background: #555;
  border-radius: 2px;
  opacity: 0.3;
  transition: opacity 0.2s, background 0.2s;
}
.split-bar:hover::after {
  opacity: 0.7;
  background: #4a89dc;
}

/* --- Titres --- */
.debug-section h1 {
  font-size: 1.8rem;
  color: #f6bb42;
  margin-bottom: 1rem;
}
.debug-section strong { color: #5d9cec; }

/* --- Listes --- */
.debug-section ul {
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 1rem;
}
.debug-section ul li::before {
  content: none !important;
}

/* --- Table debug --- */
#debug2020 {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.85rem;
}
#debug2020 tr:nth-child(odd) { background-color: #2d2d30; }
#debug2020 td {
  border: 1px solid #3c3c3c;
  padding: 4px 6px;
  color: #d4d4d4;
}

/* --- Bouton copier --- */
button.copy-btn {
  width: 100%;
  background-color: #2d2d30;
  color: #d4d4d4;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 6px;
}
button.copy-btn:hover {
  background-color: #4a89dc;
  color: #fff;
}

/* --- Indicateur de largeur --- */
.width-indicator {
  position: fixed;
  top: 5px;
  right: 10px;
  background: rgba(74,137,220,0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  display: none;
  z-index: 1000;
}

/* --- Ajustement affichage EXECUTION --- */
#pane1 ul {
  list-style: none;
  padding-left: 0.4rem !important; /* Réduction de l'indentation */
  margin: 0;
  line-height: 1.25; /* Resserrement vertical */
}

#pane1 ul li {
  margin: 0.1rem 0; /* Espacement minimal entre les lignes */
  padding-left: 0.3rem; /* Alignement doux sans trop d'espace */
  white-space: nowrap; /* Évite les retours à la ligne inutiles */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Icônes et symboles uniformes */
#pane1 strong {
  color: #f6bb42;
  font-weight: 600;
  margin-right: 4px;
}

/* Réduction des marges de la section */
#pane1.debug-section {
  padding: 0.8rem 1rem !important;
}

/* Uniformisation du titre */
#pane1 h1 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #f6bb42;
}
.split-pane.debug-section {
  line-height: 1.3;
  font-size: 0.9rem;
}

.split-pane h1 {
  margin-bottom: 0.6rem;
}

.debug-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05); /* Ligne paire */
}

.debug-table tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.1); /* Ligne impaire (facultatif) */
}

.debug-table td {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff; /* texte clair sur fond sombre */
}

