body {
    font-family: 'Segoe UI', sans-serif;
    margin: 20px;
    background: #f8f9fa;
}

.header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #353b43 0%, #e5ad13 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.header .logo {
    height: 70px;
    width: auto;
}

.header h3 {
    margin: 0;
    padding: 0;
}

.header h3 p {
    margin: 0;
    padding: 0;
}

.chart-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-download {
    margin-top: 10px;
    padding: 6px 10px;
    cursor: pointer;
    background-color: #e5ad13;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
}

.btn-download:hover {
    background-color: #c88f0f;
}

.selector-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.selector-table td {
    border: none;
    padding: 4px 6px;
    vertical-align: top;
}

.selector-table label {
    display: block;
    font-size: 12px;
}

.selector-table select {
    width: 100%;
    box-sizing: border-box;
    margin-top: 2px;
}

.footer {
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.footer a {
    color: #666;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

.chart-and-table {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.chart-side {
    flex: 2;
}

.table-side {
    flex: 1;
    max-height: 500px;
    overflow-y: auto;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px;
    font-size: 12px;
}

.table-side h3 {
    margin: 0 0 6px 0;
    font-size: 13px;
}

#service-table-opt {
    width: 100%;
    border-collapse: collapse;
}

#service-table-opt th,
#service-table-opt td {
    border: 1px solid #ccc;
    padding: 4px 6px;
    text-align: left;
}


/* Mise en page Graphique 2 : sélection manuelle */
.manual-container {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Colonne gauche = listes déroulantes (≈20%) */
.selectors-column {
  flex: 0 0 20%;
  max-width: 260px;
}

/* Colonne droite = graphique + texte */
.chart-column {
  flex: 1;
  min-width: 0; /* pour éviter les débordements */
}

/* Forcer les 17 listes déroulantes les unes sous les autres */
.selector-table-2 {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.selector-table-2 tr {
  display: block;  /* une "ligne" par produit */
  margin-bottom: 4px;
}

.selector-table-2 td {
  display: block;
  border: none;
  padding: 4px 0;
  vertical-align: top;
}

.selector-table-2 label {
  display: block;
  font-size: 12px;
}

.selector-table-2 select {
  width: 100%;
  box-sizing: border-box;
  margin-top: 2px;
}
