/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.12.3.1771929679
Updated: 2026-02-24 11:41:19

*/
a {
  text-decoration: none !important;
}
.elementor-template-full-width .ast-container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.atkinson-hyperlegible-regular {
  font-family: "Atkinson Hyperlegible", sans-serif !important;
  font-weight: 400;
  font-style: normal;
}

.atkinson-hyperlegible-bold {
  font-family: "Atkinson Hyperlegible", sans-serif !important;
  font-weight: 700;
  font-style: normal;
}

.atkinson-hyperlegible-regular-italic {
  font-family: "Atkinson Hyperlegible", sans-serif !important;
  font-weight: 400;
  font-style: italic;
}

.atkinson-hyperlegible-bold-italic {
  font-family: "Atkinson Hyperlegible", sans-serif !important;
  font-weight: 700;
  font-style: italic;
}

.theme-ms-lms-starter-theme #page {
  background-color: #ede4da;
}
nav .parent > ul.sub-menu:before {
  background: #3c7053;
}
/* ===================================
   STYLE PAGE MON COMPTE AVEC ONGLETS
   =================================== */

.mon-compte-container {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
  width: 100%;
}

.page-title {
  font-weight: 600;
  font-size: 32px;
  font-size: 1.7777777777778rem;
  line-height: 1.2;
  text-align: center;
  color: #e46c38;
}

.bloc-intro {
  margin-top: 24px;
  margin-bottom: 24px;
}
/* ========== SYSTÈME D'ONGLETS ========== */
.tabs-container {
  overflow: hidden;
  margin-bottom: 30px;
}

/* Navigation des onglets */
.tabs-navigation {
  display: flex;
  gap: 10px;
  overflow: hidden;
  flex-wrap: wrap;
}

#account-tabs .tab-button {
  flex: 1;
  min-width: 130px;
  background: #fcf0d9;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #e46b38;
  border-radius: 0 !important;
  &.active,
  &:hover,
  &[aria-selected="true"] {
    background: #e46b38;
    color: #fff;
  }
  span {
    font-family: "adrianna", sans-serif;
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
  }
}

.tab-icon {
  font-size: 2rem;
  display: block;
}

.tab-label {
  font-size: 1rem;
  display: block;
}

/* Contenu des onglets */
.tabs-content {
  padding: 0;
}

.tab-pane {
  display: none;
  padding: 80px 40px;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* En-tête d'onglet */

.tab-description {
  color: #666;
  font-size: 1.05rem;
  margin: 0;
}

/* ========== ONGLET PROFIL ========== */
.profil-card {
  gap: 30px;
  align-items: center;
  background: transparent;
}

.profil-avatar img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 2px solid #2db4b6;
}

.profil-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.info-row strong {
  color: #3c7053;
}

.info-row span {
  color: #2b2b2b;
  font-weight: 500;
}

.profil-actions {
}

.btn-modifier {
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
  font-weight: 900;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: "Adrianna";
  color: #e46b38;
  text-transform: uppercase;
}

/* ========== FORMULAIRE D'ÉDITION ========== */
.form-edit-container {
  background: transparent;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-edit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.form-edit-header h3 {
  font-size: 1.5rem;
  color: #9bd6cb;
  margin: 0;
  text-transform: uppercase;
  font-weight: 900;
}
#btn-close-form,
#account-tabs button.iti__selected-country {
  min-width: 0 !important;
  border: 1px solid #e74c3c;
  background: #fcf0d9 !important;
  &:before {
    display: none;
  }
}

.btn-close {
  color: #e74c3c;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-close svg {
  fill: #e74c3c;
}

#tab-profil .form-edit-content {
  padding: 0;
}
#tab-profil .form-edit-content .wpforms-container .wpforms-field {
  padding: 0;
}

#tab-profil .form-edit-content .wpforms-container {
  margin: 0;
}

#tab-profil .form-edit-content .wpforms-field {
  margin-bottom: 20px;
}

.form-edit-content .wpforms-field-label {
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 8px;
}

.form-edit-content input[type="text"],
.form-edit-content input[type="email"],
.form-edit-content input[type="tel"],
.form-edit-content input[type="password"],
.form-edit-content textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-edit-content input[type="text"]:focus,
.form-edit-content input[type="email"]:focus,
.form-edit-content input[type="tel"]:focus,
.form-edit-content input[type="password"]:focus,
.form-edit-content textarea:focus {
  border-color: #2db4b6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 180, 182, 0.1);
}

.form-edit-content .wpforms-submit-container {
  margin-top: 25px;
}

.form-edit-content button[type="submit"] {
  background: #3c7053 !important;
  color: white !important;
  padding: 14px 35px !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.3s;
}

.form-edit-content button[type="submit"]:hover {
  background: #2db4b6 !important;
  box-shadow: 0 4px 12px rgba(60, 112, 83, 0.3);
}

.form-edit-content .wpforms-confirmation-container-full {
  background: rgba(60, 112, 83, 0.1);
  border: 2px solid #3c7053;
  color: #2b2b2b;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 1.1rem;
}

.form-edit-content .wpforms-error-container {
  background: #f8d7da;
  border: 2px solid #dc3545;
  color: #721c24;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

/* ========== ONGLET COURS ========== */
.abonnements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.cours-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.cours-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cours-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #e0e0e0;
}

.cours-content {
  padding: 20px;
}

.cours-content h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #2b2b2b;
  line-height: 1.4;
}

.cours-progress {
  margin-bottom: 15px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2db4b6, #3c7053);
  border-radius: 10px;
  transition: width 0.5s ease;
}

.progress-text {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

.btn-cours {
  display: inline-block;
  background: #2db4b6;
  color: white !important;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-cours:hover {
  background: #3c7053;
}

/* ========== ONGLET TROPHÉES ========== */
.trophees-container {
  background: transparent;
  padding: 0;
  border-radius: 8px;
}

.trophee-category {
  margin-bottom: 35px;
}

.trophee-category h3 {
  font-size: 1.3rem;
  color: #e46b38;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e46b38;
  font-family: "Adrianna";
}

.trophees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.trophee-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 2px solid #e9ecef;
}

.trophee-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(45, 180, 182, 0.3);
  border-color: #2db4b6;
}

.trophee-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.trophee-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  color: #2db4b6;
}

.trophee-item h4 {
  font-size: 1.1rem;
  color: #2b2b2b;
  margin-bottom: 10px;
}

.trophee-item p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.date-earned {
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
}

.points-summary {
  margin-top: 30px;
}

.points-summary h3 {
  font-size: 1.4rem;
  color: #2b2b2b;
  margin-bottom: 20px;
}

.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.points-item {
  background: transparent;
  color: #e46b38;
  padding: 25px;
  border-radius: 10px;
  border: 2px solid #e46b38;
  text-align: center;
  box-shadow: 0 4px 10px rgba(45, 180, 182, 0.3);
}

.points-label {
  display: block;
  font-size: 1rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

.points-value {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
}

/* ========== ONGLET QUIZ ========== */
.quiz-results {
  background: white;
  padding: 0;
  border-radius: 8px;
}

.quiz-table-wrapper {
  overflow-x: auto;
}

.quiz-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  border: 0;
}

.quiz-table thead {
  background: #fcf0d9;
  color: #e46c38;
  font-family: "adrianna";
  text-transform: uppercase;
}

.quiz-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

.quiz-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s;
}

.quiz-table tbody tr:hover {
  background: rgba(45, 180, 182, 0.05);
}

.quiz-table td {
  padding: 15px;
  strong {
    a {
      color: #000;
      &:hover {
        color: #e46c38;
      }
    }
  }
}

.score-badge {
  background: #e46c38;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.1rem;
}

/* ========== MESSAGE SANS DONNÉES ========== */
.no-data-card {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(
    135deg,
    rgba(45, 180, 182, 0.1) 0%,
    rgba(60, 112, 83, 0.1) 100%
  );
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.no-data-icon {
  font-size: 5rem;
  color: #2db4b6;
}

.no-data-card h3 {
  font-size: 1.5rem;
  color: #2b2b2b;
  margin-bottom: 15px;
}

.no-data-card p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #2db4b6 0%, #3c7053 100%);
  color: white;
  padding: 14px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(45, 180, 182, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(45, 180, 182, 0.6);
}

/* ========== SECTION DÉCONNEXION ========== */
.section-logout {
  text-align: center;
  padding: 30px 0;
}

.btn-logout {
  border: 1px solid #e74c3c;
  background-color: #ffffff;
  color: #333333 !important;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  display: inline-block;
}

.btn-logout:hover {
  border-color: #c0392b;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* ========== NON CONNECTÉ ========== */
.not-logged-in {
  text-align: center;
  padding: 60px 20px;
  background: #f9f9f9;
  border-radius: 12px;
}

.not-logged-in h2 {
  margin-bottom: 20px;
  color: #2b2b2b;
}

.btn-login,
.btn-register {
  display: inline-block;
  padding: 15px 35px;
  margin: 0 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-login {
  background: #2db4b6;
  color: white;
}

.btn-login:hover {
  background: #3c7053;
  box-shadow: 0 4px 12px rgba(45, 180, 182, 0.3);
}

.btn-register {
  background: #3c7053;
  color: white;
}

.btn-register:hover {
  background: #2db4b6;
  box-shadow: 0 4px 12px rgba(60, 112, 83, 0.3);
}
#quizzes {
  display: flex;
  align-items: stretch;
  justify-content: start;
  flex-wrap: wrap;
  gap: 65px;
}
#quizzes .quiz-card {
  border-radius: 30px;
  padding: 30px;
  max-width: 400px;
  width: 400px;
  box-shadow: 6px 8px 6px rgba(43, 43, 43, 0.1);
}
#quizzes .quiz-card:hover {
  box-shadow: 6px 8px 20px rgba(43, 43, 43, 0.1);
}
#quizzes .quiz-card .quiz-card-image {
  border: 5px solid;
  position: relative;
}
#quizzes .quiz-card .quiz-card-image img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
#quizzes .quiz-card .quiz-card-image img.img-jetons {
  height: 40px;
  object-fit: contain;
  width: 40px;
  position: absolute;
  bottom: 0px;
  right: 0px;
}
#quizzes .quiz-card .quiz-card-body {
  text-align: center;
}
#quizzes .quiz-card .quiz-card-body .h3 {
  color: #2b2b2b;
  font-weight: bold;
  font-size: 18px;
  padding: 0 30px;
}
#quizzes .quiz-card .quiz-card-body .h3 img {
  width: 43px;
  height: 32px;
  object-fit: contain;
  margin-left: 15px;
  position: absolute;
  right: -15px;
}
#quizzes .quiz-card.position-relative.sports_d\'équipe {
  background: rgba(145, 179, 107, 0.35);
}
#quizzes .quiz-card.position-relative.sports_d\'équipe .quiz-card-image {
  border-color: #91b36b;
}
#quizzes .quiz-card.position-relative.disciplines_olympiques_étendues {
  background: rgba(92, 141, 173, 0.35);
}
#quizzes
  .quiz-card.position-relative.disciplines_olympiques_étendues
  .quiz-card-image {
  border-color: #5c8dad;
}
#quizzes .quiz-card.position-relative.equitation_d\'extérieur {
  background: rgba(155, 126, 222, 0.35);
}
#quizzes .quiz-card.position-relative.equitation_d\'extérieur .quiz-card-image {
  border-color: #9b7ede;
}
#quizzes .quiz-card.position-relative.culture_générale {
  background: rgba(111, 191, 156, 0.35);
}
#quizzes .quiz-card.position-relative.culture_générale .quiz-card-image {
  border-color: #6fbf9c;
}
#quizzes .quiz-card.position-relative.equitation_de_travail {
  background: rgba(242, 201, 76, 0.35);
}
#quizzes .quiz-card.position-relative.equitation_de_travail .quiz-card-image {
  border-color: rgba(242, 201, 76, 1);
}
#recompenses_paddock {
  font-size: 15px;
  gap: 2px;
  @media (max-width: 768px) {
    gap: 24px;
  }
  .textes {
    max-width: 110px;
  }
  #jetonsdispo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    p {
      font-size: 70px;
      line-height: 70px;
      margin-bottom: 0;
      @media (max-width: 768px) {
        font-size: 45px;
        line-height: 30px;
      }
    }
  }
  #trophees {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    &:after {
      content: "";
      display: block;
      width: 2px;
      height: 140px;
      background: #fcf0d9;
      position: absolute;
      bottom: 0px;
      right: -3px;
    }
    @media (max-width: 768px) {
      &:after {
        content: "";
        display: block;
        width: 150px;
        height: 2px;
        background: #fcf0d9;
        position: absolute;
        bottom: -30px;
        right: inherit;
      }
    }
    p {
      font-size: 70px;
      line-height: 70px;
      margin-bottom: 0;
      @media (max-width: 768px) {
        font-size: 45px;
        line-height: 30px;
      }
    }
  }
  #last_trophees {
    border-right: 2px solid rgba(43, 43, 43, 1);
    @media (max-width: 768px) {
      border-right: 0px;
      &:after {
        content: "";
        display: block;
        width: 150px;
        height: 2px;
        background: #222222;
        position: absolute;
        bottom: -30px;
        left: calc(50% - 75px);
      }
    }
    .dernier-trophee {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      img {
        max-width: 135px;
        margin-bottom: 15px;
      }
    }
  }
  #series {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: start;
    .mudstone {
      max-width: 110px;
    }
  }
}
#menutop {
  @media (min-width: 1001px) {
    min-width: fit-content;
    width: fit-content;
  }
  nav {
    ul {
      li {
        ul {
          padding-top: 15px;
          background: transparent;
          box-shadow: none;
          li {
            margin-bottom: 15px;
            width: max-content;
            a {
              color: #fff;
              background-size: cover;
            }
            ul {
              padding-top: 0;
              padding-left: 10px;
            }
          }
        }
        a {
          text-decoration: none;

          background: url("/wp-content/themes/astra-child/assets/btn-galopia-1.svg");
          background-repeat: no-repeat;
          background-size: cover;

          filter: drop-shadow(3px 5px 0 rgba(0, 0, 0, 0.1));

          transition:
            transform 0.15s ease,
            filter 0.15s ease;
          &:hover {
            filter: drop-shadow(0px 0px 0 #8b2e10);
          }
        }
      }
    }
  }
}
#masthead {
  header {
    position: relative;
    &::after {
      content: "";
      position: absolute;
      width: 100%;
      height: 40px;
      bottom: -40px;
      left: 0;
      background: url("/wp-content/themes/astra-child/assets/bandeau.png");
      background-position: bottom;
      background-size: cover;
      @media (max-width: 768px) {
        bottom: -10px;
      }
    }
  }
}
#footergalopia {
  position: relative;
  &::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 40px;
    top: -40px;
    left: 0;
    background: url("/wp-content/themes/astra-child/assets/footer.png");
    background-position: top;
    background-size: cover;
  }
}
#lostpasswordform {
  text-align: center;
  legend {
    display: none;
  }
  #somfrp_user_info {
    margin: 0 auto;
    background-color: #ffffff;
    border-color: #e46b38;
    border-width: 3px 3px 3px 3px;
  }
}
button#reset-pass-submit,
button.elementor-button.btn-orange,
.woocommerce-js a.add_to_cart_button.btn-orange,
div.wpforms-container-full.wpforms-container button.btn-orange,
a.btn-orange,
div.btn-orange {
  position: relative;
  display: inline-block;
  color: #fcf0d9;
  filter: drop-shadow(3px 5px 0 rgba(0, 0, 0, 0.1));
  padding: 10px 15px;
  background: transparent !important;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
  svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-family: "Adrianna";
    color: #fcf0d9;
    font-weight: 900;
  }
  &:hover {
    filter: drop-shadow(0px 0px 0 #8b2e10);
  }
}
.btn-bleu {
  position: relative;
  display: inline-block;
  color: #fff;
  filter: drop-shadow(3px 5px 0 rgba(0, 0, 0, 0.1));
  padding: 10px 15px;
  background: transparent !important;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
  svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-family: "Adrianna";
    color: #fff;
    font-weight: 900;
  }
  &:hover {
    filter: drop-shadow(0px 0px 0 #9bd6cb);
  }
}
.text-lower {
  text-transform: none !important;
}
#grille-galopia {
  .elementor-image-box-content {
    color: #fff;
    position: relative;
    width: 214px;
    height: 86px;
    margin-top: -30px;
    background: url(/wp-content/themes/astra-child/assets/flap.svg);
    background-repeat: no-repeat;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: 31px;
  }
  h3 {
    color: #fff;
    position: relative;
    width: 170px;
    font-size: 30px;
    line-height: 24px;
  }
}
.bullet {
  background: url(/wp-content/themes/astra-child/assets/pastille-orange.svg);
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  margin-right: 10px;
  color: #fff;
  overflow: visible;
  min-width: 52px;
}
.headergalo {
  position: relative;
  display: inline-block;
  color: #fcf0d9;
  margin-bottom: 0;
  @media (max-width: 768px) {
    display: block;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  span {
    padding: 50px 30px;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
}
.bg-cover {
  background-size: cover;
}
.entry-title {
  text-align: center;
  color: #e46c38;
  font-weight: 900;
}
.post-navigation {
  display: none !important;
}
#boutique-tabs,
#account-tabs {
  .e-n-tabs-heading {
    margin-bottom: 50px;
  }
  .woocommerce-loop-product__title {
    color: #9bd6cb;
  }
  .elementor-widget-n-tabs .e-n-tabs {
    gap: 50px;
  }
  .astra-shop-summary-wrap {
    text-align: center;
    .ast-woo-product-category {
      display: none;
    }
  }
  button {
    position: relative;
    transition: all 0.3s;
    background: #fcf0d9;
    min-width: 130px;
    &:before {
      content: "";
      position: absolute;
      inset: -1px; /* repousse vers l'extérieur de la valeur de la bordure */
      border-image: url(https://galopia.fr/wp-content/uploads/2026/03/bouton4-1.svg)
        15 fill / 15px stretch;
      border-style: solid;
      border-width: 15px;
      pointer-events: none; /* évite de bloquer les clics */
      transition: all 0.3s;
    }
    &:hover,
    &[aria-selected="true"] {
      background: #e46b38;
      color: #fff;
    }
    &#passeport {
      &:before {
        border-image: url(https://galopia.fr/wp-content/uploads/2026/03/bouton4-1.svg)
          22 fill / 15px stretch;
      }
    }
  }
  .price {
    text-align: center;
    bdi {
      font-family: "Adrianna";
      font-size: 20px;
      font-weight: 900;
    }
  }
  a.ast-loop-product__link {
    text-align: center;
  }
  a.add_to_cart_button {
    margin: 0 auto;
  }
}
a.ast-on-card-button {
  display: none !important;
}
.quiz-swiper-wrapper {
  padding: 20px 0 40px;
}

.quiz-swiper {
  padding: 20px 40px !important;
}

/* Slide : largeur auto selon contenu */
.quiz-slide {
  width: 220px; /* ajuste cette valeur selon ton design */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Cadre ovale */
.quiz-oval {
  width: 180px;
  height: 230px;
  overflow: hidden;
  margin-bottom: 16px;
}

.quiz-oval img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

/* Texte sous l'ovale */
.quiz-slide-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: #9bd6cb;
  margin-bottom: 8px;
  line-height: 1.3;
  font-family: "Adrianna";
}

.quiz-slide-body p {
  font-size: 12px;
  color: #9bd6cb;
  margin-bottom: 12px;
  line-height: 1.4;
  font-family: "Instrument Sans";
}

/* Bouton — reprend ton style existant */
.quiz-slide-body .quiz-button- {
  position: relative;
  display: inline-block;
  color: #fcf0d9;
  filter: drop-shadow(3px 5px 0 rgba(0, 0, 0, 0.1));
  padding: 10px 15px;
  background: transparent !important;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
  svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-family: "Adrianna";
    color: #fcf0d9;
    font-weight: 900;
  }
  &:hover {
    filter: drop-shadow(0px 0px 0 #8b2e10);
  }
}

/* Flèches navigation */
.swiper-button-prev,
.swiper-button-next {
  color: #e07a30;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
}

.icone-h .opacity-0 {
  transition: all 0.3s;
}

.icone-h:hover .opacity-0 {
  opacity: 1 !important;
}
.op0 {
  @media (max-width: 768px) {
    right: 0;
  }
}

form.elementor-login .elementor-field-type-text {
  position: relative;
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #e8623a;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  vertical-align: middle;
}

/* Hover */
input[type="checkbox"]:hover {
  border-color: #2db4b6;
}

/* Coché */
input[type="checkbox"]:checked {
  background-color: #e8623a;
  border-color: #e8623a;
}

/* La coche via ::after */
input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 8px;
  height: 12px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* Focus accessibilité */
input[type="checkbox"]:focus {
  outline: 2px solid #2db4b6;
  outline-offset: 2px;
}
input[type="checkbox"]:checked {
  background-color: #e8623a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8 L6.5 12 L13 4' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
}
#wppb-register-user {
  li {
    label {
      font-family: "Instrument Sans", Sans-serif;
      font-size: 18px;
      font-weight: 700;
      border-color: #e8623a;
      width: 100% !important;
      margin-bottom: 5px;
    }
    span.wppb-password-field-container {
      width: 100%;
    }
    input[type="text"],
    input[type="email"],
    input[type="password"] {
      border-color: #e8623a;
      border-width: 3px;
      border-radius: 4px;
      font-size: 18px;
      min-height: 47px;
      padding: 6px 16px;
      background-color: #ffffff;
      width: 100%;
    }
  }
  #register {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Adrianna";
    color: #fcf0d9;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 3px 4px 2px 0px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    margin: 25px auto 0 auto;
    &:hover {
      transform: translate(1px, 1px);
      background-color: #e46b38;
      box-shadow: none;
    }
  }
}
.elementor-widget-video {
  background: url("https://galopia.fr/wp-content/uploads/2026/03/bg-2.png")
    no-repeat center;
  background-size: cover;
  padding: 10px;
}
.lexiques {
  .name_directory_index {
    text-align: center;
    a {
      text-transform: uppercase;
      font-family: "adrianna";
      font-weight: 700;
      color: #9bd6cb;
    }
  }
  .name_directory_names {
    text-align: center;
    .name_directory_character_header {
      text-transform: uppercase;
      font-family: "adrianna";
      font-weight: 700;
      color: #9bd6cb;
      font-size: 45px;
      text-decoration: none;
    }
    .name_directory_name_box {
      color: #e46b38;
      font-family: "Instrument Sans", sans-serif;
      strong {
        font-size: 22px;
        font-weight: bold;
      }
    }
  }
}
#partquizpaddock {
  background: url("https://galopia.fr/wp-content/uploads/2026/03/gbbleu.png")
    no-repeat center bottom;
  background-size: contain;
  background-position-y: 250px;
  padding-bottom: 40px;
  margin-top: 50px;
}
#partquizpaddock:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 400px;
  background: #9ad6cb;
  bottom: 0;
  top: auto;
}
#quizpaddock {
  padding: 20px 40px;
  .swiper-button-prev::after,
  .swiper-button-next::after {
    display: none; /* cache la flèche par défaut de Swiper */
  }
  .swiper-button-prev,
  .swiper-button-next {
    width: 60px;
    height: 60px;
    max-width: 60px;
  }
  .swiper-button-prev {
    margin-top: -40px;
    margin-left: -30px;
  }
  .swiper-button-next {
    margin-top: -40px;
    margin-right: -30px;
  }
  .swiper-button-prev img,
  .swiper-button-next img {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }
  .swiper {
    padding: 0 !important;
  }
  .swiper-wrapper {
    .swiper-slide {
      display: flex;
      justify-content: center;
      align-items: center;
      h3 {
        text-transform: uppercase;
        font-family: "adrianna";
        font-weight: 900;
        color: #9bd6cb;
        font-size: 24px;
        text-decoration: none;
        text-align: center;
        line-height: 1.3;
        height: calc(24px * 1.3 * 2);
      }
      .quiz-oval {
        width: 100%;
        height: auto;
        img {
          max-height: 450px;
          width: auto;
        }
      }
      .quiz-slide-body {
        p {
          font-family: "Instrument Sans", sans-serif;
          color: #ffffff;
          text-align: center;
          font-size: 15px;
          max-width: 85%;
          margin: 0 auto;
          margin-top: 10px;
        }
      }
    }
  }
}
#passeportgalop {
  background-size: 100% 100%;
  max-width: 600px;
  margin: 0 auto;
  ul {
    list-style: none;
    margin: 5px 0;
    li {
      color: #fcf0d9;
      font-family: "Instrument Sans", sans-serif;
      text-align: center;
      font-size: 16px;
      line-height: 2;
    }
  }
  .bas {
    strong {
      font-weight: 900;
      font-size: 22px;
      font-family: "adrianna";
    }
  }
}
.tabgalop {
  ul.products {
    li {
      a.ast-loop-product__link {
        display: none !important;
      }
      a {
        text-align: center;
        h2 {
          color: #9bd6cb;
          font-family: "adrianna";
          font-weight: 900;
          margin-bottom: 0;
        }
        .abonnement-description {
          font-family: "Instrument Sans", sans-serif;
          color: #9bd6cb;
          font-weight: 600;
        }
      }
    }
  }
}
.abonnements-actifs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-abonnement-actif {
  display: inline-block;
  padding: 10px 20px;
  background-color: #e87722;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
}

.btn-abonnement-actif:hover {
  background-color: #cf6510;
}
/* Layout 25% / 75% */
.galopia-product-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.galopia-product-image {
  width: 25%;
  flex-shrink: 0;
}

.galopia-product-image img {
  width: 100%;
  height: auto;
}

.galopia-product-summary {
  width: 75%;
}
.woocommerce-js div.product .product_title {
  text-align: start;
}
@media (min-width: 922px) {
  .woocommerce #content .ast-woocommerce-container div.product div.summary,
  .woocommerce .ast-woocommerce-container div.product div.summary,
  .woocommerce-page #content .ast-woocommerce-container div.product div.summary,
  .woocommerce-page .ast-woocommerce-container div.product div.summary {
    width: 100%;
  }
  .woocommerce #content .ast-woocommerce-container div.product div.images,
  .woocommerce .ast-woocommerce-container div.product div.images,
  .woocommerce-page #content .ast-woocommerce-container div.product div.images,
  .woocommerce-page .ast-woocommerce-container div.product div.images {
    width: 100%;
  }
}
.tab-pane .tab-header h2 {
  color: #9bd6cb;
  text-align: center;
  font-family: "adrianna";
  font-weight: 900;
  text-transform: uppercase;
  font-size: 22px;
}
.btn-abonnement-actif.actif {
  background: #cf6510;
  font-weight: bold;
}
#paddock-galop-puzzle,
#paddock-galop-progression,
#paddock-galop-pansage,
#paddock-galop-quiz {
  cursor: pointer;
}
.pansage-list {
  margin-top: 20px;
  a {
    color: #cf6510;
    font-family: "adrianna";
    font-weight: 900;
    font-size: 18px;
    &:hover {
      background-color: #fcf0d9;
      color: #cf6510;
    }
  }
}
body.single-revision-zone #content.site-content .ast-container {
  display: block;
  margin: 60px auto;
}
.revision-acces-bloque {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}
.download-btn {
  max-width: fit-content;
}
.progression-block {
  margin-top: 40px;
}
.revision-acces-bloque__inner {
  background: #fff;
  border: 2px solid #cf6510;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 520px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.revision-acces-bloque__icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.revision-acces-bloque__inner h2 {
  color: #2b2b2b;
  margin-bottom: 12px;
}

.revision-acces-bloque__inner p {
  color: #555;
  margin-bottom: 16px;
}
.revisions-grid {
  gap: 25px;
  margin-top: 20px !important;
  article {
    transition: all 0.3s;
    border-radius: 5px;
    background: #fcf0d9;
    border: 3px solid #fcf0d9;
    padding: 15px 25px;
    position: relative;
    width: calc(50% - 13px);
    @media (min-width: 768px) {
      width: calc(33.333333% - 18px);
    }
    img {
      min-width: 100%;
      height: 200px;
      object-fit: contain;
    }
    .revision-content {
      padding-top: 20px;
      h3 {
        text-align: center;
        line-height: 18px;
        @media (max-width: 576px) {
          text-align: left;
          line-height: 18px;
          font-size: 16px;
          font-weight: 900;
        }
        a {
          color: #cf6510;
          text-align: center;
          font-size: 22px;
          font-family: "adrianna", serif;
          font-weight: 900;
        }
      }
    }
    &:hover {
      /* background: #cf6510; */
      background: #fcf0d96b;
      border: 3px solid #cf6510;
      .revision-content {
        h3 {
          a {
            /* color: #fcf0d9; */
          }
        }
      }
    }
  }
}
#blocright {
  width: 1000px;
  max-width: 100%;
}
/* Responsive : empilé sur mobile */
@media (max-width: 1400px) {
  #moncomptebtn {
    width: 50px;
    min-width: 50px;
  }
}
@media (max-width: 768px) {
  .galopia-product-layout {
    flex-direction: column;
  }
  .galopia-product-image,
  .galopia-product-summary {
    width: 100%;
  }
  .galopia-product-image img {
    max-width: 350px;
    margin: 0 auto;
  }
  #menutop {
    nav {
      ul {
        li {
          a {
            background: #cf6510;
            color: #fff;
            padding: 10px 10px;
          }
          ul {
            padding-top: 0;
            padding-bottom: 0px;
            background: #fff;
            box-shadow: none;
            li {
              margin-bottom: 0;
              width: 100%;
              a {
                color: #cf6510;
                background: #fff;
              }
              ul {
                li {
                  padding-left: 0;
                }
              }
            }
          }
        }
      }
    }
  }
}
/* ========== RESPONSIVE ========== */
@media (min-width: 768px) and (max-width: 1000px) {
  #menutop {
    min-width: fit-content;
    width: fit-content;
    a.hfe-menu-item {
      font-size: 14px;
    }
  }
  #moncomptebtn {
    width: 50px;
    min-width: 50px;
  }
}
@media (max-width: 968px) {
  .tabs-navigation {
    justify-content: flex-start;
  }

  .tab-button {
    min-width: 120px;
  }

  .tab-pane {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .tab-icon {
    font-size: 1.5rem;
  }

  .tab-label {
    font-size: 0.9rem;
  }

  .profil-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .info-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .abonnements-grid {
    grid-template-columns: 1fr;
  }

  .trophees-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .quiz-table {
    font-size: 0.9rem;
  }

  .quiz-table th,
  .quiz-table td {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .tab-button {
    min-width: 100px;
    padding: 15px 10px;
  }

  .tab-icon {
    font-size: 1.2rem;
  }

  .tab-label {
    font-size: 0.8rem;
  }

  .trophees-grid {
    grid-template-columns: 1fr;
  }

  .no-data-icon {
    font-size: 3rem;
  }
}

.custom-quiz-leaderboard {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin: 20px 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}

.leaderboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.leaderboard-header h3 {
  margin: 0;
  font-size: 24px;
  color: #2b2b2b;
  font-weight: 700;
}

.leaderboard-stats {
  background: #f8f9fa;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
}

.leaderboard-table-container {
  overflow-x: auto;
  margin-bottom: 20px;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  border-width: 0;
}

.leaderboard-table thead tr {
  background: #e46c38;
  color: white;
  font-family: "adrianna";
}

.leaderboard-table th {
  padding: 16px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.leaderboard-table th.col-pos {
  width: 80px;
  text-align: center;
}

.leaderboard-table th.col-score,
.leaderboard-table th.col-points {
  width: 100px;
  text-align: center;
}

.leaderboard-table th.col-team {
  width: 150px;
}

.leaderboard-row {
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  vertical-align: middle;
}

.leaderboard-row:hover {
  background-color: #f8f9fa;
}

.leaderboard-row.current-user {
  background-color: rgba(45, 180, 182, 0.1);
  font-weight: 600;
}

.leaderboard-row.current-user:hover {
  background-color: rgba(45, 180, 182, 0.2);
}

.leaderboard-row.rank-gold {
  background: linear-gradient(90deg, #fff9e6 0%, #ffffff 100%);
}

.leaderboard-row.rank-silver {
  background: linear-gradient(90deg, #f5f5f5 0%, #ffffff 100%);
}

.leaderboard-row.rank-bronze {
  background: linear-gradient(90deg, #fff4e6 0%, #ffffff 100%);
}

.leaderboard-table td {
  padding: 16px 12px;
  font-size: 15px;
}

.col-pos {
  text-align: center;
}

.position-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background: #f0f0f0;
  border-radius: 50%;
  font-weight: 700;
  color: #2b2b2b;
}

.medal {
  font-size: 28px;
  line-height: 1;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  img {
    width: 30px;
    height: 30px;
    object-fit: cover;
  }
}

.user-avatar {
  border-radius: 50%;
  border: 2px solid #e0e0e0;
}

.user-name {
  font-weight: 500;
  color: #2b2b2b;
}

.you-badge {
  background: #2db4b6;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.col-score,
.col-points {
  text-align: center;
}

.score-value {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(60, 112, 83, 0.1);
  color: #3c7053;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.points-value {
  font-weight: 700;
  color: #e46c38;
  font-size: 16px;
}

.team-name {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(45, 180, 182, 0.1);
  color: #2b2b2b;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.leaderboard-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.load-more-btn {
  background: linear-gradient(135deg, #2db4b6 0%, #3c7053 100%);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(45, 180, 182, 0.3);
}

.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 180, 182, 0.4);
}

.load-more-btn:active {
  transform: translateY(0);
}

.load-more-btn.hidden {
  display: none;
}

.pagination-info {
  font-size: 14px;
  color: #666;
}

.pagination-info .shown-count,
.pagination-info .total-count {
  font-weight: 700;
  color: #2db4b6;
}

.no-data {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 16px;
}

/* Afficher et styliser la checkbox */
.ays-quiz-form .ays-quiz-answers .ays-field {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-content: center !important;
  align-items: center !important;
}
.ays-field.ays_list_view_item input[type="checkbox"] {
  /* Rendre visible */
  appearance: auto;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;

  /* Taille et espacement */
  width: 20px;
  height: 20px;
  margin-left: 10px;
  margin-right: 10px;

  /* Positionnement */
  position: relative;
  cursor: pointer;

  /* Optionnel : personnalisation */
  accent-color: #2271b1; /* Couleur de la checkbox cochée (WordPress blue) */
}
[id^="ays-quiz-container-"] .ays-field input[type="checkbox"] {
  display: block !important;
}
/* État coché - renforcer la visibilité */
.ays-field .ays-field.ays_list_view_item input[type="checkbox"]:checked {
  background-color: #2271b1;
  border-color: #2271b1;
}

/* Mise en évidence de toute la zone quand cochée */
.ays-field.checked_answer_div {
  background-color: #f0f6fc; /* Fond bleu clair */
  border: 2px solid #2271b1; /* Bordure bleue */
  border-radius: 4px;
  padding: 10px;
}

/* Label cliquable avec meilleur affichage */
.ays-field label[for^="ays-answer"] {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .custom-quiz-leaderboard {
    padding: 16px;
    border-radius: 8px;
  }

  .leaderboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .leaderboard-header h3 {
    font-size: 20px;
  }

  .leaderboard-table {
    min-width: 100%;
    font-size: 14px;
  }

  .leaderboard-table th,
  .leaderboard-table td {
    padding: 12px 8px;
  }

  .col-pos {
    width: 60px;
  }

  .user-info {
    gap: 8px;
  }

  .user-avatar {
    width: 28px;
    height: 28px;
  }

  .user-name {
    font-size: 14px;
  }

  .score-value,
  .team-name {
    font-size: 12px;
    padding: 4px 10px;
  }

  .points-value {
    font-size: 14px;
  }

  .medal {
    font-size: 24px;
  }
}

@media screen and (max-width: 480px) {
  /* Masquer la colonne équipe sur très petits écrans */
  .col-team {
    display: none;
  }

  .leaderboard-table {
    min-width: 100%;
  }

  .you-badge {
    display: block;
    margin-top: 4px;
    width: fit-content;
  }
}
