@font-face {
  font-family: 'Neue Regrade';
  src: url('/fonts/Neue Regrade Variable.ttf') format('truetype');
  font-weight: 300 800; /* plage de poids variable */
  font-style: normal;
}

/* Pecita */
@font-face {
  font-family: 'Pecita';
  src: url('/fonts/Pecita.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --spacing-lg: 40px;
  --spacing-sm: 20px;
  --spacing-md: 30px;
  --transition-speed: 0.3s;
  --font-size-title: clamp(4rem, 8vw, 12rem);
  --font-size-page: clamp(4rem, 8vw, 8rem);
  --font-size-text: 0.8rem;
  --font-size-custom: clamp(0.875rem, 2vw, 1.5rem);
  --paragraph: 0.875rem;
  --subheading: 1rem;
  --txth3: 1.563rem;
  --txth2: 2rem;
  --bg-color: rgb(20, 20, 20);
  --card-color: rgb(23, 23, 23);
}
body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Neue Regrade', sans-serif;
  height: 100%;
}

h1 {
  color: white;
  font-weight: bold;
  text-align: center;
  margin-top: 125px;
}
p {
  font-size: var(--font-size-text);
  font-weight: 400;
  color: #aeaeae;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

.paragraph {
  font-size: var(--paragraph);
  font-weight: 300;
  color: #edf3dd;
  margin: 0;
  line-height: 1;
  text-align: center;
}

.subheading {
  font-size: var(--paragraph);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1;
  text-align: center;
}

.txth3b {
  font-size: var(--txth3);
  font-weight: 700;
  margin-top: 125px;
  margin-bottom: 10px;
  color: white;
}

.txth3 {
  font-size: var(--txth3);
  font-weight: 700;
  color: #b5ff4d;
  margin: 0;
  line-height: 1;
}

.txth2 {
  font-size: var(--txth2);
  font-weight: 700;
  color: #b5ff4d;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

ol {
  font-size: var(--paragraph);
  font-weight: 300;
  color: #edf3dd;
  margin: 0;
  line-height: 1;
}
/* ------------------------ TOP NAVBAR ------------------------ */
.top-navbar {
  width: 100%;
  background-color: var(--card-color);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  height: 55px;
  padding: 0 20px;
}

.navbar-logo {
  max-width: 138px;
}

.top-navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-right: 65px;
}

.top-navbar ul li a {
  font-weight: 500;
  font-family: 'Neue Regrade';
  font-style: normal;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 5px;
  background-color: #7f4afa;
  transition: background 0.4s ease, color 0.4s ease;
}

.top-navbar ul li a:hover {
  background-color: #b5ff4d;
  color: black;
}

.profile-container {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.profile-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #b5ff4d;
}

.dropdown {
  position: absolute;
  top: 55px;
  right: 0;
  background: #180e0e;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 8px 8px;
  padding: 20px;
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  border: 2px solid #85171e;
}

.dropdown p {
  margin: 10px 0;
  text-align: center;
  color: #ebe2e2;
  font-weight: bold;
}

.dropdown .user-currency {
  color: #ebe2e2;
  font-weight: 100;
}

.dropdown .user-logout {
  margin: 25px 0 0 0;
}

.dropdown a {
  display: block;
  text-align: center;
  padding: 8px;
  text-decoration: none;
  color: white;
  background: #85171e;
  border-radius: 5px;
  margin-top: 10px;
  transition: background 0.3s;
}

.dropdown a:hover {
  background: #f23641;
}

/* ------------------------ SIDE NAVBAR ------------------------ */

.navbar {
  position: fixed;
  width: 290px;
  background-color: var(--card-color);
  color: white;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
}

.navbar.hidden {
  transform: translateX(-100%);
}

.navbar.show {
  transform: translateX(0);
}

.navbar-toggle {
  background-color: #b9ff57;
  color: #141414;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
}

.navbar-toggle:hover {
  color: #0a0a0a;
}

.navbar.hidden {
  transform: translateX(-100%);
}

.navbar ul {
  list-style: none;
  padding-top: 80px;
  margin: 0;
  display: flex;
  flex-direction: column;
  padding-left: 15px;
}

.navbar ul li a::before {
  content: '';
  position: absolute;
  left: -100%;
  width: 100%;
  height: 50px;
  background: linear-gradient(90deg, #b5ff4d 0%, #171717 100%);

  z-index: 0;
}

.navbar ul li a:hover::before {
  left: 0;
}

.navbar ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8c958e;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  height: 50px;
  padding-bottom: 10px;
}

.navbar ul li a p {
  z-index: 3;
  position: relative;
  transition: color 0.3s ease-in-out;
}

.navbar ul li a:hover p {
  color: #171717;
}
.navbar ul li a svg {
  width: 24px;
  height: 24px;
  transition: stroke 0.3s ease-in-out;
  z-index: 3;
}

.navbar ul li a:hover svg {
  stroke: #171717;
}

@media (min-width: 769px) {
  .navbar {
    position: fixed;
    transform: translateX(0);
    top: 0;
    bottom: 0;
    margin-top: 50px;
  }

  .navbar-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 290px;
    transform: translateX(-100%);
    margin-top: 50px;
  }

  .navbar-toggle {
    position: absolute;
    top: 20px;
    right: -30px;
  }

  .navbar.show {
    transform: translateX(0);
  }
}

/* ------------------------ CONTENT ------------------------ */

.content {
  flex: 1;
  /* padding: 20px; */
  background-color: var(--bg-color);
  /* background-color: #0a0a0a; */
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 290px;
  min-height: calc(120vh - 200px);
}

@media (max-width: 768px) {
  .content {
    margin-left: 0px;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 10px;
  }
}

.contentex {
  flex: 1;
  padding: 20px;
  background-color: var(--bg-color);
  /* background-color: #0a0a0a; */
  margin-top: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 290px;
  height: auto;
  overflow: visible;
  min-height: 80vh;
}

@media (max-width: 768px) {
  .contentex {
    margin-left: 0px;
  }
}

@media (max-width: 480px) {
  .contentex {
    padding: 10px;
  }
}

/* ------------------------ CARD HOME ------------------------ */

.card-home {
  position: relative;
  width: 100%;
  max-width: 1525px;
  height: auto;
  min-height: 500px;
  max-height: 80vh;
  border-radius: 10px;
  justify-content: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/img/b5.png') no-repeat center center;
  background-size: cover;
  z-index: 1;
  opacity: 0.2;
  transition: opacity var(--transition-speed);
}

.card-home::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/img/b4green.png') no-repeat center center;
  background-size: cover;
  z-index: 2; /* Plus haut que ::before */
  opacity: 0.5; /* Ajustable selon l'effet désiré */
  pointer-events: none; /* Laisse passer les clics si nécessaire */
}

.card-page {
  position: relative;
  width: 100%;
  max-width: 1525px;
  height: auto;
  min-height: 300px;
  max-height: 80vh;
  border-radius: 10px;
  justify-content: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/img/b6.png') no-repeat center center;
  background-size: cover;
  z-index: 1;
  opacity: 0.2;
  transition: opacity var(--transition-speed);
}

.card-page::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/img/b6green.png') no-repeat center center;
  background-size: cover;
  z-index: 2; /* Plus haut que ::before */
  opacity: 0.5; /* Ajustable selon l'effet désiré */
  pointer-events: none; /* Laisse passer les clics si nécessaire */
}

.card-text-overlay {
  color: white;
  z-index: 2;
  padding: clamp(20px, 8vw, 80px);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  text-align: center;
}

.card-title-page {
  font-size: var(--font-size-page);
  font-weight: 400;
  font-family: 'Neue Regrade';
  font-style: normal;
  color: #fff;
  margin: 0;
  line-height: 0.5;
}

.card-title-home {
  font-size: var(--font-size-title);
  font-weight: 400;
  font-family: 'Neue Regrade';
  font-style: normal;
  color: #fff;
  margin: 0;
  line-height: 0.9;
}

.card-title-home:first-of-type {
  color: #b5ff4d; /* ou n'importe quelle couleur */
}

.card-description {
  color: #b5ff4d;
  font-family: 'Pecita', cursive;
  font-size: var(--font-size-custom);
  font-weight: 400;
  margin: 0;
  line-height: 1;
  text-align: end;
  transform: rotate(-5deg);
}

.card-description-page {
  color: #b5ff4d;
  font-family: 'Pecita', cursive;
  font-size: var(--font-size-custom);
  font-weight: 400;
  margin: 0;
  line-height: 0;
  text-align: center;
}
.card-button {
  text-decoration: none;
  font-size: var(--font-size-text);
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 50px;
  transition: var(--transition-speed), color var(--transition-speed);
  align-self: center;
  color: #aeaeae;
  background-color: #0a0a0a;
  margin-bottom: 50px;
  display: flex;
  border: 0px;
  align-items: center;
}

.card-button svg {
  transform: scale(0.8);
  padding-left: 5px;
  vertical-align: middle;
  color: #b5ff4d;
}

.card-button:hover svg {
  stroke: #000;
}

.card-button:hover {
  transform: scale(1.05);
  background-color: #dfff79;
  color: #000;
  box-shadow: 0 4px 20px rgba(181, 255, 77, 0.4);
}

@media (max-width: 1200px) {
  .card-home {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .card-home {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .card-home {
    min-height: 200px;
  }
}

/* ------------------------ AFFILIATION ------------------------ */

.rowaffi {
  margin-top: 55px;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  overflow: hidden;
  margin-bottom: 75px;
  width: 100%;
}

.paragraph-affi {
  font-size: var(--paragraph);
  font-weight: 300;
  color: #aeaeae;
  line-height: 1.4;
  text-align: center;
}

.subheading-affi {
  margin-top: var(--spacing-sm);
  font-size: var(--paragraph);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  text-align: center;
}

.subheading-exchanges {
  font-size: var(--paragraph);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  text-align: left;
}

.card-button-affi {
  text-decoration: none;
  font-size: var(--font-size-text);
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 50px;
  transition: var(--transition-speed), color var(--transition-speed);
  align-self: center;
  color: #aeaeae;
  background-color: #2b2b2b;
  border: #666666 px solid;
  margin: var(--spacing-lg);
  display: inline-block;
  z-index: 100;
}

.card-button-affi:hover {
  background-color: #b5ff4d;
  color: #141414;
}

.logo {
  margin: var(--spacing-md);
  height: 25px;
}

.card-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  max-width: 1200px;
  width: 100%;
  margin-top: 10px;
}

.card-small {
  text-align: center;
  width: 100%;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
}

.card-small:hover::before,
.card-small:hover > .card-border {
  opacity: 1;
}

.card-small::before,
.card-small > .card-border {
  border-radius: inherit;
  content: '';
  height: 100%;
  width: 100%;
  left: 0px;
  top: 0px;
  opacity: 0;
  transition: opacity 500ms;
  position: absolute;
  pointer-events: none;
}

.card-small::before {
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  z-index: 3;
}

.card-small > .card-border {
  background: radial-gradient(
    400px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.3),
    transparent 40%
  );
  z-index: 1;
}

.card-small > .card-content {
  height: calc(100% - 2px);
  width: calc(100% - 2px);
  background-color: var(--card-color);
  border-radius: inherit;
  margin: 1px;
  position: relative;
  z-index: 2;
}

.list-card-large {
  font-size: var(--paragraph);
  font-weight: 300;
  color: #aeaeae;
  line-height: 1.4;
  list-style: none;
  padding: 0;
  margin-left: var(--spacing-lg);
  margin-top: var(--spacing-sm);
}

.card-large {
  background-color: rgba(255, 255, 255, 0.1);
  width: 100%;
  border-radius: 10px;
  max-width: 1200px;

  position: relative;
  overflow: hidden; /* important pour ne pas dépasser les bords */
}

/* effet hover */
.card-large:hover::before,
.card-large:hover > .card-border-large {
  opacity: 1;
}

.card-large::before,
.card-large > .card-border-large {
  border-radius: inherit;
  content: '';
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 500ms;
  position: absolute;
}

.card-large::before {
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  z-index: 3;
  pointer-events: none;
}

.card-large > .card-border-large {
  background: radial-gradient(
    400px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.3),
    transparent 40%
  );
  z-index: 1;
}

.card-large > .card-content-large {
  background-image: url('/img/mockup bitu.png'), url('/img/chart.png');
  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
  background-size: contain, cover;
  height: calc(100% - 2px);
  width: calc(100% - 2px);
  background-color: var(--card-color);
  border-radius: inherit;
  margin: 1px;
  position: relative;
  z-index: 2;
}

.logo-large {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  margin-top: var(--spacing-md);
  height: 50px;
  width: 230px;
}

.txth3card {
  font-size: var(--txth3);
  font-weight: 700;
  color: #b5ff4d;
  margin: 0;
  line-height: 1;
  margin-left: var(--spacing-lg);
  text-align: left;
}

.card-button-affi-large {
  text-decoration: none;
  font-size: var(--font-size-text);
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 50px;
  transition: var(--transition-speed), color var(--transition-speed);
  align-self: center;
  color: #141414;
  background-color: #b5ff4d;
  margin: var(--spacing-lg);
  display: inline-block;
  z-index: 100;
}

.card-button-affi-large:hover {
  background-color: #dfff79;
  color: #000;
  box-shadow: 0 4px 20px rgba(181, 255, 77, 0.4);
  transform: translateY(-3px);
}

@media (max-width: 1200px) {
  .cardaff1 {
    min-height: 225px;
  }
  .card-container {
    flex-direction: column;
    height: auto;
  }

  .cardaff2 img {
    width: 100%;
    height: 225px;
  }
}

@media (max-width: 768px) {
  .cardaff1 {
    min-height: 200px;
  }
  .cardaff2 img {
    height: 200px;
  }
}

/* ------------------------ FAQ ------------------------ */

.rowfaq {
  margin-top: 55px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  max-width: 1200px;
  overflow: hidden;
  margin-bottom: 125px;
  width: 100%;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  border: none;
  padding: 10px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #ebe2e2;
  background: var(--bg-color);
  border-radius: 10px;
  height: 60px;
  align-items: center;
  font-size: var(--font-size-pcard);
  font-weight: bold;
  font-family: 'Inter', sans-serif;
  border-radius: 10px 10px 0 0;
}

.faq-question-text {
  width: 90%;
}

.faq-question:hover {
  background: var(--card-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 10px;
  background: var(--bg-color);
  border-top: 1px solid #4b4b4b;
  color: #ebe2e2;
  transition: max-height 0.3s ease, padding 0.3s ease;
  border-radius: 0 0 10px 10px;
}

.faq-answer p {
  text-align: left;
}

.faq-answer.show {
  max-height: 200px; /* Ajustez cette valeur en fonction de la taille du contenu */
  padding: 10px;
}

.faq-arrow {
  font-size: 21px;
  transition: transform 0.3s;
  color: #b5ff4d;
  font-weight: bolder;
}

.faq-answer.show {
  display: block;
}

.faq-arrow.rotate {
  transform: rotate(45deg);
}

/* ------------------------ EXCHANGES ------------------------ */

.card-body {
  display: flex;
  align-items: center;
  padding: 1rem;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #b5ff4d;
}

.info {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
}

.name {
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.number {
  color: #888;
  font-size: 0.9rem;
  margin-top: 5px;
}

.logo-affi {
  margin-top: var(--spacing-sm);
  height: 25px;
  margin-left: var(--spacing-sm);
  padding-left: 1rem;
}

.coupon {
  margin-top: var(--spacing-sm);
  height: 150px;
  margin-left: var(--spacing-sm);
  padding-left: 1rem;
}

.card-small-affi {
  text-align: left;
  width: 100%;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
}

.card-small-affi:hover::before,
.card-small-affi:hover > .card-border {
  opacity: 1;
}

.card-small-affi::before,
.card-small-affi > .card-border {
  border-radius: inherit;
  content: '';
  height: 100%;
  width: 100%;
  left: 0px;
  top: 0px;
  opacity: 0;
  transition: opacity 500ms;
  position: absolute;
  pointer-events: none;
}

.card-small-affi::before {
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  z-index: 3;
}

.card-small-affi > .card-border {
  background: radial-gradient(
    400px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.3),
    transparent 40%
  );
  z-index: 1;
}

.card-small-affi > .card-content {
  height: calc(100% - 2px);
  width: calc(100% - 2px);
  background-color: var(--card-color);
  border-radius: inherit;
  margin: 1px;
  position: relative;
  z-index: 2;
}

.txth3-affi {
  font-size: var(--txth3);
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1;
  text-align: left;
}

.input-exchanges {
  padding: 12px 16px;
  border-radius: 50px;
  background-color: #0a0a0a;
  color: #aeaeae;
  font-size: var(--font-size-text);
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.input-exchanges::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-exchanges:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.08);
}

.select-exchanges {
  width: 50%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 16px;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' width='12' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20,50 70,100 120,50' fill='none' stroke='%23ffffff' stroke-width='15' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  transition: border-color 0.3s, background-color 0.3s;
}

.select-exchanges:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.08);
}

.select-exchanges option {
  background-color: #1c1c1c; /* Couleur sombre */
  color: #ffffff;
}

.input-exchanges {
  padding: 12px 16px;
  border-radius: 50px;
  background-color: #0a0a0a;
  color: #aeaeae;
  font-size: var(--font-size-text);
  font-weight: bold;
  cursor: pointer;

  border: 0px solid rgba(255, 255, 255, 0.2);

  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
  /* flex: 1; */
}

.input-exchanges::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-exchanges:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.08);
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
  /* flex: 1;
  min-width: 150px;  */
}

.custom-select-wrapper::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.custom-select-trigger {
  padding: 12px 16px;
  border-radius: 50px;
  background-color: #0a0a0a;
  color: #aeaeae;
  font-size: var(--font-size-text);
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-radius: 8px;
  background-color: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-height: 200px;
  overflow-y: auto;
  display: none;
  z-index: 10;
}

.custom-option {
  padding: 10px 14px;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

.custom-option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.custom-option.selected {
  background-color: rgba(255, 255, 255, 0.15);
}

.btn-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #aeaeae;
  cursor: pointer;
  z-index: 100;
  padding: 0;
  line-height: 1;
  z-index: 3;
}

.fields-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  margin-top: 0px;
  margin-top: var(--spacing-md);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.form-row {
  display: flex;
  max-width: 1200px;
  width: 100%;
  justify-content: space-between;
}

@media (max-width: 1200px) {
  .form-row {
    flex-direction: column;
  }
}

.card-button-form {
  text-decoration: none;
  font-size: var(--font-size-text);
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 50px;
  transition: var(--transition-speed), color var(--transition-speed);
  align-self: center;
  color: #0a0a0a;
  background-color: #b5ff4d;
  margin-bottom: 50px;
  display: flex;
  border: 0px;
  align-items: center;
}

.card-button-form:hover {
  transform: scale(1.05);
  background-color: #dfff79;
  color: #000;
  box-shadow: 0 4px 20px rgba(181, 255, 77, 0.4);
}

.card-button-buy {
  text-decoration: none;
  font-size: var(--font-size-text);
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 50px;
  transition: var(--transition-speed), color var(--transition-speed);
  align-self: center;
  color: #0a0a0a;
  background-color: #b5ff4d;
  margin-bottom: 30px;
  display: flex;
  border: 0px;
  align-items: center;
  margin-top: 10px;
}

.card-button-buy:hover {
  transform: scale(1.05);
  background-color: #dfff79;
  color: #000;
  box-shadow: 0 4px 20px rgba(181, 255, 77, 0.4);
}

.custom-select-wrapper,
.input-exchanges {
  flex: 1 1 250px;
  max-width: 300px;
}

.field-item {
  flex: 1 1 250px;
  max-width: 300px;
  width: 100%;
  box-sizing: border-box;
}

.field-items {
  margin-top: 25px;
  max-width: 300px;
  width: 100%;
  box-sizing: border-box;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
}

.input-usdt {
  font-family: 'Courier New', Courier, monospace;
  padding: 12px 40px 12px 16px; /* top right bottom left */
  border-radius: 50px;
  background-color: #0a0a0a;
  color: #aeaeae;
  font-size: var(--font-size-text);
  font-weight: bold;
  cursor: pointer;
  border: 0px solid rgba(255, 255, 255, 0.2);
  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
  width: 300px;
  margin-top: var(--spacing-md);
}

.input-usdt::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-usdt:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.08);
}

.eye-toggle {
  position: absolute;
  right: 10px;
  top: 21%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  height: 100%;
}

table {
  max-width: 1200px;
  width: 100%;
  border-collapse: collapse; /* Ensures borders are collapsed */
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  color: #ebe2e2; /* Default text color for table content */
  background-color: var(--card-color);
  border-radius: 10px;
  overflow: hidden; /* Ensures rounded corners are applied to content */
}

th,
td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border between rows */
}

th {
  background-color: rgba(
    255,
    255,
    255,
    0.05
  ); /* Slightly lighter background for headers */
  color: #b5ff4d; /* Header text color */
  font-weight: 700;
  font-size: var(--subheading);
  text-transform: uppercase;
}

td {
  font-size: var(--paragraph);
  font-weight: 300;
  line-height: 1.4;
}

/* Optional: Stripe effect for table rows */
tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02); /* Very subtle stripe */
}

/* Optional: Hover effect for table rows */
tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.07);
  /* transition: background-color 0.3s ease; */
}

/* Style for the last row's cells to remove the bottom border */
table tbody tr:last-child td {
  border-bottom: none;
}

.pagination {
  margin: 40px auto;
  display: flex;
  justify-content: center;
  font-family: 'Neue Regrade', sans-serif;
  user-select: none;
}

.pagination ul {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.pagination li {
  display: inline-block;
}

.pagination button {
  cursor: pointer;
  background-color: var(--card-color);
  border: 2px solid transparent;
  padding: 12px 12px;
  border-radius: 50px;
  font-size: var(--font-size-text);
  color: #b5ff4d;
  transition: background-color var(--transition-speed) ease,
    color var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    transform var(--transition-speed) ease;
  min-width: 44px;
  text-align: center;
  line-height: 1;
}

.pagination button:hover:not(.active) {
  background-color: #b5ff4d;
  color: var(--card-color);
  border-color: #b5ff4d;
  transform: scale(1.1);
}

.pagination button:focus-visible {
  outline: 3px solid #b5ff4d;
  outline-offset: 3px;
}

.pagination button.active {
  background-color: #b5ff4d;
  color: var(--card-color);
  font-weight: 700;
  border-color: #b5ff4d;
  cursor: default;
  transform: scale(1.1);
}

.pagination button.prev,
.pagination button.next {
  font-weight: 700;
  font-size: 1.2rem;
  padding: 10px 14px;
  color: #aeaeae;
  background-color: transparent;
  border: 2px solid transparent;
  transition: color var(--transition-speed);
}

.pagination button.prev:hover,
.pagination button.next:hover {
  color: #b5ff4d;
}

/* Overlay semi-transparent */
.popup-overlay {
  display: none; /* invisible par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.popup-overlay.show {
  display: flex; /* affichage seulement lorsqu'on ajoute la classe 'show' */
}

/* Popup centrale */
.popup-content {
  background-color: var(--bg-color); /* couleur du site */
  color: var(--text-color); /* couleur du texte principale */
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-family: 'Poppins', sans-serif; /* même police que le site */
  animation: slideUp 0.3s ease;
}

/* Message */
#popupMessage {
  font-size: 1.5em;
  margin-bottom: 20px;
  font-weight: 600;
  margin-top: 30px;
}

/* Boutons alignés */
.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Animation fadeIn */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Animation slideUp */
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Optionnel : hover pour les boutons */
.popup-content .card-button-form:hover {
  transform: scale(1.05);
  transition: 0.2s;
}

.p-popup {
  font-size: var(--font-size-text);
  font-weight: 400;
  color: #aeaeae;
  margin: 0;
  line-height: 1.4;
  text-align: center;
  margin: 25px;
}

.custom-options {
  display: none;
  position: absolute;
  /* … autres styles */
}

.custom-select-wrapper.active .custom-options {
  display: block;
}

/* ------------------------ PROGRESS BAR ROUND ------------------------ */

.countdown-bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px 10px 0 0; /* 👈 mêmes coins que la card */
  overflow: hidden;
  position: relative;
  top: 0;
  left: 0;
  z-index: 3;
}

#countdown-progress {
  height: 100%;
  width: 100%;
  background: #b5ff4d;
  box-shadow: 0 0 12px #b5ff4d;
  transition: width 0.3s linear;
  border-radius: 00px 0px 0 0; /* 👈 suit la forme de la barre */
}
