.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-row {
  flex-direction: row;
}

.flex-row-reverse {
  flex-direction: row-reverse;
}

.flex-col-reverse {
  flex-direction: column-reverse;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

.w-full {
  width: 100%;
}

.w-fit {
  width: fit-content;
}

.h-full {
  height: 100%;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

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

.cursor-pointer {
  cursor: pointer;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 15px;
  font-weight: bold;
  color: #333;
  font-size: 14px;
  margin-left: 10px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
  width: 100%;
  padding: 0 20px;
  border: 1px solid #ccc;
  border-radius: 15px;
  background-color: #fff;
  border: 1px solid var(--primary-color);
  font-size: 14px;
  height: 45px;
  color: #333;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
  border-color: #66afe9;
  box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
  outline: none;
}

.grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
}

.error {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

.input-error {
  border-color: red !important;
}

.success-message {
  color: green;
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 40px 0;
  text-align: center;
}


/**
  ACCOUNT
*/


#account-banner {
  background-position: center;
  height: 350px;
}

#account-banner h1 {
  color: white;
}

#account-welcome-message {
  gap: 30px;
  margin: 30px 0;
}

#account-subnav {
  /* border: solid 2px var(--primary-color); */
  border-radius: 40px;
  background-color: #f1f1f1;
  color: #3c6ac0a8;
  overflow: hidden;
  display: flex;
}

.subnav-button {
  padding: 20px 50px;
  background-clip: padding-box;
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.subnav-button:first-child {
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
  background-color: var(--primary-color);
  color: white;
}

.subnav-button:last-child {
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}

.content {
  /* margin-top: 40px; */
}

.subsection {
  display: flex;
  flex-direction: column;
  width: 800px;
  margin-bottom: 25px;
}

.meta {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.key {
  font-weight: bolder;
}

.color-secondary {
  color: var(--secondary-color);
}

.color-primary {
  color: var(--primary-color);
}

.color-success {
  color: #3CC049;
}

.color-error {
  color: #FF4D00;
}

.cta-subscribe {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.subscribe-container {
  margin: 35px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.subscribe-button {
  font-size: 14px;
}

.payment-history-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: 'Arial', sans-serif;
  border-radius: 8px;
  overflow: hidden;
}

.payment-history-table th,
.payment-history-table td {
  padding: 12px 15px;
  text-align: left;
}

.payment-history-table th {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
}

.payment-history-table td {
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.payment-history-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.sub-title {
  font-family: 'DaysOne-Regular';
  font-size: 18px;
  margin: 30px 0;
}


/**
  PROTOCOLES
*/


.protocol {
  padding-top: 50px;
}

.container {
}

.protocol h1 {
  font-size: 24px;
  font-family: 'DaysOne-Regular';
}

.protocol-video {
  min-width: 100%;
}
.protocol-video .cta-orange{
  color: white;
}

.week-title {
  margin: 10px 0 20px 0;
  font-size: 20px;
}

.week-progress {
  margin-bottom: 20px;
  text-align: center;
  width: 30%;
}

.week-navigation {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  justify-content: space-between;
  width: 30%;
  gap: 10px;
}

.btn-nav-week {
  text-align: center;
  font-size: 12px;
  padding: 14px 25px;
}
@media screen and (min-width: 768px) {
  .btn-nav-week {
    padding: 14px 15px;
  }
}

.btn-nav-week.disabled {
  opacity: 0.4;
    display: flex;
    align-items: center;
}

.btn-nav-week.disabled svg {
fill: var(--secondary-color);
}

.btn-nav-week.disabled:hover {
  background: white;
  color: var(--secondary-color);
}

.btn-subscribe {

  font-size: 12px;
}
.btn-prev-week {
}

.btn-next-week {
}

.btn-nav-week, .btn-complete-all, .complete-cta {
  cursor: pointer;
}

.progress-bar-wrapper {
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 25px;
  overflow: hidden;
  height: 25px;
  margin-bottom: 30px;
}

.progress-bar {
  height: 100%;
  background-color: #99d39b;
  text-align: center;
  line-height: 25px;
  color: white;
  transition: width 0.4s ease;
  padding-left: 5%;
}

.progress-bar-text {
  font-size: 16px;
}

.exercise-columns {
  display: flex;
  justify-content: space-between;
  overflow: visible;
}

.protocol .exercise-list h3 {
  font-size: 14px;
    max-width: 100%;
}

.protocol .exercise-header h3 {
  font-size: 18px;
}

.exercise-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.exercise-list-column {
  width: 30%;
  background: white;
  border-radius: 20Px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 8%);
  margin-bottom: 20px;
  height: fit-content;
}

.exercise-item {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #ddd;
  padding: 10px 5px 10px 20px;
}

.btn-next-exo {
  display: flex;
  align-items: center;
  padding: 0 35px;
  height: 45px;
  text-decoration: none;
  cursor: pointer;
}

.desktop-exercise-content-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

.exercise-item:first-child {
  border-top-right-radius: 20px;
}

.exercise-item:last-child {
  border-bottom-right-radius: 20px;
}

.exercise-item.selected {
  background-color: #f0f0f0;
  border-left: 4px solid #ff9162;
}

.exercise-item {
  border-left: 4px solid white;
  transition: background-color 0.2s ease, border-left-color 0.2s ease;
}

.exercise-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-family: 'Inter-Bold';
  font-size: 14px;
}

.exercise-info svg {
    width: 25px;
    height: 25px;
}

.exercise-item:not(.selected):hover {
  border-left: 4px solid #fbfbfb;
  background-color: #fbfbfb;
}

.exercise-detail-column {
  width: 65%;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: -240px;
  align-self: start;
}

.exercise-detail-column.not-subscribed {
  margin-top: -150px;
}

.exercice-title {
  display: flex;
  align-items: center;
  gap: 32px;
}

.exercice-title h3 {
  margin: 0;
}

.exercise-item:last-child {
  border-bottom: none;
}

.exercise-left {
  display: flex;
  gap: 20px;
  width: 90%;
}

.exercise-right {
}

.exercise-item img {
  max-width: 43px;
  max-height: 43px;
  width: 43px;
  height: 43px;
  border-radius: 100%;
}

.protocol h3 {
  color: black;
  font-family: 'Inter-Regular';
  line-height: normal;
}

.complete-cta {
}

.exercise {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e3e3e3;
}

.protocol-loader {
  padding: 200px;
}

.exercice-completed-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.exercice-completed-cta:hover {
  color: var(--secondary-color);
}

.protocol-title {
  width: fit-content;
}

.exercise-completed-check {
    width: 20px;
      height: 20px;
      right: 7px;
      position: relative;
}

.exercise-description {
  margin-bottom: 15px;
}

.exercise-completed-check svg {
  fill: #dfdfdf;
}

.exercise-completed-check.completed svg {
  fill: #99d39b;
}
/* .plyr__controls__item.plyr__menu{
  display: none!important
} */

.exercise-benefits li{
  font-size: 13px;
      font-family: 'Inter-Regular';
      margin: 5px 0;
      list-style-type: disc;
      margin-left: 20px;
      line-height: 19px;
}

.exercise-benefits-all {
  margin-bottom: 20px;
}

.exercise-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hard-mode-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2em;
}

.hard-mode-switch span {
  font-size: 14px;
  font-family: 'Inter-Regular';
}

.toggle {
  position: relative;
  display: inline-block;
}

.toggle__input {
  display: none;
}

.toggle__label {
  display: block;
  width: 40px;
  height: 20px;
  background-color: #99d39b;
  border-radius: 99px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle__input:checked + .toggle__label {
  background-color: var(--secondary-color);
}

.toggle__label::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: left 0.3s ease;
}

.toggle__input:checked + .toggle__label::after {
  left: 22px;
}

.checkbox-wrapper-52 input[type="checkbox"] {
  visibility: hidden;
  display: none;
}

.checkbox-wrapper-52 label {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  line-height: 1;
}

.checkbox-wrapper-52 *,
.checkbox-wrapper-52 ::after,
.checkbox-wrapper-52 ::before {
  box-sizing: border-box;
}

.checkbox-wrapper-52 .item {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  gap: 10px;
  justify-content: center;
}

.checkbox-wrapper-52 .item .cbx {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border: 2px solid #c8ccd4;
  border-radius: 5px;
  cursor: pointer;
}

.checkbox-wrapper-52 .item .cbx svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%) scale(0);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkbox-wrapper-52 .item .cbx svg polyline {
  stroke-width: 2;
  stroke: #99d39b;
}

.checkbox-wrapper-52 .item .cbx:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -15px 0 0 -15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #99d39b;
  transform: scale(0);
}

.checkbox-wrapper-52 .item .cbx:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  box-shadow: 0 -24px 0 #99d39b, 16px -16px 0 #99d39b, 24px 0 0 #99d39b, 16px 16px 0 #99d39b, 0 24px 0 #99d39b, -16px 16px 0 #99d39b, -24px 0 0 #99d39b, -16px -16px 0 #99d39b;
  transform: scale(0);
}

.checkbox-wrapper-52 .item .cbx-lbl {
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: 20px;
}

.checkbox-wrapper-52 .item .cbx-lbl:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 2px;
  background: #9098a9;
}

.checkbox-wrapper-52 .item input {
  display: none;
}

.checkbox-wrapper-52 .item input:checked + .cbx {
  border-color: transparent;
}

.checkbox-wrapper-52 .item input:checked + .cbx svg {
  transform: translate(0%, -25%) scale(2);
  transition: all 0.4s ease;
  transition-delay: 0.1s;
}

.checkbox-wrapper-52 .item input:checked + .cbx:before {
  transform: scale(1);
  opacity: 0;
  transition: all 0.3s ease;
}

.checkbox-wrapper-52 .item input:checked + .cbx:after {
  transform: scale(1);
  opacity: 0;
  transition: all 0.6s ease;
}

.checkbox-wrapper-52 .item input:checked ~ .cbx-lbl {
  color: #9098a9;
}

.checkbox-wrapper-52 .item input:checked ~ .cbx-lbl:after {
  width: 100%;
  transition: all 0.4s ease;
}

.single-sport_protocol header{
  /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); */
}
.single-sport_protocol >  .protocol{
  background: rgb(245 245 245 / 39%);
  padding-bottom: 65px;
    overflow-x: hidden;
}
.single-sport_protocol footer .bar {
    opacity: 0;
    margin-top: 30px;
}
.protocol h1{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.shape-protocol{
  content: "";
background: #ff9162;
position: absolute;
top: 12px;
height: 13px;
left: -10px;
z-index: -1;
transition: 0.5s;
width: 74px;
}

/**

PROGRESSION SECTION

*/

.progression-section {
  margin-top: 20px;
}

.tiers-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.tier-item {
  width: 175px;
  display: flex;
  margin: 10px;
  text-align: center;
  padding: 30px 30px;
  border: 1px solid #ddd;
  border-radius: 12px;
  position: relative;
  color: white;
  min-height: 260px;
}

.tier-item-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.tier-item.unlocked {
  background: linear-gradient(90deg, rgba(255, 77, 0, 0.7) 0%, rgba(60, 106, 192, 0.7) 100%);
}

.tier-item.locked {
  background-color: grey;
  opacity: 0.4;
}

.tier-image {
  max-width: 100%;
  border-radius: 100%;
  width: 90px;
  height: 90px;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
      object-fit: cover;
}
.hide-total{
  display: none!important
}
.tier-name {
  display: block;
  margin: 20px 0;
  font-weight: bold;
  font-size: 18px;
  font-family: 'Inter-Bold';
  letter-spacing: 0.3px;

}
.tier-reward p{
  font-size: 14px;
font-family: 'Inter-Regular';
letter-spacing: 0.3px;
}

.tier-status {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
}

.tier-status.unlocked {
  color: green;
}

.tier-status.locked {
  color: red;
}


/* RESPONSIVE */


@media (max-width: 768px) {
  .exercise-columns {
    display: none;
  }

  .exercise-columns-mobile {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
    margin-top: 20px;
  }

  .exercise-mobile-item {
    background: white;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgb(0 0 0 / 8%);
    padding: 20px;
    width: 100%;
  }

  .exercise-mobile-item .exercise {
    width: 100%;
  }

  .exercise-detail-column {
    margin-top: 0;
    width: 100%;
    padding: 0;
  }

  .exercise-detail-column.not-subscribed {
    margin: 0;
  }

  .week-progress {
    width: 100%;
  }

  .week-navigation {
    width: 100%;
  }

  .btn-complete-all {
    display: none;
  }

  .progress-bar-wrapper {
    margin-bottom: 15px;
  }

  .protocol-loader {
    padding: 150px 0;
  }
}
.sports-gear-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.sports-gear-modal-content {
  position: relative;
  width: 80%;
  max-width: 900px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 77, 0, 0.7) 0%, rgba(60, 106, 192, 0.7) 100%); /* Dégradé avec opacité */
  padding: 37px 20px 20px 20px;
}

.sports-gear-table-container {
  max-height: 60vh;
  overflow-y: auto;
  background-color: white;
  border-radius: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sports-gear-table-container::-webkit-scrollbar {
  display: none;
}

.sports-gear-close-button {
  position: absolute;
  top: 4px;
  right: 10px;
  background: none;
  border: none;
  font-size: 31px;
  cursor: pointer;
  color: white;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.sports-gear-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: white;
}

.sports-gear-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  text-align: center;
  background-color: white;
}

.sports-gear-table th {
  background-color: white;
  color: #3C6AC0;
  padding: 15px;
  font-weight: bold;
  text-align: center;
  font-family: 'DaysOne-Regular';
  border: 1px solid #f77d4c;
}

.sports-gear-table th h1 {
  font-size: 14px;
}


.sports-gear-table {

}

.sports-gear-item-text {
  font-size: 12px!important;
  line-height: normal!important;
  margin: 2px 0 0 0!important;
}

.sports-gear-item-image {

}

.sports-gear-table td {
  border: 1px solid #f77d4c;
  padding: 15px;
  text-align: center;
  vertical-align: middle;
}

.sports-gear-table td > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sports-gear-table img {
  display: block;
  margin: 0 auto;
  width: 60px;
  height: 60px;
}

.sports-gear-comment {
  color: #666;
}

.sports-gear-button {
  border: none;
  padding: 7px 15px;
  border-radius: 5px;
  font-size: 12px;
  background: #f0f0f0;
  font-size: 14px;
  font-family: 'Inter-Bold';
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  color: black;
  margin-bottom: 20px;
}

/* Version mobile */
@media (max-width: 600px) {
  .sports-gear-modal-content {
    width: 90%; /* Plus large sur mobile pour occuper plus d'espace */
    padding: 37px 20px 20px 20px;
  }

  .sports-gear-title {
    font-size: 18px; /* Taille de police réduite pour les titres */
  }

  .sports-gear-table th h1 {
    font-size: 10px; /* Taille de police réduite pour les en-têtes */
  }

  .sports-gear-table td {
    padding: 10px; /* Réduction des marges dans les cellules */
  }

  .sports-gear-table img {
    max-width: 40px; /* Réduction de la taille des images dans les cellules */
  }

  .sports-gear-table-container {
    max-height: 50vh; /* Réduction de la hauteur disponible pour le scroll */
  }
}

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

  .exercise-info {
      gap: 15px;
        justify-content: center;
      flex-wrap: wrap;
  }
  .exercise-columns {

    width: 100%;
}
.exercise-info svg {
    width: 20px;
    height: 20px;
}
.exercice-title {
    flex-direction: column;
}
.week-navigation-right{
  left: 10px;
  position: relative;
}
}

.exercise-list-wrapper {
  position: relative;
  overflow: hidden; /* Empêche l'ombre de dépasser */
  border-radius: 8px; /* Applique les coins arrondis */
}

.exercise-list {
  overflow-y: auto;
  position: relative; /* Position par défaut pour le contenu */
}

/* Ombre en bas */
.exercise-list-wrapper.has-scroll-shadow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

/* Cache la scrollbar */
.exercise-list::-webkit-scrollbar {
  display: none;
}

.exercise-columns-mobile {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0 20px;
}

.exercise-mobile-item {
  background: white;
  border-radius: 20px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 8%);
  padding: 20px;
}

@media (max-width: 768px) {
  .exercise-columns {
    display: none;
  }

  .exercise-columns-mobile {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
    margin-top: 20px;
  }

  .exercise-mobile-item {
    background: white;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgb(0 0 0 / 8%);
    padding: 20px;
    width: 100%;
  }

  .exercise-mobile-item .exercise {
    width: 100%;
  }

  .exercise-detail-column {
    margin-top: 0;
    width: 100%;
    padding: 0;
  }

  .exercise-detail-column.not-subscribed {
    margin: 0;
  }

  .week-progress {
    width: 100%;
  }

  .week-navigation {
    width: 100%;
  }

  .btn-complete-all {
    display: none;
  }

  .progress-bar-wrapper {
    margin-bottom: 15px;
  }

  .protocol-loader {
    padding: 150px 0;
  }
}
