/* ============================
   Structure générale
============================ */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* ============================
   Navigation & Switch langue
============================ */
#lang-switch {
    text-align: right;
    margin-bottom: 15px;
}

#lang-switch a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    margin-left: 5px;
}

#lang-switch a:hover {
    text-decoration: underline;
}

#lang-switch a:visited {
/*    color: #007bff; /* empêche violet après clic */
    color: rebeccapurple; /* empêche violet après clic */
	
}

/* ============================
   Titres
============================ */
h1 {
    text-align: center;
    font-size: 2em;   /* taille du titre */
    margin-top: 10px; /* espace au-dessus */
    margin-bottom: 20px; /* espace en-dessous */
}

h2, h3 {
    color: #222;
    margin-top: 20px;
}

/* ============================
   Formulaires
============================ */
form {
    margin-top: 15px;
}

form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

form input[type="text"],
form input[type="file"],
form select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

form button {
    margin-top: 15px;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background: #0056b3;
}

/* ============================
   Carte et résultats
============================ */
#map {
    margin-top: 20px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

#results {
    margin-top: 20px;
}

/* ============================
   Légende des couleurs
============================ */
#legend {
    max-width: 800px;
    margin: 10px auto 40px auto;
    font-size: 14px;
}

#legend strong {
    display: block;
    margin-bottom: 8px;
}

#legend div {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

#legend div div {
    display: flex;
    align-items: center;
    gap: 6px;
}

#legend div div div {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

/* ============================
   Tableaux
============================ */
/* table {
    width: 70%;
    border-collapse: collapse;
    margin-top: 15px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: center;
	background: rebeccapurple;
	color: white;
} */
/* Tableau d’exemple dans batch.html */
#example-table {
    margin: 20px auto;       /* centre le tableau */
    border-collapse: collapse;
    text-align: center;
    width: auto;             /* tu peux fixer une largeur si tu veux */
}

/* Ligne d’entête */
#example-table th {
    background-color: rebeccapurple;
    color: white;
    padding: 8px 12px;
}

/* Lignes normales */
#example-table td {
    background-color: white;
    color: black;
    padding: 8px 12px;
    border: 1px solid #ddd;
}

/* Optionnel : un petit effet hover */
#example-table tr:hover td {
    background-color: #f5f5f5;
}
/* ============================
   Zone de mapping (batch)
============================ */
#column-mapping {
    margin-top: 20px;
    padding: 15px;
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 8px;
}

#column-mapping select {
    margin-left: 10px;
    margin-bottom: 10px;
    padding: 5px;
}

/* ============================
   Section téléchargement
============================ */
#download-section {
    margin-top: 20px;
    display: none; /* masqué par défaut */
}

#download-btn {
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#download-btn:hover {
    background: #218838;
}

/* ============================
   Divers
============================ */
#status {
    margin-top: 10px;
    font-style: italic;
    color: #555;
}
