:root {

    --primary-color: #1a2a1f;

    --secondary-color: #4CAF50;

    --accent-color: #8BC34A;

    --text-color: #E8F5E9;

    --background-color: #0a0f0c;

    --range-background: #2c3e50;

    --sidebar-width: 250px;

    --transition-duration: 0.3s;

}



.page-container {

    display: flex;

    flex-direction: column;

    min-height: 100vh;

}



.main-content-wrapper {

    flex: 1;

    display: flex;

    /*margin-left: var(--sidebar-width);*/

    transition: margin-left 0.3s ease-in-out;

}



#main-content {

    flex: 1;

    padding: 20px;

    overflow-y: auto;

    margin-left: 0;

}



.repair-section {

    background-color: rgba(26,42,31,0.95);

    box-shadow: 0 0 20px rgba(0,255,0,0.1);

    border-radius: 10px;

    padding: 40px;

    color: var(--text-color);

}

.waiting {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .waiting h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ff7b00;
  }
  
  .waiting p {
    font-size: 1.2em;
    margin: 10px 0;
    line-height: 1.6;
  }
  
  .waiting ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
  }
  
  .waiting ul li {
    margin: 10px 0;
    font-size: 1.1em;
  }
  
  .waiting a {
    color: #ff7b00;
    text-decoration: none;
    font-weight: bold;
  }
  
  .waiting a:hover {
    text-decoration: underline;
  }




.repair-content {

    max-width: 800px;

    margin: 0 auto;

}



.repair-content h2 {

    font-size: 24px;

    color: var(--secondary-color);

    margin-top: 30px;

    margin-bottom: 15px;

}



.repair-content h3 {

    font-size: 20px;

    color: var(--accent-color);

    margin-top: 20px;

    margin-bottom: 10px;

}



.repair-content p, 

.repair-content ul,

.repair-content ol {

    margin-bottom: 15px;

    line-height: 1.6;

}



.repair-content ul,

.repair-content ol {

    padding-left: 20px;

}



.repair-content li {

    margin-bottom: 5px;

}



/* Styles pour les liens dans la section de confidentialité */

.repair-content a {

    color: #ffffff; /* Couleur blanche pour les liens */

    text-decoration: none; /* Supprime le soulignement par défaut */

    border-bottom: 1px dotted #ffffff; /* Ajoute une ligne pointillée sous le lien */

    transition: border-bottom 0.3s ease; /* Ajoute une transition douce pour l'effet de survol */

}



/* Effet de survol pour les liens */

.repair-content a:hover {

    border-bottom: 1px solid #ffffff; /* Change la ligne pointillée en ligne pleine au survol */

}



/* Assurez-vous que les liens visités restent blancs aussi */

.repair-content a:visited {

    color: #ffffff;

}



.repair-content table {

    width: 100%;

    border-collapse: collapse;

    margin-bottom: 20px;

    background-color: rgba(26, 42, 31, 0.7);

    border: 1px solid var(--secondary-color);

}



.repair-content th,

.repair-content td {

    padding: 12px 15px;

    text-align: left;

    border-bottom: 1px solid var(--secondary-color);

}



.repair-content th {

    background-color: var(--secondary-color);

    color: var(--primary-color);

    font-weight: bold;

    text-transform: uppercase;

}



.repair-content tr:nth-child(even) {

    background-color: rgba(76, 175, 80, 0.1);

}





@media (max-width: 768px) {



    .main-content {

        margin-left: 0 !important;

    }

    

    .main-content-wrapper {

        margin-left: 0 !important;

    }



    .repair-section {

        padding: 20px;

    }



    .repair-section h1 {

        font-size: 28px;

    }



    .repair-content h2 {

        font-size: 22px;

    }



    .repair-content h3 {

        font-size: 18px;

    }

}



@media screen and (max-width: 600px) {

    .repair-content table, 

    .repair-content thead, 

    .repair-content tbody, 

    .repair-content th, 

    .repair-content td, 

    .repair-content tr {

        display: block;

    }

    

    .repair-content thead tr {

        position: absolute;

        top: -9999px;

        left: -9999px;

    }

    

    .repair-content tr {

        border: 1px solid var(--secondary-color);

        margin-bottom: 15px;

        padding: 10px;

    }

    

    .repair-content td {

        border: none;

        position: relative;

        padding: 10px 5px 10px 50%;

        text-align: left;

        border-bottom: 1px solid rgba(76, 175, 80, 0.2);

    }

    

    .repair-content td:before {

        content: attr(data-label);

        position: absolute;

        left: 5px;

        width: 45%;

        padding-right: 10px;

        white-space: normal;

        font-weight: bold;

        color: var(--secondary-color);

    }



    .repair-content td:last-child {

        border-bottom: none;

    }



    /* Ajustement spécifique pour la colonne "Durée de conservation" */

    .repair-content td[data-label="Durée de conservation"] {

        padding-left: 5px;

        padding-top: 30px; /* Espace pour le libellé au-dessus */

    }



    .repair-content td[data-label="Durée de conservation"]:before {

        width: 100%;

        white-space: normal;

        top: 5px;

        left: 5px;

    }

}



@media (min-width: 768px) {

    .main-content-wrapper {

        margin-left: var(--sidebar-width);

    }



    .main-content {

        margin-left: var(--sidebar-width)

    }

}