.site-advantages {
  background-color: #fff;
  box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  padding: 20px 20px 20px;
  text-align: center;
}
.site-advantages h1 {
  font-size: 22px;
  opacity: 0.8;
  margin: 20px 0;
}
.site-advantages .desc {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.site-advantages .desc .desc-half {
  width: 49%;
  background: #E9E9E9;
  margin: 0px 0 30px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #A4A4A4;
}
.site-advantages .desc .desc-half h2 {
  font-size: 16px;
}
.site-details {
  max-width: 800px;
}

/* Tables dans les présentations marchands */
.site-details .presentation table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.site-details .presentation table th,
.site-details .presentation table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
}
.site-details .presentation table th {
  background-color: #2c7be5;
  color: #fff;
  font-weight: bold;
}
.site-details .presentation table tr:nth-child(even) {
  background-color: #f8f9fa;
}
.site-details .presentation table tr:hover {
  background-color: #e9ecef;
}
@media only screen and (max-width: 600px) {
  .site-details .presentation table {
    font-size: 12px;
  }
  .site-details .presentation table th,
  .site-details .presentation table td {
    padding: 6px 8px;
  }
  /* Top parrains mobile fix */
  .top-parrains-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px 10px !important;
    justify-items: center;
  }
  .top-parrain-card {
    width: 100% !important;
    max-width: 100px;
  }
  .top-parrain-name {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 90px !important;
    display: block !important;
    font-size: 11px;
  }
}

/* Admin sites - mobile fix for search buttons */
@media only screen and (max-width: 768px) {
  body.adminSites .search-site-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 10px;
  }
  body.adminSites .search-site-section input[name="searchSite"] {
    width: 100%;
    margin-bottom: 5px;
  }
  body.adminSites .search-site-section .btn.secondary.big {
    flex: 1 1 calc(50% - 8px);
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    text-align: center;
    white-space: nowrap;
  }
  body.adminSites .site-dashboard tr td {
    padding: 5px;
    font-size: 12px;
  }
  body.adminSites .site-dashboard tr td .actions li {
    display: block;
    margin: 5px 0;
  }
}
