
head {
    text-align: center;
    }
    
body {
    font-family: Arial, sans-serif;
    background-color: darkgreen;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}
.logo {
    display: flex;
    align-items: center;
    margin-right: auto; /* pousse tout le reste à droite */
}

.logo img {
    width: 3cm;
    height: 3cm;
    object-fit: contain;
    margin-right: 10px;
}

h1 {
    font-size: 2.5rem;
    color: white;
    margin-top: 20px;
}

h2 {
    display: inline-block;
    font-size: 3.5rem;
    color: white;
    margin-top: 20px;
    border-radius: 8px;
    width: 450px;
}

h3 {
    font-size: 1.5rem;
    color: white;
    margin-top: 20px;
}
.img-limitee {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
}

a {
    color: white;
    
}
p {
    font-size: 1.2rem;
    color: white;
    margin: 20px;
}

button {
    padding: 10px 20px;
    background-color: #006400;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin: 10px;
}

button:hover {
    background-color: #004d00;
}

.logo {
    width: 100px;
    height: auto;
    display: block;
    margin: 20px auto;
}

.styled-table thead tr {
    color: white; /* Texte blanc */
    text-align: left; /* Alignement du texte */
}

.styled-table th {
    background-color: #006400;
    padding: 10px; /* Espacement intérieur des cellules */
    border: 1px solid #dddddd; /* Bordure légère */
}

.styled-table td {
    padding: 10px;
    border: 1px solid #dddddd;
}

table { 
        background: slategrey;
        display:inline-table;
        border-color: white;
        border: 1px solid #dddddd;
        align-items: center;
}

th {
    border: 1px solid #dddddd;
}

tr {
    border: 1px solid #dddddd;
}

lb {
    display:inline-flex;
    width: fit-content;
}
 

bodyF {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: darkgrey;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 350px;
}
bodyp {
    display:block;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: darkgrey;
    color: red;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 450px;
}

label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
}

from {

    margin-bottom: 5px;
    font-weight: bold;
    Width:300px;
}

input {
    background: cornsilk;
    color: darkgrey;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: fit-content;
}

input:focus {
    border-color: #006400;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 100, 0, 0.3);
}

.success-message { 
    color: green; font-weight: bold;
}

.error-message {
    color: red; font-weight: bold; 
}


.highlighted {
    background-color: yellow; /* Fond jaune */
    color: black; /* Texte noir */
    font-weight: bold; /* Texte en gras pour meilleure visibilité */
}

select {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: -webkit-fill-available;
}

 .clignotant {
            padding: 15px;
            border: 3px solid gold; /* Bordure initiale */
            animation: clignoter 1s infinite; /* Durée : 1 seconde, répétée à l'infini */
            border-radius: 5px; /* Coins arrondis pour un style plus esthétique */
            background-color: darkred; /* Couleur de fond légèrement rouge */
            font-size: 16px;
            color: #fff;
        }
        
.error-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.error-table th, .error-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.error-table th {
    background-color: #f44336;
    color: white;
}

.error-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.error-table tr:hover {
    background-color: #f1f1f1;
}

.container {
    background-color: #373b3e;
    padding: 20px;
    margin: 30px auto;
    max-width: 1000px;
    border-radius: 8px;
    text-align: center;
    color: #444;
}

.button {
    background-color: #007bff;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.ligne-substitution:hover {
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
}

/* 🌟 Style personnalisé pour la table des horaires */
#horaires_table tr {
  transition: background-color 0.2s ease;
}

#horaires_table td, 
#horaires_table th {
  vertical-align: middle;
  text-align: center;
  font-size: 0.95rem;
  padding: 10px 6px;
}

#horaires_table tr:hover {
  background-color: #e6f2ff; /* survol plus doux */
}

#horaires_table img {
  max-height: 24px;
  vertical-align: middle;
}

/* Responsive : cacher des colonnes sur petits écrans */
@media (max-width: 576px) {
  #horaires_table th:nth-child(4),
  #horaires_table td:nth-child(4), /* Quai */
  #horaires_table th:nth-child(7),
  #horaires_table td:nth-child(7)  /* Message */
  {
    display: none;
  }
}

