.cowboy-dashboard__wrapper {
  background-image: url("../img/azae_cowboy_dashboard_background.svg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 100vw;
  display: flex;
  justify-content: center;
  padding: 0 60px;
}

.cowboy-dashboard__wrapper h2,
.cowboy-dashboard__wrapper h3 {
  margin: 0 !important;
}

.cowboy-dashboard__container {
  width: 100%;
  max-width: 1440px;
}

.cowboy-dashboard__title {
  font-family: "CowboyFont" !important;
  font-size: clamp(24px, 5vw, 64px) !important;
  font-weight: 500 !important;
  width: fit-content;
  margin: 200px auto 0 auto;
}

.cowboy-dashboard__title span {
  color: var(--cowboy-site-color);
}

.cowboy-dashboard__pole {
  position: absolute;
  height: 110% !important;
  bottom: -5%;
}

.cowboy-dashboard__pole.pole-1 {
  left: 5%;
}

.cowboy-dashboard__pole.pole-2 {
  left: 50%;
}

.cowboy-dashboard__pole.pole-3 {
  left: 80%;
}

.cowboy-dashboard__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 100px 0 200px 0;
  position: relative;
}

.cowboy-dashboard__sign {
  background: url("../img/azae_cowboy_dashboard_sign_wood_pattern.svg");
  background-size: cover;
  background-color: var(--cowboy-background-color-dark);
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

.cowboy-dashboard__sign-paper {
  background-color: var(--cowboy-background-color-light);
  padding: 20px;
  border-radius: 10px;
  height: 100%;
  clip-path: polygon(
    0% 0.5%,
    15% 0%,
    35% 0.8%,
    50% 0.2%,
    65% 0.7%,
    85% 0%,
    100% 0.4%,
    99.5% 20%,
    100% 45%,
    99.2% 70%,
    100% 90%,
    99.6% 100%,
    80% 99.4%,
    55% 100%,
    30% 99.2%,
    10% 100%,
    0% 99.5%,
    0.6% 75%,
    0% 50%,
    0.4% 25%
  );
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.08));
}

.cowboy-dashboard__top {
  width: 100%;
  position: relative;
}

.cowboy-dashboard__top-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.cowboy-dashboard__top-left {
  width: 50%;
}

.cowboy-dashboard__character-top {
  display: none;
  position: absolute;
  top: -165px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.cowboy-dashboard__top-right {
  width: 50%;
  color: #ffff;
  background: none;
  background-color: var(--cowboy-background-color-dark);
}

.cowboy-dashboard__top-right-title {
  font-size: clamp(18px, 3vw, 20px);
}

.cowboy-dashboard__top-right-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.cowboy-dashboard__top-right-items {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.cowboy-dashboard__top-right-items-icons {
  height: 30px;
  width: 30px;
}

.cowboy-dashboard__top-right-items-texts {
  font-size: clamp(16px, 3vw, 20px);
  color: #d5cbc8;
}

.cowboy-dashboard__top-right-items-texts span {
  color: #fff;
}

.cowboy-dashboard__bottom-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.cowboy-dashboard__bottom-left-container {
  width: 60%;
}

.cowboy-dashboard__bottom-left-container .cowboy-dashboard__sign-paper {
  margin-left: 40%;
}

.cowboy-dashboard__bottom-left-cowboy {
  position: absolute;
  bottom: -15%;
  left: 0;
  width: 40% !important;
}

.cowboy-dashboard__bottom-right-container {
  width: 40%;
}

.cowboy-dashboard__subtitle {
  font-family: "CowboyFont" !important;
  font-size: clamp(18px, 5vw, 24px) !important;
  font-weight: 500 !important;
}

.cowboy-dashboard__subtitle span {
  color: var(--cowboy-site-color);
}

.cowboy-dashboard__maj-text {
  font-size: clamp(16px, 3vw, 20px);
  margin-top: 10px;
}

/* BARRE DE PROGRESSION */

.cowboy-dashboard__progress-wrapper {
  max-width: 700px;
  margin: 80px auto 40px auto;
}

.cowboy-dashboard__progress-track {
  position: relative;
  height: 8px;
  background: #cfcfcf;
  border-radius: 5px;
  margin-bottom: 30px;
}

.cowboy-dashboard__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--cowboy-site-color);
  border-radius: 5px;
  transition: width 0.3s ease;
}

.cowboy-dashboard__progress-start,
.cowboy-dashboard__progress-end {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--cowboy-site-color);
  border-radius: 50%;
  transform: translateY(-50%);
}

.cowboy-dashboard__progress-start {
  left: 0;
}

.cowboy-dashboard__progress-end {
  right: 0;
  background: #bdbdbd;
}

.cowboy-dashboard__progress-character {
  position: absolute;
  top: -64px;
  transform: translateX(-50%);
}

.cowboy-dashboard__progress-labels {
  display: flex;
  justify-content: space-between;
}

.cowboy-dashboard__label {
  max-width: 200px;
}

.cowboy-dashboard__label span {
  display: block;
  font-size: 14px;
  color: #555;
}

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

/* STATS */

.cowboy-dashboard__stats-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.cowboy-dashboard__stats-items-separators {
  width: 1px;
  background-color: #726d65;
}

.cowboy-dashboard__stats-items {
  display: flex;
  flex-direction: column;
}

.cowboy-dashboard__stats-items-numbers {
  font-size: clamp(36px, 3vw, 44px);
  font-weight: 600;
}

.cowboy-dashboard__stats-items-texts {
  font-size: clamp(14px, 3vw, 20px);
  font-weight: 600;
  color: #4d4942;
}

/* ACTU */

.cowboy-dashboard__actus-text {
  font-size: clamp(16px, 3vw, 18px);
  font-weight: 500;
  line-height: clamp(26px, 3vw, 28px);
  padding-top: 20px;
}

/* LIST AVIS */

.cowboy-dashboard__reviews-list {
  max-height: 300px;
  overflow-y: auto;
  padding: 0 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.cowboy-dashboard__reviews-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cowboy-dashboard__reviews-items-header {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cowboy-dashboard__reviews-items-stars {
  display: flex;
  gap: 4px;
  font-size: 18px;
  line-height: 1;
}

/* étoile pleine */
.star.full {
  color: #f5b400;
}

/* étoile vide */
.star.empty {
  color: #e0d6c3;
}

/* étoile moitié */
.star.half {
  position: relative;
  color: #e0d6c3;
}

.star.half::before {
  content: "★";
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #f5b400;
}

.cowboy-dashboard__reviews-items-date {
  font-size: 11px;
  color: #6f6f6f;
}

.cowboy-dashboard__reviews-items-title {
  font-size: 18px;
  font-weight: 600;
}

.cowboy-dashboard__reviews-items-meta {
  display: flex;
  gap: 14px;
  font-size: 16px;
  color: #6f6f6f;
}

.cowboy-dashboard__reviews-items-location {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cowboy-dashboard__reviews-items-comment {
  font-size: 16px;
}

.cowboy-dashboard__reviews-items-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cowboy-site-color);
}

.cowboy-dashboard__reviews-items-separator {
  border: none;
  border-top: 1px solid #9b7f60;
}

.cowboy-dashboard__reviews-list::-webkit-scrollbar {
  width: 6px;
}

.cowboy-dashboard__reviews-list::-webkit-scrollbar-thumb {
  background: #86665b;
  border-radius: 10px;
}

.cowboy-dashboard__reviews-list::-webkit-scrollbar-track {
  background: #c8b2a1;
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .cowboy-dashboard__wrapper {
    background: linear-gradient(to bottom, #d7f0ed 80%, #fbddbb 20%);
    padding: 0 10px;
  }

  .cowboy-dashboard__title {
    margin: 100px auto 0 auto;
  }

  .cowboy-dashboard__content {
    margin: 200px 0;
  }

  .cowboy-dashboard__top-content {
    flex-direction: column;
  }

  .cowboy-dashboard__top-left {
    width: 100%;
  }

  .cowboy-dashboard__stats-container {
    flex-direction: column;
    gap: 5px;
  }

  .cowboy-dashboard__sign {
    padding: 10px;
  }

  .cowboy-dashboard__stats-items {
    flex-direction: row;
    align-items: baseline;
    gap: 5px;
    justify-content: space-between;
  }

  .cowboy-dashboard__stats-items-separators {
    height: 1px;
    width: initial;
  }

  .cowboy-dashboard__character-top {
    display: block;
  }

  .cowboy-dashboard__top-right {
    width: 100%;
  }

  .cowboy-dashboard__bottom-wrapper {
    flex-direction: column;
  }

  .cowboy-dashboard__bottom-left-container {
    width: 100%;
  }

  .cowboy-dashboard__bottom-left-cowboy {
    display: none;
  }

  .cowboy-dashboard__bottom-left-container .cowboy-dashboard__sign-paper {
    margin: 0;
  }

  .cowboy-dashboard__bottom-right-container {
    width: 100%;
  }

  .cowboy-dashboard__pole.pole-1 {
    left: 50%;
    transform: translateX(-50%);
    height: 100% !important;
  }

  .cowboy-dashboard__pole.pole-2 {
    display: none;
  }

  .cowboy-dashboard__pole.pole-3 {
    display: none;
  }
}

@media (max-width: 600px) {
  .cowboy-dashboard__wrapper {
    width: 100%;
  }
}

.rating-positive {
  color: #2e7d32;
  font-weight: 600;
}

.rating-negative {
  color: #c62828;
  font-weight: 600;
}

.cowboy-podium__wrapper {
  background-image: url("../img/azae_cowboy_podium_background.svg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 100vw;
  display: flex;
  justify-content: center;
  padding: 0 60px;
}

.cowboy-podium__cloud-separator {
  position: absolute;
  bottom: 0;
  z-index: 2;
}

.cowboy-podium_pole {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  min-width: 1830px !important;
  z-index: 1;
}

.cowboy-podium__container {
  width: 100%;
  max-width: 1440px;
  z-index: 2;
}

/* ---------- TITRE ---------- */
.cowboy-podium__title-container {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.cowboy-podium_sign_desktop {
  min-width: 1200px !important;
}

.cowboy-podium_sign_mobile {
  min-width: 350px !important;
  display: none;
}

.cowboy-podium__title {
  font-size: clamp(24px, 3vw, 48px) !important;
  font-family: "CowboyFont" !important;
  font-weight: 500 !important;
  position: absolute;
  left: 50%;
  top: 175px;
  transform: translateX(-50%);
  width: fit-content;
  white-space: nowrap;
}

.cowboy-podium__title span {
  color: var(--cowboy-site-color);
}

/* ---------- STATS ---------- */
.cowboy-podium__stats-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin-bottom: 130px;
  margin-top: 400px;
}

.cowboy-podium__stats-container {
  width: 50%;
}

.cowboy-podium__stats-title-sourire-container {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: flex-start;
}

.cowboy-podium__stats-title-sourire {
  margin-top: 10px;
}

.cowboy-podium__stats-title {
  font-size: clamp(24px, 3vw, 28px) !important;
}

.cowboy-podium__stats-text {
  font-size: clamp(18px, 3vw, 16px);
  padding-bottom: 40px;
}

.cowboy-podium__stats-card {
  background: var(--cowboy-background-color-light);
  padding: 25px;
  border-radius: 8px;
  width: fit-content;
}

.cowboy-podium__stats-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.cowboy-podium__stats-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cowboy-podium__stats-card-list::marker {
  color: var(--cowboy-site-color);
}

.cowboy-podium__stats-card-list-items {
  font-size: 16px;
}

.cowboy-podium__stats-card-list-items::marker {
  color: var(--cowboy-site-color);
}

.cowboy-podium__stats-card-list-items span {
  font-size: 18px;
  color: var(--cowboy-site-color);
  font-weight: 600;
}

/* ---------- PALIERS ---------- */
.cowboy-podium__bag-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 50%;
  gap: 30px;
}

.cowboy-podium__bag {
  width: 40%;
}

/* Barre de progression */

.cowboy-podium__progress-wrapper {
  position: relative;
  display: flex;
  width: 60%;
}

/* BARRE */
.cowboy-podium__progress-track {
  position: relative;
  width: 6px;
  height: 260px;
  background-color: #d6d6d6;
  border-radius: 3px;
}

/* REMPLISSAGE */
.cowboy-podium__progress-fill {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: var(--cowboy-site-color);
  border-radius: 3px;
  transition: height 0.6s ease;
}

/* POINTS */
.cowboy-podium__progress-step {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #cfcfcf;
  z-index: 3;
}

.cowboy-podium__progress-step.is-active {
  background-color: var(--cowboy-site-color);
}

/* LABELS */
.cowboy-podium__progress-labels {
  position: relative;
  width: 100%;
  height: 260px;
}

.cowboy-podium__label {
  position: absolute;
  left: 30px;
  transform: translateY(50%);
}

.cowboy-podium__label strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.cowboy-podium__label span {
  font-size: 16px;
}

/* ---------- CLASSEMENT ---------- */

.cowboy-podium__classement-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin-bottom: 150px;
}

.cowboy-podium__classement-scene {
  position: relative;
  width: 50%;
  height: fit-content;
}

.cowboy-podium__classement-img {
  width: 100%;
  height: auto;
  display: block;
}

.cowboy-podium__classement-img-pancarte {
  position: absolute;

  /* 🔑 boîte stable */
  height: 23%; /* ajuste selon la hauteur visuelle de la pancarte */
  width: 26%;

  display: flex;
  align-items: center; /* centrage vertical */
  justify-content: center; /* centrage horizontal */

  text-align: center;
  font-weight: 600;
  line-height: 1.1;

  font-size: clamp(14px, 1.4vw, 18px);

  /* gestion des textes longs */
  box-sizing: border-box;

  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Pancarte gauche */
.cowboy-podium__classement-img-pancarte.pancarte--1 {
  top: 24%;
  left: 2%;
}

/* Pancarte centre */
.cowboy-podium__classement-img-pancarte.pancarte--2 {
  top: 18%;
  left: 34%;
}

/* Pancarte droite */
.cowboy-podium__classement-img-pancarte.pancarte--3 {
  top: 35%;
  left: 68%;
}

.cowboy-podium__classement-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 50%;
}

.cowboy-podium__classement-title {
  font-size: clamp(24px, 3vw, 28px) !important;
}

.cowboy-podium__classement-text {
  font-size: clamp(18px, 3vw, 16px);
  padding-bottom: 20px;
}

.cowboy-podium__classement-card {
  background: var(--cowboy-background-color-light);
  padding: 25px;
  border-radius: 8px;
  width: fit-content;
}

.cowboy-podium__classement-card-title {
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 15px;
}

.cowboy-podium__classement-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0px;
}

.cowboy-podium__classement-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cowboy-podium__classement-items-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cowboy-podium__classement-rank-icon {
  width: 28px;
  height: auto;
  flex-shrink: 0;
}

.cowboy-podium__classement-items-points {
  color: var(--cowboy-site-color);
  font-weight: 600;
}

/* Responsive */

@media (max-width: 1024px) {
  .cowboy-podium__wrapper {
    background: #fbddbb;
    padding: 0 20px;
  }

  .cowboy-podium__stats-wrapper {
    flex-direction: column;
    margin-bottom: 100px;
  }

  .cowboy-podium__stats-container {
    width: 100%;
  }

  .cowboy-podium__bag-container {
    width: 100%;
    flex-direction: column;
    gap: 60px;
  }

  .cowboy-podium__bag {
    width: 70%;
  }

  .cowboy-podium__progress-wrapper {
    width: 100%;
  }

  .cowboy-podium__classement-wrapper {
    flex-direction: column-reverse;
  }

  .cowboy-podium__classement-scene {
    width: 100%;
  }

  .cowboy-podium__classement-container {
    width: 100%;
  }
}

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

  .cowboy-podium_sign_mobile {
    display: block;
  }

  .cowboy-podium__title {
    text-align: center;
    white-space: initial;
    width: 300px;
    top: 50px;
  }

  .cowboy-podium__stats-wrapper {
    margin-top: 200px;
  }

  .cowboy-podium__stats-card {
    width: 100%;
  }

  .cowboy-podium__classement-card {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .cowboy-podium__wrapper {
    width: 100%;
  }
}

.cowboy_connexion-wrapper {
  background-image: url("../img/azae_cowboy_connexion_background.svg");
  background-position: center right;
  position: relative;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  padding: 0 60px;
}

.cowboy_connexion-container {
  width: 100%;
  max-width: 1440px;
}

.cowboy_connexion-content {
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 200px;
}

.cowboy_connexion-title {
  font-family: "CowboyFont" !important;
  font-size: clamp(24px, 5vw, 60px) !important;
  font-weight: 500 !important;
}

.cowboy_connexion-title span {
  color: var(--cowboy-site-color);
}

.cowboy_connexion-text {
  font-size: clamp(16px, 3vw, 24px) !important;
}

.cowboy_connexion-input {
  border: 1px solid var(--cowboy-site-color) !important;
  border-radius: 5px !important;
  max-width: 350px;
}

.cowboy_connexion-input:focus {
  box-shadow: none !important;
  outline: 1px solid var(--cowboy-site-color) !important;
}

.cowboy_connexion-button {
  border-radius: 100px !important;
  padding: 10px 32px !important;
  font-size: clamp(16px, 3vw, 18px) !important;
  width: fit-content;
  transition: 0.2s;
}

.cowboy_connexion-button:hover {
  background-color: #bd0024;
}

@media (max-width: 768px) {
  .cowboy_connexion-wrapper {
    background-image: url("../img/azae_cowboy_connexion_background_mobile.svg");
    background-position: center bottom;
    background-size: cover;
  }
  .cowboy_connexion-button {
    width: 100%;
  }
  .cowboy_connexion-input {
    max-width: 100%;
  }
  .cowboy_connexion-wrapper {
    padding: 0 20px;
  }
  .cowboy_connexion-content {
    margin-top: 100px;
  }
}
