body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F9F9F9;
    color: #333;
}

.header {
    background-color: #F9F9F9;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
}

.header .logo a{
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
    color: #333;
    margin-right: 20px;
}

.header .logo a:hover{
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
    color: #333;
}

.header .nav-links {
    display: flex;
    align-items: center;
}

.header .nav-links a {
    left: 0;
    margin-left: 20px;
    text-decoration: none;
    color: #0F0F0F;
    font-size: 18px;
    font-weight: 300;
    transition: color 0.3s;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

.header .nav-links a:hover {
    color: #ff6347;
    font-weight: 500;
}

.separator {
    width: 80px;
    height: 6px;
    background-color: #ff6347;
    margin: 20px 0;
}

/* Styles pour la page index */
.point {
    color: #ff6347;
}

.index .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 95px 40px;
    box-sizing: border-box;
}

.index .text-container {
    max-width: 50%;
    flex: 1;
}

.index .main-title {
    font-size: 40px;
    font-weight: 900;
    margin-top: 0px;
    margin-bottom: 2px;
}

.index .description {
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 20px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

.index ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.index ul li {
    font-weight: 500;
    margin-bottom: 10px;
    max-width: 600px;
}

.index h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 20px;
}

.button-52 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0px;
    padding: 10px; /* Réduire le padding pour ajuster la taille */
    outline: 0;
    border: 1px solid black;
    cursor: pointer;
    position: relative;
    background-color: rgba(0, 0, 0, 0);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    color: #0F0F0F;
    text-decoration: none;
  }
  
  .button-52:after {
    content: "";
    background-color: #ff6347;
    width: 100%;
    z-index: -1;
    position: absolute;
    height: 100%;
    top: 5px; /* Ajuster pour aligner avec le padding */
    left: 5px; /* Ajuster pour aligner avec le padding */
    transition: 0.2s;
  }
  
  .button-52:hover:after {
    top: 0px;
    left: 0px;
  }
  
  @media (min-width: 768px) {
    .button-52 {
      padding: 10px 20px; /* Garder les mêmes valeurs pour les écrans plus larges */
    }
  }

  

.index .image-container {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;;
}

.index .image-container img {
    max-width: 100%;
    height: auto;
}

.index a:hover{
    color: #0F0F0F ;
}

/* Styles pour la page upload & export*/
.upload .content,
.export .content,
.edit .content {
    padding: 110px 40px;
    box-sizing: border-box;
}

.upload .main-title, 
.export .main-title,
.edit .main-title {
    font-size: 40px;
    font-weight: 900;
    margin-top: 0px;
    margin-bottom: 2px;
}

.upload .control-buttons {
    display: flex;
    justify-content: space-between; 
    margin-bottom: 10px; 
}

.upload .upload-form {
    display: flex;
    align-items: center;
}

.upload .upload-form input {
    margin-right: 10px; 
}

.upload .button {
    background-color: #7D7C7C; 
    color: white; 
    border: none; 
    border-radius: 5px; 
    padding: 5px 10px; 
    cursor: pointer; 
    font-size: 14px; 
    margin: 0 5px; 
}

.csv-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}

.csv-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    text-align: left;
}

.csv-table th, .csv-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    /*word-break: break-word;
    white-space: nowrap;*/
}

.csv-table thead tr {
    background-color: #f2f2f2;
    color: #333;
    text-align: left;
}


.scroll-to-top, .scroll-to-bottom {
    position: fixed;
    right: 2px;
    background-color: #ff6347;
    color: white;
    border: none;
    border-radius: 5px;
    width: 23px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 1000; 
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-to-top {
    bottom: 60px; 
}

.scroll-to-bottom {
    bottom: 10px;
}

.scroll-to-top.visible, .scroll-to-bottom.visible {
    opacity: 1; 
}

.scroll-to-top:hover, .scroll-to-bottom:hover {
    background-color: #EB5B00;
}

.message {
    display: none;
    padding: 5px;
    margin: 10px 0;
    border: 1px solid;
    border-radius: 5px;
}
.message.success {
    border-color: green;
    color: green;
}
.message.error {
    border-color: red;
    color: red;
}

a{
    color: #0F0F0F;
}

a:hover{
    color: #ff6347;
}

a.button {
    display: inline-block;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-decoration: none;
    font-family: sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 0.45em 1.5em;
    color: #ff6347;
    border: 0.15em solid #ff6347;
    border-radius: calc(0.2em + 0.5em + 0.15em);
    transition: 2s;
}

a.button:before,
a.button:after {
    content: '';
    position: absolute;
    top: -1.5em;
    z-index: -1;
    width: 200%;
    aspect-ratio: 1;
    border-radius: 40%;
    background-color: rgba(255, 89, 0, 0.25);
    transition: 2.5s;
}

a.button:before {
    left: -80%;
    transform: translate3d(0, 5em, 0) rotate(-340deg);
}

a.button:after {
    right: -80%;
    transform: translate3d(0, 5em, 0) rotate(390deg);
}

a.button:hover {
    color: white;
}

a.button:hover:before,
a.button:hover:after {
    transform: none;
    background-color: rgba(227, 97, 61, 0.95);
}

.upload .button {
    display: inline-block;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-decoration: none;
    font-family: sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 0.45em 2em;
    background-color: #fff;
    color: #ff6347;
    border: 0.15em solid #ff6347;
    border-radius: calc(0.2em + 0.5em + 0.15em);
    transition: 2s;
}

.upload .button:before,
.upload .button:after {
    content: '';
    position: absolute;
    top: -1.5em;
    z-index: -1;
    width: 200%;
    aspect-ratio: 1;
    border-radius: 40%;
    background-color: rgba(255, 89, 0, 0.25);
    transition: 2.5s;
}

.upload .button:before {
    left: -80%;
    transform: translate3d(0, 5em, 0) rotate(-340deg);
}

.upload .button:after {
    right: -80%;
    transform: translate3d(0, 5em, 0) rotate(390deg);
}

.upload .button:hover {
    color: white;
}

.upload .button:hover:before,
.upload .button:hover:after {
    transform: none;
    background-color: rgba(227, 97, 61, 0.95);
}