


/*---------------=CSS=---------------*/


@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Open+Sans:wght@300;400;600;700&display=swap");
body {
  font-family: roboto, "Open Sans", sans-serif;
  color: #0c0c0c;
  background: linear-gradient(90deg,rgba(0, 0, 0, 0.15) 0%, rgba(216, 216, 216, 0.11) 50%, rgba(0, 0, 0, 0.15) 100%);
  overflow-x: hidden;
  margin: 0;
  min-width: 320px;
  max-width: 100vw;
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0.1) 0px, rgba(162, 162, 162, 0.1) 1px, transparent 1px, transparent 5px );

}
html {
  scroll-behavior: smooth;
}
a,
a:hover,
a:focus {
  text-decoration: none;
 
}

.hr-bar {
  border: 1px solid #f0b90b3b;
  margin: 15px 0px;
}

/* Checkbox "Ne pas divulguer" */
.undisclosed-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #b1b1b1;
}

.undisclosed-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #f0b90b;
    cursor: pointer;
}

input[type="number"]:disabled {
    background-color: #2a2a2a;
    color: #666;
    cursor: not-allowed;
    border-color: #444;
}

/* Style pour tous les champs du formulaire d'airdrop lorsqu'ils ont le focus */
.airdrop-publish-container input[type="text"]:focus,
.airdrop-publish-container input[type="number"]:focus,
.airdrop-publish-container input[type="url"]:focus,
.airdrop-publish-container input[type="file"]:focus,
.airdrop-publish-container textarea:focus {
  border-color: #f0b90b; /* Couleur jaune/or comme ton thème */
  outline: none; /* Supprime l'outline par défaut */
  box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.25); /* Ajoute une ombre subtile de la même couleur */
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="file"]:focus{
    border-color: #f0b90b; /* Couleur jaune/or comme ton thème */
    outline: none; /* Supprime l'outline par défaut */
    box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.25); /* Ajoute une ombre subtile de la même couleur */
}

/* Pour l'éditeur Quill si tu veux également modifier son état focus */
.airdrop-publish-container .ql-container.ql-snow:focus-within {
  border-color: #f0b90b;
  box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.25);
}


:root {
  /* Couleurs avec bon contraste sur fond blanc */
  --text-primary: #212121;     /* Ratio 16:1 */
  --text-secondary: #595959;   /* Ratio 7.5:1 */
  --text-muted: #666666;       /* Ratio 5.7:1 */
  --text-light: #757575;       /* Ratio 4.5:1 (minimum) */
  
  /* Pour fonds colorés */
  --bg-primary: #707070;
  --text-on-primary: #ffffff;  /* Blanc sur #707070 = ratio 4.9:1 */
}

/* Appliquez ces variables */
.brand-primary {
  color: var(--text-secondary);
}

.empty-ranking p,
.premium-loading p {
  color: var(--text-muted);
}

.btn-login {
  color: var(--text-secondary);
}

/* Si fond coloré */
.colored-section {
  background: var(--bg-primary);
  color: var(--text-on-primary);
}

/*--------HEADER---------*/

/* ========================================
   HEADER PROFESSIONNEL - STYLES
   ======================================== */

:root {
  --header-bg: #ffffff;
  --header-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --primary-color: #f0b90b;
  --primary-hover: #d4a009;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #6c757d;
  --border-color: #e5e5e5;
  --dropdown-bg: #ffffff;
  --mobile-menu-bg: #1a1a1a;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset et base */
.header_section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 950;
  background: var(--header-bg);
  box-shadow: var(--header-shadow);
  transition: all var(--transition-normal);
}

.header_section.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-actions {
  display: flex;
  gap:20px;
  margin-left: 20px;
  flex-direction: row-reverse;
}

.flex-title {
  display: flex;
}

/* ========== TICKER CRYPTO ========== */
/* ========== TICKER CRYPTO AMÉLIORÉ ========== */
/* Fixer la hauteur du contenu pour éviter les sauts lors de l'update */
.crypto-data {
    min-height: 30px; /* Hauteur du contenu seulement */
    display: flex;
    align-items: center;
}
.crypto-ticker {
    overflow: hidden;
}
.crypto-ticker-bar {
  background: #f8f9fa;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  height: 32px;
  position: relative;
    opacity: 0;
  transition: opacity 0.3s ease-in;
}
.crypto-ticker-bar.loaded {
  opacity: 1;
}
.crypto-loading {
  color: #999;
  font-size: 12px;
  padding: 5px 15px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
/* Skeleton loader pour le ticker */
.crypto-ticker-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  height: 30px;
  border-radius: 4px;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Masquer le ticker pendant le chargement */
.crypto-ticker-bar.loading .crypto-data {
  display: none;
}
.ticker-container {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

.ticker-label {
  position: absolute;
  left: 0;
  background: linear-gradient(to right, #f8f9fa 90%, transparent);
  padding: 0 20px 0 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  z-index: 2;
  /* Largeur fixe pour éviter le chevauchement */
  min-width: 120px;
}

.ticker-label i {
  color: var(--primary-color);
  font-size: 12px; /* Réduit de 14px */
}

.ticker-label span {
  font-size: 11px; /* Réduit de 12px */
  font-weight: 600;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crypto-ticker {
  width: 100%;
  height: 100%;
  position: relative;
  padding-left: 120px; /* Correspond à min-width du label */
  overflow: hidden;
}

.crypto-data {
  display: flex;
  align-items: center;
  height: 100%;
  /* Animation plus rapide et fluide */
  animation: scroll-crypto 30s linear infinite;
  white-space: nowrap;
  /* Important: pour un défilement continu */
  width: fit-content;
}

.crypto-item {
  display: inline-flex;
  align-items: center;
  margin-right: 30px; /* Réduit de 40px */
  font-size: 12px; /* Réduit de 13px */
  color: var(--text-medium);
  padding: 0 5px; /* Ajout d'un padding pour l'espacement */
}

.crypto-logo {
  width: 14px; /* Réduit de 16px */
  height: 14px; /* Réduit de 16px */
  margin-right: 5px; /* Réduit de 6px */
    object-fit: contain;
}
.crypto-data .crypto-logo {
  width: 14px;
  height: 14px;
  margin-right: 5px;
  object-fit: contain;
}



/* GPU acceleration pour l'animation */
.crypto-data {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Animation améliorée pour un défilement continu */
@keyframes scroll-crypto {
  0% { 
    transform: translateX(0); 
  }
  100% { 
    transform: translateX(-50%); /* -50% car le contenu est dupliqué */
  }
}

/* Style pour masquer le ticker quand on scroll */
.header_section.hide-ticker .crypto-ticker-bar {
  height: 0;
  transition: height var(--transition-normal);
}

/* === RESPONSIVE === */

/* Tablettes */
@media (max-width: 768px) {
  .crypto-ticker-bar {
    height: 28px; /* Réduit la hauteur */
  }
  
  .ticker-label {
    min-width: 80px;
    padding: 0 10px 0 10px;
    gap: 5px;
  }
  
  .ticker-label i {
    font-size: 11px;
  }
  
  .ticker-label span {
    font-size: 10px;
    /* Masquer "Market" sur petits écrans */
    display: none;
  }
  
  .crypto-ticker {
    padding-left: 80px;
  }
  
  .crypto-data {
    /* Animation plus rapide sur mobile */
    animation-duration: 20s;
  }
  
  .crypto-item {
    font-size: 11px;
    margin-right: 20px;
  }
  
  .crypto-logo img {
    width: 12px;
    height: 12px;
    margin-right: 4px;
  }
}

/* Mobiles */
@media (max-width: 480px) {
  .crypto-ticker-bar {
    height: 26px;
  }
  
  .ticker-label {
    min-width: 40px;
    padding: 0 8px;
  }
  
  /* Afficher seulement l'icône sur très petits écrans */
  .ticker-label span {
    display: none;
  }
  
  .crypto-ticker {
    padding-left: 40px;
  }
  
  .crypto-data {
    animation-duration: 15s;
  }
  
  .crypto-item {
    font-size: 10px;
    margin-right: 15px;
  }
  
  .crypto-logo img {
    width: 10px;
    height: 10px;
  }
  
  /* Format compact pour les pourcentages sur mobile */
  .crypto-item > span:last-child {
    font-size: 9px;
  }
}

/* Optimisation pour les performances */
.crypto-ticker {
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Effet de pause au survol (optionnel) */
.crypto-ticker-bar:hover .crypto-data {
  animation-play-state: paused;
}

/* Style amélioré pour les variations de prix */
.crypto-item .price-up {
  color: #10b981;
  font-weight: 600;
}

.crypto-item .price-down {
  color: #ef4444;
  font-weight: 600;
}

/* ========== NAVIGATION PRINCIPALE ========== */
.main-navigation {
  background: var(--header-bg);
  position: relative;
}

.nav-container {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 5%;
  margin-right: 5%;
}

/* Logo et Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.navbar-brand:hover {
  opacity: 0.8;
}

.navbar-brand img {
  height: 45px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.brand-primary {
  color: var(--primary-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-secondary {
  color: var(--text-medium);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 10px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: -4px;
}

/* Navigation Desktop */
.nav-desktop {
  display: flex;
  align-items: center;
}

/* Menu principal */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  border-right: 1px solid var(--border-color);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition-fast);
  position: relative;
  color: #646464;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
}

.nav-link:hover {
  background: #f8f9fa;
  color: var(--primary-color);
}

.nav-link i {
  font-size: 16px;
}

.dropdown-icon {
  font-size: 10px;
  margin-left: 4px;
  transition: transform var(--transition-fast);
}

.nav-item.dropdown-active .dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dropdown-bg);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 280px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  margin-top: 10px;
}

.nav-item:hover .dropdown-menu,
.nav-item.dropdown-active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: #f8f9fa;
}

.dropdown-item i {
  font-size: 16px;
  color: var(--primary-color);
  margin-top: 2px;
}

.dropdown-item div {
  display: flex;
  flex-direction: column;
}

.dropdown-item span {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-dark);
}

.dropdown-item small {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

/* Stats Widget */
.stats-widget {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 15px;
  border-right: 1px solid var(--border-color);
  justify-content: space-around;
  background: #555;
  background-image: repeating-linear-gradient( 45deg, rgba(106, 106, 106, 0.1) 0px, rgba(157, 157, 157, 0) 1px, #53535336 1px, #00000012 5px );
}

.stats-widget .stat-label {
  font-size: 12px;
  color: #fff;
  font-weight: 200;
  margin-right: 15px;
}

.stat-item {
  display: flex;
  align-items: center;
  margin:5px;
}
.stat-item .stat-label {
  margin-bottom: 0px !important;
}

.stat-item i {
  font-size: 14px;
  color: #b0b0b0;
}

.stat-item span {
  font-weight: 500;
  font-size: 12px;
  color: #fff;
}

/* Language Selector */
.language-selector {
  position: relative;
  margin:auto;
}

.lang-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  background: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-button:hover {
  border-color: rgb(194, 194, 194);
  color: white;
}

.current-lang {
  font-size: 18px;
}

.lang-button i {
  font-size: 14px;
  color: var(--text-medium);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: -45px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 8px;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  margin-top: 17px;
}

.language-selector:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  transition: background var(--transition-fast);
}

.lang-dropdown button:hover {
  background: #f8f9fa;
}

/* User Profile */
.user-profile {
  position: relative;
}

.profile-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  transition: background var(--transition-fast);
}

.profile-button:hover {
  background: #f8f9fa;
}

.profile-button img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-button i {
  font-size: 10px;
  color: var(--text-medium);
  margin-right: 6px;
}

.profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  margin-top: 10px;
  overflow: hidden;
}

.user-profile:hover .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f8f9fa;
  border-bottom: 1px solid var(--border-color);
}

.profile-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-weight: 600;
  color: #464646;
  font-size: 20px;
}

.profile-email {
  font-size: 14px;
  color: #f0b90b;
}

.profile-menu {
  padding: 8px;
}

.profile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition-fast);
  margin-bottom: 5px;
}

.profile-menu a:hover {
  background-color: #f0bb0b1d;
}

.profile-menu a i {
  font-size: 14px;
  color: var(--text-medium);
}

.profile-menu-mobile {
  padding: 8px;
  display: flex;
  justify-content: space-around;
}

.profile-menu-mobile a {
  display: flex;
  align-items: center;
  gap:12px;
  padding:10px 12px;
  color: #fff;
  text-decoration:none;
  border-radius:8px;
  transition: all var(--transition-fast);
  background-color: #ffffff3b;
  margin:10px;
}

.profile-menu-mobile a:hover {
  background: #f8f9fa;
}

.profile-menu-mobile a i {
  font-size: 14px;
  color: #fff;
}

/* Login Button */
.login-button {
  position: relative;
}

.btn-login {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-login:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(240, 185, 11, 0.3);
}

.login-dropdown {
  position: absolute;
  top: 100%;
  right: -17px;
  background: white;
  border-radius: 0px 0px 8px 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  margin-top: 8px;
  transform: translateY(-10px);

}

.login-button:hover .login-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.login-option,
.signup-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.login-option:hover,
.signup-option:hover {
  background: #f0b90b;
  color:white;
}

.login-head-title{
padding: 30px;
  margin-bottom: 0px;
  border-radius: 18px 18px 0px 0px;
  background: #6c6c6c;
    background-image: none;
  background-image: repeating-linear-gradient( 45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.05) 1px, #b4b4b414 1px, #fff0 5px );
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
}

.login-head-title i {
  color: white;
  font-size: 2rem;
}

.login-content-form{
  padding: 30px 50px 50px 50px;
}

.title-con {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  color: gray;
}
.title-con h2{
  font-size: 20px;
  margin: 0;
  font-weight: 500;
}
.title-con i{
  font-size: 18px;
}

/* Cache le contenu par défaut */
.toggle-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.8s ease, opacity 0.8s ease;
}

/* Affiche le contenu quand ouvert */
.toggle-content.open {
  max-height: 5000px; /* Ajuste selon ton contenu */
  opacity: 1;
  padding: 0px 50px 50px 50px;
}
.gauge-base-container .toggle-content.open {
  padding: 0px;
}
.tokenomics-details .toggle-content.open {
  padding: 0px;
}


/* Rotation de l'icône chevron */
.toggle-btn.active i.fa-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: var(--mobile-menu-bg);
  transition: right var(--transition-normal);
  z-index: 1001;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.nav-mobile.active {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header img {
  height: 50px;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: #8a8a8a;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background var(--transition-fast);
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile User Section */
.mobile-user-section {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg,rgba(255, 255, 255, 0.25) 0%, rgba(109, 109, 109, 0.45) 50%, rgba(37, 37, 37, 0.15) 100%);
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0.1) 0px, rgba(162, 162, 162, 0.1) 1px, transparent 1px, transparent 5px );
}

.mobile-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-user-profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff26;
}

.mobile-user-info {
  display: flex;
  flex-direction: column;
}

.mobile-user-name {
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.mobile-logout {
  color: var(--primary-color);
  font-size: 14px;
  text-decoration: none;
}

.mobile-login-section {
  display: flex;
  gap: 10px;
}
.mobile-login-section i{
  margin-right: 5px;
}

.mobile-btn-login,
.mobile-btn-signup {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.mobile-btn-login {
  background: var(--primary-color);
  color: white;
}

.mobile-btn-signup {
  background: rgb(93, 93, 93);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-dash {
  display: flex;
  justify-content: space-around;
  background: rgb(117, 117, 117);
}

/* Mobile Stats */
.mobile-stats {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  display: none;
}

.mobile-stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-stat i {
  font-size: 20px;
  color: var(--primary-color);
}

.mobile-stat div {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin: auto 5px;
}

/* Mobile Nav */

.mobile-nav {
  background-color: #454545;
}

.mobile-nav-item {
  position: relative;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 30px;
  background: none;
  border: none;
  color: white;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-link i:first-child {
  width: 24px;
  font-size: 18px;
  color: #a8a8a8;
}

.mobile-nav-link span {
  flex: 1;
  text-align: left;
  margin-left: 12px;
  padding:10px;
}

.mobile-nav-link i:last-child {
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.mobile-nav-item.active .mobile-nav-link i:last-child {
  transform: rotate(90deg);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: rgba(0, 0, 0, 0.3);
}

.mobile-nav-item.active .mobile-submenu {
  max-height: 200px;
}

.mobile-submenu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 50px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.mobile-submenu a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

/* Mobile Language */
.mobile-language {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.mobile-lang-options {
  display: flex;
  gap: 10px;
}

.mobile-lang-options button {
  flex: 1;
  padding: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 12px;
}

.mobile-lang-options button.active {
  background:#8e8e8e;
  border-color:#fff;
}
.flex-title-mobile {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}
.flex-title-mobile span{
  color: gray;
  font-size: 20px;
  margin-left: 15px;
}
.flex-title-mobile i{
  color: gray;
  font-size: 25px;
}
/* Mobile Footer */
.mobile-menu-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.mobile-menu-footer img {
  height: 40px;
  opacity: 0.5;
}

/* ========== ANIMATIONS ET EFFETS ========== */
/* Scroll Effects */
.header_section.hide-ticker .crypto-ticker-bar {
  height: 0;
  transition: height var(--transition-normal);
}
.header_section.hide-ticker .stats-widget {
  height: 0;
  transition: height var(--transition-normal);
}

.header_section.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {

  
  .stats-widget {
    gap: 15px;
    padding: 0 15px;
  }
}

@media (max-width: 992px) {
  /* Masquer desktop nav */
  .nav-desktop {
    display: none;
  }
  
  /* Afficher mobile toggle */
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Ajuster le ticker */
  .ticker-label span {
    display: none;
  }
  
  .ticker-label {
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .nav-container {
    height: 60px;
  }
  
  .navbar-brand img {
    height: 32px;
  }
  
  
  .nav-mobile {
    width: 100%;
    max-width: none;
  }

  .flex-title {
  padding-left: 0px;
  text-align: left;
  margin:0;
}
.brand-primary {
  font-size: 20px;
}

.brand-secondary {
  font-size: 20px;
}
}




/*--------FOOTER---------*/

/* Professional Footer Styles */
.professional-footer {
  position: relative;
  background: #1a1a1a;
  color: #e0e0e0;
  overflow: hidden;
  z-index: 980;
}

/* Container */
.container-footer {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 20px;
}

.flex-footer-link{
  display: flex;
  justify-content: space-around;
  margin-bottom:30px;
  width: 30%;
}

/* Wave Decoration */
.footer-wave {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  color: #1a1a1a;
  transform: rotate(180deg);
}

/* Newsletter Section */
.footer-newsletter-section {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-text h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}

.newsletter-text h3 i {
  color: #f0b90b;
  margin-right: 10px;
  animation: bounce 2s infinite;
}

.newsletter-text p {
  color: #b0b0b0;
  font-size: 1rem;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.form-wrapper {
  display: flex;
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.form-wrapper:focus-within {
  border-color: #f0b90b;
  box-shadow: 0 0 20px rgba(240, 185, 11, 0.2);
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: none;
  border: none;
  padding: 15px 25px;
  color: #fff;
  font-size: 1rem;
  outline: none;
}

.newsletter-form input[type="email"]::placeholder {
  color: #808080;
}

.newsletter-form button {
  background: linear-gradient(135deg, #f0b90b, #f8d33a);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  color: #1a1a1a;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(240, 185, 11, 0.3);
}

.newsletter-privacy {
  font-size: 0.85rem;
  color: #808080;
  margin: 0;
}

.newsletter-privacy i {
  margin-right: 5px;
  color: #f0b90b;
}

/* Main Footer */
.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav-link-footer {
  display: flex;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition-fast);
  position: relative;
  color: #646464;
  font-weight: 500;
  font-size: 15px;
  padding: 0px;
}

.nav-link-footer:hover {
  color: var(--primary-color);
}

.nav-link-footer i {
  font-size: 16px;
}

/* Brand Column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 30%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: auto;
}

.brand-logo img {
  width: 40px;
  height: 40px;
}

.brand-logo h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(45deg, #f0b90b, #f8d33a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-description {
  color: #b0b0b0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 10px;
  margin: auto;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b0b0;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #f0b90b;
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(240, 185, 11, 0.3);
}

/* Footer Links */
.footer-column h5 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #f0b90b;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #f0b90b;
  transform: translateX(5px);
}

.footer-links a:hover i {
  transform: translateX(3px);
}

/* Donation Section */
.footer-donation h5 i {
  color: #e74c3c;
  margin-right: 8px;
}

.donation-text {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.crypto-donation {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.flex-dons {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 10px;
}

.donation-item {
  display: flex;
  gap: 12px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.donation-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #f0b90b;
}

.crypto-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(126, 134, 206, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #7e86ce;
}

.crypto-icon.bitcoin {
  background: rgba(247, 147, 26, 0.1);
  color: #f7931a;
}

.donation-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crypto-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
}

.address-wrapper {
  display: flex;
  gap: 5px;
}

.crypto-address {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 8px 10px;
  color: #808080;
  font-size: 0.75rem !important;
  outline: none;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 8px 12px;
  color: #b0b0b0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: #f0b90b;
  color: #1a1a1a;
  border-color: #f0b90b;
}

.copy-btn.copied {
  background: #2ecc71;
  color: #fff;
  border-color: #2ecc71;
}

/* Footer Bottom */
.footer-bottom {
  background: #0d0d0d;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright {
  margin: 0;
  color: #808080;
  font-size: 0.9rem;
}

.copyright strong {
  color: #f0b90b;
}

.footer-stats {
  display: flex;
  gap: 25px;
}

.footer-stats span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #808080;
  font-size: 0.9rem;
}

.footer-stats i {
  color: #f0b90b;
}

.footer-stats strong {
  color: #e0e0e0;
}

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
  
  .footer-donation {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-newsletter-section {
    padding: 40px 0;
  }
  
  .newsletter-text h3 {
    font-size: 1.4rem;
  }
  
  .form-wrapper {
    flex-direction: column;
    border-radius: 10px;
    padding: 0;
  }
  
  .newsletter-form input[type="email"] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px 10px 0 0;
  }
  
  .newsletter-form button {
    width: 100%;
    border-radius: 0 0 10px 10px;
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .footer-wave {
    top: -30px;
    height: 30px;
  }
  
  .newsletter-text h3 {
    font-size: 1.2rem;
  }
  
  .footer-column h5 {
    font-size: 1rem;
  }
  
  .crypto-address {
    font-size: 0.65rem;
    padding: 6px 8px;
  }
  
  .footer-stats span {
    font-size: 0.8rem;
  }
  .footer-brand {
  width: 100%;
  text-align: center;
}
.flex-footer-link {
  width: 100%;
}
.brand-logo {
  display: flex;
  flex-direction: column;
}
}


/*--------CONTAINER---------*/

.container {
  background: linear-gradient(90deg,rgba(0, 0, 0, 0.15) 0%, rgba(216, 216, 216, 0.11) 50%, rgba(0, 0, 0, 0.15) 100%);
  min-height: 600px;
  padding-top: 5px;
}
.container2 {
  background-color:whitesmoke;
  padding-top: 85px;
}
.container-cgu{
  margin:5%;
  overflow: hidden;
}

/* Section contenant les particules */
.cont-part {
  position: relative;
  overflow: hidden;
}



/* Canvas qui suit la taille de .cont-part */
canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index:0;
}


/* ========================================
   OPTIMISATIONS MOBILE POUR LES PARTICULES
   ======================================== */

/* Réduire l'opacité des particules sur mobile pour améliorer les performances */
@media (max-width: 768px) {
  #particles,
  #particles2 {
    opacity: 0.8; /* Particules plus subtiles sur mobile */
  }
  
  /* Désactiver les animations complexes du background */
  .animated-bg::before,
  .animated-bg2::before {
    animation: none !important;
  }
  
  /* Simplifier toutes les transitions */
  * {
    transition-duration: 0.2s !important;
  }
  
  /* Simplifier les ombres pour améliorer les performances */
  .airdrop-card,
  .twitter-card,
  .ranking-item,
  .premium-banner,
  .ncoin-card {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Désactiver les effets de blur coûteux */
  .backdrop-filter {
    backdrop-filter: none !important;
  }
  
  /* Simplifier les gradients en couleurs solides */
  .premium-banner-badge,
  .premium-badge,
  .pending-badge {
    background: #f39c12 !important;
  }
}

/* Pour les très petits écrans, réduire encore plus */
@media (max-width: 480px) {
  #particles,
  #particles2 {
    opacity: 0.6;
  }
}

/* Respecter les préférences d'animation réduite */
@media (prefers-reduced-motion: reduce) {
  #particles,
  #particles2 {
    display: none !important; /* Cacher complètement les particules */
  }
  
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Mode économie de batterie (dark mode sur mobile) */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
  #particles,
  #particles2 {
    opacity: 0.8; /* Encore plus subtil en mode sombre */
  }
}



/*--------SIGN UP---------*/

/* ======================================
   FORMULAIRE DE CONNEXION MODERNE
   ====================================== */

/* Variables pour le formulaire de connexion */
:root {
  --login-primary: #f0b90b;
  --login-primary-dark: #d4a009;
  --login-secondary: #707070;
  --login-bg-dark: #1a1a1a;
  --login-bg-light: #2d2d2d;
  --login-text-light: #e0e0e0;
  --login-text-muted: #999;
  --login-error: #ff4757;
  --login-success: #2ecc71;
}




/* Fond animé */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
}
.animated-bg2 {
  background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
  z-index: 0;
}

.animated-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(240, 185, 11, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(240, 185, 11, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(112, 112, 112, 0.1) 0%, transparent 50%);
  animation: bgAnimation 20s ease-in-out infinite;
}
.animated-bg2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(240, 185, 11, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(240, 185, 11, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(112, 112, 112, 0.1) 0%, transparent 50%);
  animation: bgAnimation 20s ease-in-out infinite;
}

@keyframes bgAnimation {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(10deg); }
}

/* Canvas des particules amélioré */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}
#particles2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

.login-page .stats-widget,
.login-page .crypto-ticker-bar,
.login-page .footer-newsletter-section,
.login-page .footer-main{
  display: none;
}

.login-page .footer-bottom {
  background: #fff;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.login-page {
  padding-top:60px;
}

.portfolio-page .stats-widget,
.portfolio-page .crypto-ticker-bar,
.portfolio-page .footer-newsletter-section,
.portfolio-page .footer-main{
  display: none;
}

.portfolio-page .footer-bottom {
  background: #fff;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.portfolio-page {
  padding-top:60px;
}



/* Container principal */
.login-container {
position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 50px;
}

.input-content-log{
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: auto 0px;
  width: 50%;
}

/* Logo section */
.logo-section {
  text-align: center;
  margin-bottom: 10px;
  animation: fadeInDown 0.8s ease-out;
}

.logo-section img {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 20px rgba(240, 185, 11, 0.5));
  transition: 0.5s;
}
.logo-section img:hover {
scale: 1.1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.logo-section h1 {
  color: var(--login-text-light);
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -1px;
}

.logo-section p {
  color: var(--login-text-muted);
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Carte de connexion moderne */
.login-card {
  border-radius: 20px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  width: 80%;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #ffffff82;
  border-bottom: 5px solid #f0b90b;
  border-top: 5px solid #f0b90b;
}
.login-card.forgot{
  width: 50%;
}

.flex-login-head {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
  align-items: center;
}

#loginForm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 45px 30px;
  border-radius: 20px;
}
#registerForm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 45px 30px;
  border-radius: 20px;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/*MDP oublié*/

.forgot-content{
  padding:30px;
}

/* Titre du formulaire */
.form-title {
  color: white;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  margin:0px;
}


/* Groupes d'input modernes */
.login-card .input-group {
  position: relative;
  margin-bottom: 25px;
}

.login-card .input-group:last-of-type {
  margin-bottom: 30px;
}

.login-card .input-group label {
  position: absolute;
  top: 47%;
  left: 45px;
  transform: translateY(-50%);
  color: var(--login-text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0 5px;
}

.login-card .input-group input:focus + label,
.login-card .input-group input:not(:placeholder-shown) + label {
  top: -10px;
  left: 5px;
  font-size: 0.8rem;
  color: var(--login-primary);
}

.login-card .input-group i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: var(--login-text-muted);
  font-size: 1.1rem;
  transition: color 0.3s ease;
  z-index: 1;
}

.login-card .input-group input:focus ~ i {
  color: var(--login-primary);
}

.login-card .input-group input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  background: rgb(255, 255, 255);
  border: 2px solid rgb(231, 231, 231);
  border-radius: 12px;
  color: #666;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.login-card .input-group input::placeholder {
  color: transparent;
}

.login-card .input-group input:focus {
  border-color: var(--login-primary);
  background: rgba(240, 185, 11, 0.05);
  box-shadow: 0 0 0 4px rgba(240, 185, 11, 0.1);
}

/* Options du formulaire */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  width: 100%;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
}

.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--login-primary);
  cursor: pointer;
}

.remember-me label {
  color: var(--login-text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  margin: 0;
}

.forgot-password {
  color: var(--login-primary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.forgot-password:hover {
  color: var(--login-primary-dark);
  text-decoration: underline;
}

/* Bouton de connexion moderne */
.login-btn {
  width: auto;
  padding: 15px 50px;
  background: linear-gradient(135deg, var(--login-primary), var(--login-primary-dark));
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  justify-content: center;
  display: flex;
  margin: auto;
  gap: 10px;
  align-items: center;
}
.login-btn p{
  margin:0;
}


.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.login-btn:hover::before {
  left: 100%;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(240, 185, 11, 0.3);
}

.login-btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(240, 185, 11, 0.2);
}

.login-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.login-btn .spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
}

/* Messages d'erreur/succès */
#loginMessage,
#loginError {
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
 animation: fadeIn 0.3s ease-out;
  display: none;
}

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

#loginMessage.error,
#loginError {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  color: var(--login-error);
}

#loginMessage.success {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: var(--login-success);
}

/* Séparateur */
.divider {
  text-align: center;
  margin: 30px 0 20px;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(68, 68, 68, 0.1);
}

.divider span {
  background: rgb(253, 253, 253);
  padding: 0 15px;
  color: var(--login-text-muted);
  font-size: 0.9rem;
  position: relative;
}

/* Lien d'inscription */
.signup-link {
  text-align: center;
  color: var(--login-text-muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.signup-link a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 5px 15px;
  gap: 10px;
  display: flex;
  align-items: center;
  background: #29b629;
  border-radius: 15px;
  opacity: 0.8;
}

.signup-link a:hover {
  opacity:1;
}

.insc-val-content{
  text-align: center;
}

/* Responsive */
@media (max-width: 480px) {



  .logo-section h1 {
    font-size: 1.6rem;
  }

  .login-card .input-group input {
    font-size: 0.95rem;
    padding: 12px 12px 12px 40px;
  }

  .login-btn {
    font-size: 1rem;
    padding: 12px;
  }
  .form-options {
  display: flex;
  flex-direction: column;
}
.forgot-password {
  margin-top: 20px;
}
}




/* ======================================
   FORMULAIRE D'INSCRIPTION MODERNE
   ====================================== */



/* Container principal pour inscription */

.container-log{
  background: linear-gradient(90deg,rgba(0, 0, 0, 0.15) 0%, rgba(216, 216, 216, 0.11) 50%, rgba(0, 0, 0, 0.15) 100%);
}

.signup-container {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
}

/* Carte d'inscription */
.signup-card {
  border-radius: 20px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  width: 80%;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 3% 5% 5% 5%;
  background-color: #ffffff82;
  border-bottom: 5px solid #f0b90b;
  border-top: 5px solid #f0b90b;
}
.signup-card.validation-mode {
  border-bottom: 5px solid #78be79;
  border-top: 5px solid #78be79;
}
.insc-head-title-val {
  padding: 30px;
  margin-bottom: 0px;
  border-radius: 18px 18px 0px 0px;
  background: #17882ec4;
    background-image: none;
  background-image: none;
  background-image: repeating-linear-gradient( 45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.05) 1px, #b4b4b414 1px, #fff0 5px );
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
}
.insc-head-title-val i{
  animation: bounceIn 0.6s;
  color: white;
  font-size: 2rem;
}
.mess-val-content{
  padding: 50px;
}
.mess-val {
  border: 1px solid #40c05787;
  animation: active-pulse 2s infinite;
  background-color: #0080000a;
  border-radius: 12px; 
  padding: 30px; 
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
  background-image: repeating-linear-gradient( 45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.05) 1px, #b4b4b414 1px, #fff0 5px );
}
.astuce {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0px 50px 0px;
  display: flex;
  align-items: center;
}
.astuce h3{
  color: #856404;
  margin: 0;
  font-size: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.astuce p {
  color: #856404;
  margin: 0;
  font-size: 14px;
  text-align: center;
  width: 100%;
}


.fa-right-from-bracket {
    transform: rotate(180deg);
}
.btn-retour{
  display: flex;
  margin:20px;
}
.btn-retour a{
  margin:auto;
  background-color: #31302b;
  padding:10px 20px;
  color: #f0b90b;
  border-radius:5px;
  border:1px solid rgba(255, 255, 255, 0.1);
  transition:0.5s;
}
.btn-retour a:hover{
  color:whitesmoke;
  background-color: #31302b7c;
  border: 1px solid #f0bb0b86;
}
/* Adaptation des input groups pour inscription */
.signup-card .input-group {
  position: relative;
  margin-bottom: 20px;
}

.signup-card .input-group:last-of-type {
  margin-bottom: 30px;
}

.signup-card .input-group label {
  position: absolute;
  top: 50%;
  left: 45px;
  transform: translateY(-50%);
  color: var(--login-text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0 5px;
}

.signup-card .input-group input:focus + label,
.signup-card .input-group input:not(:placeholder-shown) + label {
    top: -10px;
  left: 5px;
  font-size: 0.8rem;
  color: var(--login-primary);
}

.signup-card .input-group i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: var(--login-text-muted);
  font-size: 1.1rem;
  transition: color 0.3s ease;
  z-index: 1;
}

.signup-card .input-group input:focus ~ i {
  color: var(--login-primary);
}

.signup-card .input-group input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  background: rgb(255, 255, 255);
  border: 2px solid rgb(231, 231, 231);
  border-radius: 12px;
  color: #666;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.signup-card .input-group input::placeholder {
  color: transparent;
}

.signup-card .input-group input:focus {
  border-color: var(--login-primary);
  background: rgba(240, 185, 11, 0.05);
  box-shadow: 0 0 0 4px rgba(240, 185, 11, 0.1);
}

/* Groupe spécial pour le code de parrainage */
.referral-group {
  position: relative;
  margin-bottom: 30px;
}

.referral-group::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 1px;
}

.referral-group i {
  color: var(--login-primary) !important;
  opacity: 0.7;
}

/* Bouton d'inscription */
.signup-btn {
width: 25%;
  padding: 15px;
  background: linear-gradient(135deg, var(--login-primary), var(--login-primary-dark));
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  justify-content: center;
  display: flex;
  margin: auto;
  gap: 10px;
  align-items: center;

}
.signup-btn p{
    margin:0;
}

.signup-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.signup-btn:hover::before {
  left: 100%;
}

.signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(240, 185, 11, 0.3);
}

.signup-btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(240, 185, 11, 0.2);
}

.signup-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

/* Lien de connexion */
.login-link {
  text-align: center;
  color: var(--login-text-muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.login-link a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 5px 15px;
  gap: 10px;
  display: flex;
  align-items: center;
  background: #29b629;
  border-radius: 15px;
  opacity: 0.8;
}

.login-link a:hover {
  opacity:1;
}

/* Messages d'erreur pour inscription */
#signupError {
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  animation: slideIn 0.3s ease-out;
  display: none;
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  color: var(--login-error);
}

/* Container réinitialisé pour inscription */
body.signup-page .container {
  background: none;
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive pour inscription */
@media (max-width: 480px) {
 
  .signup-card .input-group {
    margin-bottom: 15px;
  }
  
  .signup-card .input-group input {
    font-size: 0.95rem;
    padding: 12px 12px 12px 40px;
  }
  
  .signup-btn {
    font-size: 1rem;
    padding: 12px;
  }
  .signup-container {
  width: 100%;
}
}
/* ======================================
   ÉTATS DE VALIDATION ET ANIMATIONS
   ====================================== */

/* États de validation des champs */
.signup-card .input-group.weak input {
  border-color: #ff4757;
  background: rgba(255, 71, 87, 0.05);
}

.signup-card .input-group.medium input {
  border-color: #ffa502;
  background: rgba(255, 165, 2, 0.05);
}

.signup-card .input-group.strong input {
  border-color: #2ecc71;
  background: rgba(46, 204, 113, 0.05);
}

.signup-card .input-group.error input {
  border-color: #ff4757;
  background: rgba(255, 71, 87, 0.05);
  animation: shake 0.3s ease;
}

.signup-card .input-group.success input {
  border-color: #2ecc71;
  background: rgba(46, 204, 113, 0.05);
}

/* Animation de secousse pour les erreurs */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.captcha-section-login {
  transition: border 0.3s ease;
}

.signup-card.shake {
  animation: shake 0.5s ease;
}

/* États de focus améliorés */
.signup-card .input-group.focused {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

/* Indicateur de force du mot de passe */
.password-strength {
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.signup-card .input-group:has(input[type="password"]:not(:placeholder-shown)) .password-strength {
  opacity: 1;
}

.password-strength-bar {
  height: 100%;
  transition: width 0.3s ease, background-color 0.3s ease;
  border-radius: 2px;
}

.weak .password-strength-bar {
  width: 33%;
  background: #ff4757;
}

.medium .password-strength-bar {
  width: 66%;
  background: #ffa502;
}

.strong .password-strength-bar {
  width: 100%;
  background: #2ecc71;
}

/* Couleurs des icônes selon l'état */
.text-danger { color: #ff4757 !important; }
.text-warning { color: #ffa502 !important; }
.text-success { color: #2ecc71 !important; }

/* Animation du spinner pour le bouton */
.signup-btn .spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
}

/* Info-bulle pour le code de parrainage */
.referral-group {
  position: relative;
}

.referral-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

.referral-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.8);
}

.referral-group:hover .referral-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Amélioration visuelle du formulaire */
.signup-card form {
  position: relative;
}

/* Effet de progression */
.form-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--login-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

/* Animation de succès */
@keyframes successPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.signup-card.success {
  animation: successPulse 0.5s ease;
}

/* Tooltip pour la sécurité du mot de passe */
.password-requirements {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  position: absolute;
  left: 105%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}

.password-requirements::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: rgba(0, 0, 0, 0.8);
}

.input-group:has(input[type="password"]:focus) .password-requirements {
  opacity: 1;
  visibility: visible;
}

.password-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.password-requirements li {
  padding: 3px 0;
  display: flex;
  align-items: center;
}

.password-requirements li::before {
  content: '✓';
  margin-right: 8px;
  color: #ff4757;
}

.password-requirements li.valid::before {
  color: #2ecc71;
}

/* Responsive pour les tooltips */
@media (max-width: 768px) {
  .password-requirements {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    width: 90%;
    max-width: 300px;
  }
  
  .password-requirements::before {
    display: none;
  }
}

/*--------ACCOUNT---------*/

.account-container {
padding: 15px 65px;
  border-radius: 25px;
  margin: 1.5% 5% 0.8% 5%;
  z-index: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.5);
  border-right: 10px solid #f0b90bb2;
  z-index: 0;
  flex-wrap: wrap;
}
/* Groupe avatar + NCoin */
.avatar-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Style NCoin */
.sold-ncoin {
  background: linear-gradient(135deg, #f7f7f7, #eaeaea);
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

.sold-ncoin:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.sold-ncoin li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sold-ncoin strong {
  color: #797979;
  font-weight: 700;
}

.sold-ncoin span {
  color: #f0b90b;
  font-weight: bold;
}



.account {
  background: white;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin: 5%;
  z-index:1;
  position: relative;
  text-align: center;
}
.avatar-account img{
  border:3px solid gray;
}
.upload-avatar img {
  display: block;
  margin: 10px auto;
  width: 100px; /* Ajuste la taille selon tes besoins */
  height: 100px; /* Ajuste la taille selon tes besoins */
  border-radius: 50%;
}

.upload-avatar input[type="file"] {
  display: block;
  margin: 10px auto;
}

.upload-avatar button {
  display: block;
  margin: 10px auto;
}

.popup {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1500;
}


.price-boost p{
  color: gray;
  margin-top: 20px;
}

#imageContainer {
  width: 300px; 
  height: 300px;
  overflow: hidden;
  margin: 10px auto;
}

#imagePreview {
  max-width: 100%;
  display: block;
}
.btn-avatar{
  display: flex;
  justify-content: space-around;
  margin: 40px 20px 20px 20px;
  gap:20px;
}
#cropImage{
  background: #f0b90c;
  color: #fff;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 10px;
  border: none;
  width: 100%;
}
#closePopup {
  background: #ecf0f1;
  color: #4d4d4d;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 10px;
  width: 100%;
}
#cropImage i{
  margin-right: 5px;
}
#closePopup i{
  margin-right: 5px;
}

.clean-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  padding-bottom: 6px;
}

.info-label {
  font-weight: 600;
  color: #444;
  min-width: 100px;
  display: inline-block;
  font-size: 15px;
}
.info-label i {
  color: gray;
  margin-right: 5px;
}
.info-value {
  font-size: 15px;
  color: #666;
  margin-left: 10px;
  text-align: right;
}

.info-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.certify-btn {
  padding: 8px 12px;
  font-size: 14px;
  background: linear-gradient(90deg,rgba(30, 162, 63, 0.77) 0%, rgba(109, 215, 135, 0.56) 50%, rgba(44, 168, 33, 0.54) 100%);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.2s ease;
  justify-content: center;
  align-items: center;
  animation: pulseCardcomplete 2s infinite;
}

.certify-btn:hover {
  background-color: #15ac48;
}

/* ======================================
   POPUP METAMASK MOBILE
   ====================================== */
/* metamask-mobile.css - Version avec classes spécifiques */

.metamask-mobile-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: metamaskModalFadeIn 0.3s ease-out;
}

@keyframes metamaskModalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

.metamask-modal-content {
  background: #ffffff;
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  animation: metamaskModalSlideIn 0.3s ease-out;
  position: relative;
}

@keyframes metamaskModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header */
.metamask-modal-header {
  padding: 32px 32px 24px;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #e7e7e7 100%);
  border-bottom: 1px solid #e2e8f0;
}

.metamask-logo-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #fff 0%, #e5e5e5 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.metamask-logo-icon .metamask-icon {
  width: 40px;
  height: 40px;
}

.metamask-logo-icon svg {
  width: 32px;
  height: 32px;
}

.metamask-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
  letter-spacing: -0.025em;
}

.metamask-modal-subtitle {
  font-size: 16px;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}

/* Body */
.metamask-modal-body {
  padding: 32px;
}

.metamask-connection-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

/* Buttons */
.metamask-btn-open,
.metamask-btn-install {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.metamask-btn-open {
  background: linear-gradient(135deg, #f0b90b 0%, #f0b90b 100%);
  color: white;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.metamask-btn-open:hover {
  background: linear-gradient(135deg, #e2761b 0%, #f57c00 100%);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

.metamask-btn-install {
  background: linear-gradient(135deg, #acacac 0%, #5ca3c7 100%);
  color: white;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.metamask-btn-install:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0369a1 100%);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

.metamask-btn-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metamask-btn-icon svg {
  width: 20px;
  height: 20px;
}

.metamask-btn-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metamask-btn-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.metamask-btn-desc {
  font-size: 14px;
  opacity: 0.8;
  font-weight: 400;
  line-height: 1.2;
}

/* Info Section */
.metamask-info-section {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #fff 0%, #fff 100%);
  border-radius: 12px;
  border: 1px solid #e2e2e2;
}

.metamask-info-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.metamask-info-content {
  font-size: 12px;
  line-height: 1.5;
  color: #0c4a6e;
}

.metamask-info-content strong {
  font-weight: 600;
}

/* Footer */
.metamask-modal-footer {
  padding: 20px 32px 32px;
  display: flex;
  justify-content: center;
}

.metamask-btn-close {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.metamask-btn-close:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.metamask-btn-close svg {
  width: 16px;
  height: 16px;
}

/* Responsive Design */
@media (max-width: 480px) {
  .metamask-mobile-modal {
    padding: 16px;
  }
  
  .metamask-modal-content {
    max-width: none;
    width: 100%;
  }
  
  .metamask-modal-header {
    padding: 24px 24px 20px;
  }
  
  .metamask-modal-body {
    padding: 24px;
  }
  
  .metamask-modal-footer {
    padding: 16px 24px 24px;
  }
  
  .metamask-logo-icon {
    width: 56px;
    height: 56px;
  }
  
  .metamask-logo-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .metamask-modal-title {
    font-size: 20px;
  }
  
  .metamask-modal-subtitle {
    font-size: 14px;
  }
  
  .metamask-btn-open,
  .metamask-btn-install {
    padding: 16px;
    gap: 12px;
  }
  
  .metamask-btn-title {
    font-size: 15px;
  }
  
  .metamask-btn-desc {
    font-size: 13px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .metamask-mobile-modal,
  .metamask-modal-content,
  .metamask-btn-open,
  .metamask-btn-install,
  .metamask-btn-close {
    animation: none;
    transition: none;
  }
  
  .metamask-btn-open:hover,
  .metamask-btn-install:hover,
  .metamask-btn-close:hover {
    transform: none;
  }
}

/* Focus styles for accessibility */
.metamask-btn-open:focus,
.metamask-btn-install:focus,
.metamask-btn-close:focus {
  outline: 2px solid #f6851b;
  outline-offset: 2px;
}

/* Loading state */
.metamask-btn-open:disabled,
.metamask-btn-install:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.metamask-btn-open:disabled:hover,
.metamask-btn-install:disabled:hover {
  transform: none;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}



/* ======================================
   POPUP CONFIRME ACHAT NCOIN
   ====================================== */
/* nora-purchase-popup.css - Popup de confirmation d'achat Noracoin */

/* nora-purchase-popup.css - Popup de confirmation d'achat Noracoin */

.nora-purchase-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
  animation: noraPurchasePopupFadeIn 0.4s ease-out;
}

@keyframes noraPurchasePopupFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(12px);
  }
}

.nora-purchase-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: noraPurchaseContentSlideIn 0.4s ease-out;
  position: relative;
  height: 600px;
}

@keyframes noraPurchaseContentSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Effet de confetti subtil */
.nora-purchase-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #059669, #047857, #10B981);
  background-size: 200% 100%;
  animation: noraConfettiShimmer 3s ease-in-out infinite;
}

@keyframes noraConfettiShimmer {
  0%, 100% {
    background-position: 200% 0;
  }
  50% {
    background-position: -200% 0;
  }
}

/* Header */
.nora-purchase-header {
  padding: 40px 32px 24px;
  text-align: center;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-bottom: 1px solid #d1fae5;
}

.nora-success-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  box-shadow: 
    0 10px 25px -5px rgba(16, 185, 129, 0.4),
    0 0 0 4px rgba(16, 185, 129, 0.1);
  animation: noraSuccessIconPulse 2s ease-in-out infinite;
}

@keyframes noraSuccessIconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 10px 25px -5px rgba(16, 185, 129, 0.4),
      0 0 0 4px rgba(16, 185, 129, 0.1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 
      0 15px 35px -5px rgba(16, 185, 129, 0.5),
      0 0 0 8px rgba(16, 185, 129, 0.15);
  }
}

.nora-success-icon svg {
  width: 40px;
  height: 40px;
  animation: noraCheckmarkDraw 0.8s ease-out 0.2s both;
}

@keyframes noraCheckmarkDraw {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.nora-purchase-title {
  font-size: 28px;
  font-weight: 800;
  color: #065f46;
  margin: 0 0 8px;
  letter-spacing: -0.025em;
}

.nora-purchase-subtitle {
  font-size: 16px;
  color: #047857;
  margin: 0;
  font-weight: 500;
  opacity: 0.9;
}

/* Body */
.nora-purchase-body {
  padding: 32px;
}

.nora-purchase-details {
  text-align: center;
}

.nora-coin-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 15px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-radius: 20px;
  border: 1px solid #fbbf2473;
  position: relative;
  overflow: hidden;
}

.nora-coin-display::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(251, 191, 36, 0.1), transparent);
  animation: noraCoinShine 3s linear infinite;
}

@keyframes noraCoinShine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(30deg);
  }
}

.nora-coin-icon {
  width: 50px;
  height: 50px;
  animation: noraCoinFloat 3s ease-in-out infinite;
  position: relative;
}

.aproxy {
  font-size: 30px;
  color: gray;
  margin: 0px 10px;
}
.nora-coin-background {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 
    0 8px 16px rgba(255, 165, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  border: 2px solid #FFD700;
}

.nora-coin-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  border-radius: 50%;
}

@keyframes noraCoinFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.nora-coin-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nora-coin-amount {
  font-size: 28px;
  font-weight: 900;
  color: #92400e;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nora-coin-label {
  font-size: 16px;
  font-weight: 600;
  color: #b45309;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nora-purchase-message {
  font-size: 18px;
  color: #374151;
  margin-bottom: 24px;
  font-weight: 500;
  line-height: 1.5;
  display: none;
}

.nora-purchase-stats {
  display: flex;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #fff 0%, #fff 100%);
  border-radius: 16px;
  border: 1px dashed #d1d5db;
}

.nora-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  width: 100%;
}

.nora-stat-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nora-stat-value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #065f46;
  font-weight: 600;
}

.nora-status-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: noraStatusPulse 2s ease-in-out infinite;
}

@keyframes noraStatusPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

/* Footer */
.nora-purchase-footer {
  padding: 24px 32px 32px;
  text-align: center;
}

.nora-btn-continue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border: none;
  border-radius: 16px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px -4px rgba(16, 185, 129, 0.4);
  min-width: 160px;
  position: relative;
  overflow: hidden;
}

.nora-btn-continue::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.nora-btn-continue:hover::before {
  left: 100%;
}

.nora-btn-continue:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 12px 24px -4px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.nora-btn-continue:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px -2px rgba(16, 185, 129, 0.4);
}

.nora-btn-continue svg {
  width: 20px;
  height: 20px;
}

/* Responsive Design */
@media (max-width: 480px) {
  .nora-purchase-popup {
    padding: 16px;
  }
  
  .nora-purchase-content {
    max-width: none;
    width: 100%;
    border-radius: 20px;
  }
  
  .nora-purchase-header {
    padding: 32px 24px 20px;
  }
  
  .nora-purchase-body {
    padding: 24px;
  }
  
  .nora-purchase-footer {
    padding: 20px 24px 24px;
  }
  
  .nora-success-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }
  
  .nora-success-icon svg {
    width: 35px;
    height: 35px;
  }
  
  .nora-purchase-title {
    font-size: 24px;
  }
  
  .nora-purchase-subtitle {
    font-size: 14px;
  }
  
  .nora-coin-info {
    align-items: center;
  }
  
  .nora-coin-amount {
    font-size: 32px;
  }
  
  .nora-purchase-message {
    font-size: 16px;
  }
  
  .nora-btn-continue {
    width: 100%;
    padding: 18px 24px;
    justify-content: center;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .nora-purchase-popup,
  .nora-purchase-content,
  .nora-success-icon,
  .nora-coin-icon,
  .nora-status-dot,
  .nora-btn-continue,
  .nora-coin-display::before {
    animation: none;
    transition: none;
  }
  
  .nora-btn-continue:hover {
    transform: none;
  }
}

/* Focus styles for accessibility */
.nora-btn-continue:focus {
  outline: 3px solid #10B981;
  outline-offset: 2px;
}

/* Loading state */
.nora-btn-continue:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.nora-btn-continue:disabled:hover {
  transform: none;
  box-shadow: 0 8px 16px -4px rgba(16, 185, 129, 0.4);
}
#airdropsColumn,
#twitterColumn {
    scroll-margin-top: 80px; /* Ajustez selon votre header */
}

/* ======================================
   STRUCTURE DE BASE DU CONTENEUR ACCOUNT
   ====================================== */
.container-acc {
    position: relative;
    display: flex;
    margin: 0% 2% 5% 2%;
    flex-direction: column; /* Mobile first : column */
}

/* ======================================
   SIDEBAR - MOBILE FIRST
   ====================================== */
.sidebar-acc {
    position: relative;
    z-index: 10;
    width: 85%;
    height: auto;
    margin: auto auto 5% auto;
    background: #000000b5;
    background-image: repeating-linear-gradient(
        45deg, 
        rgba(207, 207, 207, 0.1) 0px, 
        rgba(162, 162, 162, 0.1) 1px, 
        transparent 1px, 
        transparent 5px
    );
    padding: 20px 0;
    border-radius: 5px;
    visibility: visible !important;
    opacity: 1 !important;
}

.logout-btn{
  background: transparent;
  border: none;
  width: 100%;
  padding: 15px;
}
.logout-btn i {
  color: #f0b90b;
  font-size: 20px;
}
/* Liste des liens - Mobile first */
.sidebar-acc ul {
    list-style: none;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-acc ul li {
    width: 100%;
}

.sidebar-acc ul li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #a3a3a3;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    border-bottom: 1px solid #ffffff78;
}

.sidebar-acc ul li a i {
    margin-right: 14px;
    font-size: 18px;
    width: 20px;
    text-align: center;
    transition: margin 0.3s ease;
}

/* États hover et active */
.sidebar-acc ul li a:hover {
    background-color: rgba(240, 185, 11, 0.08);
    color: #f0b90b;
    border-left: 4px solid #f0b90b;
    margin-left: -5px;
}

.sidebar-acc ul li a.active {
    background-color: rgba(240, 185, 11, 0.13);
    color: #f0b90b;
    border-left: 4px solid #f0b90b;
    margin-left: -5px;
}

/* ======================================
   SIDEBAR H2 - Icône maison et toggle
   ====================================== */
.sidebar-acc h2 {
    font-size: 28px;
    color: #f0b90b;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    position: relative;
    width: 100%;
}

.sidebar-acc h2 i {
    position: relative;
    z-index: 5;
}

.sidebar-acc h2::after {
    content: "-";
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 25px;
  color: #b0b0b0;
  width: 25px;
  height: 25px;
  line-height: 18px;
  border-radius: 50%;
  background: rgba(240, 185, 11, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
  text-align: center;
}

.sidebar-acc h2:hover i {
    transform: scale(1.1);
}

.sidebar-acc h2:hover::after {
    background: rgba(240, 185, 11, 0.3);
    color: #f0b90b;
}

/* ======================================
   CONTENT - Zone de contenu principal
   ====================================== */
.content-acc {
    padding: 0px;
    border-radius: 15px;
    width: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    display: none;
    opacity: 0;
    transform: translateX(0px);
    transition: all 0.5s ease-in-out;
}

.content-acc.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.content-acc h2 {
    text-align: center;
    color: #ffffffb2;
    padding: 20px;
    border-radius: 5px;
}

#content1 {
  box-shadow: none;
  border: none;
  background: none;
  padding: 0;
}

/* Placeholder - caché par défaut sur mobile */
.sidebar-placeholder {
    display: none;
}

/* ======================================
   MODE ICÔNES - MOBILE (Barre fixe en bas)
   ====================================== */
@media (max-width: 768px) {
    .sidebar-acc.sidebar-icons-only {
      display: flex !important;
        width: 100% !important;
        padding: 0px !important;
        border-top: 3px solid #f0b90b21;
        border-bottom: none;
        border-left: none;
        border-right: none;
        box-shadow: 0px 0px 15px rgba(240, 185, 11, 0.49);
        bottom: 0;
        left: 0;
        position: fixed !important;
        background-color: whitesmoke;
        margin: auto;
        z-index: 999;
        border-radius: 0px;
        height: auto !important;
        min-width: unset !important;
        max-width: unset !important;
        flex: unset !important;
    }
    
    .sidebar-acc.sidebar-icons-only ul {
        flex-direction: row !important;
        margin-bottom: 0;
    }
    
    .sidebar-icons-only ul li a {
        padding: 14px 0;
        justify-content: center;
        border-left: none !important;
        border-radius: 8px;
        margin: 5px;
        border-bottom: none;
    }
    
    .sidebar-icons-only ul li a i {
        margin-right: 0 !important;
        font-size: 20px;
    }
    
    .sidebar-icons-only ul li a:hover,
    .sidebar-icons-only ul li a.active {
        background-color: rgba(240, 185, 11, 0.13);
        color: #f0b90b;
        border-left: none !important;
        margin-left: 0;
        transform: scale(1.1);
    }
    
    .sidebar-icons-only ul li a.active {
        animation: pulse-home 2s infinite ease-in-out;
    }
    
    .sidebar-icons-only h2 i {
        font-size: 16px;
        display: none;
    }
    
}

/* ======================================
   DESKTOP UNIQUEMENT (769px et plus)
   ====================================== */
@media (min-width: 769px) {
    /* Container desktop */
    .container-acc {
        display: flex;
        margin: 0% 5% 5% 5%;
        gap: 10px;
        align-items: flex-start;
        flex-direction: row !important;
    }

    
    
    /* Sidebar desktop - SANS !important sur position et top */
    .sidebar-acc {
        /* Position sera gérée par JavaScript */
        align-self: flex-start;
    width: 240px !important;
    flex: 0 0 240px;
    min-width: 240px;
    max-width: 240px;
    margin: 0 !important;
    height: 415px;
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(15px);
    border-left: 5px solid #f0b90b7d !important;
    box-shadow: 0px 0px 15px rgba(83, 83, 83, 0.17);
    border-radius: 15px !important;
    transition: width 0.3s ease, min-width 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
    }
    
    /* Mode icônes desktop */
    .sidebar-acc.sidebar-icons-only {
        width: 90px !important;
        min-width: 90px !important;
        max-width: 90px !important;
        flex: 0 0 90px !important;
        padding: 20px 5px;
        /* Pas de !important sur position */
        bottom: unset !important;
        left: unset !important;
        background: rgba(255, 255, 255, 0.5) !important;
        border: 5px solid #f0b90b21 !important;
        border-radius: 5px !important;
        height: 430px !important;
        margin: 0 !important;
    }

    /* ======================================
   TRANSITIONS FLUIDES - Solution complète
   ====================================== */
   
/* Force les transitions sur le sidebar peu importe ce que le JS fait */
/* ======================================
   TRANSITIONS FLUIDES - Version corrigée
   ====================================== */
   
/* Transitions SEULEMENT pour le changement de largeur (pas top/left) */
.sidebar-acc {
    transition: width 0.3s ease, 
                min-width 0.3s ease, 
                max-width 0.3s ease,
                flex 0.3s ease,
                box-shadow 0.3s ease !important;
    /* PAS de transition sur top et left ! */
}

/* Content - transitions fluides */
.content-acc {
    transition: width 0.3s ease, 
                margin-left 0.3s ease, 
                opacity 0.5s ease,
                transform 0.5s ease !important;
}

/* Mode icônes - transitions de largeur seulement */
.sidebar-acc.sidebar-icons-only {
    transition: width 0.3s ease, 
                min-width 0.3s ease, 
                max-width 0.3s ease,
                flex 0.3s ease !important;
}

/* Content quand sidebar change */
.sidebar-icons-only ~ .content-acc,
.container-acc.sidebar-fixed .content-acc,
.container-acc.sidebar-fixed.icons-only .content-acc {
    transition: width 0.3s ease, 
                opacity 0.5s ease-in-out, 
                transform 0.5s ease-in-out !important;
}

/* Placeholder fluide */
.sidebar-placeholder {
    transition: width 0.3s ease, 
                min-width 0.3s ease !important;
}
    
    /* Reste du CSS identique... */
    .sidebar-icons-only h2 {
        display: block !important;
        font-size: 20px !important;
        margin-bottom: 20px !important;
        color: #f0b90b !important;
        text-align: center;
        width: 100% !important;
    }
    
    .sidebar-icons-only h2 i {
        font-size: 24px;
        display: block !important;
        margin: 0 auto;
        animation: pulse-home 2s infinite ease-in-out;
    }
    
    .sidebar-icons-only h2::after {
        content: "+";
        top: -15px !important;
        right: 5px !important;
        left: unset !important;
        line-height: 18px !important;
    }
    
    .sidebar-acc.sidebar-icons-only ul {
        flex-direction: column !important;
        margin-bottom: unset;
    }
    
    .sidebar-icons-only ul li a {
        padding: 14px 0;
        justify-content: center;
        border-left: none !important;
        border-radius: 8px;
        margin: 5px;
        border-bottom: 1px solid #ffffff78;
    }
    
    .sidebar-icons-only ul li a i {
        margin-right: 0 !important;
        font-size: 20px;
    }
    
    .sidebar-icons-only ul li a:hover {
        background-color: rgba(240, 185, 11, 0.08);
        color: #f0b90b;
        border-left: none !important;
        transform: scale(1.1);
        margin-left: 0;
    }
    
    .sidebar-icons-only ul li a.active {
        background-color: rgba(240, 185, 11, 0.13);
        color: #f0b90b;
        border-left: none !important;
        border-radius: 8px;
        margin-left: 0;
    }
    
    /* Placeholder desktop */
    .sidebar-placeholder {
        transition: width 0.3s ease, min-width 0.3s ease;
    }

    .content-acc.no-transition {
    transition: none !important;
}
    
    .sidebar-icons-only ~ .sidebar-placeholder {
        flex: 0 0 90px;
        min-width: 90px;
        max-width: 90px;
    }
    
    /* Content desktop */
    .content-acc {
        flex: 1;
        min-width: 0;
        margin-left: 0;
        position: relative;
        z-index: 1;
        transition: all 0.5s ease-in-out;
    }
    

    
    .container-acc.sidebar-fixed .content-acc {
        transition: width 0.3s ease, margin-left 0.3s ease;
    }
    
    .container-acc.sidebar-fixed.icons-only .content-acc {
        margin-left: 0px !important;
    }
    
    /* Optimisation des performances */
    
    .sidebar-acc[style*="position: fixed"],
    .sidebar-acc[style*="position: absolute"] {
        backface-visibility: hidden;
        transform: translateZ(0);
    }
}

.sidebar-acc {
    box-sizing: border-box !important;
    will-change: transform; /* Performance hint */
}



/* ======================================
   ANIMATIONS
   ====================================== */
@keyframes pulse-home {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

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

/*Profil*/


.title-profil {
  display: flex;
  justify-content: right;
  margin-right: -25px;
  
}
.title-profil h2{
  color: #fff;
  text-align: left;
  background-color: #80808096;
  padding: 7px 10px 10px 30px;
  border-radius: 50px 0px 0px 50px;
  width: 70%;
}
.title-profil i{
  font-size: 26px;
  margin-right: 20px;
}
.infos-profil {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: auto;
}


/* Effet dépliage fluide */
/* Bouton moderne */

 /* Style de base */
 .change-password-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.change-password-wrapper.active {
  max-height: 500px;
  opacity: 1;
  pointer-events: auto;
}

#toggleButton {
  color: #7f7f7f;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0px auto 25px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background-color: #80808000;
  border: 1px solid #0000001a;
}

#toggleButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.chevron {
  transition: transform 0.3s ease;
}

#toggleButton.opened .chevron {
  transform: rotate(180deg);
}


.change-password-box {
  flex: 1 1 300px;
  background-color: #fefefe;
  padding: 24px 28px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.change-password-box h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 6px;
}

.change-password-box form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.change-password-box input[type="password"] {
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border 0.2s ease;
}

.change-password-box input:focus {
  border-color: #2ecc71;
  outline: none;
}

.change-password-box button {
  background-color: #f0b90b;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.change-password-box button:hover {
  background-color: #ffc200b8;
}

#passwordMessage {
  font-size: 14px;
  margin-top: 5px;
  text-align: center;
  min-height: 20px;
}

.user-info-box,
.change-password-box {
  flex: 1 1 300px;
  background-color: #f7f7f7;
  padding: 24px 28px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.user-info-box h3,
.change-password-box h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #949494;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 6px;
}

.user-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.user-info-list li {
  display: flex;
  align-items: center;
  display: flex;
  align-items: center;
  background-color: white;
  padding: 13px 20px 13px 20px;
  border-radius: 10px;
  border:1px solid #e5e5e5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.user-info-list strong {
  color: #333;
  width: 90px;
  display: inline-block;
}







/* ========================================
   SYSTÈME DE PARRAINAGE AMÉLIORÉ - CSS COMPLET
   ======================================== */

/* Zone parrainage de base améliorée */
.referral-box {
 padding: 25px;
  border-radius: 12px;
  margin-top: 25px;
  transition: all 0.3s ease;
  background: linear-gradient(90deg,rgba(0, 0, 0, 0.69) 0%, rgb(136, 131, 131) 50%, rgba(0, 0, 0, 0.66) 100%);
  border-top: 5px solid #ecb10a;
}

.referral-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.referral-label {
  font-weight: 700;
  color: #ebaf0a;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 18px;
  gap: 10px;
}

.referral-label i {
  margin-right: 8px;
  color: #f0b90b;
}

.referral-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: #ffffff38;
  padding: 5px 5px 5px 20px;
  border-radius: 10px;
  font-size: 14px;
  color: #fff;
  border: 2px solid #e9ab0a6b;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.referral-display:hover {
  border-color: #f0b90b;
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.1);
}

.referral-display button {
  padding: 12px 24px;
  background: linear-gradient(135deg, #f0b90b 0%, #e6a409 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.3);
}

.referral-display button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240, 185, 11, 0.2);
  background: linear-gradient(135deg, #e6a409 0%, #d4930a 100%);
}

.referral-tip {
  margin-top: 12px;
  font-size: 13px;
  color: #ffffffbd;
  text-align: center;
}

/* 🎁 Section récompenses - Design moderne */
.claim-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 25px;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  margin-top: 25px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}



.claim-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #2c3e50;
  display: flex;
  align-items: center;
}

.claim-title i {
  color: #f0b90b;
  margin-right: 10px;
}

/* Section récompense de filleul - Design unique */
.filleul-reward-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.filleul-reward-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f0b90b 0%, #ffffff 50%, #f0b90b 100%);
}

.filleul-reward-section .claim-title {
  color: white;
  margin-bottom: 15px;
}

.filleul-reward-section .claim-title i {
  color: #f0b90b;
}

.filleul-reward-description {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.filleul-reward-description strong {
  color: #f0b90b;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
/* ✅ Styles pour la section récompense filleul */

.filleul-reward-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.filleul-close-btn {
  background: transparent;
  border: none;
  color: #999;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.3s ease;
  min-width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filleul-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e74c3c;
  transform: scale(1.1);
}

.filleul-close-btn:active {
  transform: scale(0.95);
}

/* Animation pour le message de félicitations */
.claim-tip {
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 10px;
}

.claim-tip[style*="color: #2ecc71"] {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.claim-tip[style*="color: #f0b90b"] {
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 0.3);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .filleul-reward-header {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .filleul-close-btn {
    margin-top: -5px;
    min-width: 25px;
    height: 25px;
    font-size: 16px;
  }
}

/* Conditions et exigences - Design élégant */
.parrain-requirements,
.filleul-requirements {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  margin: 20px 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding:10px;
}
.parrain-requirements h4{
  font-size: 16px;
}
  .parrain-requirements-header i {
    color: rgb(71, 71, 71);
    margin-right: 15px;
    transition: transform 0.3s ease;
    transition-duration: 0.3s;
    font-size: 16px;
  }
.claim-box .parrain-requirements {
  background: transparent;
}

.requirements-list {
  margin-bottom: 15px;
}

.requirement-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  padding: 12px 15px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.claim-box .requirement-item {
  border: 1px solid rgba(240, 185, 11, 0.1);
}

.requirement-item:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(1px);
}

.claim-box .requirement-item:hover {
  opacity: 1;
}
/* Style pour la section des exigences rétractable */
.parrain-requirements-header {
  transition: background-color 0.3s ease;
  color: #838383; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 10px; 
  border-radius: 8px; 
  border-top: 2px solid #80808030;
  border-bottom: 2px solid #80808026;
}

.parrain-requirements-header:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}
#toggleArchiveBtn{
  display: none;
}
.requirements-chevron {
  padding: 5px;
  min-width: 24px;
  text-align: center;
  border-radius: 4px;
}

.requirements-content {
  padding: 0 10px;
  overflow: hidden;
}

/* Animation pour le contenu */
.requirements-content[style*="display: none"] {
  padding: 0 10px !important;
}

.requirements-content[style*="display: block"] {
  padding: 10px !important;
}

/* Style cohérent avec les autres sections */
.parrain-requirements {
  margin-bottom: 15px;
}

.requirements-list {
  margin-bottom: 10px;
}

.requirement-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 5px 0;
}

.requirement-icon {
  margin-right: 8px;
  font-size: 16px;
}

.requirements-note {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
  padding: 10px;
  background: rgba(52, 152, 219, 0.05);
  border-radius: 6px;
}
.requirement-icon {
  margin-right: 12px;
  font-size: 18px;
  min-width: 24px;
  transition: all 0.4s ease;
  margin-left: 15px;
}

.requirement-icon.completed {
  color: #2ecc71 !important;
  animation: checkmark 0.6s ease-in-out;
  transform: scale(1.1);
  margin-left:10px;
}

.requirement-icon.pending {
  color: #f0b90b !important;
}

@keyframes checkmark {
  0% { transform: scale(0.8) rotate(-10deg); opacity: 0; }
  50% { transform: scale(1.2) rotate(5deg); opacity: 1; }
  100% { transform: scale(1.1) rotate(0deg); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.requirements-note {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-top: 15px;
  padding: 12px;
  background: rgba(0,0,0,0.1);
  border-radius: 8px;
  border-left: 4px solid #f0b90b;
}

.claim-box .requirements-note {
  color: #a37f10;
  background: rgba(240, 185, 11, 0.1);
  display: flex;
  justify-content: space-between;
}

/* Boutons de réclamation - Design premium */
.claim-referral-btn {
  background: linear-gradient(135deg, #f0b90b 0%, #e6a409 100%);
  color: white;
  padding: 15px 25px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.4s ease;
  margin: 20px auto;
  display: block;
  min-width: 220px;
  box-shadow: 0 6px 20px rgba(240, 185, 11, 0.3);
  position: relative;
  overflow: hidden;
}

.claim-referral-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.claim-referral-btn:hover {
  background: linear-gradient(135deg, #e6a409 0%, #d4930a 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(240, 185, 11, 0.4);
}

.claim-referral-btn:hover::before {
  left: 100%;
}

.claim-referral-btn:active {
  transform: translateY(-1px);
}

.claim-referral-btn:disabled {
  background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.claim-referral-btn i {
  margin-right: 8px;
}

.claim-tip {
  font-size: 13px;
  color: #7f8c8d;
  margin-top: 15px;
  text-align: center;
  font-style: italic;
  opacity: 0.8;
}

.filleul-reward-section .claim-tip {
 color: rgb(240, 185, 11) !important;
}

/* Liste des filleuls - Design carte moderne */
.referral-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.referral-list li,
.filleul-item {
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  opacity: 0.8;
}

.filleul-item:hover {
  opacity:1;
}

.filleul-item::before {
  content: '';
}

.filleul-item:hover::before {
  opacity: 1;
}

.filleul-item small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
}

.filleul-item i {
  font-size: 16px;
  margin-right: 8px;
}

/* Animation de surbrillance du solde */
.highlight-balance {
  background: linear-gradient(135deg, #e3ffe7 0%, #c8f7c5 100%) !important;
  transition: all 0.6s ease !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  margin: -6px -12px !important;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2) !important;
  animation: balanceHighlight 1.2s ease !important;
}

@keyframes balanceHighlight {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Statuts des récompenses - Badges modernes */
.reward-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-left: 10px;
}

.reward-status.eligible {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.reward-status.pending {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.reward-status.claimed {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

/* Notifications toast améliorées */
#toast-box {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
}

#toast-box > div {
  margin-bottom: 10px;
  border-radius: 12px !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   SECTIONS RÉTRACTABLES - STYLES CSS CORRIGÉS
   ======================================== */

/* ✅ Section de catégorie corrigée */
.category-section {
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease-in-out;
}

.category-header {
  user-select: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.category-header strong{
  font-weight: 500;
}

.category-header:hover {
  transform: translateY(-1px);

}





/* ✅ CORRECTION: Chevron simplifié sans conflits */
.category-chevron {
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 16px;
  min-width: 24px;
  text-align: center;
  border-radius: 4px;
}

.category-chevron:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* ✅ Animation du contenu */
.category-content {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.category-content[style*="display: none"] {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
}

.category-content[style*="display: block"] {
  opacity: 1;
  max-height: 1000px; /* Suffisamment grand pour le contenu */
  margin-bottom: 10px;
}

/* ✅ Styles pour les éléments dans les sections */
.category-content .filleul-item {
  margin-bottom: 8px;
  transform: translateX(0);
  transition: all 0.3s ease;
  opacity: 1;
  padding: 10px;
  background-color: #eee;
}

.category-content .filleul-item:first-child {
  margin-top: 5px;
}

.category-content .filleul-item:last-child {
  margin-bottom: 5px;
}

/* ✅ Effet de survol amélioré pour les éléments */
.category-content .filleul-item:hover {
  opacity: 1;
}

/* ✅ Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✅ Animation au chargement */
.category-section {
  animation: categorySlideIn 0.4s ease-out;
}

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


.category-content .filleul-item[data-category="pending"] {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc10730;
}
.category-content .filleul-item[data-category="available"] {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a74530;
}

/* ✅ Amélioration de l'accessibilité */
.category-header:focus {
  outline: 2px solid #f0b90b;
  outline-offset: 2px;
  border-radius: 8px;
}

.category-chevron:focus {
  outline: 2px solid #f0b90b;
  outline-offset: 1px;
  border-radius: 4px;
}

/* ✅ Indicateur visuel pour les sections vides */
.category-content:empty::after {
  content: 'Aucun élément dans cette catégorie';
  display: block;
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 20px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin: 10px 0;
  opacity: 0.7;
}

/* ✅ États de chargement */
.category-section.loading {
  opacity: 0.6;
  pointer-events: none;
}

.category-section.loading .category-header {
  background: rgba(240, 185, 11, 0.1);
}

.category-section.loading .category-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border: 2px solid #f0b90b;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ✅ Style pour les filleuls avec actions */
.filleul-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filleul-actions button {
  flex: 1;
  min-width: 120px;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.filleul-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ✅ Couleurs spécifiques pour les boutons d'action */
.claim-single-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.claim-single-btn:hover {
  background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%) !important;
}

.archive-btn {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
}

.archive-btn:hover {
  background: linear-gradient(135deg, #5a6268 0%, #495057 100%) !important;
}

/* ✅ Animation pour l'ouverture/fermeture fluide */
.category-content {
  transform-origin: top;
}

.category-content[style*="display: none"] {
  animation: slideUpSmooth 0.3s ease-out forwards;
}

.category-content[style*="display: block"] {
  animation: slideDownSmooth 0.3s ease-out forwards;
}

@keyframes slideDownSmooth {
  from {
    opacity: 0;
    max-height: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    max-height: 1000px;
    transform: scaleY(1);
  }
}

@keyframes slideUpSmooth {
  from {
    opacity: 1;
    max-height: 1000px;
    transform: scaleY(1);
  }
  to {
    opacity: 0;
    max-height: 0;
    transform: scaleY(0);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {

  .requirement-item {
    font-size: 13px;
    padding: 12px;
  }
  
  .claim-referral-btn {
    width: 100%;
    padding: 18px 20px;
    font-size: 17px;
  }
  
  .filleul-reward-section,
  .claim-box {
    margin-top: 20px;
    padding: 20px;
  }
  
  .parrain-requirements,
  .filleul-requirements {
    padding: 15px;
  }

  .claim-title {
    font-size: 18px;
  }

  .filleul-reward-description {
    font-size: 14px;
  }

  /* Responsive pour les sections collapse */
  .category-header {
    padding: 12px 15px;
  }
  
  .category-chevron {
    font-size: 14px;
    min-width: 20px;
  }
  
  .category-content .filleul-item {
    margin-bottom: 6px;
  }
  
  .category-content .filleul-item:hover {
    transform: translateX(4px); /* Mouvement réduit sur mobile */
  }
}

@media (max-width: 480px) {
  .referral-box {
    padding: 20px;
    margin-top: 20px;
  }

  .claim-box {
    padding: 18px;
  }

  .requirement-item {
    padding: 10px;
    font-size: 12px;
  }

  .claim-referral-btn {
    padding: 16px;
    font-size: 16px;
    min-width: auto;
  }

  .filleul-item {
    padding: 14px 16px;
  }

  .category-header {
    padding: 10px 12px;
  }
  
  .category-chevron {
    font-size: 12px;
    min-width: 18px;
  }
}

/* Indicateurs visuels et animations */
.notification-badge {
  position: relative;
}

.notification-badge::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

/* Succès et animations */
.success-animation {
  animation: successPulse 0.8s ease-in-out;
}

@keyframes successPulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.05); }
  60% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Tooltips pour les conditions */
.requirement-item[title] {
  cursor: help;
}

.requirement-item[title]:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(240, 185, 11, 0.3);
}

/* États de chargement */
.loading-state {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.loading-state::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f0b90b;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Effets de focus pour l'accessibilité */
.claim-referral-btn:focus,
.referral-display button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.3);
}

/* Amélioration des contrastes pour l'accessibilité */
.requirement-item {
  font-weight: 500;
}

.claim-title {
  font-weight: 800;
}



/* Effets de profondeur */
.claim-box,
.filleul-reward-section {
  position: relative;
}

.claim-box::after,
.filleul-reward-section::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 10px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.3;
}

/* ✅ Effet de brillance sur les en-têtes */
.category-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(10px);
}





/*AVATAR*/
.avatar-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 10px;
}

.spinner {
  border: 4px solid #eee;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.avatar-success {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: #4CAF50;
  color: white;
  border-radius: 50%;
  font-size: 20px;
  padding: 8px;
  z-index: 1000;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.avatar-success.show {
  opacity: 1;
  transform: scale(1);
}

.name-id-account button {
  border-radius: 10px;
  background-color: #fff0;
  border: 1px solid #f0b90b;
  color: #f0b90b;
  transition: 0.5s;
  padding: 10px;
}
.name-id-account button:hover {
  background-color: #f0b90b;
  color:white;
}
.name-id-account i{
  margin-right: 10px;
}
.name-id-account h2{
  color:gray;
}









/*Buy Noracoin*/

.sold-ncoin{
  list-style: none;
  margin: auto;
  background-color: #dadada;
  padding: 5px 15px;
  border-radius: 5px;
}
.flex-buy-token {
 display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
  padding: 25px;
  flex-direction: column;
  align-items: center;
  padding: 40px 60px;
}
.token-img {
width: 40%;
margin-left:10%;
}
.token-img img{
  width: 200px;
}
.buy-ncoin {
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  margin: 10px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.buy-ncoin p {
  margin-bottom: 14px;
  font-size: 15px;
  color: #333;
}

.buy-ncoin input[type="number"] {
  border-radius: 8px;
  transition: 0.2s ease;
  text-align: center;
  background-color: #f0f0f0;
  color: gray;
}

.buy-ncoin input[type="number"]:focus {
  border-color: #f0b90b;
  outline: none;
}

.buy-ncoin .bnb {
  color: #f0b90b;
  font-weight: bold;
}

.buy-ncoin .usd {
  color: #bebebe;
  font-weight: 600;
  font-style: italic;
  font-size: 14px;
}

.cost-ncoin-buy {
  margin-top: 15px;
  border-top: 1px solid #e3e3e3;
}
.cost-ncoin-buy p{
  background-color: rgb(227, 227, 227);
  margin:auto 0;
  padding:20px;
  color: #818181;
  width: 65%;
}
.cost-value-buy{
  padding: 35px 20px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#buyPointsButton {
  background-color: #f0b90b;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 90%;
  transition: 0.5s;
}
.btn-buy-flex{
  display: flex;
  gap: 20px;
  width: 100%;
}
.value-cost-flex{
  padding: 20px;
  width: 100%;
  text-align: right;
}
.ncoin-value-display {
  display: flex;
  align-items: center;
}

#buyPointsButton:hover {
  opacity: 0.5;
}


.metamask-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: #575757;
  user-select: none;
  width: auto;
  background-color: #d0d0d0;
  padding: 10px 30px;
  border-radius: 25px;
}
.flex-meta-cont{
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.flex-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-left: 15px;
}
.metamask-icon {
  width: 24px;
  height: 24px;
}

.wallet-address {
  font-size: 12px;
  background:#fff;
  padding:5px 20px;
  border-radius:4px;
  color: #868686;
}

.metamask-toggle {
  position: relative;
  width: 57px;
  height: 25px;
  border-radius: 13px;
 background-color: #fff;
  transition: background-color 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.status-indicator {
  position: absolute;
  top: 2.5px;
  left: 3px;
  width: 20px;
  height: 20px;
  background-color: #f0b90b;
  border-radius:50%;
  transition:all 0.3s ease;
  z-index: 2;
}

.toggle-text {
  position: absolute;
  top: 3px;
  width: 50%;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  z-index: 1;
}

.toggle-text.on {
  left: 5px;
  display: none;
}

.toggle-text.off {
  right: 5px;
  display: inline;
  color: #f0b90b;
}

.metamask-toggle.connected .status-indicator {
  left: 35px;
  background-color: #2ecc71;
}

.metamask-toggle.connected .toggle-text.on {
  display: inline;
  color: #2ecc71;
}

.metamask-toggle.connected .toggle-text.off {
  display: none;
}

.profil-noracoin {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0px;
}
.profil-noracoin2 {
  display: flex;
  justify-content: space-between;
  border-radius: 5px;
  margin-bottom:40px;
}

.view-wallet{
  display: flex;
  width: auto;
  align-items: center;
  justify-content: space-between;
  padding: 25px;
}

.ncoin-card {
  width: 100%;
  border-radius:10px;
}
.ncoin-card2 {
  border-radius:12px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  transition:all 0.3s ease;
  width: 100%;
  display: flex;
  justify-content: center;
}
.ncoin-card3{
  display: none;
}
.ncoin-card4{
  display: block;
}

.tag-fonction {
  display: flex;
  gap:10px;
  flex-wrap: wrap;
  margin: 0px 0px 30px 0px;
  width: 70%;
}
.tag-fonction b{
  padding: 5px 20px;
  border-radius: 25px;
  color: #808080;
  font-weight: 500;
  border: 1px solid #c6c6c6;
}
.tag-fonction i{
  margin-right: 10px;
}
.flex-txt-nora{
  display: flex;
}
.txt-nora img{
  display: none;
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.info-content-ncoin h1{
  text-align: left;
  color: #808080c2;
  font-family: anton;
  font-weight: 100;
}
.info-content-ncoin p{
  text-align: left;
  color: #6a6a6a;
  margin-top: 20px;
  text-align: justify;
}

.toggle-buy-nora {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #f0b90b, #f8d12f);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  
}

.toggle-buy-nora p {
  font-size: 26px;
  color: #fff;
  font-family: 'Anton', sans-serif;
  margin: 0;
  letter-spacing: 1px;
}

.toggle-buy-nora i {
  transition: transform 0.3s ease;
  font-size: 18px;
  color:white;
}

.toggle-buy-nora.active i {
  transform: rotate(180deg);
}

.buy-ncoin {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.buy-ncoin.open {
  max-height: 1000px;
  padding:0px;
}

.sold-buy {
 display: flex;
  justify-content: center;
  padding: 30px;
  border-radius: 10px 10px 0px 0px;
  background: #6c6c6c;
  background-image: repeating-linear-gradient( 45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.05) 1px, #b4b4b414 1px, #fff0 5px );
  border-top: 5px solid #f0b90b;
}
.sold-buy img{
  width: 25px;
  height: 25px;
  margin-left:10px;
  margin-top:auto;
  margin-bottom:auto;
}
.sold-buy p{
  margin-top: auto;
  margin-bottom: auto;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}
.sold-buy i{
  padding: 0px 40px;
  font-size: 1.5rem;
  color: #f0b90b;
}
.info-content-ncoin h3{
  color: gray;
  font-size: 20px;
  padding: 10px;
  text-align: left;
}
.buy-nora-info{
  display: flex;
  padding: 20px;
  gap: 20px;
  align-items: center;
  background: #f0b90b3b;
  margin: 20px;
  border-radius: 10px;
  border-left: 5px solid #f0b90b;
  color: #a37f10;
}
.buy-nora-info p{
  margin:0;
  color: #a37f10;
}
.ncoin-info {
  display: flex;
  justify-content: space-between;
  margin-top: 0px;
  font-size: 15px;
}
.ncoin-info-p1{
background-color: #f6ebc799;
  border: 1px solid #f0b90b36;
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  padding: 13px 20px 13px 20px;
  box-shadow: 0px 0px 20px rgba(240, 185, 11, 0.46);
  
}
.ncoin-info-p1 span{
color: #f0b90b;
  margin:auto 0px auto 0px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ncoin-info-p1 p{
  margin: auto;
}
.ncoin-info-p2{
  background-color: #82c6b345;
  padding:20px;
  border-bottom:1px solid #4fb095;
  border-right:1px solid #4fb095;
  border-left:1px solid #4fb095;
  border-radius:0px 0px 5px 5px;
  display: flex;
  justify-content: space-between;
  display: none;
}
.ncoin-info-p2 span{
  color: #4fb095;
}
.ncoin-info1 {
display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding: 15px 20px 15px 20px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.ncoin-info1 span{
 color: #f0b90b;
 font-weight: 600;
}
.ncoin-info2 {
  display: none;
  justify-content: space-between;
  font-size: 15px;
  padding:10px;
  background-color: #e2e2e22e;
  border-radius:5px;
  width: 100%;
  margin:auto 10px;
  background-color: #e8f9f5;
  border:1px solid #4eaf94;
  
}
.ncoin-info2 span{
 color: #4db095;
}

.ncoin-label {
  font-weight: 600;
}

#noracoinValue{
  color: #b1b1b1;
  font-size: 13px;
  font-weight: 400;
}
#noracoinValue2{
  color: #b1b1b1;
  font-size: 13px;
  margin-left:30px;
  font-weight: 400;
}
#noracoinValue3{
  color: #b1b1b1;
  font-size: 13px;
  margin-left:30px;
  font-weight: 400;
}


.popup-success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-in-out;
}

.popup-content2 {
  background-color: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  animation: popupIn 0.4s ease-in-out;
}

.popup-content2 h2 {
  color: #2ecc71;
  margin-bottom: 15px;
}

.popup-content2 button {
  margin-top: 20px;
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes popupIn {
  from { transform: scale(0.9); opacity: 0 }
  to { transform: scale(1); opacity: 1 }
}



/*CREATION*/

.creation-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
  flex-wrap: wrap;
  text-decoration: none;
}

.creation-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  border-radius: 5px;
  padding: 10px 20px;
  width: auto;
  color: #333;
  text-align: center;
  transition: 0.5s;
  background: linear-gradient(90deg, #eee, #eee);
  border:1px solid #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 1px 3px;
}

.creation-button i {
  font-size: 30px;
  margin-bottom: 15px;
  color: #f0b90b;
}

.creation-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}


.creation-button span {
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
  color: gray;
}

/* État actif pour les boutons de création */
.creation-button.active {
  background: linear-gradient(135deg, #f0b90b 0%, #f8d33a 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.3);
  border: 1px solid #f0b90b;
  position: relative;
  overflow: hidden;
}

/* Indicateur visuel d'état actif */
.creation-button.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: activeShine 3s infinite;
}

@keyframes activeShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.creation-button.active i {
  color: white !important;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.creation-button.active span {
  color: white !important;
  font-weight: 600;
}

/* Effet de transition fluide */
.creation-button {
  transition: all 0.3s ease;
}

/* Hover sur bouton actif */
.creation-button.active:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(240, 185, 11, 0.4);
  background: linear-gradient(135deg, #f8d33a 0%, #f0b90b 100%);
}

/* Responsive pour les boutons de création */
@media (max-width: 768px) {
  .creation-button.active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(240, 185, 11, 0.25);
  }
  
  .creation-button.active::before {
    animation: none; /* Désactiver l'animation sur mobile pour les performances */
  }
  
  .creation-button.active i {
    animation: none; /* Désactiver l'animation sur mobile */
  }
  
  /* Ajuster la taille sur mobile */
  .creation-actions {
    gap: 10px;
  }
  
  .creation-button {
    padding: 8px 15px;
  }
}



/* AIRDROPS */

/* Dans ton fichier CSS */
.deletion-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.delete-airdrop:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Styles pour le décompte de suppression */
.deletion-countdown {
    padding: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 10px;
    text-align: center;
    animation: pulse-deletion 2s infinite;
}

.deletion-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
}

.deletion-header i {
    font-size: 1.2em;
}

.deletion-timer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.deletion-timer .time-block {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 50px;
}

.deletion-timer .time-block.warning {
    background: rgba(255, 193, 7, 0.3);
    border: 1px solid #ffc107;
}

.deletion-timer .time-block.critical {
    background: rgba(220, 53, 69, 0.3);
    border: 1px solid #dc3545;
    animation: blink-critical 1s infinite;
}

.deletion-timer .time-value {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
}

.deletion-timer .time-label {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.deletion-info {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85em;
}

.deletion-imminent {
    padding: 20px;
    background: #dc3545;
    color: white;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    animation: shake 0.5s infinite;
}




/* Animations */
@keyframes pulse-deletion {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

@keyframes blink-critical {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.airdrop-badge.deletion {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    animation: pulse-deletion 2s infinite;
}

/* Styles existants que vous avez partagés */
.airdrop-publish-container {
  background-color: #f8f9fa;
  border-radius:10px;
  padding:30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition:all 0.4s ease;
  overflow:hidden;
  background:linear-gradient(135deg, #5e5e5e 0%, #292929 100%);
  margin-top: 5px;
}

.airdrop-publish-container h2 {
  text-align: center;
}
#airdropPublishContainer h2{
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}
.form-label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 600;
}

input[type="text"],
input[type="number"],
input[type="file"],
textarea {
width: 100%;
  padding:10px;
  border:1px solid #ddd3;
  border-radius:6px;
  font-size: 15px;
  background-color: #757575;
  color: white;
}

textarea {
  resize: vertical;
}


.airdrop-cost, .user-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px 15px 30px;
  background-color: #00000052;
  border-radius: 8px;
  margin: 10px 0px 5px 0px;
}

.user-airdrops-section {
  border-radius: 15px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 50px;
  background: #ffffff52;
}

.airdrops-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}



/* Style amélioré pour l'état collapsed avec les mêmes valeurs que Twitter */
.airdrop-publish-container.collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0; /* Ajout pour correspondre au style Twitter */
  margin: 0; /* Ajout pour correspondre au style Twitter */
  pointer-events: none; /* Empêche les interactions quand masqué */
  border: none; /* Supprime la bordure quand masqué */
}

/* Style pour le bouton de toggle, harmonisé avec Twitter */

.toggle-form-btn {
padding:12px 20px;
background-color: #7b7b7b9e;
  color: #ffffffe0;
  border-radius:5px;
  font-size: 28px;
  font-weight: 400;
  cursor: pointer;
  transition:all 0.1s ease;
  text-transform: uppercase;
  font-family: 'Anton', sans-serif;
  width: 100%;
  margin-top: 5px;
  border:none;
  margin-bottom:17px;
}

.toggle-form-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(83, 83, 83, 0.4);
}

/* Animation d'apparition quand le formulaire est affiché */
.airdrop-publish-container:not(.collapsed) {
  animation: form-appear 0.4s ease;
}

@keyframes form-appear {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.content-flex-toggle-drop {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  border-radius: 15px;
  background: rgb(246, 246, 246);
}
.btn-publi-drop{
  margin:auto 20px;
  border-radius:20px;
  border:1px solid #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 1px 3px;
  background:linear-gradient(90deg, #eee, #dfdfdf);
  padding:25px;
}
.btn-publi-drop i{
  font-size: 100px;
  color: #f0b90b;
}
.publi-drop-drop {
  display: flex;
  justify-content: center;
}

.interface-drop {
  margin: auto 20px;
}
.interface-drop h1{
  color: #808080c2;
  font-family: anton;
  font-weight: 100;
  margin-bottom: 30px;
}
.interface-drop p {
  color: gray;
  text-align: justify;
}

.empty-list{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}
.empty-list p{
  background-color: #373737;
  margin: auto;
  padding: 10px;
  width: 100%;
  justify-content: center;
  color:gray;
  border-radius: 10px;
}
.empty-list center{
  width: 100%;
}

/*POPUP BOOST VOTE*/

/* Style pour le popup de boost vote */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-overlay .popup-content {
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: popIn 0.3s ease-out;
}

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

/* Style pour les boutons du popup */
.popup-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
  flex-direction: column;
}

.popup-actions button {
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.popup-actions button:first-child {
  background-color: #f0b90b;
  color: white;
  justify-content: center;
}

.popup-actions button:first-child:hover {
  background-color: #e0aa00;
}

.popup-actions button:last-child {
  justify-content: center;
    background: #ecf0f1;
  color: gray;
  width: 100%;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 10px;
}

.popup-actions button:last-child:hover {
  background-color: #e5e5e5;
}

#boostVoteAmount {
  background-color: #fff;
  color: #484848;
}

/* Style pour le message d'airdrop terminé */
.airdrop-ended-message {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 0;
  font-size: 18px;
  font-weight: 600;
  color: #757575;
  background-color: #f5f5f5;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.airdrop-ended-message i {
  margin-right: 10px;
  font-size: 20px;
  color: #e74c3c;
}

/* Styles pour l'éditeur Quill et l'affichage des descriptions */

/* Style pour le conteneur de l'éditeur */
#airdropDescriptionEditor {
  border: 1px solid #ddd;
  border-radius: 8px;
  height:auto;
 background: #ffffffbf;
 margin-top: 5px;
}

/* Adaptation de la toolbar Quill au thème de l'application */
.ql-toolbar.ql-snow {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f8f9fa;
  padding: 8px;
}

.ql-container.ql-snow {
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.flex-airdrop-account{
  margin-bottom:45px;
}

/* Styles pour l'affichage des descriptions dans les cartes */
.air-desc {
  margin: 10px 0;
  overflow: hidden;
  max-height: 200px;
  position: relative;
}
.air-desc p{
  background: white;
}

/* Gradient pour indiquer du contenu masqué par limite de hauteur */
.air-desc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
  display: none; /* Affiché uniquement quand le contenu est tronqué */
}

.air-desc.truncated::after {
  display: block;
}

/* Styles pour les éléments dans les descriptions */
.air-desc a {
  color: #007bff;
  text-decoration: none;
}

.air-desc a:hover {
  text-decoration: underline;
}

.air-desc ul, .air-desc ol {
  padding-left: 20px;
  margin: 10px 0;
}

.air-desc blockquote {
  border-left: 3px solid #ddd;
  margin: 0;
  padding: 10px 20px;
  background-color: #f8f9fa;
  color: #666;
}

.air-desc table {
  border-collapse: collapse;
  width: 100%;
  margin: 10px 0;
}

.air-desc th, .air-desc td {
  border: 1px solid #ddd;
  padding: 8px;
}

.air-desc th {
  background-color: #f8f9fa;
}

/* Pour le mode responsive */
@media (max-width: 768px) {
  .ql-toolbar.ql-snow {
    flex-wrap: wrap;
  }
  
  .ql-toolbar button {
    padding: 3px !important;
  }
  
  #airdropDescriptionEditor {
    min-height: 100px;
  }
}

/* Conteneur global pour la description et son bouton */

  .air-desc-container {
    position: relative;
    transition: max-height 0.3s ease;
    padding: 20px;
    background-color: white;
    border-radius:20px;
    border: 1px dashed #adb5bd;
}

/* Style de base pour la description */
.air-desc {
  overflow: hidden;
  max-height: 200px;
  transition: max-height 0.3s ease;
}

/* Gradient pour indiquer du contenu masqué */
.air-desc-container.truncated .air-desc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}

/* Mode expanded - Cacher les colonnes non actives */
.home-rankings.expanded-airdrops #twitterColumn {
    display: none !important;
}

.home-rankings.expanded-twitter #airdropsColumn {
    display: none !important;
}

/* S'assurer que la colonne active prend toute la largeur */
.home-rankings.expanded-airdrops #airdropsColumn,
.home-rankings.expanded-twitter #twitterColumn {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
/* Transitions fluides pour les colonnes */
#airdropsColumn,
#twitterColumn {
    transition: opacity 0.3s ease;
}

.home-rankings.expanded-airdrops #twitterColumn,
.home-rankings.expanded-twitter #airdropsColumn {
    opacity: 0;
    display: none !important;
    transition: none; /* Pas de transition sur display */
}

.home-rankings.expanded-airdrops #airdropsColumn,
.home-rankings.expanded-twitter #twitterColumn {
    opacity: 1;
}




/* État développé */
.air-desc-container.expanded .air-desc {
  max-height:100%; /* Valeur suffisamment grande */
}

.air-desc-container.expanded .air-desc::after {
  display: none; /* Masquer le dégradé quand développé */
}
.expanded-airdrops .airdrop-rank-card {
  margin:0px;
}
.expanded-twitter .twitter-rank-card {
  margin:0px;
}


/* Bouton d'expansion */
.expand-desc-btn {
  display: none; /* Caché par défaut, affiché en JS si nécessaire */
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border:1px solid #f1ba0bb2;
  box-shadow: 0 0px 10px rgba(67, 67, 67, 0.29);
  cursor: pointer;
  z-index: 2;
  
  /* Centrer l'icône */
  align-items: center;
  justify-content: center;
  
  /* Animation */
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.expand-desc-btn:hover {
  background-color: #f8f9fa;
  transform: translateX(-50%) scale(1.1);
}

.expand-desc-btn i {
  color: #666;
  font-size: 14px;
}

/* Ajouter de la marge en bas quand tronqué pour faire de la place au bouton */
.air-desc-container.truncated {
  margin-bottom: 60px;
}

/* Animation transition */
.air-desc-container.expanded .expand-desc-btn {
  bottom: -50px;
}

/* TWITTER*/

.container-form {
  background: rgba(255, 255, 255, 0.35);
  background-image: none;
  border-radius:15px;
  padding:30px;
  border:1px solid rgba(255, 255, 255, 0.2);
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0) 0px, rgba(162, 162, 162, 0.05) 1px, #00000012 1px, #0000 5px );
}

.twitter-publish-container {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition:all 0.4s ease;
  overflow:hidden;
  background: linear-gradient(135deg, #5e5e5e 0%, #292929 100%);
  border-radius: 5px 5px 20px 20px;
  margin-top: 5px;
  padding: 30px;
  backdrop-filter: blur(10px);
margin-bottom:30px;
}

.twitter-publish-container.collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  pointer-events: none;
}


.twitter-publish-container h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}
.twitter-toggle-wrapper {
  justify-content: center;
  display: flex;
}

/* Styles pour comptes Twitter */
/* Styles pour comptes Twitter */
.twitter-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  margin-bottom: 25px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.flex-form-x {
  display: flex;
}

.twitter-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.twitter-avatar {
  position: absolute;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  left: 20px;
  z-index: 5; /* Augmenté pour passer devant tous les éléments */
  width: 200px;
  height: 200px;
  left: 88px;
}

/* Augmentation du padding en haut du conteneur d'information pour laisser de la place à l'avatar */
.twitter-info {
  padding: 60px 80px;
  position: relative; /* Pour s'assurer que le z-index fonctionne correctement */
  z-index: 1; /* Valeur inférieure à celle de l'avatar */
}

.flex-modal-account-link {
  display: flex;
  justify-content: space-between;
}

/* S'assurer que le header est correctement positionné */
.twitter-header {
  position: relative;
  width: 100%;
  overflow: visible; /* Changé de hidden à visible pour que l'avatar puisse déborder */
}

.twitter-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: #5c5c5c;
  display: flex;
  align-items: center;
  margin: auto;
}

.twitter-info h3 .twitter-handle {
  font-weight: 400;
  color: #657786;
  margin-left: 8px;
  font-size: 20px;
  margin-bottom: -4px;
}

.twitter-handle{
  margin-bottom: -5px;
  color: gray;
}

.twitter-info h3 .verified-badge {
  color: #1da1f2;
  margin-left: 4px;
}

.twitter-desc {
  color: #14171a;
  line-height: 1.5;
  font-size: 14px;
  margin-top: 35px;
  padding:20px;
  background-color: #e7e7e76e;
  border-radius:5px;
}


/* === BADGES THÉMATIQUES DANS LES CARTES === */
.twitter-stats-container {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  justify-content: center;
  display: flex;
}
.twitter-stats-container-mobile {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  justify-content: center;
  display: flex;
  display: none;
}

.twitter-theme {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.twitter-theme strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f0b90b;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.twitter-theme strong i {
  color: #f0b90b;
  font-size: 14px;
}

.theme-badges-display {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.theme-badges-display-premium {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin:0px;
}
.theme-badges-display-premium .theme-badge-ranking{
  font-size: 10px;
}

.theme-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #f0b90b, #d4a00a);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  box-shadow: 0 2px 8px rgba(240, 185, 11, 0.25);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.theme-badge-card i {
  font-size: 13px;
}

.theme-badge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 185, 11, 0.4);
}

.no-theme {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-style: italic;
}

/* Animation d'apparition des badges */
@keyframes badgeFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.theme-badge-card {
  animation: badgeFadeIn 0.3s ease forwards;
}

.theme-badge-card:nth-child(1) {
  animation-delay: 0.05s;
}

.theme-badge-card:nth-child(2) {
  animation-delay: 0.1s;
}

.theme-badge-card:nth-child(3) {
  animation-delay: 0.15s;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .twitter-stats-container {
    padding: 10px 12px;
  }
  
  .twitter-theme strong {
    font-size: 12px;
  }
  
  .theme-badge-card {
    padding: 5px 12px;
    font-size: 11px;
    gap: 5px;
  }
  
  .theme-badge-card i {
    font-size: 12px;
  }
  
  .theme-badges-display {
    gap: 6px;
  }
}

/* === BADGES THÉMATIQUES DANS LES CARTES DE RANKING === */

.theme-badges-display-ranking {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
  justify-content: center;
}

.theme-badge-ranking {
 display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 14px;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: linear-gradient(135deg, #f0b90b, #d4a00a);
  border-color: #f0b90b;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(240, 185, 11, 0.4);
  transform: scale(1.05);
}

.theme-badge-ranking i {
  font-size: 14px;
  color: #fff;
}


/* Style alternatif doré plus marqué */
.theme-badge-ranking.gold-style {
  background: linear-gradient(135deg, #f0b90b, #d4a00a);
  color: #000;
  border: none;
  box-shadow: 0 2px 6px rgba(240, 185, 11, 0.2);
}

.theme-badge-ranking.gold-style:hover {
  box-shadow: 0 3px 10px rgba(240, 185, 11, 0.35);
  transform: translateY(-2px);
}

/* Animation d'apparition */
@keyframes badgeSlideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.theme-badge-ranking {
  animation: badgeSlideIn 0.3s ease forwards;
}

.theme-badge-ranking:nth-child(1) { animation-delay: 0.05s; }
.theme-badge-ranking:nth-child(2) { animation-delay: 0.1s; }
.theme-badge-ranking:nth-child(3) { animation-delay: 0.15s; }

/* Message si aucune thématique */
.no-theme {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
  font-style: italic;
  padding: 5px 0;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .theme-badges-display-ranking {
    gap: 5px;
    margin: 8px 0;
  }
  
  .theme-badge-ranking {
    padding: 4px 10px;
    font-size: 10px;
    gap: 4px;
  }
  
  .theme-badge-ranking i {
    font-size: 11px;
  }
}

/* Style pour les cartes en mode expanded */
.expanded-view-item .theme-badges-display-ranking {
  margin: 0;
  padding: 15px 0px 0px 0px;
  border-top: 1px solid #e6e6e6;
}

.expanded-view-item .theme-badge-ranking {
  padding: 6px 14px;
  font-size: 12px;
}

/* Style alternatif si tu veux des badges plus discrets */
.theme-badge-card.subtle {
  background: rgba(240, 185, 11, 0.15);
  color: #f0b90b;
  border: 1px solid rgba(240, 185, 11, 0.3);
  box-shadow: none;
}

.theme-badge-card.subtle:hover {
  background: rgba(240, 185, 11, 0.25);
  border-color: rgba(240, 185, 11, 0.5);
}



/* Style pour le bouton Voir le profil */
.twitter-profile-link {
  text-align: right;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #1da1f2;
  color: white !important;
  border-radius: 16px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.profile-link i {
  margin-right: 5px;
}

.profile-link:hover {
  background: #1a91da;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-decoration: none !important;
}

/* Masquer les éléments d'origine qui sont remplacés */
.twitter-links {
  display: none;
}

/* Conserver l'ancien style twitter-stats pour la compatibilité, mais le masquer quand le nouveau style est utilisé */
.twitter-stats {
  display: none;
}

.twitter-pinned {
  background: #f0b90b0d;
  border-left: 3px solid #f0b90b;
  padding: 20px 10px;
  border-radius: 0px 20px 20px 20px;
  margin: 15px 0;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.twitter-pinned strong {
  gap: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.twitter-pinned p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #707070;
}

.pinned-content {
  padding: 10px;
  background: white;
  border-radius: 0px 20px 20px 20px;
  border: 1px solid #e1e8ed;
  font-size: 14px;
  color: #14171a;
  line-height: 1.4;
}
.pinned-content img{
  width: 16px;
}
.ql-snow .ql-editor img {
  width: 16px;
}
.ql-editor {
  resize: vertical;
  min-height: 100px;
}
.pinned-content p {
  margin: 0 0 10px;
}

.pinned-content a {
  color: #1da1f2;
  text-decoration: none;
}

.pinned-content a:hover {
  text-decoration: underline;
}

.twitter-links {
  display: flex;
  justify-content: flex-start;
  margin-top: 15px;
}

.twitter-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  background: #1da1f2;
  color: white;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.twitter-links a i {
  margin-right: 6px;
}

.twitter-links a:hover {
  background: #1a91da;
  transform: translateY(-2px);
}

.delete-twitter {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  font-size: 16px;
  padding: 0;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.delete-twitter:hover {
  opacity: 1;
  background: rgba(244, 33, 46, 0.8);
}

.delete-twitter i {
  font-size: 18px;
}

.twitter-card.fade-out {
  opacity: 0;
  transform: translateY(20px);
}
/* Ajoutez ces styles à votre fichier style.css */

/* Style pour l'éditeur de tweet épinglé */
#pinnedTweetEditor {
  height: auto;
  margin-bottom: 20px;
  background:#ffffffd1 !important;
  border:1px solid #ccc;
  border-radius:5px !important;
  background:#ffffffbf;
  margin-top: 5px;
}

.ql-toolbar {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
}

.ql-container {
  font-family: inherit;
  font-size: 15px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  min-height: 80px;
}

/* Assurer que le contenu de Quill s'affiche correctement une fois publié */
.pinned-content {
  padding: 15px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e1e8ed;
  font-size: 14px;
  color: #14171a;
  line-height: 1.4;
}

.pinned-content p {
  margin: 0 0 10px;
}

.pinned-content a {
  color: #1da1f2;
  text-decoration: none;
}

.pinned-content a:hover {
  text-decoration: underline;
}

.pinned-content strong {
  font-weight: bold;
}

.pinned-content em {
  font-style: italic;
}
/* Design moderne pour la section de publication */


.cost-balance-info {
  gap: 20px;
  margin-bottom: 30px;
}

.cost-indicator, .balance-indicator {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  flex: 1;
  min-width: 200px;
  border: 1px solid #eaeaea;
  transition: transform 0.2s ease;
}

.cost-indicator:hover, .balance-indicator:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cost-icon, .balance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 20px;
}
.cost-icon, .balance-icon2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 20px;
}

.cost-icon {
  background-color: #fff;
  color: #f0b90b;
  border: 1px solid;
}

.balance-icon {
  background-color: #fff;
  color: #3aab07;
  border: 1px solid;
}
.balance-icon2 {
background-color: #fff;
  color: #808080;
  margin:auto;
    margin-top: auto;
    margin-left: auto;
  position: absolute;
  margin-left: 17%;
  margin-top: 3.5%;
}
.ncoin-card2 .balance-icon2 {
  position: relative;
  margin: 0px auto 0px auto;
}


.cost-details, .balance-details {
  display: flex;
  justify-content: space-between;
  width: 80%;
}

.cost-label, .balance-label {
  font-size: 13px;
  color: #777;
  margin: auto 0;
}

.cost-value, .balance-value {
  font-size: 22px;
  font-weight: 700;
  color: #838383;
  margin: auto 0;
}
.cost-value2, .balance-value {
  font-size: 22px;
  font-weight: 700;
  color: #838383;
  margin: auto 0;
}

.coin-name {
  font-size: 16px;
  font-weight: normal;
  color: #999;
}

/* Bouton de publication modernisé */
.publish-button {
display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  color: white;
  border: none;
  transition: all 0.2s ease;
    transition-duration: 0.2s;
  font-weight: 100;
  font-family: 'Anton', sans-serif;
  margin: 10px auto;
  border-radius: 10px;
  font-size: 20px;
  width: 100%;
  opacity: 0.7;
  background-color: #f0b90b;
}

.publish-button:hover {
  background: #f0b90c;
  opacity: 1;
}

.publish-button i{
  margin-right: 10px;
}
.btn-icon {
  margin-right: 10px;
  font-size: 18px;
}

/* Message box amélioré */
.message-box {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background: #f8f9fa;
  border-left: 4px solid #1da1f2;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.message-box.show {
  opacity: 1;
  transform: translateY(0);
}

/* États de message */
.message-box.success {
  background-color: #e6f7ee;
  border-left-color: #2ecc71;
  color: #27ae60;
}

.message-box.error {
  background-color: #feeaec;
  border-left-color: #e74c3c;
  color: #c0392b;
}

.message-box.warning {
  background-color: #fff8e6;
  border-left-color: #f1c40f;
  color: #f39c12;
}

/* Responsive design */
@media (max-width: 768px) {
  .cost-balance-info {
    flex-direction: column;
  }
  
  .publish-summary-container {
    padding: 20px;
  }
}
/* Styles pour les boutons d'action Twitter */

/* Conteneur pour les boutons d'actions */
.twitter-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  display: flex;
  gap: 8px;
}
.twitter-actions2{
  display: none;
}

/* Style commun pour les boutons d'action */
.twitter-actions button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: white;
  opacity: 0.7;
}

.twitter-actions button:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Style spécifique pour le bouton d'édition */
.edit-twitter {
  background: rgba(0, 0, 0, 0.55);
}

.edit-twitter:hover {
  background: rgb(240, 185, 11, 0.5);
  border:2px solid white;
}

/* Style spécifique pour le bouton de suppression */
.delete-twitter {
  background: rgba(0, 0, 0, 0.6);
}

.delete-twitter:hover {
  background: rgba(244, 33, 46, 0.5);
  border:2px solid white;
}

/* Icônes dans les boutons */
.twitter-actions button i {
  font-size: 22px;
}

/* Message d'information pour l'édition */
#twitterMessageBox {
  padding: 12px 15px;
  border-radius: 8px;
  background-color: #f8f9fa;
  font-size: 14px;
  font-weight: 500;
  margin-top: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

/* Animation pour le mode d'édition */
form[data-mode="edit"] {
  animation: highlight-form 1s ease-in-out;
}

@keyframes highlight-form {
  0% { background-color: #fff; }
  50% { background-color: rgba(52, 152, 219, 0.05); }
  100% { background-color: #fff; }
}
/* Styles pour les popups de Twitter */
#twitterBannerPopup {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#twitterAvatarPopup {
    display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


#twitterBannerImageContainer {
  width: 100%;
  max-height: 350px;
  overflow: hidden;
  margin: 15px auto;
  border-radius: 10px;
}

#twitterAvatarImageContainer {
  width: 300px; 
  height: 300px;
  overflow: hidden;
  margin: 10px auto;
  border-radius: 10px;
}

#twitterBannerPreviewCrop,
#twitterAvatarPreviewCrop {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

/* Styles pour les miniatures de prévisualisation */
#twitterBannerPreviewWrapper, 
#twitterAvatarPreviewWrapper {
  display: none;
  margin-bottom: 15px;
  border: 1px solid #e1e8ed;
  padding: 10px;
  border-radius: 8px;
  background-color: #f8f9fa;
  text-align: center;
}

#twitterBannerThumb {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

#twitterAvatarThumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}
/* Pour les prévisualisations d'images dans le mode édition */
#twitterBannerPreviewWrapper, #twitterAvatarPreviewWrapper {
  border:1px solid #e1e8ed4a;
  padding:5px;
  border-radius:8px;
  background-color: #0000001c;
}

#twitterAvatarThumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin: 5px auto;
  display: block;
}

/* Styles pour indiquer que le formulaire est en mode édition */
.twitter-publish-container.edit-mode {
  border-left: 4px solid #3498db;
  background-color: #f8f9fa;
}

.twitter-publish-container.edit-mode h2::before {
  content: "✏️ ";
}

/* Animation de succès après mise à jour */
@keyframes update-success {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.update-success {
  animation: update-success 0.5s ease;
}

/* Ajustement pour que les boutons d'action ne débordent pas sur mobile */
@media (max-width: 768px) {
  .twitter-actions {
    top: 10px;
    right: 10px;
    gap: 5px;
  }
  
  .twitter-actions button {
    width: 32px;
    height: 32px;
  }
}


/* === BADGES THÉMATIQUES === */
.theme-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.theme-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.2), rgba(240, 185, 11, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.theme-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 185, 11, 0.5);
  box-shadow: 0 5px 15px rgba(240, 185, 11, 0.2);
}

.theme-badge:hover::before {
  opacity: 1;
}

.theme-badge.selected {
  background: linear-gradient(135deg, #f0b90b, #d4a00a);
  border-color: #f0b90b;
  color: #000;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(240, 185, 11, 0.4);
  transform: scale(1.05);
}

.theme-badge.selected::before {
  opacity: 0;
}

.theme-badge i {
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.theme-badge span {
  position: relative;
  z-index: 1;
}

.theme-badge:active {
  transform: scale(0.98);
}

.theme-error-message {
  margin-top: 10px;
  padding: 10px 15px;
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  color: #ff6b6b;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-error-message i {
  font-size: 14px;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .theme-badges-container {
    gap: 8px;
    padding: 12px;
  }
  
  .theme-badge {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .theme-badge i {
    font-size: 14px;
  }
}

/* Médias sociaux section */

.social-metrics-head {
  display: flex;
  width: 100%;
  gap: 15px;
}
.social-metrics-foot {
  display: flex;
  width: 100%;
  gap: 15px;
}

.flex-info-twitter{
  width: 100%;
  gap: 25px;
  display: flex;
}

.social-metrics {
  display: flex;
  gap: 15px;
  margin: 15px 0;
  width: 100%;
}

.social-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 15px 15px;
  background: white;
  border-radius: 15px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  gap: 10px;
}

.social-metric .value .token-logo2 {
  font-size: 18px;
  font-weight: 700;
  color: #14171a;
  width: 40px;
  margin-bottom: 5px;
  border-radius: 10px;
}

.social-metric .label {
  font-size: 12px;
  color: #657786;
}



/* Responsive design */
@media (max-width: 768px) {
  .twitter-stats {
    flex-direction: column;
  }
  
  .twitter-avatar {
    width: 80px;
    height: 80px;
    bottom: -25px !important;
    left: 20px;
  }
  .twitter-info h3 {
  font-size: 20px;
}
.twitter-info h3 .twitter-handle {
  font-size: 14px;
}
  
  .twitter-info {
    padding: 30px 15px 15px;
  }
}

/* Modifications pour harmoniser les cartes airdrops avec le design des cartes Twitter */

/* Style de base des cartes airdrops inspiré des cartes Twitter */
.airdrop-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  margin-bottom: 25px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Style de l'image bannière */
.airdrop-thumb {
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Conteneur des informations */
.airdrop-info {
  padding: 25px 20px 20px;
  position: relative;
}

/* Adaptation pour le titre et le badge de vérification */
.airdrop-info h3 {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  font-size: 40px;
  color: #fff;
  margin-top: -25px;
  justify-content: space-around;
  margin-bottom: 15px;
  font-family: anton;
  font-weight: 100;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.11);
  margin-left: -25px;
  margin-right: -25px;
  background: linear-gradient(135deg, #000000c4 0%, #29292987 100%);
}

.air-desc-container h3{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  font-size: 32px;
  color: #868686;
  margin-top: 0;
  justify-content: space-around;
  margin-bottom: 0px;
  font-family: anton;
  font-weight: 100;
  background-image: none;
  padding: 20px;
  border-radius: 50px;
  border: none;
  box-shadow: none;
}

/* Style pour les badges d'état (actif/terminé) */
.airdrop-badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 20px;
  color: white;
  font-weight: 600;
  margin-left: auto;
}

.airdrop-badge.active {
  background-color: #2ecc71;
}

.airdrop-badge.ended {
  background-color: #e74c3c;
}

/* Style pour la description */
.air-desc {
  color: #14171a;
  line-height: 1.5;
  font-size: 14px;
}

.air-desc p {
  margin: 0;
}

/* Supprimer l'ancien style pour air-spec */
.airdrop-card .air-spec {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 15px;
}

/* CSS ADAPTÉ - INTÉGRATION DES LIENS HEADER AVEC LE STYLE EXISTANT */

/* Style pour les social-metrics */
.airdrop-card .social-metrics {
  display: flex;
  gap: 15px;
}
.airdrop-card .social-metric.token-img{
  margin-left:0;
}

.airdrop-card .social-metrics + .social-metrics {
  margin-top: 8px;
}

.airdrop-card .social-metric {
  padding: 20px;
  background: white;
  border: none;
  border-radius: 10px;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.airdrop-card .social-metric .value {
  font-size: 22px;
  font-weight: 700;
  color: #8d8d8d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.airdrop-card .social-metric .label {
  font-size: 14px;
  color: #8e8e8e;
  align-items: center;
  justify-content: center;
  display: flex;
  margin-top: 10px;
}

/* Style pour les icônes et images dans les métriques */
.airdrop-card .social-metric .value i,
.airdrop-card .social-metric .value img {
  margin-right: 5px;
}

/* Style pour le logo du token */
.token-logo2 {
  height: auto;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 5px;
}

/* Style spécifique pour le timer dans les métriques */
.airdrop-card .social-metric .airdrop-timer {
  display: inline;
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
  font-weight: normal;
  vertical-align: middle;
}

/* NOUVEAU - Style pour les liens dans l'en-tête de la carte */
.airdrop-header-links {
  display: flex;
  margin-left: auto;
  gap: 6px;
  margin-right: 5px;
}

.airdrop-header-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: white;
  color: #657786 !important;
  transition: all 0.2s ease;
  border: 1px solid #e1e8ed;
  font-size: 14px;
  text-decoration: none;
}

.airdrop-header-links a:hover {
  background: #fdf4e8;
  color: #f0b90c !important;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-color: #f0b90c;
}




.airdrop-card .verified-badge {
  opacity: 0.3;
  transition: all 0.3s ease;
  display: inline-block;
  margin-left: 6px;
  font-size: 16px;
  flex-shrink: 0;
}

.airdrop-card .verified-badge.visible {
  opacity: 1 !important;
  color: #2ecc71 !important;
  animation: pulse-verify 2s infinite ease-in-out;
}

/* Style pour les liens (gardé pour compatibilité avec d'anciens codes) */
.airdrop-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.airdrop-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #f5f8fa;
  color: #657786 !important;
  border-radius: 16px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid #e1e8ed;
}

.airdrop-links a i {
  margin-right: 5px;
}


.airdrop-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 0px;
  justify-content: space-around;
  width: 100%;
}

.airdrop-social-links a {
  text-decoration: none;
  padding: 15px 50px;
  border-radius: 30px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  border: none;
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 8px;
  background: linear-gradient(135deg, #5e5e5e7a 0%, #29292987 100%);
}
.airdrop-social-links i {
  margin-right: 15px;
  font-size: 22px;
}

.airdrop-social-links a:hover {
  background: linear-gradient(135deg, #5e5e5ecf 0%, #292929c9 100%);
  color: #f0b90c !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-color: #f0b90c;
}


@keyframes pulse-verify {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Styles pour les métriques de certification des airdrops */
.airdrop-card .social-metric.certified {
  background-color: #f2fbf6;
  border: 1px solid #b7e4c7;
}

.airdrop-card .social-metric.certified .value i {
  color: #2ecc71;
  filter: drop-shadow(0 0 2px rgba(46, 204, 113, 0.3));
  animation: pulse-home 2s infinite ease-in-out;
  height: 20px;
}

@keyframes pulse-glow {
  0% { filter: drop-shadow(0 0 2px rgba(46, 204, 113, 0.3)); }
  50% { filter: drop-shadow(0 0 4px rgba(46, 204, 113, 0.5)); }
  100% { filter: drop-shadow(0 0 2px rgba(46, 204, 113, 0.3)); }
}

.airdrop-card .social-metric.certified .label {
  color: #27ae60;
  font-weight: 600;
}

/* Ajustements responsive */
@media (max-width: 576px) {
  .airdrop-header-links a {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  .airdrop-info h3 {
    font-size: 16px;
  }
  
  .airdrop-card .verified-badge {
    font-size: 14px;
  }
}

/* Styles pour l'indicateur de votes */
.airdrop-card .vote-metric .value {
  font-weight: bold;
}

/* Vous pouvez aussi ajouter un petit effet visuel pour les airdrop certifiés */
.airdrop-card.certified::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 8px 8px 0 0;
}

/* Style pour le bouton de suppression */
.delete-airdrop {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px; /* Taille agrandie comme Twitter */
  height: 60px; /* Taille agrandie comme Twitter */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10; /* Augmenté comme Twitter */
  font-size: 22px; /* Taille de police agrandie comme Twitter */
  padding: 0;
  transition: all 0.2s ease;
  opacity: 0.7;
}
.delete-airdrop-container{
  padding:20px;
  background-color: #e7e7e7;
  display: flex;
  justify-content: center;
  align-items: center;
}

.delete-airdrop:hover {
  opacity: 1;
  background: rgba(244, 33, 46, 0.5); /* Fond semi-transparent comme Twitter */
  border: 2px solid white; /* Bordure blanche comme Twitter */
  transform: scale(1.05);
}

/* Pour rendre le bouton plus visible sur la bannière */
.airdrop-card .delete-airdrop i {
  font-size: 22px; /* Taille d'icône comme Twitter */
}

/* Adaptation responsive */
@media (max-width: 768px) {
  .airdrop-card .social-metrics {
    flex-wrap: wrap;
  }
  
  .airdrop-card .social-metric {
    flex: 1 1 calc(50% - 10px);
  }
}

/* Toast de notification de suppression */
.deletion-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.deletion-toast.show {
    transform: translateX(0);
}

.deletion-toast i {
    font-size: 1.2em;
}

/* Animation pulse pour suppression imminente */
.deletion-imminent.pulse {
    animation: pulse-delete 1s infinite;
}

@keyframes pulse-delete {
    0%, 100% { 
        background: #dc3545;
        transform: scale(1);
    }
    50% { 
        background: #ff6b6b;
        transform: scale(1.02);
    }
}

/* Style moderne pour le timer d'airdrop */

/* Container du timer */
.timer-container {
  width: 100%;
  border-radius: 125px;
  position: relative;
  margin-bottom: 20px;
    border: none;
    margin-top: 0px;
    padding: 0px 10px 0px 10px;
}

/* En-tête du timer */
.timer-header {
  color: white;
  padding: 10px 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 10px;
  gap: 10px;
}

.timer-header i {
  margin-right: 6px;
}

/* Corps du timer */
.timer-body {
  display: flex;
  justify-content: center;
  background-color: transparent;
  padding: 30px 0px;
  gap: 30px;
}

/* Blocs de temps */
.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding:10px 50px;
  width: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: linear-gradient(145deg, #fff, #c8c8c81a);
 box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.time-block:not(:last-child)::after {
  position: absolute;
  right: -2px;
  top: 8px;
  font-weight: bold;
  color: #14171a;
  font-size: 20px;
}

.time-value {
  font-size: 22px;
  font-weight: 700;
  color: #14171a;
  min-width: 40px;
  text-align: center;
}

.time-label {
  font-size: 11px;
  color: #657786;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Animation de pulsation pour les secondes */
@keyframes pulse-timer {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.time-block.seconds .time-value {
  animation: pulse-timer 1s infinite;
}

/* Styles pour les états différents du timer */
.timer-container.ending {
  background: linear-gradient(135deg, #fff8e1, #fffde7);
  border-color: #ffe082;
}

.timer-container.ending .timer-header {
  background: linear-gradient(135deg, #f0b90b 0%, #f57c00 100%);
}

.timer-container.ended {
  opacity: 0.8;
}

.timer-container.ended .timer-header {
  background: linear-gradient(135deg, #757575 0%, #616161 100%);
}

/* Responsive */
@media (max-width: 768px) {
  .time-value {
    font-size: 18px;
    min-width: 30px;
  }
  
  .time-label {
    font-size: 10px;
  }
  
  .timer-header {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* Style pour l'affichage du coût et du solde dans les cartes d'airdrops */
.airdrop-cost-balance {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0;
  padding: 15px;
  border-radius: 10px;
}

.airdrop-cost-indicator, .airdrop-balance-indicator {
  display: flex;
  align-items: center;
  background: white;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #e1e8ed;
  flex: 1;
  min-width: 150px;
  transition: transform 0.2s ease;
}

.airdrop-cost-indicator:hover, .airdrop-balance-indicator:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.airdrop-cost-icon, .airdrop-balance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 18px;
  border: 1px solid;
}

.airdrop-cost-icon {
  color: #f0b90b;
  background-color: #fff;
}

.airdrop-balance-icon {
  color: #3aab07;
  background-color: #fff;
}

.airdrop-cost-details, .airdrop-balance-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.airdrop-cost-label, .airdrop-balance-label {
  font-size: 12px;
  color: #777;
  margin-bottom: 3px;
}

.airdrop-cost-value, .airdrop-balance-value {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.airdrop-coin-name {
  font-size: 14px;
  font-weight: normal;
  color: #999;
  margin-left: 3px;
  display: none;
}

/* Style pour le bouton de publication avec une apparence similaire au style Twitter */
.airdrop-publish-button {
display: flex;
  justify-content: center;
  align-items: center;
  padding:10px;
  background-color: #f0b90b;
  color: white;
  border:none;
  border-radius:50px;
  transition:all 0.2s ease;
  font-weight: 100;
  font-size: 24px;
  font-family: 'Anton', sans-serif;
  opacity: 0.8;
  width: 75%;
  margin:10px auto;
  opacity: 0.7;
}

.airdrop-publish-button:hover {
  opacity: 0.9;
}

.airdrop-publish-button i {
  margin-right: 10px;
}

/* 🌌 Popup bannière */
.banner-popup {
 position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1101;
  transition: opacity 0.3s ease;
}


.banner-popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}


#bannerImageContainer {
  width: 100%;
  max-height: 350px;
  overflow: hidden;
  margin: 15px auto;
  border-radius: 6px;
}

#bannerPreview {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}


.air-desc {
  margin-bottom:30px;
}
.air-spec {
  margin-bottom:30px;
}

.token-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 5px;
  border-radius: 3px;
}




/*Liens réseaux*/
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
}

.form-row > div {
  flex: 1;
  min-width: 200px;
  background-color: #686868;
  padding:0px 15px 15px 15px;
  border-radius:5px;
  margin:0px;
}

.form-label {
  font-weight: 500;
  display: block;
  margin-bottom: 15px;
  color: #e1e1e1;
}
.form-label i{
 margin-right: 10px;
  color: #ffc200;
  font-size: 20px;
}

input[type="url"] {
width: 100%;
  padding:10px;
  border:1px solid #dddddd5e;
  border-radius:6px;
  font-size: 14px;
  background:#fafafa00;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  transition:border-color 0.3s ease;
  color: #bdbdbd;
}

input[type="url"]:focus {
  border-color: #3c79ff;
  outline: none;
}

input[type="url"]::placeholder {
  color: #999;
}

.airdrop-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.airdrop-links a {
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 20px;
  background: #f0f0f0;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.airdrop-links a:hover {
  background: #3c79ff;
  color: #fff;
  border-color: #3c79ff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/*-------------TWITTER------------*/

/* Styles pour les indicateurs de certification */
.social-metric.certified {
  background-color: #f2fbf6;
  border: 1px solid #b7e4c7;
}

.social-metric.certified .value i {
  color: #2ecc71;
  filter: drop-shadow(0 0 2px rgba(46, 204, 113, 0.3));
}

.social-metric.certified .label {
  color: #27ae60;
  font-weight: 600;
}

/* Animation pour l'icône de certification */
@keyframes pulse-glow {
  0% { filter: drop-shadow(0 0 2px rgba(46, 204, 113, 0.3)); }
  50% { filter: drop-shadow(0 0 4px rgba(46, 204, 113, 0.5)); }
  100% { filter: drop-shadow(0 0 2px rgba(46, 204, 113, 0.3)); }
}

.social-metric.certified .value i {
  animation: pulse-home 2s infinite ease-in-out;
}

/* Badge de vérification amélioré */
.verified-badge {
  opacity: 0.9;
  transition: all 0.3s ease;
  display: inline-block;
  margin-left: 4px;
  font-size: 14px;
}

.verified-badge.visible {
  opacity: 1 !important;
  color: #2ecc71 !important;
  animation: pulse-verify 2s infinite ease-in-out;
}

@keyframes pulse-verify {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Mise en évidence des comptes certifiés */
.twitter-card.certified {

}

/* Style pour le debugging */
.debug-certification {
  margin-top: 20px;
  padding: 10px;
  border: 1px dashed #ccc;
  background: #f9f9f9;
  font-family: monospace;
  font-size: 12px;
  color: #666;
  white-space: pre-wrap;
}

/* Indicateur de statut de certification */
.certification-status {
  margin-top: 15px;
  padding: 10px 15px;
  background-color: #f5f8fa;
  border-radius: 8px;
  text-align: center;
}

.certification-status p {
  margin: 5px 0;
}

.certification-status a {
  color: #2ecc71;
  font-weight: 600;
  text-decoration: none;
}

.certification-status a:hover {
  text-decoration: underline;
}


/* VOOTE */




   /* Styles pour les boutons de vote et like et boost*/
   .vote-like-buttons {
    display: flex;
    gap: 15px;
    margin-top: 50px;
    justify-content: center;
  }
  
  .vote-button, .like-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 14px;
    border: none;
  }
  
  .vote-button {
    background-color: #fff;
  color: #1da1f2;
  border: 1px solid #1da1f2;
  }
  
  .like-button {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    display: none;
  }
  
  .vote-button:hover:not(.disabled),
  .like-button:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  }
  
  .vote-button.disabled,
  .like-button.disabled {
    cursor: not-allowed;
    background: #80808045;
  }

  .vote-count, .like-count {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
  }
  
  .like-button .like-count {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  .vote-timer {
    font-size: 13px;
    color: rgb(241, 185, 11);
  }
  
  .like-button.liked {
    background-color: #ffebee;
    color: #e53935;
    border-color: #ffcdd2;
  }
  
  .action-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
  }
  
  .action-tooltip.visible {
    opacity: 1;
  }
  
  .vote-count-animate, .like-count-animate {
    animation: countPulse 0.6s ease;
  }
  .vote-count-animate {
    animation: pulse 1s;
  }
  
  .balance-update-animate {
    animation: flash 1s;
  }
  
  .vote-success {
    animation: votePulse 1s ease;
  }
  
  .like-success {
    animation: likePulse 1s ease;
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  @keyframes flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
  }
  @keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
  }
  
  @keyframes votePulse {
    0% { background-color: #1e88e5; }
    50% { background-color: #2196f3; }
    100% { background-color: #1e88e5; }
  }
  
  @keyframes likePulse {
    0% { transform: scale(1); }
    25% { transform: scale(1.08); }
    50% { transform: scale(1); }
    75% { transform: scale(1.08); }
    100% { transform: scale(1); }
  }


 /* Conteneur des boutons de vote */
.vote-actions-container {
  display: flex;
  gap: 16px;
  margin-top: 15px;
  padding: 15px 0;
  align-items: stretch;
  width: 100%;
}

/* ========== BOUTON BOOST (Payant) ========== */
.boost-vote-button {
  flex: 2;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1a1f36 0%, #252b48 100%);
  border: 1px solid rgba(240, 185, 11, 0.3);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.72);
    background-image: none;
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0) 0px, rgba(162, 162, 162, 0.05) 1px, #00000012 1px, #0000 5px );
}

.boost-vote-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(240, 185, 11, 0.1), transparent);
  transition: left 0.5s ease;
}

.boost-vote-button:hover::before {
  left: 100%;
}

.boost-vote-button:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 185, 11, 0.6);
  box-shadow: 0 8px 24px rgba(240, 185, 11, 0.15);
}

.boost-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f0b90b 0%, #e7a502 100%);
  border-radius: 10px;
  flex-shrink: 0;
}

.boost-icon i {
  font-size: 24px;
  color: #1a1f36;
}

.boost-content {
  flex: 1;
  text-align: left;
}

.boost-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
  margin: 0px 0px 10px 5px;
}

.boost-content p {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

.boost-arrow {
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.boost-arrow i {
  font-size: 18px;
  color: #f0b90b;
}

.boost-vote-button:hover .boost-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ========== BOUTON PUSH (Gratuit) ========== */
.push-vote-button {
  flex: 1;
  padding: 16px 20px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.72);
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0) 0px, rgba(162, 162, 162, 0.05) 1px, #00000012 1px, #0000 5px );
  color: white;
}

.push-vote-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(115, 183, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.push-vote-button:hover:not(:disabled)::before {
  left: 100%;
}

.push-vote-button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(115, 183, 255, 0.6);
  box-shadow: 0 8px 24px rgba(115, 183, 255, 0.15);
}

.push-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #73b7ff 0%, #378faa 100%);
  border-radius: 10px;
  flex-shrink: 0;
}

.push-icon i {
  font-size: 24px;
  color: #1a1f36;
}

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

.push-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: 0.3px;
}

.push-content p {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

/* États du bouton Push */
.push-vote-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.push-vote-button.voted {
  border-color: rgba(80, 175, 181, 0.5);
  background: linear-gradient(135deg, #1a1f36 0%, #1f3a3a 100%);
}

.push-vote-button.voted .push-icon {
  background: linear-gradient(135deg, #50afb5 0%, #3a8a8e 100%);
}

/* Timer dans le bouton Push */
.vote-timer {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 14px;
  color: #73b7ff;
  margin-top: 4px;
}

/* Animation des compteurs */
@keyframes vote-count-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.vote-count-animate {
  animation: vote-count-pulse 0.5s ease;
  color: #27ae60;
}

/* Responsive */
@media (max-width: 768px) {
  .vote-actions-container {
    flex-direction: column;
  }
  
  .boost-vote-button,
  .push-vote-button {
    width: 100%;
  }
}
  



  /*LOADER*/

  /* loader.css - Styles pour le système de chargement global */

.site-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s, visibility 0.3s;
  background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
}

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

.loader-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  animation: pulse 2s infinite ease-in-out;
  border-radius: 50%;
  z-index: 10;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #eee;
  border-top-color: #f0b90b;
  border-radius: 50%;
  margin: 0 auto 15px;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: #707070;
  font-size: 16px;
  font-weight: 500;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.site-loader.hidden {
  opacity: 0;
  visibility: hidden;
}




/* RANKING AIRDROPS TWITTER - Version optimisée et complète */

/* Variables pour faciliter la maintenance */
:root {
  --primary-blue: #3498db;
  --twitter-blue: #1da1f2;
  --green-active: #2ecc71;
  --red-ended: #e74c3c;
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --border-light: #eaeaea;
  --shadow-light: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 15px rgba(0, 0, 0, 0.1);
  --transition-standard: all 0.3s ease-in-out;
  --radius-standard: 12px;
  --text-dark: #333;
  --text-medium: #555;
  --text-light: #777;
}
.top5 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px; /* Ajuste selon tes besoins */
  width: 100%;
}

.hrv-top5 {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, gray, transparent);
  border: none;
  border-radius: 0;
  transform: translateY(-50%);
  width: 100%;
}

.txt-top5 {
  position: relative;
  z-index: 2; /* S'assurer que le texte est au-dessus */
}

.txt-top5 p {
  margin: 0;
    font-weight: 500;
    background: #373737;
    padding: 5px 25px;
    border-radius: 100px;
    color: #cacaca;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
/* Structure de base */
.home-rankings {
  margin: 0% 5%;
  position: relative;
  transition: var(--transition-standard);
}

.ranking-row {
  display: flex;
  transition: var(--transition-standard);
}

.ranking-column {
  flex: 0 0 50%;
  max-width: 50%;
  transition: var(--transition-standard);
}

/* Sections */
.ranking-section {
  background-color: #fff0;
  border-radius: 5px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  padding: 0px 20px 20px 20px;
}

.item-description p{
  padding: 10px;
  background-color: #f7f7f7;
  color: #666;
  font-size: 0.75rem;
  border-radius: 10px;
  line-height: 1.4;
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
  margin-bottom: 0;
}
.item-description{
  width: 100%;
}


/* En-têtes et contrôles */
.ranking-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
  
}
.expanded-twitter .ranking-header {
  margin: 50px 50px 10px 50px;
}
.expanded-twitter .ranking-title {
  display: none;
}


.expanded-airdrops .ranking-header {
  margin: 50px 50px 10px 50px;
}
.expanded-airdrops .ranking-title {
  display: none;
}
body.expanded-mode .premium-banners-container {
  margin: 4% 9% 0% 10%;
}

.ranking-title {
  font-size: 36px;
  font-weight: 700;
  color: #727272;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  flex-direction: column;
}



.ranking-title-mobile i {
    color: #f0b90b;
    margin: auto 20px;
    border: 3px solid #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 1px 3px;
    padding: 25px;
    font-size: 50px;
    border-radius: 100px;
    background-color: #eee;
  }
    .ranking-title-mobile {
    flex-direction: column;
    display: flex;
    justify-content: center;
    margin-top: 80px;
    align-items: center;
    z-index: 10;
    position: relative;
  }
  .title-all-rank span{
    color: gray;
    margin:auto;
    margin-top:10px;
  }
    .title-all-rank2 span{
    color: gray;
    margin:auto;
    margin-top:10px;
  }
    .title-all-rank .ranking-back-btn {
    position: absolute;
    right: 5%;
    top: 150px;
    z-index: 200;
  }
    .title-all-rank2 .ranking-back-btn {
    position: absolute;
    right: 5%;
    top: 150px;
    z-index: 200;
  }

.airdrops-ranking .ranking-title i { 
  color: #f0b90b;
  margin: auto 20px;
  border: 3px solid #676767;
  box-shadow: rgba(240, 185, 11, 0.52) 0px 1px 3px;
  padding: 25px;
  font-size: 50px;
  border-radius: 100px;
  background-color: #404040;
}
.twitter-ranking .ranking-title i { 
  color: #f0b90b;
  margin: auto 20px;
  border: 3px solid #676767;
  box-shadow: rgba(240, 185, 11, 0.52) 0px 1px 3px;
  padding: 25px;
  font-size: 50px;
  border-radius: 100px;
  background-color: #404040;
}

.title-text-expanded { display: none; }

.ranking-back-btn {
  display: none;
}


/* Quand vous voulez l'afficher, utilisez une classe spécifique plutôt que :active */
.ranking-controls {
  display: block;
}

.ranking-back-btn {
  /* Changez ceci de 'none' à 'flex' pour que le bouton s'affiche correctement */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: #f5f5f5;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.2s;
}

.ranking-back-btn:hover {
  background-color: #e5e5e5;
  color: var(--text-dark);
}
.ranking-back-btn span{
  margin:0;
}
.expand-title-btn2 {
  display: none;
  color: #f0b90b;
  font-size: 18px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #404040;
  margin: 0px 20px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 2px solid gray;
}
.expand-title-btn {
  color: #f0b90b;
  font-size: 18px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #404040;
  margin: 0px 20px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 2px solid gray;
}
.expand-title-btn i{
  padding:20px;
}

.expand-title-btn:hover {
  font-size: 22px;
  color: #f0b90b;
}

/* Masquer le bouton + quand la vue est étendue */
.expanded-airdrops .airdrops-ranking .expand-title-btn,
.expanded-twitter .twitter-ranking .expand-title-btn {
  display: none;
}
/* Masquer le bouton + quand la vue est étendue */
.expanded-airdrops .airdrops-ranking .expand-title-btn2,
.expanded-twitter .twitter-ranking .expand-title-btn2 {
  display: block;
}


/* Liste et éléments */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.expanded-twitter #latestTwitterAccounts{
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: space-around;
  flex-direction: row;
}
.expanded-twitter .ranking-item {
  display: flex;
  flex-direction: column;
  border-radius:10px;
  overflow:hidden;
  transition:transform 0.2s, box-shadow 0.2s;
  background-color: var(--light-bg);
  border:1px solid #eeeeee;
  text-decoration:none;
  color: inherit;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 400px;
  margin-top: 20px;
}
.expanded-airdrops .ranking-item {
  display: flex;
  flex-direction: column;
  border-radius:10px;
  overflow:hidden;
  transition:0.5s, box-shadow 0.2s;
  background-color: var(--light-bg);
  border:1px solid #eeeeee;
  text-decoration:none;
  color: inherit;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 400px;
  margin-top: 20px;
}
.expanded-airdrops .ranking-item .item-title{
  flex-wrap:wrap;
}
.expanded-airdrops .ranking-item .item-title .modal-timer-body{
    margin-left: 35%;
  margin-top: 15px;
  width: 100%;
}

.expanded-airdrops #latestAirdrops {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: space-around;
  flex-direction: row;
}


.ranking-footer {
  margin-top: 15px;
  text-align: center;
}
.ranking-footer p{
 margin:0px;
}

.see-all-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px;
  background-color: #0000007d;
  border: none;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.see-all-btn i {
  margin-left:40px;
}

.see-all-btn:hover {
  background-color: #eeeeee;
  color: var(--text-dark);
}

/* Items du classement */
.ranking-item {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.5s, box-shadow 0.2s;
  border: 1px solid #eeeeee;
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: white;
}



/* Style de base pour tous les numéros */
.ranking-item-number {
  position: absolute;
  width: 29px;
  height: 35px;
  background: #f0f0f0;
  color: #5e5e5e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transition: all 0.3s ease;
  border-radius: 0px 0px 50px 50px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  top: 0px;
  right: 10px;
  border-top:none;
}
.ranking-item-number p{
  background-color: #484848;
  border-radius: 50px;
  padding: 1px 8px;
  box-shadow: 0 1px 2px 0 rgba(58, 57, 68, 0.36);
  margin: 5px 0px 0px 0px;
  font-family: anton;
  font-size: 14px;
  color: #f0b90b;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

/* 🥇 PREMIÈRE PLACE - OR */
.ranking-item:nth-child(1) .ranking-item-number {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #8B4513;
  font-weight: 900;
  width: 25px;
  height: 35px;
  font-size: 0px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 2px solid #FFF;
  animation: goldPulse 2s infinite;
  top: -5px;
}

.ranking-item:nth-child(1) .ranking-item-number p{
  display: none;
}

.ranking-item:nth-child(1) .ranking-item-number::before {
  content: "🥇";
  margin-right: 0px;
  font-size: 24px;
}

/* 🥈 DEUXIÈME PLACE - ARGENT */
.ranking-item:nth-child(2) .ranking-item-number {
  background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
  color: #4A4A4A;
  font-weight: 800;
  width: 25px;
  height: 35px;
  font-size: 0px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 1px solid #FFF;
  top: -5px;
}

.ranking-item:nth-child(2) .ranking-item-number p{
  display: none;
}

.ranking-item:nth-child(2) .ranking-item-number::before {
  content: "🥈";
  margin-right: 0px;
  font-size: 24px;
}

/* 🥉 TROISIÈME PLACE - BRONZE */
.ranking-item:nth-child(3) .ranking-item-number {
  background: linear-gradient(135deg, #CD7F32, #B8860B);
  color: #FFF;
  font-weight: 700;
  width: 25px;
  height: 35px;
  font-size: 0px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 1px solid #FFF;
  top: -5px;
}

.ranking-item:nth-child(3) .ranking-item-number p{
  display: none;
}

.ranking-item:nth-child(3) .ranking-item-number::before {
  content: "🥉";
  margin-right: 0px;
  font-size: 24px;
}

/* 🏆 TOP 10 - Style spécial */
.ranking-item:nth-child(-n+10):nth-child(n+4) .ranking-item-number {
  background: white;
  color: #333;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 4px rgba(240, 185, 11, 0.3);
}

/* Animation pour la première place */
@keyframes goldPulse {
  0% { 
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.5);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.8);
    transform: scale(1.05);
  }
  100% { 
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.5);
    transform: scale(1);
  }
}



.ranking-item:has(.date-container) .ranking-item-number {
  display: none !important;
}

.airdrop-rank-card {
  display: flex;
  margin-top:20px;
  justify-content: space-between;
  margin-bottom: 10px;
}
.content-rank-card{
  width: 100%;
}
.corp-car-rank {
  display: flex;
  justify-content: space-between;
}

/* Images et statuts */
.ranking-item-banner {
  width: 100%;
  position: relative;
  aspect-ratio: 3 / 1;
  overflow: hidden;
}

.item-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-avatar {
  position: absolute;
  bottom: -25px;
  left: 15px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid white;
  background-color: white;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.item-status {
  padding:5px 20px;
  border-radius:5px;
  font-size: 14px;
  color: white;
}
.item-title-card-flex {
  display: flex;
  align-items: center;
  gap: 15px;
}
.item-title i {
  font-size: 22px;
  color: #505050;
  align-items: center;
  display: flex;
}
.twitter-rank-card {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 13px;
}
.hrv {
  border-right: 1px solid #00000017;
  margin-top: 0px;
  margin-bottom: 0px;
}
.hrv-mb {
  border-bottom: 1px solid #ffffff17;
}
.modal-card-header .item-status{
  position:relative;
  top: 0px;
  padding:5px 20px;
  border-radius:5px;
  font-size: 13px;
  color: white;
  width: auto;
  margin-bottom: 0px;
  margin-left: 30px;
}

.item-status.active { 
  animation: pulseCardcomplete 2s infinite;
  background: linear-gradient(90deg,rgba(30, 162, 63, 0.77) 0%, rgba(71, 162, 93, 0.74) 50%, rgba(44, 168, 33, 0.54) 100%);
 }
.item-status.ended { 
  background-color: #8585858f;
 }

 .modal-card-header .item-status.ended {
  box-shadow: none;
}

.item-certified {
  position: absolute;
  top: 10px;
  color: var(--green-active);
  font-size: 16px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
  display: flex;
  background-color: green;
  height: 25px;
  width: 20%;
  border-radius:0px 15px 15px 0px;
  border:1px solid #ffffff8a;
  border-left:none;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  background-color: #008000ad;
}
.expanded-view-item .item-certified {
  width: 31%;
}
.expanded-view-item .item-description {
  font-size: 0.65rem;
  overflow:hidden;
}
.expanded-view-item .item-certified p {
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.item-certified p {
  color: white;
  font-size: 14px;
  margin:auto 16px;
  font-style: italic;
  letter-spacing: 1px;
  font-weight: 300;
}
.item-certified i {
  margin:auto;
}


.date-stats {
  display: flex;
  flex-direction: column;
  width: 80px;
  background-color: #f4f7fa;
  border:1px solid #e2e8f0;
  border-radius:8px;
  overflow:hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition:all 0.2s ease;
  z-index: 10;
}
.date-stats-label {
  margin:auto;
  
}
.date-stats-label i{
  padding:15px;
  font-size: 24px;
  width: 100%;
}
.date-value {
  margin:auto;
  font-size: 12px;
  background-color: #fef4e2;
  color: #f0b90b;
  padding: 10px 6px;
}


/* Informations */
.ranking-item-info {
  padding: 10px 15px 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.twitter-item .ranking-item-info {
  padding: 15px;
}

.item-title {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
}

.ranking-item.twitter-item .ranking-item-info{
  padding-top: 25px;
}

.flex-item-title{
  display: flex;
  flex-direction: row;
  width: 100%;
}
.flex-name-item{
  display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.item-title h3 {
  font-size: 1.5rem;
  margin:0;
  color: #333333db;
  white-space:nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
}
.expanded-airdrops .item-title h3 {
  font-size: 1rem;
}

.verified-badge {
  color: var(--green-active);
  font-size: 14px;
  animation: pulse-verify 2s infinite ease-in-out;
}

.item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: #666;
}

.item-token, .item-value, .item-handle, .item-followers {
  display: flex;
  align-items: center;
  gap: 5px;
}
.token-name{
width: 100%;
}
.token-logo-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
}

/* Styles pour le nouveau design du système de vote */
.ranking-item .vote-container {
  display: flex;
  flex-direction: column;
  width: 80px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  z-index: 10;
}

.ranking-item .vote-container:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Partie supérieure avec les stats */
.ranking-item .vote-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 5px;
  background-color: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  cursor: auto;
}

.ranking-item .vote-stats-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ranking-item .vote-count {
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  margin-top: 2px;
}

/* Animation pour le compteur de votes - conservé de votre code */
.vote-count-animate {
  animation: pulse 0.5s ease-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.2); }
  80% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Bouton de vote (partie inférieure) */
.ranking-item .vote-action {
  width: 100%;
  padding:6px 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background-color: #f0b90b;
  border:none;
  cursor: pointer;
  transition:all 0.2s ease;
}

.ranking-item .vote-action:hover {
  background-color: #f0b90bb2;
  color: #fff;
  scale: 1.1;
}

/* État du bouton en cours de vote */
.ranking-item .vote-action.voting {
  opacity: 0.7;
  cursor: wait;
}

/* Rend le texte "Push!" invisible seulement pour les boutons d'airdrops */
.ranking-item .airdrop-vote-button.voted {
  background-color: #fef4e2;
  color: #f0b90b;
  animation: timerPulse 2s infinite;
  cursor: pointer;
   z-index: 100;
}

/* Si vous avez besoin de styles spécifiques pour les boutons Twitter, vous pouvez les ajouter ici */
.ranking-item .twitter-vote-button.voted {
  /* Styles pour les boutons Twitter votés */
  background-color: #fef4e2;
  color: #f0b90b;
  animation: timerPulse 2s infinite;
  cursor: pointer;
  z-index: 100;
}


/* Animation pour faire clignoter le timer */
@keyframes timerPulse {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

/* Tooltip d'erreur - conservé de votre code */
.vote-error-tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(220, 38, 38, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Ajustement pour l'intégration dans les ranking-items - conservé de votre code */
.ranking-item .item-meta {
  margin: auto 0px auto 20px;
  align-items: end;
}

.item-title .item-handle span{
 color: gray;
  font-size: 14px;
  margin-left: 10px;
}
.ranking-item .item-handle,
.ranking-item .item-token {
  flex: 1;
}

/* Style mobile responsive */
@media (max-width: 576px) {
  .ranking-item .vote-container {
    width: 70px;
  }
  
  .ranking-item .vote-stats {
    padding: 6px 4px;
  }
  
  .ranking-item .vote-count {
    font-size: 14px;
  }
  
  .ranking-item .vote-action {
    font-size: 12px;
    padding: 5px 0;
  }
}
/* Augmenter la marge supérieure du contenu info pour laisser plus de place à l'avatar */
.ranking-item.twitter-item .ranking-item-info {
  position: relative;
}

/* S'assurer que l'avatar sort correctement de la bannière */
.ranking-item.twitter-item .item-avatar {
  position: absolute;
  bottom: -10px; /* Augmenter cette valeur pour descendre davantage l'avatar */
  left: 20px;
  border: 3px solid white;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  z-index: 5; /* S'assurer que l'avatar est au-dessus des autres éléments */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 
}

/* Ajuster la hauteur de la bannière au besoin */
.ranking-item.twitter-item .ranking-item-banner {
  aspect-ratio: 3 / 1;
  position: relative;
  overflow: visible; /* Important : permet à l'avatar de dépasser */
}

/* Mettre à jour la zone du titre pour qu'elle soit alignée correctement */
.ranking-item.twitter-item .item-title {
  min-height: 30px; /* Assurer un espace minimum pour le titre */
}

/* Chargement et messages */
.empty-ranking, .error-message {
  padding: 30px 20px;
  text-align: center;
  background-color: var(--light-bg);
  border-radius: 8px;
  color: var(--text-light);
}

.empty-ranking i, .error-message i {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

.error-message {
  border-left: 4px solid var(--red-ended);
}

.error-message i {
  color: var(--red-ended);
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: var(--text-light);
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #f0b90b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

/* États d'expansion */
.ranking-column.animating .ranking-item {
  transform: scale(0.96);
  opacity: 0.5;
}

/* Airdrops étendu */
.expanded-airdrops #airdropsColumn {
  flex: 0 0 100%;
  max-width: 100%;
}

.expanded-airdrops #twitterColumn {
  flex: 0 0 0%;
  max-width: 0%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  opacity: 0;
}

/* Twitter étendu */
.expanded-twitter #twitterColumn {
  flex: 0 0 100%;
  max-width: 100%;
}

.expanded-twitter #airdropsColumn {
  flex: 0 0 0%;
  max-width: 0%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  opacity: 0;
}

/* UI états étendus */
.expanded-airdrops .airdrops-ranking .title-text,
.expanded-twitter .twitter-ranking .title-text {
  display: none;
}

.expanded-airdrops .airdrops-ranking .title-text-expanded,
.expanded-twitter .twitter-ranking .title-text-expanded {
  display: inline;
}

.expanded-airdrops .airdrops-ranking .ranking-back-btn,
.expanded-twitter .twitter-ranking .ranking-back-btn {
  display: inline-flex;
  margin-right: 20px;
}

.expanded-airdrops .airdrops-ranking .see-all-btn,
.expanded-twitter .twitter-ranking .see-all-btn {
  display: none;
}

.expanded-airdrops .ranking-item-number,
.expanded-twitter .ranking-item-number {
  display: flex;
}

/* MODAL STYLES COMPLETS */
.detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  overflow: hidden;
}

.detail-modal.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background-color: var(--white);
  border-radius: var(--radius-standard);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: zoomIn 0.3s ease-out;
}

.modal-header {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background-color: #f8f8f8;
  transform: scale(1.05);
}

.modal-content {
  padding: 0;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

.modal-loading .spinner {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

/* Styles pour les cartes dans les modals */
.modal-airdrop-card,
.modal-twitter-card {
  width: 100%;
  background-color: whitesmoke;
  overflow: hidden;
}

/* Bannière */
.modal-card-banner {
  width: 100%;
  aspect-ratio: 3 / 1;
  background-position: center;
  background-size: cover;
  position: relative;
}

/* Badge statut/certification */
.modal-card-badge {
  top: 15px;
  right: 15px;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modal-card-badge.active {
  background-color: var(--green-active);
}

.modal-card-badge.ended {
  background-color: var(--red-ended);
}

.modal-card-certified {
  position: absolute;
  top: 36px;
  font-size: 16px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
  display: flex;
  background-color: green;
  height: 25px;
  width: 20%;
  border-radius:0px 15px 15px 0px;
  border:1px solid #ffffff8a;
  border-left:none;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  background-color: #008000ad;
  display: flex;
  justify-content: space-around;
}
.modal-card-certified p{
  color:white;
  margin: auto;
}
.modal-card-certified i{
  color: var(--green-active);
  margin: auto;
}

.modal-info-twitter {
  display: flex;
  justify-content: space-around;
  gap:10px;
}


/* Avatar pour Twitter */
.modal-twitter-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid white;
  background-color: white;
  position: absolute;
  bottom: -50px;
  left: 30px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Contenu de la carte */
.modal-card-content {
  padding: 25px 30px;
}

.modal-desc-container{
  padding: 15px;
  border: 1px solid #f0b90b45;
  border-radius: 15px;
  background: white;
}

/* En-tête avec nom et vérification */
.modal-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  justify-content: space-between;
}

.modal-twitter-card .modal-card-header {
  margin-top: 30px;
}

.modal-card-header h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  margin-right: 10px;
  color: #707070;
}

.modal-card-header .verified-badge {
  color: var(--green-active);
  font-size: 20px;
}

/* Section description */
.modal-card-description {
  line-height: 1.6;
  color: #444;
  padding: 5px 15px 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  margin-top: 30px;
  margin-bottom: 10px;
}

/* Section des métriques */
.modal-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  border-radius: 15px;
  justify-content: space-between;
}
.modal-twitter-card .modal-card-metrics {
  flex-direction: column;
}

.modal-card-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 15px 15px;
  background: white;
  border-radius: 15px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  gap: 10px;
}

/*
.modal-info-twitter.vote {
  background: rgba(15, 15, 25, 0.95);
  border: 3px solid #8b5cf6;
  border-radius: 30px;
  padding: 6px 8px 6px 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 
    0 0 15px rgba(139, 92, 246, 0.4),
    inset 0 2px 10px rgba(139, 92, 246, 0.1);
}

.modal-card-metric.vote {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
}
.modal-content-vote{
  display: flex;
  justify-content: center;
  margin:20px;
}

.modal-card-metric.vote .label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.modal-card-metric.vote .value {
  background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  min-width: 50px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}
*/

/* ========== MODAL TWITTER - SECTION VOTES & CLASSEMENT ========== */


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


.modal-content-vote {
  margin: 1.25rem 0;
  justify-content: center;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.modal-content-vote .modal-info-twitter.vote,
.modal-content-vote .modal-twitter-vote-ranking {
  flex: 1;
  display: block;
  color: #f0b90b;
  padding: 5px;
  font-size: 50px;
  border-radius: 35px;
  background-color: #fff;
}

.modal-content-vote .modal-card-metric {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 1rem 2rem;
  min-width: 120px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}
.modal-content-vote .modal-card-metric i{
  color: #afafaf69;
  font-size: 38px;
}
.pinned-image {
    max-width: 100%;
    border-radius: 8px;
    margin: 10px auto;
    display: block;
}

.modal-content-vote .modal-card-metric .value {
  font-size: 1.75rem;
  font-weight: 700;
  color: gray;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.modal-content-vote .modal-card-metric .label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

/* Accent couleur pour les votes */
.modal-content-vote .modal-info-twitter.vote .modal-card-metric .value {
  color: #8b8b8b;
}

/* Accent couleur pour le classement */
.modal-content-vote .modal-twitter-vote-ranking .modal-card-metric .value {
  color: #f59e0b;
}

/* Séparateur visuel entre les deux métriques */
.modal-content-vote .modal-info-twitter.vote {
  position: relative;
}

.modal-content-vote .modal-info-twitter.vote::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 480px) {
  .modal-content-vote {
    gap: 1rem;
    padding: 1rem;
  }
  
  .modal-content-vote .modal-card-metric {
    padding: 0.75rem 1.25rem;
    min-width: 100px;
  }
  
  .modal-content-vote .modal-card-metric .value {
    font-size: 1.5rem;
  }
  
  .modal-content-vote .modal-card-metric .label {
    font-size: 0.7rem;
  }
}

.modal-card-metric .value {
  font-size: 16px;
  color: #000000ab;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap:5px;
}

.modal-card-metric .label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.token-logo-medium {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
}

/* Section des liens */
.modal-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: #f0f0f0;
  border-radius: 30px;
  text-decoration: none;
  color: #444;
  font-size: 14px;
  transition: all 0.2s;
}

.modal-card-link:hover {
    background: #fdf4e8;
    color: #f0b90c !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-color: #f0b90c;
    text-decoration: none;
}
.modal-card-link2 {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: #fff;
  border-radius: 30px;
  transition: all 0.2s;
    transition-duration: 0.2s;
  transition-duration: 0.2s;
  color: #696969 !important;
  font-size: 12px;
  border: 1px solid rgba(164, 164, 164, 0.44);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);

}

.modal-card-link2:hover {
    background: #fdf4e8;
    color: #f0b90c !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-color: #f0b90c;
    text-decoration: none;
}
.modal-card-link2 i{
  font-size: 12px;
}
.modal-twitter-card .modal-card-link3{
  display: none;
}
.flex-twit-name{
  display: flex;
  align-items: center;
}
.modal-card-link3 {
    text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: #fff;
  border-radius: 30px;
  transition: all 0.2s;
    transition-duration: 0.2s;
  transition-duration: 0.2s;
  color: #696969 !important;
  font-size: 12px;
  border: 1px solid rgba(164, 164, 164, 0.44);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

.modal-card-link3:hover {
    background: #fdf4e8;
    color: #f0b90c !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-color: #f0b90c;
    text-decoration: none;
}
/* Styles pour le timer amélioré */
.modal-timer-container {
  margin-top: 50px;
  padding: 15px 30px 20px 30px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.modal-timer-header {
  color: var(--text-medium, #555);
  font-weight: 500;
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.modal-timer-header i {
  margin-right: 6px;
  color: #f0b90b;
}

.modal-card-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-card-badge.active {
  background-color: #2ecc71;
  color: white;
}

.modal-card-badge.ended {
  background-color: #e74c3c;
  color: white;
}

.modal-timer-body {
  display: flex;
  justify-content: space-between;
  gap: 3px;
  margin-top: 23px;
  margin-bottom: 20px;
}

.modal-time-block {
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  flex: 1;
  transition: transform 0.2s ease;
}



.modal-time-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark, #333);
  margin-bottom: 4px;
}

.modal-time-label {
  font-size: 12px;
  color: var(--text-light, #777);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/*Timer ranking filter*/

.modal-timer-container2 {
  transition:all 0.3s ease;
  border-radius: 5px;
}
.modal-timer-container3{
  display: none;
}
.modal-time-block2 {
  text-align: center;
  padding: 3px;
  border-radius: 5px;
  transition: transform 0.2s ease;
  display: flex;
  background-color: #f1f1f1;
  gap:5px;
  width: 50px;
  justify-content: center;
}
.modal-time-value2 {
  font-size: 1rem;
  color: gray;
  font-weight: 300;
  font-family: Anton, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
.modal-time-label2 {
  font-size: 10px;
  color: gray;
  text-transform: uppercase;
  font-weight: 300;
  margin:auto 0px;
}






/* Animation pour le chargement du timer */
.modal-time-loading {
  width: 100%;
  text-align: center;
  color: var(--text-medium, #555);
  font-style: italic;
  padding: 15px 0;
}

/* Style pour le message de fin */
.modal-time-ended {
  width: 100%;
  text-align: center;
  padding: 20px 15px;
  border-radius: 8px;
  background-color: #fef4e2;
  color: #e74c3c;
  font-weight: 600;
  font-size: 16px;
  animation: fadeIn 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-time-ended i {
  font-size: 22px;
}

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



/* Tweet épinglé pour Twitter */
.modal-pinned-tweet {
  margin-top: 20px;
  padding: 15px;
  background-color: var(--light-bg);
  border-radius: 10px;
  border-left: 3px solid #f0b90b;
  font-size: 14px;
}

.modal-pinned-tweet h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-pinned-tweet h3 i {
  color: #f0b90b;
}

.modal-pinned-content {
  color: #444;
  line-height: 1.5;
}

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

@keyframes zoomIn {
  from { transform: translate(-50%, -50%) scale(0.9); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1050px) {
  .ranking-section {
    margin-bottom: 20px;
    padding: 15px;
  }
  
  .ranking-title {
    font-size: 18px;
  }
  
  .ranking-column {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .expanded-airdrops #twitterColumn,
  .expanded-twitter #airdropsColumn {
    display: none;
  }
  
  .item-avatar {
    width: 40px;
    height: 40px;
    bottom: -20px;
  }
  

  


  
  .modal-twitter-avatar {
    width: 80px;
    height: 80px;
    bottom: -40px;
  }
  
  .modal-card-content {
    padding: 20px;
  }
  
  .modal-card-header h2 {
    font-size: 20px;
  }
  
  .modal-card-metrics,
  .modal-timer-container,
  .modal-pinned-tweet {
    padding: 10px;
  }
  
  .modal-card-metric .value {
    font-size: 14px;
  }
}


/*FILTRE BANNER*/
/* ========================================
   TRANSITIONS POUR LES FILTRES DE RANKING
   À ajouter à la fin de style.css
   ======================================== */

/* Container avec transition */
.ranking-list {
    position: relative;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Animation de disparition (fade-out) */
.ranking-list.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* Animation d'apparition (fade-in) */
.ranking-list.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInSlide 0.4s ease-out forwards;
}

/* Keyframes pour l'animation d'entrée */
@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* État visible normal */
.ranking-list.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loader avec transition douce */
.loader-container {
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Amélioration visuelle : empêcher le flash pendant le changement */
.ranking-list > * {
    transition: opacity 0.2s ease-in-out;
}

/* Transition pour les éléments individuels (effet cascade optionnel) */
.ranking-list.fade-in .airdrop-item,
.ranking-list.fade-in .twitter-card {
    opacity: 0;
    animation: fadeInItem 0.4s ease-out forwards;
}

.ranking-list.fade-in .airdrop-item:nth-child(1),
.ranking-list.fade-in .twitter-card:nth-child(1) {
    animation-delay: 0.05s;
}

.ranking-list.fade-in .airdrop-item:nth-child(2),
.ranking-list.fade-in .twitter-card:nth-child(2) {
    animation-delay: 0.1s;
}

.ranking-list.fade-in .airdrop-item:nth-child(3),
.ranking-list.fade-in .twitter-card:nth-child(3) {
    animation-delay: 0.15s;
}

.ranking-list.fade-in .airdrop-item:nth-child(4),
.ranking-list.fade-in .twitter-card:nth-child(4) {
    animation-delay: 0.2s;
}

.ranking-list.fade-in .airdrop-item:nth-child(5),
.ranking-list.fade-in .twitter-card:nth-child(5) {
    animation-delay: 0.25s;
}

@keyframes fadeInItem {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Désactiver les animations en cas de prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .ranking-list,
    .ranking-list.fade-out,
    .ranking-list.fade-in,
    .ranking-list > * {
        animation: none !important;
        transition: none !important;
    }
}

/* Styles pour les boutons de filtre */
.ranking-filter {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: center;
}

.filter-btn {
  color: #555555a3;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  border-radius: 10px !important;
  background-color: white;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  z-index: 1;
  padding: 15px;
}

.filter-btn:hover {
  background-color: #e0e0e0;
}

.filter-btn.active {
  color: white;
  border-radius: 10px !important;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  background: linear-gradient(90deg,rgb(240, 185, 56) 0%, rgb(255, 208, 95) 50%, rgb(240, 185, 11) 100%);
  z-index: 1;
}

/* CSS minimal pour corriger les éléments Twitter */
.twitter-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.twitter-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* S'assurer que le style des cartes est préservé */
.ranking-item.twitter-item {
  padding-bottom: 0;
  border-radius: 10px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: 0.5s, box-shadow 0.2s;
}
.ranking-item.airdrop-item {
  padding-bottom: 0;
  border-radius: 10px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: 0.5s, box-shadow 0.2s;
}

.ranking-item.twitter-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  scale: 1.05;
}
.ranking-item.airdrop-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  scale: 1.05;
}




/*/////////////////////PREMIUM/////////////////////*/

/* Styles pour les fonctionnalités premium */

/* Badge premium sur les cartes */
.premium-badge {
  position: absolute;
  top: 15px;
  left: 20px;
  background: linear-gradient(135deg, #f39c12, #e74c3c);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 5px;
  animation: pulsePremium 2s infinite;
}

.premium-badge i {
  color: #ffeb3b;
}
.avatar-premium2{
  position: relative;
  left: -5px;
  top: -5px;
  width: 60px;
  border:2px solid white;
  border-radius: 10px;
}

/* Carte avec statut premium */
.airdrop-card.premium,
.twitter-card.premium {
  border: 2px solid #f39c12;
  box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
  transform: translateY(-3px);
  transition: all 0.3s ease;
}

.airdrop-card.premium:hover,
.twitter-card.premium:hover {
  box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}

/* Bouton premium et statut */
.premium-action {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.premium-button {
  background: linear-gradient(135deg, #f39c12, #e74c3c);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  margin:25px;
}

.premium-button i {
  color: #ffeb3b;
}

.premium-button:hover {
  background: linear-gradient(135deg, #e67e22, #d35400);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.premium-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
}

/* Masquer le bouton premium sur les éléments déjà premium */
.premium_active .premium-button {
  display: none;
}

.premium-status {
  font-size: 1rem;
  color: #f0b90b;
  text-align: center;
  background-color: #f0b90b24;
  padding:10px;
  border-radius:5px;
  border:1px solid #f0b90b82;
}

/* Popup premium structure */
.premium-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.premium-popup-content {
  background-color: white;
  border-radius: 12px;
  padding: 25px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  animation: popIn 0.3s ease-out;
}

.premium-popup-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #757575;
  font-size: 24px;
  justify-content: center;
  font-weight: 600;
  flex-direction: column;
}

.premium-popup-title i {
  color: #f0b90b;
  font-size: 30px;
}

.premium-popup label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
}

.premium-popup-inputs {
  margin-bottom: 15px;
}

.premium-popup input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #4d4d4d;
  background-color: #efefef;
}

.premium-info {
  background-color: whitesmoke;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #666;
}

.premium-cost {
  font-weight: bold;
  font-size: 1.2rem;
  color: #f0b90b;
  display: block;
}

/* Boutons et actions dans le popup */
.premium-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.premium-actions.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.premium-actions.success {
  background-color: rgba(46, 204, 113, 0.1);
  border-radius: 8px;
  padding: 5px;
}

.premium-actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  flex: 1;
  transition: all 0.2s ease;
}

.premium-actions button:first-child {
  background-color: #f0b90b;
  color: white;
}

.premium-actions button:first-child:hover {
  background-color: #e67e22;
}

.premium-actions button:last-child {
  background-color: #ecf0f1;
  color: #7f8c8d;
}

.premium-actions button:last-child:hover {
  background-color: #dfe6e9;
}

.premium-total {
  display: flex;
  justify-content: space-between;
}

/* Bouton de fermeture après succès */
#closePremiumPopupAfterSuccess {
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  color: white;
  background-color: #2ecc71;
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

#closePremiumPopupAfterSuccess:hover {
  background-color: #27ae60;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(46, 204, 113, 0.4);
}

#closePremiumPopupAfterSuccess.pulse {
  animation: button-pulse 1.5s infinite;
}

/* Message de statut dans le popup */
#premiumMessage {
  margin-top: 15px;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
  display: none;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

#premiumMessage.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Style du bouton disabled pendant le traitement */
#confirmPremiumBtn:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Animations */
@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulsePremium {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes pulseCardPremium {
  0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}
@keyframes pulsebtnPremium {
  0% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(230, 126, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}
@keyframes pulseCardcomplete {
  0% { box-shadow: 0 0 0 0 rgba(79, 169, 101, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(79, 169, 101, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 169, 101, 0); }
}
@keyframes pulsetimer {
  0% { box-shadow: 0 0 0 0 rgba(240, 185, 11, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(240, 185, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 185, 11, 0); }
}

@keyframes button-pulse {
  0% { transform: scale(1); box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 4px 15px rgba(46, 204, 113, 0.5); }
  100% { transform: scale(1); box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3); }
}

/* Animation du popup à la fermeture */
.premium-popup.fade-out {
  opacity: 0;
}

/* Styles pour les éléments en attente */
.premium-status.pending {
  font-size: 1rem;
  color: #f0b90b;
  text-align: center;
  background-color: #f0b90b24;
  padding:10px;
  border-radius:15px;
  border:1px solid #f0b90b82;
  animation: pulsetimer 2s infinite;
  display: flex;
  justify-content: space-around;
}

.pend-mess-stats{
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.pend-mess {
  padding: 20px;
  background-color: #ffffff80;
  border-radius: 15px;
}
.queue-position {
  padding: 20px;
  background-color: #ffffff80;
  border-radius: 15px;
}
.premium-time {
  padding: 20px;
  background-color: #ffffff80;
  border-radius: 15px;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

.pending-badge {
  position: absolute;
  top: 15px;
  left: 20px;
  background:linear-gradient(135deg, #f39c12, #e74c3c);
  color: white;
  padding:5px 10px;
  border-radius:15px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
  display: flex;
  align-items: center;
  gap:5px;
  animation:pulsePremium 2s infinite;
}

.premium-pending {
  border: 2px dashed #f39c12;
}
/* Masquer le bouton premium pour les cartes en attente */
.premium-pending .premium-button,
.premium-action:has(.premium-status.pending) .premium-button {
  display: none !important;
}


/* ===== Styles pour la page d'accueil ===== */

/* Carte premium dans les classements */
.ranking-list .airdrop-item.premium,
.ranking-list .twitter-item.premium {
  border: 2px solid #f39c12;
  box-shadow: 0 3px 10px rgba(243, 156, 18, 0.25);
  background: linear-gradient(to right, rgba(253, 235, 208, 0.1), rgba(255, 255, 255, 0));
  position: relative;
  z-index: 1;
  transform: translateY(-2px);
  margin-bottom: 12px;
  animation: premiumGlow 3s infinite;
}

/* Badge premium pour les cartes de classement */
.ranking-list .premium-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #f39c12, #e74c3c);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 3px;
}

.ranking-list .premium-badge i {
  color: #ffeb3b;
  font-size: 0.6rem;
}

/* Animation subtile pour les cartes premium */
@keyframes premiumGlow {
  0% { box-shadow: 0 3px 10px rgba(243, 156, 18, 0.25); }
  50% { box-shadow: 0 3px 15px rgba(243, 156, 18, 0.4); }
  100% { box-shadow: 0 3px 10px rgba(243, 156, 18, 0.25); }
}

/* Style pour les modales quand on affiche un élément premium */
.detail-modal .modal-container.premium {
  border: 2px solid #f39c12;
}

.detail-modal .modal-container.premium::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 5px;
  background: linear-gradient(90deg, #f39c12, #e74c3c);
  border-radius: 5px 5px 0 0;
}

.detail-modal .premium-status {
  display: inline-block;
  background: linear-gradient(135deg, #f39c12, #e74c3c);
  color: white;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.7rem;
  margin-top: 5px;
  margin-bottom: 10px;
}

.detail-modal .premium-status i {
  color: #ffeb3b;
  margin-right: 3px;
}

/* Adaptation du style pour les petits écrans */
@media (max-width: 768px) {
  .premium-popup-content {
    width: 95%;
    padding: 20px;
  }
  
  .premium-actions {
    flex-direction: column;
  }
}

/* ===== Styles pour les bannières premium ===== */

/* Conteneur principal des bannières premium */
.premium-banners-container {
    position: relative;
  display: flex;
  justify-content: space-between;
  border-radius: 5px;
  margin: 4% 5% 0% 5%;
  gap: 50px;
}


/* Section premium pour chaque type (airdrops, twitter) */
.premium-section {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  width: 100%;
  animation: pulseCardPremium 2s infinite;
  border: 2px solid #ed74273b;
}

/* En-tête de section premium */
.premium-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #bbb;
  background-color: #000000bd;
  padding: 20px;
  border-radius: 5px 5px 0px 0px;
  background-image: repeating-linear-gradient(45deg, rgba(127, 127, 127, 0) 0px, rgba(162, 162, 162, 0) 1px, #00000008 1px, #0000 5px);
}

.premium-section-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.premium-section-header i {
  color: #f0b90b;
}

/* Contrôles de navigation */
.premium-section-controls {

  align-items: center;
  gap: 10px;
  display: none;
}

.premium-nav-btn {
  background-color: rgba(255, 255, 255, 0.05);
  border:none;
  border-radius:5px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:all 0.2s ease;
  color: white;
}

.premium-nav-btn:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.3);
}

.premium-nav-btn:disabled {
  cursor: not-allowed;
}

.premium-counter {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Conteneur du slider */
.premium-banner-slider {
  position: relative;
  min-height: 200px;
}

/* Bannière premium individuelle */
.premium-banner {
  padding: 0;
  position: relative;
  display: none;
  animation: fadeIn 0.5s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-banner.active {
  display: block;
}


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

/* État de chargement */
.premium-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #777;
}

.premium-loading .spinner {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

/* Cacher les deux titres par défaut */
.title-all-rank,
.title-all-rank2 {
    display: none;
}

/* Afficher le titre airdrops en mode expanded airdrops */
body.expanded-airdrops-mode .title-all-rank {
    display: block;
}

/* Afficher le titre influenceur en mode expanded twitter */
body.expanded-twitter-mode .title-all-rank2 {
    display: block;
}


/* Structure de contenu de la bannière avec effet de slide */
.premium-banner-content {
  display: flex;
  height: 214px;
  background-color: #f8f9fa;
  overflow:hidden;
  position: relative;
  transition:all 0.5s ease;
  margin-bottom: -3px;
}

.premium-banner-image {
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: all 0.5s ease;
  position: relative;
  z-index: 1;
}

.premium-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s ease;
}

.premium-banner-info {
  width: 50%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.5s ease;
  background-color: #f8f9fa;
  z-index: 2;
}

/* Effet de survol - l'image s'étend beaucoup et le texte est fortement compressé */
.premium-banner:hover .premium-banner-image {
  width: 100%;  /* L'image prend 85% de la largeur totale */
}

.premium-banner:hover .premium-banner-info {
  width: 0%;      /* Passe de 15% à 0% */
  padding: 0;     /* Supprime tout le padding */
  overflow: hidden; /* Cache tout contenu qui déborde */
  opacity: 0;     /* Rend le texte invisible */
}

.premium-banner-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
}

.premium-banner-description {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.premium-banner-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.premium-banner-metrics {
  display: flex;
  gap: 15px;
}

.premium-banner-metric {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #777;
}

.premium-banner-metric i {
  color: #f39c12;
}

.premium-banner-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  background:linear-gradient(135deg, #f39c12, #e74c3c);
  color: white;
  padding:5px 10px;
  border-radius:0px 0px 0px 5px;
  font-size: 0.8rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap:5px;
  z-index: 10;
  font-weight: bold;
}

.time-prem {
  font-weight: 600;
  font-size: 12px;
  color: #ffffff8a;
  border-left:1px solid #ffffff57;
  padding-left: 10px;
  margin-left: 5px;
}

.premium-banner-badge i {
  color: #ffeb3b;
}

/* Bouton Voir (à conserver au cas où vous souhaiteriez le réutiliser) */
.premium-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #f39c12;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.premium-view-btn:hover {
  background-color: #e67e22;
  transform: translateY(-2px);
}



/* ---////////////////MARKETING BANNER ///////////////*/

/* === BANNIÈRE MARKETING - PAGE ACCUEIL === */
.marketing-banner-container {
   height: auto;
  margin:5% 5% 0% 5%;
  position: relative;
   transition: height 0.3s ease, opacity 0.3s ease;
}


.m-banner-1 {
  height: auto;
  background-color: #28283f12;
  border-radius: 10px;
  margin-bottom: 15px;
  transition-duration: 0.5s;
  cursor: pointer;
  transition: 0.5s;
}
.m-banner-1:hover{
 scale:1.02;
}

.m-banner-triple {
  display: flex;
  gap: 15px;
  height: 150px;
}

.m-banner-2, .m-banner-3, .m-banner-4 {
  flex: 1;
  background-color: #28283f12;
  border-radius: 10px;
  overflow: hidden;
}

.main-banner-img {
  width: 100%;
  border-radius: 10px;
}

.small-banner-img {
  width: 100%;
}

.placeholder-banner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px dashed #adb5bd;
}

.placeholder-content {
  text-align: center;
  color: #6c757d;
}

.placeholder-logo {
  width: 40px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.small-logo {
  width: 30px;
  margin-bottom: 5px;
  margin-top: 15px;
}

/* Placeholder pour chargement */
.banner-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: 1.5s shine linear infinite;
  border-radius: 8px;
}

.banner-loading {
  position: relative;
  overflow: hidden;
}
.banner-link {
  height: 100%;
  display: flex;
}

@keyframes shine {
  to {
    background-position-x: -200%;
  }
}

/* === FORMULAIRE PUBLICATION BANNIÈRE === */
.banner-toggle-wrapper {
  display: flex;
  justify-content: center;
}

.banner-publish-container {
    display: none;
    background-color: #f8f9fa;
    border-radius:10px;
    padding:30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition:all 0.4s ease;
    overflow:hidden;
    background:linear-gradient(135deg, #5e5e5e 0%, #292929 100%);
    margin-top: 5px;
    animation: form-appear 0.4s ease;
}
.banner-publish-container h2{
  margin:0;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.banner-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.preview-container {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.banner-position-selector {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.position-option {
  flex: 1;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border:1px solid #bfbfbf;
  background-color: #ffffff47;
}

.position-option:hover {
  opacity: 0.6;
}

.position-option.selected {
  border-color: #4dabf7;
  background-color: #e7f5ff;
}

.position-image {
  width: 100%;
  height: 80px;
  background-color: #585858;
  margin-bottom: 10px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.position-image i {
  color:white;
}

.position-label {
  font-weight: 500;
  color: white;
}
.position-description {
  color: white;
}

.banner-duration-slider {
  margin-top: 20px;
}

.slider-container {
 display: flex;
  flex-direction: column;
  gap:10px;
  padding:15px 50px 20px 50px;
  border-radius:50px;
  margin:20px;
  border:1px solid #bfbfbf;
  background-color: #ffffff47;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.duration-value {
  font-weight: bold;
  color: #4dabf7;
}

input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(45deg, #f5bd0b, #ff8300);
  outline: none;
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4dabf7;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

input[id="bannerDuration"] {
  background: linear-gradient(45deg, #b9b9b9, #d4d4d4);
}

.cost-container {
  margin-top: 40px;
  margin-bottom: 30px;
}
.banner-cost {
display: flex;
  justify-content: space-between;
  align-items: center;
  padding:15px 30px 15px 30px;
  background-color: #ffc30017;
  border-radius:8px;
  margin:10px 0px 5px 0px;
  border:1px solid #f0b90b42;
}
.banner-cost i{
  color: #f0b90b;
  margin: auto;
}
.banner-cost p{
  color: #f0b90b;
  margin: auto;
}
.user-balance i{
  color: #ffffffc4;
  margin: auto;
}
.user-balance p{
  color: #ffffffc4;
  margin: auto;
}

.cost-label {
  font-weight: 500;
  display: flex;
}
.cost-label i{
  font-size: 22px;
  margin-right:10px;
}

.cost-value {
  font-weight: 600;
  color: #919191;
  font-size: 1em;
}
.cost-value img{
  width: 25px;
  height: 25px;
  margin-left: 10px;
}
.cost-value2 {
  font-weight: 600;
  color: #919191;
  font-size: 1em;
}
.cost-value2 img{
  width: 25px;
  height: 25px;
  margin-left: 10px;
  opacity: 0.7;
}

#BannerDuration input{
  background: linear-gradient(45deg, #dadada, #dadada);
}

.insufficient {
  color: #fa5252 !important;
}



/* === LISTE DES BANNIÈRES === */
.user-banners-section {
  padding: 20px;
  background: #ffffff94;
  border-radius: 15px;
}

.banner-item {
  display: flex;
  gap: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}
.banner-item.large-banner-item{
  display: flex;
  gap: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  flex-direction: column;
}

.banner-item.active {
  border:1px solid #40c05787;
  animation:active-pulse 2s infinite;
  background-color: #0080000a;
}

.banner-item.expired {
  border-left: 4px solid #adb5bd;
  opacity: 0.8;
}

.banner-item-image {
  width: auto;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.68) 0px 3px 8px;
}

.banner-item-image img {
  width: 100%;
  height: 230px;
}

.banner-position-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px;
  background-color: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.8em;
  text-align: center;
}

.banner-item-info {
  flex: 1;
}

.banner-item-info h3 {
  margin: 0 0 5px 0;
  font-size: 1.1em;
}

.banner-url {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9em;
  color: #727272;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.banner-details {
 display: flex;
  gap:15px;
    justify-content: left;
  flex-wrap: nowrap;
  margin-bottom: 20px;
}

.banner-stat {
  display: flex;
  flex-direction: column;
  width: auto;
  background-color: #ffffff75;
  padding: 10px 15px;
  border-radius:5px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.banner-stat .label {
  font-size: 0.8em;
  color: #6c757d;
}

.banner-stat .value {
  font-weight: 500;
  font-size: 14px;
}

.active-status {
  color: #40c057;
}

.expired-status {
  color: #adb5bd;
}

.banner-timeline {
  padding-top: 10px;
  border-top: 1px solid #e9ecef;
}

.timeline-label {
  font-size: 0.9em;
  color: #6c757d;
  margin-bottom: 5px;
}

.remaining-time {
  font-size: 0.9em;
  display: flex;
  align-items: center;
  margin-top: 8px;
  padding:6px 10px;
  background-color: #26b02f36;
  border-radius:6px;
  border-left:4px solid #26b02f;
}

.countdown-label {
  color: #6c757d;
}

.countdown-value {
  margin-left: 5px;
  font-weight: 600;
  color: #26b02f;
}

.message-box {
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.message-box.error {
  background-color: #ffe3e3;
  color: #e03131;
}

.message-box.success {
  background-color: #d3f9d8;
  color: #2b8a3e;
}

.message-box.info {
  background-color: #e7f5ff;
  color: #1971c2;
}

/* === LOADER === */
.banner-loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .m-banner-triple {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }
  
  .m-banner-2, .m-banner-3, .m-banner-4 {
    height: 120px;
  }
  
  .banner-item {
    flex-direction: column;
  }
  
  .banner-item-image {
    width: 100%;
    height: 150px;
  }

}

.large-banner-item.active .flex-detail-banner {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  flex-direction: row;
  align-items: center;
}
.large-banner-item.pending .banner-timeline {
  margin-top:0px;
}
.large-banner-item.pending .flex-detail-banner {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  flex-direction: row;
  align-items: center;
}
.large-banner-item.active .banner-timeline {
  margin-top:0px;
}

/* Style pour le bouton de suppression */
.banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.banner-header h3 {
  margin:0;
  font-weight: 500;
  font-size: 1.5em;
  color: gray;
}

.delete-banner-btn {
  background-color: #ffffff80;
  color: #c2c2c2;
  border: none;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.delete-banner-btn:hover {
  background-color: #fa5252;
}

.delete-banner-btn i {
  font-size: 14px;
}


.banner-item.expired.large-banner-item {
  opacity: 0.8;
  border:
1px solid #dee2e6;
  display: flex;
  flex-direction: column;
}




/* Style pour les bannières expirées */
.banner-item.expired .delete-banner-btn {
  opacity: 0.7;
}

.banner-item.expired .delete-banner-btn:hover {
  opacity: 1;
}


/* ========================================
   CSS COMPLET - CAROUSEL AVEC SUPPORT TACTILE
   Version fusionnée de ton CSS + support tactile
   ======================================== */

/* Carrousel des petites bannières */
.m-banner-carousel-container {
  position: relative;
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  overflow: hidden;
  /* ⭐ AJOUTS TACTILES */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: pan-y pinch-zoom;
  -webkit-touch-callout: none;
}

.m-banner-carousel {
  width: 100%;
  height: auto;
  overflow: hidden;
  /* ⭐ AJOUTS TACTILES */
  cursor: grab;
}

.m-banner-carousel:active {
  cursor: grabbing;
}

.m-banner-carousel-inner {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
  gap: 15px;
  /* ⭐ AJOUTS TACTILES - Optimisations performances */
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.m-banner-small {
  flex: 0 0 calc(33.333% - 10px);
  height: 100%;
  background-color: #28283f12;
  border-radius: 10px;
  overflow: hidden;
  transition-duration: 0.5s; 
  cursor: pointer;
  transition: 0.5s;
  /* ⭐ AJOUTS TACTILES */
  -webkit-user-drag: none;
  user-select: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.m-banner-small:hover {
  scale: 1.05;
  border: 3px solid white;
}

/* ⭐ AJOUT TACTILE - Empêcher le drag des images */
.m-banner-small img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.m-banner-nav {
  position: absolute;
  top: 25%;
  width: 1%;
  height: 50%;
  background-color: black;
  border-radius: 5px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.41);
  opacity: 0.5;
  transition: opacity 0.3s, background-color 0.3s;
  border: 1px solid #8080807a;
  padding: 10px;
  transition: 0.3s;
  color: white;
}

.m-banner-nav:hover {
  opacity: 0.9;
  scale: 1.1;
}

.m-banner-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.m-banner-prev {
  left: 10px;
}

.m-banner-next {
  right: 10px;
}

.upload-hint {
  color: #cacacaa1;
  font-size: 14px;
  margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .m-banner-small {
    flex: 0 0 calc(100% - 0px);
  }
  
  /* ⭐ AJOUTS TACTILES - Améliorer les boutons sur mobile */
  .m-banner-nav {
    min-width: 44px;
    min-height: 44px;
    opacity: 0.4;
    padding: 8px;
  }
  
  .m-banner-nav:active {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* ⭐ AJOUTS TACTILES - Optimisation Safari iOS */
@supports (-webkit-touch-callout: none) {
  .m-banner-carousel-inner {
    -webkit-overflow-scrolling: touch;
  }
}

/* ⭐ AJOUTS TACTILES - Curseur uniquement sur desktop */
@media (hover: none) and (pointer: coarse) {
  .m-banner-carousel {
    cursor: default;
  }
  
  .m-banner-carousel:active {
    cursor: default;
  }
}

@media (hover: hover) and (pointer: fine) {
  .m-banner-carousel {
    cursor: grab;
  }
  
  .m-banner-carousel:active {
    cursor: grabbing;
  }
}

/* Styles pour les sections de bannières */
.banners-section {
  margin-bottom: 15px;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 500;
  padding:15px;
  background-color: #f5f5f5;
  border-radius:8px;
  cursor: pointer;
  position: relative;
  border:1px solid #80808029;
  color: gray;
  margin-top: 20px;
}

.section-title:after {
  content: '\f077';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 25px;
  transition:transform 0.3s ease;
  margin-top: 6px;
  color: #4b4b4bbd;
  background-color: #ffffff3b;
  padding: 10px;
  border-radius: 100px;
}

.section-title.collapsed:after {
  transform: rotate(180deg);
}
.section-title i {
  margin-right: 20px;
  padding:15px 20px;
  font-size: 22px;
  background-color: #ffffff78;
  border-radius:5px;
  border:1px solid #ffc107;
  color: #ffc107;
}
.active-banners .section-title i{
  border:1px solid #26b02f;
  color: #26b02f;
}
.expired-banners .section-title i{
  border:1px solid gray;
  color: gray;
}
/* Container pour les différentes catégories de bannières */
.pending-banners-container,
.active-banners-container,
.expired-banners-container {
  gap: 20px;
}

/* Styles spécifiques pour les bannières en attente */
.banner-item.pending {
  border: 1px solid #ffc107;
  position: relative;
  background-color: #ffc1070f;
}

.banner-item.pending .banner-item-image {
  position: relative;
}

.banner-pending-badge {
  position: absolute;
  right: 60px;
  background-color: #ffc107;
  color: #fff;
  padding:4px 8px;
  border-radius:5px;
  font-size: 0.8rem;
  font-weight: 600;
  width: 90px;
  text-align: center;
}

.expired-badge {
  background-color: #dc3545;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Styles pour le compteur d'attente */
.waiting-time {
  display: flex;
  align-items: center;
  margin-top: 8px;
  padding: 6px 10px;
  background-color: #fff9c4;
  border-radius: 6px;
  border-left: 4px solid #ffc107;
}

.waiting-value {
  margin-left: 5px;
  font-weight: 600;
  color: #ff9800;
}

.countdown-label {
  font-size: 0.85rem;
  color: #666;
}

/* Effet pulsation pour les bannières active */
@keyframes active-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(105, 188, 65, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(105, 188, 65, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(105, 188, 65, 0);
  }
}

/* Effet pulsation pour les bannières en attente */
@keyframes pending-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

.banner-item.pending {
  animation: pending-pulse 2s infinite;
}

/* Styles pour les bannières expirées (plus discret) */
.banner-item.expired {
  opacity: 0.8;
  border: 1px solid #dee2e6;
}

.banner-item.expired img {
  filter: grayscale(50%);
}



/* Responsive design pour les petits écrans */
@media (max-width: 768px) {
  .pending-banners-container,
  .active-banners-container,
  .expired-banners-container {
    grid-template-columns: 1fr;
  }
}
.active-status2{
  position: absolute;
  right: 80px;
  background-color: #26b02f;
  color: #fff;
  padding:4px 8px;
  border-radius:5px;
  font-size: 0.8rem;
  width: 90px;
  text-align: center;
  font-weight: 600;
}







.large-banner-item .banner-timeline {
  border:none;
  width: 60%;
  margin-top: -4px;
  padding:0px;
}
.flex-detail-banner {
margin-top: 14px;
}
.large-banner-item .banner-item-image img {
  width: 100%;
  height: auto;
}
.flex-detail-banner-expired {
  display: flex;
  margin-top: 10px;
}
.large-banner-item .flex-detail-banner-expired-block{
  display: flex;
}
.banner-stat.expired {
background-color: #fff;
margin:15px;
}
.banner-item.expired {
  background-color: #f8f9fa73;
}

.popup-success {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.popup-content2 {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 90%;
  width: 400px;
  animation: slideUp 0.4s ease;
}

.popup-success h2 {
  margin-top: 0;
  color: #2ecc71;
}

.close-banner-popup {
  cursor: pointer;
  background-color: #8080805c;
  padding:5px 20px 5px 20px;
  border-radius:5px;
  display: flex;
  justify-content: center;
  width: 10%;
  position: absolute;
  right: 20px;
}
.banner-popup-content h3{
  margin:0px 0px 35px 0px;
  color: gray;
}
#cropMarketingBannerBtn {
  border-radius: 5px;
}

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

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

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.banner-preview-container {
  border-radius: 8px;
  overflow: hidden;
}

.banner-preview-info {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: #3d3d3d63;
  font-size: 14px;
  color: #ffffff75;
}

.banner-preview-frame {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #757575;
  position: relative;
}

.banner-preview-img {
  max-width: 100%;
  max-height: 300px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.remove-preview-btn {
  background: transparent;
  border: none;
  color: #d9534f;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
}

.remove-preview-btn:hover {
  color: #c9302c;
  text-decoration: underline;
}

/* Style pour le bouton de restauration */
.restore-banner-btn {
    background: #26b02f;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    margin-right: 5px;
    transition: background 0.3s;
}

.restore-banner-btn:hover {
    background: #3867a3;
}

/* Style pour le prix réduit */
.discount {
    color: #2ecc71;
    font-weight: bold;
}

/* Conteneur pour les actions (restaurer et supprimer) */
.banner-actions {
    display: flex;
    align-items: center;
    gap:15px;
}

/* Style pour le popup de restauration */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

body:has(.popup-overlay[style*="display: flex"]),
body:has(.premium-popup[style*="display: flex"]),
body:has(.banner-popup[style*="display: flex"]) {
  overflow: hidden;
}
  
/* Transition fluide pour les sections de bannières */
.pending-banners-container,
.active-banners-container,
.expired-banners-container {
    transition: none !important; /* Désactive les transitions pendant le rechargement */
}

/* Réactive les transitions après le chargement */
.banners-section.loaded .pending-banners-container,
.banners-section.loaded .active-banners-container,
.banners-section.loaded .expired-banners-container {
    transition: all 0.3s ease !important;
}

.popup-content {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 450px;
  animation: fadeIn 0.3s ease;
  text-align: center;
  border-top: 5px solid #f0b90c;
}
.head-popup {
background: #e5e5e5;
border-radius: 15px 15px 0px 0px;
}
.head-popup i {
  font-size: 40px;
  color: gray;
  margin-top: 30px;
}
.head-popup h3{
  padding: 15px 0px 30px 0px;
  margin-bottom: 40px;
  border-radius: 15px 15px 0px 0px;
  color: gray;
}

.popup-title {
  margin-top: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #757575;
  justify-content: center;
  font-weight: 600;
  flex-direction: column;
}

.popup-title i {
  color: #f0b90b;
  font-size: 30px;
}

.restore-info p {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 16px;
  color: #555;
}

.price-info {
  background-color: #f9f9f9;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.highlight {
  background-color: #e8f4fd;
  padding: 8px;
  border-radius: 6px;
  margin: 10px -8px;
}

.original-price {
  text-decoration: line-through;
  color: #999;
}

.discount-price {
  font-weight: 700;
  color: #2ecc71;
}

.popup-actions {
  display: flex;
  justify-content: space-around;
  gap: 12px;
  margin-top: 50px;
}

.popup-actions button {
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.confirm-btn {
  background-color: #4a7dbd;
  color: white;
  border: none;
  border-radius: 10px;
}

.confirm-btn:hover {
  background-color: #3867a3;
}

.cancel-btn {
  background: #6e6e6e;
  color: #555;
  border: 1px solid #ddd;
  width: 100%;
}
.cancel-btn2 {
  background: #ecf0f1;
  color: gray;
  width: 100%;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 10px;
}

.cancel-btn:hover {
  background-color: #e5e5e5;
}
.cancel-btn2:hover {
  background-color: #d7d7d7;
}

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





/* Bouton Auto-Restauration */
.auto-restore-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.auto-restore-btn:hover {
    background: #4b5563;
    transform: scale(1.05);
}

.auto-restore-btn.active {
    background: #10b981;
    animation: pulse 2s infinite;
}

.auto-restore-btn .cycles-badge {
    background: #dc2626;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 4px;
    font-weight: bold;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Popup Auto-Restauration */
#autoRestoreBannerPopup .popup-content {
    max-width: 450px;
    padding: 30px;
}

#autoRestoreBannerPopup .form-group {
    margin: 20px 0;
}

#autoRestoreBannerPopup input[type="number"] {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
}

#autoRestoreBannerPopup .cost-preview {
    background: #f3f4f6;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

#autoRestoreBannerPopup .cost-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

#autoRestoreBannerPopup .cost-item.total {
    border-top: 2px solid #d1d5db;
    margin-top: 10px;
    padding-top: 15px;
    font-weight: bold;
    font-size: 18px;
}

#autoRestoreBannerPopup .insufficient {
    color: #dc2626;
}
/* Indicateur auto-restore sur l'image */
.auto-restore-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

/* Info auto-restore dans les détails */
.auto-restore-info {
    background: #10b981;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
}

/* Ajustement du bouton auto-restore */
.auto-restore-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    margin-right: 5px;
}

.auto-restore-btn:hover {
    background: #4b5563;
    transform: scale(1.05);
}

.auto-restore-btn.active {
    background: #10b981;
    animation: pulse 2s infinite;
}

.auto-restore-btn .cycles-badge {
    background: #dc2626;
    color: white;
    padding: 1px 4px;
    border-radius: 10px;
    font-size: 10px;
    margin-left: 3px;
}



/* ========================================
   POPUP AUTO-RESTAURATION SUCCÈS - MODERNE
   ======================================== */

#bannerAutoRestoreSuccessPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#bannerAutoRestoreSuccessPopup.banner-success-show {
    display: flex !important;
    opacity: 1;
}

#bannerAutoRestoreSuccessPopup .banner-success-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: 0;
    max-width: 520px;
    width: 90%;
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#bannerAutoRestoreSuccessPopup.banner-success-show .banner-success-content {
    transform: scale(1) translateY(0);
}

/* ========================================
   HEADER AVEC GRADIENT MODERNE
   ======================================== */

#bannerAutoRestoreSuccessPopup .banner-success-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Effet de brillance animé */
#bannerAutoRestoreSuccessPopup .banner-success-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

#bannerAutoRestoreSuccessPopup .banner-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 20px;
    position: relative;
    animation: pulseScale 2s ease-in-out infinite;
}

@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

#bannerAutoRestoreSuccessPopup .banner-success-icon svg {
    width: 45px;
    height: 45px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

#bannerAutoRestoreSuccessPopup h2 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* ========================================
   BODY - CONTENU PRINCIPAL
   ======================================== */

#bannerAutoRestoreSuccessPopup .banner-success-body {
    padding: 0px 30px;
    overflow-y: scroll;
    max-height: calc(85vh - 200px);
}

#bannerAutoRestoreSuccessPopup .banner-success-body > p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 25px 0;
    text-align: center;
}

/* Détails de la bannière */
#bannerAutoRestoreSuccessPopup .banner-success-details {
    background: linear-gradient(145deg, #f7fafc 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 0px 20px 10px 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

#bannerAutoRestoreSuccessPopup .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
    transition: background-color 0.2s ease;
}

#bannerAutoRestoreSuccessPopup .detail-row:hover {
    background-color: rgba(102, 126, 234, 0.03);
}

#bannerAutoRestoreSuccessPopup .detail-row:last-child {
    border-bottom: none;
}

#bannerAutoRestoreSuccessPopup .detail-label {
    color: #718096;
    font-size: 14px;
    font-weight: 500;
}

#bannerAutoRestoreSuccessPopup .detail-value {
    color: #2d3748;
    font-size: 15px;
    font-weight: 700;
}

/* Ligne total avec style spécial */
#bannerAutoRestoreSuccessPopup .detail-row.total {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

#bannerAutoRestoreSuccessPopup .detail-row.total .detail-label {
    color: #5a67d8;
    font-size: 16px;
}

#bannerAutoRestoreSuccessPopup .detail-row.total .detail-value {
    color: #5a67d8;
    font-size: 18px;
    font-weight: 800;
}

/* ========================================
   STATUT AUTO-RESTAURATION
   ======================================== */

.banner-auto-restore-status {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.banner-auto-restore-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.status-indicator2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 12px;
    color: white;
    position: relative;
}

.status-indicator2 i {
    font-size: 24px;
    animation: rotateInfinity 4s linear infinite;
}

@keyframes rotateInfinity {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.status-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    position: relative;
}

/* ========================================
   FOOTER - BOUTON ACTION
   ======================================== */

#bannerAutoRestoreSuccessPopup .banner-success-footer {
    padding: 0 30px 30px 30px;
}

#bannerAutoRestoreSuccessPopup .banner-success-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

#bannerAutoRestoreSuccessPopup .banner-success-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#bannerAutoRestoreSuccessPopup .banner-success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

#bannerAutoRestoreSuccessPopup .banner-success-btn:hover::before {
    left: 100%;
}

#bannerAutoRestoreSuccessPopup .banner-success-btn:active {
    transform: translateY(0);
}

/* ========================================
   ANIMATIONS AVANCÉES
   ======================================== */

#bannerAutoRestoreSuccessPopup.banner-success-hide {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#bannerAutoRestoreSuccessPopup.banner-success-hide .banner-success-content {
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
}

/* Badge pour les cycles */
.cycles-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 5px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    #bannerAutoRestoreSuccessPopup .banner-success-content {
        width: 95%;
        max-height: 90vh;
        margin: 10px;
    }
    
    #bannerAutoRestoreSuccessPopup .banner-success-header {
        padding: 25px 20px;
    }
    
    #bannerAutoRestoreSuccessPopup h2 {
        font-size: 20px;
    }
    
    #bannerAutoRestoreSuccessPopup .banner-success-body {
        padding: 20px;
        max-height: calc(75vh - 180px);
    }
    
    #bannerAutoRestoreSuccessPopup .detail-row {
        align-items: flex-start;
        gap: 5px;
    }
    
    #bannerAutoRestoreSuccessPopup .detail-row.total {
        flex-direction: row;
        align-items: center;
    }
    
    #bannerAutoRestoreSuccessPopup .banner-success-footer {
        padding: 0 20px 20px 20px;
    }
}

/* Effet de confettis (optionnel) */
@keyframes confetti {
    0% { transform: translateY(0) rotateZ(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotateZ(720deg); opacity: 0; }
}















/* ------------JAUGE----------------*/

.gauge-head-intro p {
  color: gray;
  font-size: 14px;
}

.info-palier {
  display: flex;
  padding: 10px 20px;
  gap: 20px;
  align-items: center;
  background: #f0b90b3b;
  margin: 20px;
  border-radius: 10px;
  border-left: 5px solid #f0b90b;
  color: #a37f10;
}
.info-palier h4{
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}
.info-palier i{
  color: #a37f10 !important;
  font-size: 18px;
}

/* Styles pour la jauge Ncoin */
/* Styles pour la jauge Ncoin - Thème clair */
.gauge-base-container{
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  margin-top: 25px;
}
.ncoin-gauge-container {
  width: 100%;
  margin:20px auto;
  background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 100%);
  border-radius:100px;
  color: #909090;
  padding:5px 50px 5px 50px;
  box-shadow: 0 0px 12px rgba(240, 185, 11, 0.47);
  border:1px solid #f0b90b;
  animation: pulseCardPremium 2s infinite;
}
.gauge-base-container h2{
  color:gray;
}
.gauge-base-container i{
  color:gray;
}

.ncoin-gauge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.gauge-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gauge-title-icon {
  width: 40px;
  height: 40px;
}

.gauge-title h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  background: linear-gradient(135deg, #f0b90b, #f8d33a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ncoin-gauge-bar {
  position: relative;
  height: 40px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.ncoin-gauge-centered-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
  font-weight: bold;
  color: #80808096;
  z-index: 10;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.total-tokens{
  position: absolute;
  margin-top: 6px;
  right: 10px;
  color: #80808096;
  z-index: 10;
}
.total-tokens.above-fifty {
  color: white;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

/* Changer la couleur du texte quand la jauge dépasse 50% */
.ncoin-gauge-centered-percentage.above-fifty {
  color: white;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.ncoin-gauge-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f0b90b, #ffcc33);
  border-radius: 20px;
  transition: width 0.5s ease-out;
  box-shadow: 0 0 10px rgba(240, 185, 11, 0.3);
  position: relative;
}
.ncoin-current-rate-display{
  display: none;
}
.ncoin-gauge-fill:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  border-radius: 20px;
}

.ncoin-gauge-markers {
  position: relative;
  height: 30px;
  margin-bottom: 20px;
  margin-left: 3%;
  margin-right: 3%;
}

.ncoin-gauge-marker {
  position: absolute;
  width: 2px;
  height: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
}

.ncoin-gauge-marker-label {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: #666;
  white-space: nowrap;
  font-weight: 500;
}

.ncoin-gauge-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  text-align: center;
  padding: 5px;
  border-radius: 10px;
  width: 100%;
}
.ncoin-gauge-info span{
  font-size: 1.8rem;
  font-weight: 700;
  color: #8e8e8e;
  margin:0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ncoin-gauge-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f0b90b;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ncoin-gauge-percentage {
  font-size: 1.2rem;
  font-weight: 500;
  color: #444;
  margin: 0;
}

/* Animation d'éclat pour la jauge */
@keyframes pulse {
  0% {
    box-shadow: 0 0 5px rgba(240, 185, 11, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(240, 185, 11, 0.5);
  }
  100% {
    box-shadow: 0 0 5px rgba(240, 185, 11, 0.3);
  }
}

.ncoin-gauge-fill {
  animation: pulse 3s infinite;
}

/* Responsive design */
@media (max-width: 768px) {
  .ncoin-gauge-container {
    padding: 15px;
    margin: 10px auto;
  }
  
  .gauge-title h2 {
    font-size: 1.4rem;
  }
  
  .gauge-title-icon {
    width: 30px;
    height: 30px;
  }
  
  .ncoin-gauge-value {
    font-size: 1.4rem;
  }
  
  .ncoin-gauge-percentage {
    font-size: 1rem;
  }
}

/* Effet spécial pour la jauge */


.gauge-section:before {
  content: "";
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #f0b90b, transparent);
  border-radius: 2px;
}


/* Styles pour les marqueurs de palier */
.ncoin-tier-markers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.ncoin-tier-marker {
  position: absolute;
  height: 100%;
  width: 3px;
  background-color: rgb(208, 208, 208);
  transition: background-color 0.3s ease;
  top: 32px;
  border-radius: 100%;
}

.ncoin-tier-marker.active {
  background-color: rgba(255, 255, 255, 0.8);
}

.ncoin-tier-info {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
}

.ncoin-tier-info strong {
  color: #f0b90b;
}

/* Styles pour les marqueurs de palier */
.ncoin-tier-markers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.tier-tooltip {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.ncoin-tier-marker:hover .tier-tooltip {
  opacity: 1;
}





/*///////////STAKING/////////////*/

.backg-mt{
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #ffffff08;
  padding: 2px 15px;
  margin-left: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.flex-mt-stak{
  display: flex;
  align-items: center;
}

.stak-intro-head p {
  margin-top: 40px;
  margin-bottom: 0px;
  font-size: 14px;
  text-align: justify;
}

/* === STAKING SYSTEM CSS === */

.staking-section {
  margin-bottom: 30px;
  width: 100%;
}

.staking-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, #AD961D 50%, #c7aa0b 100%);
}

.staking-container {
  background: linear-gradient(135deg, #5e5e5e 0%, #292929 100%);
  border-radius: 20px;
  padding: 20px 50px 40px 50px;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Header avec toggle pour Staking */
.staking-header-wrapper {
    border-radius: 16px;
}

.staking-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-direction: column;
}

.staking-title-group {
    display: flex;
  align-items: center;
}

.staking-header h2 {
    color: #fff;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap:12px;
}

.staking-header p {
    color: #ccc;
  font-size: 16px;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

/* Bouton toggle */
.staking-toggle-btn {
width: 100%;
    background: #353535;
    border: 1px solid #e8e8e873;
    color: #838383;
    height: 44px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.staking-toggle-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.staking-toggle-btn i {
    color: #FFD700;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.staking-toggle-btn.opened i {
    transform: rotate(180deg);
}

/* Animation du contenu */
.staking-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.staking-content.expanded {
    max-height: 5000px; /* Assez grand pour tout contenu */
    opacity: 1;
}

/* Animation d'entrée pour les éléments */
.staking-content.expanded .staking-container-mobile {
    animation: slideInFade 0.5s ease forwards;
}

.staking-content.expanded .staking-categories {
    animation: slideInFade 0.6s ease 0.1s forwards;
    opacity: 0;
}

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



.staking-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  margin-top:50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0) 0px, rgba(162, 162, 162, 0.05) 1px, #00000012 1px, #0000 5px );
}

.staking-label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.staking-slider-container {
  position: relative;
  margin: 20px 0;
}

.staking-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.3);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.staking-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.staking-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.staking-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  opacity: 0.8;
  margin-top: 10px;
}

.staking-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 25px 0;
}
.staking-values i{
  font-size: 32px;
  padding-bottom: 10px;
  color: #f0b90b;
}
.staking-values img{
  width: 35px;
  padding-bottom: 10px;
}

.staking-amount-display,
.staking-apr-display,
.staking-duration-display {
  background: rgb(115, 115, 115);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.value-label {
  display: block;
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 5px;
}

.value-amount,
.value-apr,
.value-duration {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ncoin-icon {
  width: 20px;
  height: 20px;
  margin-left: 5px;
  margin-top: auto;
  margin-bottom: auto;
}

.staking-rewards-estimate {
  margin: 25px 0;
}

.rewards-box {
  background: rgb(115, 115, 115);
  border-radius: 12px;
  padding: 20px;
}

.rewards-box h4 {
  margin: 0 0 15px 0;
  font-size: 18px;
  text-align: center;
}

.rewards-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reward-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.hrv-s {
  border: 1px dashed #ffffff17;
  margin-top: 5px;
  margin-bottom: 5px;
}

.reward-item:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 16px;
}

.user-balance-staking {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px 15px 30px;
  background-color: #ffc30017;
  border-radius: 8px;
  margin: 10px 0px 5px 0px;
  border: 1px solid #f0b90b42;
  color: #f0b90b;
}
.user-balance-staking i {
  margin-right: 10px;
}

.staking-btn {
  width: 100%;
  padding: 15px;
  background: #f0b90b;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.staking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.3);
}

.staking-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Active Stakings */
.active-stakings {
  margin-top: 40px;
}

.active-stakings h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 22px;
}

/* Staking Categories */
.staking-categories {
  margin-top: 40px;
}

.staking-category {
  margin-top: 50px;
  border-radius: 10px;
}

.prog-stak-flex{
  display: flex;
}

.staking-category h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.staking-category h3 i {
  font-size: 18px;
}

.category-active h3 {
  color: #fff;
  padding:20px;
  border-radius:5px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.46);
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0) 0px, rgba(162, 162, 162, 0.05) 1px, #00000012 1px, #0000 5px );
}

.category-completed h3 {
  color: #fff;
  padding:20px;
  border-radius:5px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.46);
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0) 0px, rgba(162, 162, 162, 0.05) 1px, #00000012 1px, #0000 5px );
}

.category-expired h3 {
  color: #fff;
  padding:20px;
  border-radius:5px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.46);
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0) 0px, rgba(162, 162, 162, 0.05) 1px, #00000012 1px, #0000 5px );
}

.stakings-list {
  display: grid;
  gap: 15px;
}

.staking-item {
border-radius:5px;
  display: flex;
  gap:20px;
  align-items: center;
  overflow: hidden;
}
#activeStakingsList .staking-item {
  background: rgba(157, 125, 21, 0.36);
}
#completedStakingsList .staking-item {
  background: rgba(32, 146, 59, 0.36);
  animation:pulseCardcomplete 2s infinite;
}
#expiredStakingsList .staking-item {
  background: rgb(80, 80, 80);
}

.staking-info {
  display: flex;
  gap:15px;
  flex-wrap: wrap;
  padding: 20px;
}

.staking-detail {
  text-align: center;
  background-color: #00000040;
  padding:10px;
  border-radius:5px;
  width: 200px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.staking-detail-label {
  display: block;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.staking-detail-value {
  font-size: 16px;
  font-weight: 600;
}

.staking-actions {
  display: flex;
  flex-direction: column;
  gap:10px;
  width: 50%;
  height: auto;
  border-radius:0px 5px 5px 0px;
  background: #ffffff1c;
}
.staking-action-btn {
  display: flex;
}
.icon-staking{
  text-align: center;
  padding:40px;
}
.icon-staking i{
  font-size: 40px;
  opacity: 0.5;
}

.claim-btn,
.progress-btn,
.cancel-btn,
.delete-btn {
  padding:20px;
  border:none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:10px;
}

.claim-btn {
  background:#26893f;
  color: white;
  width: 100%;
  border-radius: 0px 0px 5px 0px;
}

.claim-btn:hover {
  background: #13a538;
  
}

.progress-btn {
  background: #ffc107;
  color: #212529;
  cursor: default !important;
  width: 100%;
}

.cancel-btn {
  background-color: #6e6e6e;
  color: white;
}

.cancel-btn:hover {
  background: #b44853;
}

.delete-btn {
  background: #6c757d;
  color: white;
  width: 100%;
  border-radius: 0px 0px 5px 0px;
}

.delete-btn:hover {
  background: #5a6268;
}

.claim-btn:disabled,
.cancel-btn:disabled,
.delete-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

/* Progress Bar */
.staking-progress {
  text-align: center;
  background-color: #ffffff1f;
  padding:10px;
  border-radius:5px;
  width: 200px;
  margin-left: 15px;
}

.progress-bar-container {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #20c997);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 12px;
  text-align: center;
  margin-top: 5px;
  opacity: 0.8;
}

/* Popup Styles */
.staking-confirmation-details {
  margin: 20px 0;
}

.confirm-detail {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.confirm-detail.highlight {
  font-weight: 700;
  color: #28a745;
  border-bottom: 2px solid #28a745;
}

.staking-warning {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.staking-warning i {
  color: #856404;
  margin-top: 2px;
}

.staking-warning p {
  margin: 0;
  color: #856404;
  font-size: 14px;
}

.claim-details {
  margin: 20px 0;
}

.claim-amount {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.claim-amount.highlight {
  color: #28a745;
  font-weight: 600;
}

.claim-amount.total {
  font-weight: 700;
  font-size: 18px;
  border-bottom: none;
  color: #007bff;
}

/* Cancel Popup Styles */
.cancel-details {
  margin: 20px 0;
}

.cancel-amount {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.cancel-amount.penalty {
  color: #dc3545;
  font-weight: 600;
}

.cancel-amount.refund {
  color: #28a745;
  font-weight: 700;
  font-size: 18px;
  border-bottom: none;
}

.cancel-warning {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cancel-warning i {
  color: #721c24;
  margin-top: 2px;
}

.cancel-warning p {
  margin: 0;
  color: #721c24;
  font-size: 14px;
}

/* Delete Popup Styles */
.delete-warning {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.delete-warning i {
  color: #721c24;
  margin-top: 2px;
}

.delete-warning p {
  margin: 0;
  color: #721c24;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .staking-container {
    padding: 20px;
  }
  
  .staking-values {
    grid-template-columns: 1fr;
  }
  
  .staking-item {
    text-align: center;
  }
  
  .staking-info {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .staking-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;

  }
}

.flex-stak {
  display: flex;
  justify-content: center;
}








/*/////////////////// DESIGN DECOMPTE VOTE DRAGGABLE //////////////////////*/

/* Module principal déplaçable - CORRIGÉ */
.vote-reset-countdown.draggable {
  background: linear-gradient(135deg, #000 0%, #4b4b4b 100%);
  border-radius: 15px;
  padding: 0;
    top: 0;
  left: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 400px;
  position: fixed;
  /* SUPPRIMÉ : top: 20px; right: 20px; */
  /* Le positionnement sera géré entièrement par JavaScript */
  z-index: 1000;
  transition: all 0.3s ease;
  user-select: none;
  transform-origin: center center;
  border: 3px solid #fff;
}

.vote-reset-countdown.draggable::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
}

/* Contrôles du module */
.countdown-controls {
  position: relative;
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

/* Boutons de contrôle */
.countdown-close-btn,
.countdown-minimize-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
}

.countdown-close-btn:hover {
  background: rgba(255, 107, 107, 0.5);
  color: white;
  transform: scale(1.1);
}

.countdown-minimize-btn:hover {
  background: rgba(76, 175, 80, 0.5);
  color: white;
  transform: scale(1.1);
}

/* Poignée de déplacement */
.countdown-drag-handle {
  flex: 1;
  height: 100%;
  cursor: move;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.countdown-drag-handle:hover {
  color: rgba(255, 255, 255, 0.9);
}

.countdown-drag-handle i {
  font-size: 18px;
}

/* Contenu principal */
.countdown-content {
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* Header adapté */
.vote-reset-countdown.draggable .countdown-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.vote-reset-countdown.draggable .countdown-header i {
  font-size: 24px;
  color: #f0b90b;
}

.vote-reset-countdown.draggable .countdown-header span {
  font-size: 16px;
  font-weight: 600;
  color: #939090;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vote-reset-countdown.draggable .countdown-info-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  right: 0;
}

.vote-reset-countdown.draggable .countdown-info-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.vote-reset-countdown.draggable .countdown-info-btn i {
  font-size: 16px;
  color: #fff;
}

/* Timer */
.vote-reset-countdown.draggable .countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.vote-reset-countdown.draggable .time-unit {
  background: rgb(34, 34, 34);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 12px;
  min-width: 60px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.vote-reset-countdown.draggable .time-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #f0b90b;
  line-height: 1;
  font-family: anton;
}

.vote-reset-countdown.draggable .time-label {
  display: block;
  font-size: 11px;
  color: rgba(146, 146, 146, 0.8);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vote-reset-countdown.draggable .time-separator {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  opacity: 0.8;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.3; }
}

/* Progress bar */
.vote-reset-countdown.draggable .countdown-progress {
  position: relative;
  z-index: 1;
  margin-top: 10px;
}

.vote-reset-countdown.draggable .progress-bar {
  background: rgb(255, 255, 255);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

.vote-reset-countdown.draggable .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F0B90B, #8BC34A);
  transition: width 1s ease;
  position: relative;
}

.vote-reset-countdown.draggable .progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.vote-reset-countdown.draggable .progress-text {
  display: block;
  text-align: center;
  font-size: 14px;
  color: rgba(229, 229, 229, 0.9);
  margin-top: 5px;
}

/* État minimisé */
.vote-reset-countdown.minimized {
  width: 215px;
  background: linear-gradient(135deg, #000 0%, #4b4b4b 100%);
}

.vote-reset-countdown.minimized .countdown-content {
  display: none;
}

.countdown-minimized-content {
  display: none;
  padding: 15px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.vote-reset-countdown.minimized .countdown-minimized-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.countdown-minimized-content i {
  color: #fff;
  font-size: 20px;
}

.minimized-time {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-family: 'Courier New', monospace;
}

.minimized-time span {
  color: #FFF;
}

/* État en cours de déplacement */
.vote-reset-countdown.dragging {
  opacity: 0.9;
  cursor: move;
  transition: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Bouton de réouverture */
.reopen-countdown-btn {
  position: fixed;
  bottom: 20px;
  right: 10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #000 0%, #515151 100%);
  color: #f0b90b;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 998;
  overflow: hidden;
}

.reopen-countdown-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

.reopen-countdown-btn i {
  position: relative;
  z-index: 1;
}

.reopen-countdown-btn:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* États urgents */
.vote-reset-countdown.countdown-urgent {
  animation: urgentPulse 2s ease-in-out infinite;
}

@keyframes urgentPulse {
  0%, 100% { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }
  50% { box-shadow: 0 10px 35px rgba(255, 152, 0, 0.3); }
}

.vote-reset-countdown.countdown-urgent .progress-fill {
  background: linear-gradient(90deg, #ff9800, #f57c00);
}

.vote-reset-countdown.countdown-critical {
  animation: criticalPulse 1s ease-in-out infinite;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
}

@keyframes criticalPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.vote-reset-countdown.countdown-critical .progress-fill {
  background: linear-gradient(90deg, #f44336, #d32f2f);
}

/* Notification de reset */
.reset-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transform: translateX(400px);
  transition: transform 0.3s ease;
  z-index: 10001;
  max-width: 400px;
}

.reset-notification.show {
  transform: translateX(0);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  flex-direction: column;
  width: 80%;
  text-align: left;
}

.notification-content i {
  font-size: 24px;
  animation: bellRing 1s ease infinite;
}

@keyframes bellRing {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-10deg); }
  20%, 40% { transform: rotate(10deg); }
}

.notification-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  margin-left: auto;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.notification-close:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .vote-reset-countdown.draggable {
    width: 340px;
    /* SUPPRIMÉ : top: 10px; right: 10px; */
    /* Le positionnement mobile sera aussi géré par JavaScript */
  }
  
  .vote-reset-countdown.draggable .countdown-timer {
    flex-wrap: wrap;
    gap: 5px;
  }
  
  .vote-reset-countdown.draggable .time-unit {
    min-width: 50px;
    padding: 8px;
  }
  
  .vote-reset-countdown.draggable .time-value {
    font-size: 20px;
  }
  
  .vote-reset-countdown.draggable .time-separator {
    display: none;
  }
  
  .reset-notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}















/* Support iOS pour le bouton de notification */
@supports (-webkit-touch-callout: none) {
  .account-notification-wrapper {
    position: fixed !important;
    bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    right: calc(20px + env(safe-area-inset-right)) !important;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
  
  .account-notification-btn {
    -webkit-appearance: none;
    appearance: none;
  }
}
.account-notification-btn i{
  font-size: 22px;
}

/* Fix pour le viewport iOS */
.account-notification-wrapper {
  pointer-events: auto !important;
}

/* Badge de notification mobile */
.notification-badge-mobile {
  background: #e74c3c;
  color: white;
  border-radius: 10px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: bold;
  margin-left: auto;
  margin-right: 10px;
}

/* Ajustement du lien mobile avec notification */
#mobileNotificationButton {
  position: relative;
}

#mobileNotificationButton .fa-bell.active {
  color: #f0b90b;
}

/* Popup d'information */
.reset-info-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.reset-info-popup[style*="display: flex"] {
  opacity: 1;
}

.popup-content3 {
  background: whitesmoke;
  border-radius: 15px;
  padding: 25px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: popIn 0.3s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(165, 165, 165, 0.52);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: rgba(255, 107, 107, 0.5);
  transform: rotate(90deg);
}

.content-pop-rst{
  padding: 10px 20px;
  background-color: white;
  border-radius: 15px;
}

.popup-content3 h3 {
  color: #f0b90b;
  margin: 0 0 20px 0;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup-content3 h3 i {
  font-size: 24px;
}

.popup-content3 p {
  color: #4f4f4f;
  line-height: 1.6;
  margin: 10px 0;
}

.popup-content3 strong {
  color: #f0b90b;
  font-weight: 600;
}

.popup-content3 ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.popup-content3 ul li {
  color: gray;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup-content3 ul li i {
  color: #f0b90b;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

/* Historique des resets */
.reset-history {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reset-history h4 {
  color: #f0b90b;
  margin: 0 0 15px 0;
  font-size: 18px;
}

.history-loading {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  padding: 20px;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.history-item {
  background: rgba(255, 255, 255);
  padding: 12px 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.history-date {
  color: gray;
  font-size: 14px;
}

.history-stats {
  display: flex;
  gap: 15px;
  color:gray;
  font-size: 14px;
}

.history-stats i {
  color: #f0b90b;
  margin-right: 5px;
}

.no-history {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  padding: 20px;
  font-style: italic;
}

.error {
  text-align: center;
  color: #ff6b6b;
  padding: 20px;
}

/* Responsive pour le popup */
@media (max-width: 768px) {
  .popup-content {
    padding: 20px;
    margin: 20px;
  }
  
  .popup-content h3 {
    font-size: 18px;
  }
  
  .popup-close {
    top: 10px;
    right: 10px;
  }
}

/* Ajouts CSS pour améliorer le comportement du module */

/* Empêcher la sélection de texte pendant le drag */
.vote-reset-countdown.dragging * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Curseur approprié pendant le drag */
body.dragging-countdown {
  cursor: move !important;
}

/* Animation fluide pour les ajustements automatiques */
.vote-reset-countdown {
  transition: box-shadow 0.3s ease, opacity 0.3s ease;
}

/* Désactiver les transitions pendant le drag pour plus de fluidité */
.vote-reset-countdown.dragging {
  transition: none !important;
}

/* Indicateur visuel quand le module touche les bords */
.vote-reset-countdown.at-edge {
  box-shadow: 0 0 20px rgba(240, 185, 11, 0.8) !important;
}

/* Style amélioré pour la poignée de déplacement */
.countdown-drag-handle {
  position: relative;
  overflow: hidden;
}

.countdown-drag-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.countdown-drag-handle:hover::after {
  width: 100%;
  height: 100%;
}



/* Ombre portée plus prononcée pour une meilleure visibilité */
.vote-reset-countdown {
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Animation de rebond lors du repositionnement automatique */
@keyframes bounceIn {
  0% {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.vote-reset-countdown.bounce-animation {
  animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Amélioration pour les petits écrans */
@media (max-width: 480px) {
  .vote-reset-countdown.draggable {
    width: 340px !important;
    scale: 0.9;
  }
  
  .vote-reset-countdown.minimized {
    width: 200px !important;
  }
}

/* ============================================
   AJOUTS CSS POUR LE CENTRAGE DU DÉCOMPTE
   À ajouter à la fin de ton CSS existant
   ============================================ */

/* Amélioration de la poignée de déplacement pour le double-clic */
.countdown-drag-handle {
  position: relative;
  overflow: hidden;
}

.countdown-drag-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.countdown-drag-handle:hover::after {
  width: 100%;
  height: 100%;
}

/* Tooltip pour indiquer le double-clic */
.countdown-drag-handle:hover::before {
  content: 'Double-cliquez pour centrer';
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  z-index: 10001;
  opacity: 0;
  animation: tooltipFadeIn 0.3s ease 0.8s forwards;
}

@keyframes tooltipFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(5px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Animation de réouverture centrée */
.vote-reset-countdown.reopening-animation {
  animation: reopenCountdown 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

@keyframes reopenCountdown {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05) translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Style pour indiquer que le module est en cours de centrage */
.vote-reset-countdown.centering {
  box-shadow: 0 0 30px rgba(240, 185, 11, 0.8) !important;
  animation: centeringGlow 0.5s ease !important;
}

@keyframes centeringGlow {
  0% { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); }
  50% { box-shadow: 0 0 30px rgba(240, 185, 11, 0.8); }
  100% { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); }
}

/* Amélioration du bouton de réouverture existant */
.reopen-countdown-btn:active {
  transform: scale(0.95) !important;
}

/* Masquer le tooltip sur mobile */
@media (max-width: 768px) {
  .countdown-drag-handle:hover::before {
    display: none !important;
  }
}




/*///////////////////NOTIFICATION/////////////////////*/



/* notif.css - Styles pour le système de notifications */

/* ========== SYSTÈME DE NOTIFICATIONS ========== */

/* Système de notifications */

/* Bouton de notification dans le header */
.notification-item {
  position: relative;
  background: linear-gradient(135deg, #c5c5c529 0%, #48484873 100%);
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 10px;
}
.nav-menu .notification-item{
  position: relative;
    background: transparent;
  padding: 0px;
  margin:0px;
  border-radius: 0px;
}

.notification-item .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition-fast);
  color: #646464;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}

.notification-item .nav-link:hover {
  background: #f8f9fa;
  color: var(--primary-color);
}

.notification-item .fa-bell {
  font-size: 20px;
  transition: all 0.3s ease;
}

.notification-item .fa-bell.active {
  color: #f0b90b;
  animation: bellRing 2s infinite;
}

.notification-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  padding: 0 4px;
}

/* Popup de notifications */
.notification-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.notification-popup.active {
  opacity: 1;
}

.notification-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.notification-popup-content {
  position: relative;
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.notification-popup.active .notification-popup-content {
  transform: scale(1);
}

.notification-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.notification-popup-header h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-popup-header h3 i {
  color: #f39c12;
}

.notification-popup-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 5px;
}

.notification-popup-close:hover {
  color: #333;
}

.notification-popup-body {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

.notification-intro {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 1rem;
}
.notification-tab-content .notification-intro {
  color: #e7e7e7;
}

/* Options de notification */
.notification-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.notification-option {
  display: block;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.notification-option:hover {
  border-color: #f0b90b;
  background: #f8f9fa;
}

.notification-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.notification-option input[type="checkbox"]:checked ~ .notification-option-content {
  background-color: #f0b90b38;
  border-color: #f0b90b;
}


.notification-option input[type="checkbox"]:checked ~ .notification-option-content::before {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #2ecc71;
  font-size: 1.5rem;
  font-weight: bold;
}

.notification-option-content {
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid white;
}

.notification-option-content i {
  font-size: 2rem;
  width: 50px;
  text-align: center;
}

.notification-option-content i.fa-parachute-box {
  color: #f0b90b;
}

.notification-option-content i.fa-x-twitter {
  color: #f0b90b;
}

.notification-option-content i.fa-crown {
  color: #f0b90b;
}

.notification-option-content strong {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.notification-option-content small {
  color: #666;
  font-size: 0.9rem;
}

/* Statut des notifications */
.notification-status {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 10px;
}

.notification-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  text-align: center;
}

.notification-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  text-align: center;
}

.notification-status.info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
  text-align: center;
}

/* Actions */
.notification-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.notification-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notification-btn.primary {
  background: #3498db;
  color: white;
}

.notification-btn.primary:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.notification-btn.secondary {
  background: #78787880;
  color: white;
}

.notification-btn.secondary:hover {
  background: #f0b90b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.notification-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Info */
.notification-info {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

.notification-info i {
  color: #3498db;
  margin-right: 5px;
}

/* Responsive */
@media (max-width: 576px) {
  .notification-popup-content {
    width: 95%;
  }
  
  .notification-option-content {
    flex-direction: column;
    text-align: center;
  }
  
  .notification-option-content i {
    margin-bottom: 10px;
  }
  
  .notification-actions {
    flex-direction: column;
  }
}






/*/////////////////////////////FAQ/////////////////////////////////*/

  /* Styles personnalisés pour la FAQ */


      .faq-container {
        position: relative;
  z-index: 10;
  border-radius: 20px;
  padding: 40px;
  margin: 2% 5%;
      }
    

    .faq-title {
      text-align: center;
      margin-bottom: 50px;
      color: #fff;
      font-size: 3rem;
      font-weight: 700;
      background: linear-gradient(45deg, #f0b90b,#f0b90b);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .faq-subtitle {
      text-align: center;
      margin-bottom: 40px;
      color: #b0b0b0;
      font-size: 1.1rem;
    }

    /* Catégories */
    .faq-category {
      margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  box-shadow: rgba(60, 64, 67, 0.16) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    }

    .btn-retour-faq{
        display: flex;
        margin: 50px 20px 20px 20px;
      }
    .btn-retour-faq a{
      margin: auto;
      background-color: #fff;
      padding: 10px 20px;
      color: #717171;
      border-radius: 5px;
      border: 1px solid rgba(164, 164, 164, 0.25);
      transition: 0.5s;
    }
       .btn-retour-faq a:hover {
      color: #f0b90b;
    }

    .faq-category:hover {
      background: white;
    }

    .category-header {
      padding: 20px 25px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: white;
      transition: all 0.3s ease;
    }

    .fad-category.category-header::before {
      display: none;
    }

    .category-header:hover {
      background: linear-gradient(135deg, rgba(240, 185, 11, 0.19), rgba(240, 185, 11, 0.19));
    }

    .category-header.active {
      background: linear-gradient(135deg, rgba(240, 185, 11, 0.19), rgba(240, 185, 11, 0.19));
    }

    .category-title {
      display: flex;
      align-items: center;
      gap: 30px;
      color: gray;
      font-size: 20px;
      font-weight: 400;
      margin: 0;
    }
        .category-header.active h2 {
      color:#f0b90b;
    }

    .category-icon {
      font-size: 1.5rem;
      color: #f0b90b;
    }

    .category-toggle {
      color: #f0b90b;
      font-size: 1.2rem;
      transition: transform 0.3s ease;
    }

    .category-header.active .category-toggle {
      transform: rotate(180deg);
    }

    .category-content2 {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      background: #f8eecd29;
    }

    .category-content2.show {
      max-height: 2000px;
      background: #f8eecd29;
    }

    /* Questions */
    .faq-item {
      border-bottom: 1px solid rgb(230, 230, 230);
      transition: all 0.3s ease;
  
    }


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

    .faq-item:hover {
      background-color: rgba(240, 185, 11, 0.1);
      transition: all 0.3s ease; 
    }

      .faq-item.active {
      background: white;
      border-left: 5px solid #f0b90b;
    }

    .question-header {
      padding: 20px 25px 20px 45px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.3s ease;
    }
    .question-header.active p{
    color: #f0b90b;
    }

    .question-header:hover {
      padding-left: 50px;
    }

    .question-text {
      color: #4a4a4a;
      font-size: 1rem;
      font-weight: 500;
      margin: 0;
      flex: 1;
      padding-right: 20px;
    }

    .question-toggle {
      color: #f0b90b9c;
      font-size: 1rem;
      transition: transform 0.3s ease;
      flex-shrink: 0;
    }

    .question-header.active .question-toggle {
      transform: rotate(45deg);
    }

    .answer-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }

    .answer-content.show {
      max-height: 500px;
    }

    .answer-text {
      padding: 0 25px 20px 45px;
      color: #777;
      font-size: 0.95rem;
      line-height: 1.6;
    }

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

    .faq-category {
      animation: fadeInUp 0.6s ease forwards;
      opacity: 0;
    }

    .faq-category:nth-child(1) { animation-delay: 0.1s; }
    .faq-category:nth-child(2) { animation-delay: 0.2s; }
    .faq-category:nth-child(3) { animation-delay: 0.3s; }
    .faq-category:nth-child(4) { animation-delay: 0.4s; }

    /* Responsive */
    @media (max-width: 768px) {
      .faq-title {
        font-size: 2rem;
      }
      
      .category-title {
        font-size: 16px;
        gap: 15px;
      }
      .faq-subtitle {
      color: #7e7e7e;
      font-size: 14px;
    }
      
      .question-text {
        font-size: 0.9rem;
      }
      
      .answer-text {
        font-size: 0.85rem;
      }
      .faq-container {
        padding:30px 10px 30px 10px;
        border-radius: 0px;
        margin:0;
      }
    }


    




/* ============================================
   SYSTÈME PWA COMPLET - VERSION CORRIGÉE
   Fixes: centrage mobile, z-index, animations
   ============================================ */

/* ============================================
   MASQUER L'ANCIEN SYSTÈME PWA
   ============================================ */
.pwa-install-section {
  display: none !important;
}
/* Style additionnel pour la bannière PWA */

/* Cacher la bannière par défaut pour éviter le flash au chargement */
#pwaInstallBanner {
  display: none;
}

/* S'assurer que le bouton de fermeture est bien cliquable */
#dismissPwaBanner {
  cursor: pointer;
  z-index: 10;
}

/* Améliorer la zone de clic du bouton de fermeture */
#dismissPwaBanner {
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* S'assurer que l'icône dans le bouton ne bloque pas les événements */
#dismissPwaBanner i {
  pointer-events: none;
}

/* ============================================
   NOUVELLE BANDE PWA COMPACTE
   ============================================ */
.pwa-install-banner {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  border: 1px solid rgba(240, 185, 11, 0.3);
  border-radius: 12px;
  padding: 15px 20px;
  margin: 20px 5% 0 5%;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;
  z-index: 100;
}
.expanded-mode .pwa-install-banner{
  display: none !important;
}


.pwa-install-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 185, 11, 0.2);
  border-color: rgba(240, 185, 11, 0.5);
}

.pwa-install-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(240, 185, 11, 0.1), transparent);
  transition: left 0.5s;
  pointer-events: none;
}

.pwa-install-banner:hover::before {
  left: 100%;
}

/* Icône de la bande */
.pwa-banner-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  flex-shrink: 0;
}

.pwa-banner-plus {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #f0b90b 0%, #ffc107 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(240, 185, 11, 0.5);
}

.pwa-banner-plus i {
  color: white;
  font-size: 10px;
}

/* Contenu de la bande */
.pwa-banner-content {
  flex: 1;
  min-width: 0; /* Permet au texte de se tronquer si nécessaire */
}

.pwa-banner-title {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.pwa-banner-subtitle {
  margin: 0;
  font-size: 13px;
  color: #ccc;
  line-height: 1.3;
}

/* Bouton d'action de la bande */
.pwa-banner-action {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f0b90b 0%, #ffc107 100%);
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}
.pwa-banner-action p{
  margin:0px;
}

.pwa-banner-action:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.4);
}

.pwa-banner-action:focus {
  outline: 2px solid rgba(240, 185, 11, 0.5);
  outline-offset: 2px;
}

/* Bouton de fermeture de la bande */
.pwa-banner-dismiss {
  background: transparent;
  border: none;
  color: #707070;
  cursor: pointer;
  padding: 8px;
  margin-left: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-banner-dismiss:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  transform: scale(1.1);
}

.pwa-banner-dismiss:focus {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

/* ============================================
   POPUP PWA - VERSION CORRIGÉE POUR MOBILE
   ============================================ */
.pwa-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* ✅ CORRIGÉ - Hauteur fixe pour mobile */
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height pour mobile */
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  /* ✅ CORRIGÉ - Z-index très élevé pour s'assurer qu'il passe par-dessus tout */
  z-index: 99999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  /* ✅ NOUVEAU - Centrage par flexbox comme fallback */
  align-items: center;
  justify-content: center;
  /* ✅ NOUVEAU - Scroll si contenu trop grand */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pwa-popup-overlay.active {
  opacity: 1;
  display: flex !important; /* ✅ CORRIGÉ - Utiliser flex quand actif */
}

.pwa-popup {
  /* ✅ CORRIGÉ - Positionnement relatif au lieu de fixed pour meilleur centrage mobile */
  position: relative;
  /* ✅ SUPPRIMÉ - Pas de transform translate pour éviter les problèmes sur mobile */
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  border: 1px solid rgba(240, 185, 11, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  width: 90%;
  /* ✅ CORRIGÉ - Hauteur flexible pour mobile */
  overflow: hidden;
  /* ✅ CORRIGÉ - Margin auto pour centrage */
  margin: auto;
  /* ✅ NOUVEAU - Transform seulement pour l'animation de scale */
  transform: scale(0.9);
  transition: transform 0.3s ease;
  /* ✅ NOUVEAU - S'assurer que le popup reste visible */
  position: relative;
  z-index: 100000;
  height: 90%;
}

/* ✅ CORRIGÉ - Animation d'ouverture avec scale seulement */
.pwa-popup-overlay.active .pwa-popup {
  transform: scale(1);
}

/* Header du popup */
.pwa-popup-header {
  position: absolute;
  right: 0;
  padding: 20px;
}

.pwa-popup-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ccc;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  /* ✅ NOUVEAU - Z-index élevé pour s'assurer qu'il reste cliquable */
  position: relative;
  z-index: 100002;
}

.pwa-popup-close:hover {
  background: rgba(255, 107, 107, 0.5);
  color: white;
  transform: rotate(90deg);
}

.pwa-popup-close:focus {
  outline: 2px solid rgba(255, 107, 107, 0.5);
  outline-offset: 2px;
}

/* Contenu du popup */
.pwa-popup-content {
  padding: 30px;
  /* ✅ NOUVEAU - Scroll interne si nécessaire */
  max-height: calc(90vh - 100px);
  max-height: calc(90dvh - 100px);
}

.pwa-popup-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
}

.pwa-popup-app-icon {
  width: 100px;
  height: 100px;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.pwa-popup-plus-icon {
  position: absolute;
  bottom: -5px;
  right: calc(50% - 55px);
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #f0b90b 0%, #ffc107 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.5);
  animation: pulse-glow 2s infinite;
}

.pwa-popup-plus-icon i {
  color: white;
  font-size: 16px;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 4px 15px rgba(240, 185, 11, 0.5); }
  50% { box-shadow: 0 4px 25px rgba(240, 185, 11, 0.8); }
  100% { box-shadow: 0 4px 15px rgba(240, 185, 11, 0.5); }
}

.pwa-popup-title {
  text-align: center;
  margin: 0 0 15px 0;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.pwa-popup-description {
  text-align: center;
  margin: 0 0 30px 0;
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
}

/* Avantages du popup */
.pwa-popup-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.pwa-popup-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.pwa-popup-benefit:hover {
  background: rgba(240, 185, 11, 0.1);
  border-color: rgba(240, 185, 11, 0.3);
  transform: translateY(-3px);
}

.pwa-popup-benefit i {
  font-size: 24px;
  color: #f0b90b;
  margin-bottom: 10px;
}

.pwa-popup-benefit span {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

/* Actions du popup */
.pwa-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pwa-popup-install-btn {
  background: linear-gradient(135deg, #f0b90b 0%, #ffc107 100%);
  color: #1a1a1a;
  border: none;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  /* ✅ NOUVEAU - Z-index pour s'assurer qu'il reste cliquable */
  z-index: 100001;
}

.pwa-popup-install-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
  pointer-events: none;
}

.pwa-popup-install-btn:hover::before {
  left: 100%;
}

.pwa-popup-install-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(240, 185, 11, 0.4);
}

.pwa-popup-install-btn:focus {
  outline: 2px solid rgba(240, 185, 11, 0.7);
  outline-offset: 2px;
}

.pwa-popup-dismiss-btn {
  background: transparent;
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  /* ✅ NOUVEAU - Z-index pour s'assurer qu'il reste cliquable */
  z-index: 100001;
  position: relative;
}

.pwa-popup-dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.pwa-popup-dismiss-btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* ============================================
   BOUTON HEADER (optionnel)
   ============================================ */
.pwa-install-btn {
  background: linear-gradient(135deg, #f0b90b 0%, #ffc107 100%);
  color: #1a1a1a;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
}

.pwa-install-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(240, 185, 11, 0.4);
}

.pwa-install-btn:focus {
  outline: 2px solid rgba(240, 185, 11, 0.7);
  outline-offset: 2px;
}

/* ============================================
   MESSAGE DE SUCCÈS
   ============================================ */
.pwa-install-success {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  border: 1px solid #4CAF50;
  border-radius: 12px;
  padding: 20px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: top 0.3s ease;
  z-index: 100003;
}

.pwa-install-success.show {
  top: 30px;
}

.success-content {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
}

.success-content i {
  font-size: 30px;
  color: #4CAF50;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ============================================
   RESPONSIVE DESIGN - VERSION CORRIGÉE
   ============================================ */
@media (max-width: 768px) {
  .pwa-install-banner {
    padding: 12px 15px;
    gap: 12px;
    margin: 15px 3% 0 3%;
  }

  .pwa-banner-icon {
    width: 40px;
    height: 40px;
  }

  .pwa-banner-plus {
    width: 16px;
    height: 16px;
    bottom: -2px;
    right: -2px;
  }

  .pwa-banner-plus i {
    font-size: 8px;
  }

  .pwa-banner-title {
    font-size: 14px;
  }

  .pwa-banner-subtitle {
    font-size: 12px;
  }

  .pwa-banner-action {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* ✅ CORRIGÉ - Popup mobile optimisé */
  .pwa-popup-overlay {
    /* ✅ Padding pour éviter que le popup touche les bords */
    padding: 10px;
    /* ✅ S'assurer que le popup reste centré même avec le clavier virtuel */
    align-items: flex-start;
    padding-top: 5vh;
  }

  .pwa-popup {
    width: 100%;
    max-width: none;
    /* ✅ Hauteur adaptée au contenu mais limitée */
    max-height: 85vh;
    max-height: 85dvh;
    margin: 0;
    border-radius: 15px;
    /* ✅ Position relative pour le centrage par flexbox */
    position: static;
  }

  .pwa-popup-header {
    padding: 15px 20px 0 20px;
  }

  .pwa-popup-content {
    padding: 20px;
    /* ✅ Hauteur adaptée pour mobile */
    max-height: calc(85vh - 80px);
    max-height: calc(85dvh - 80px);
  }

  .pwa-popup-title {
    font-size: 24px;
  }

  .pwa-popup-description {
    font-size: 14px;
  }

  .pwa-popup-benefits {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .pwa-popup-install-btn {
    font-size: 16px;
    padding: 12px 25px;
  }

  .pwa-popup-app-icon {
    width: 80px;
    height: 80px;
  }

  .pwa-popup-plus-icon {
    width: 28px;
    height: 28px;
    right: calc(50% - 44px);
  }
}

@media (max-width: 480px) {
  .pwa-install-banner {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    gap: 15px;
  }

  .pwa-banner-content {
    order: 1;
  }

  .pwa-banner-action {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  .pwa-banner-dismiss {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
  }

  /* ✅ CORRIGÉ - Très petit écran */
  .pwa-popup-overlay {
    padding: 5px;
    padding-top: 2vh;
  }

  .pwa-popup {
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: 10px;
  }

  .pwa-popup-header {
    padding: 10px 15px 0 15px;
  }

  .pwa-popup-content {
    padding: 15px;
    max-height: calc(90vh - 60px);
    max-height: calc(90dvh - 60px);
  }

  .pwa-popup-title {
    font-size: 20px;
  }

  .pwa-popup-benefits {
    margin-bottom: 25px;
  }

  .pwa-popup-benefit {
    padding: 15px;
  }

  .pwa-install-success {
    width: 90%;
    max-width: 350px;
    padding: 15px 20px;
  }

  .success-content {
    gap: 10px;
  }

  .success-content i {
    font-size: 24px;
  }
}

/* ============================================
   FIXES SPÉCIFIQUES POUR SAFARI MOBILE iOS
   ============================================ */
@supports (-webkit-touch-callout: none) {
  .pwa-popup-overlay {
    /* ✅ Fix pour Safari iOS */
    height: 100vh;
    height: -webkit-fill-available;
  }
  
  .pwa-popup {
    /* ✅ Fix pour le viewport Safari */
    max-height: 85vh;
    max-height: -webkit-fill-available;
  }
  
  .pwa-popup-content {
    max-height: calc(85vh - 80px);
    max-height: calc(-webkit-fill-available - 80px);
  }
}

/* ============================================
   ACCESSIBILITÉ
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .pwa-install-banner,
  .pwa-popup,
  .pwa-install-success {
    animation: none;
  }

  .pwa-popup-plus-icon {
    animation: none;
  }

  .pwa-install-banner::before,
  .pwa-popup-install-btn::before {
    display: none;
  }

  * {
    transition-duration: 0.1s !important;
  }
}

/* Focus visible pour l'accessibilité */
.pwa-banner-action:focus-visible,
.pwa-banner-dismiss:focus-visible,
.pwa-popup-close:focus-visible,
.pwa-popup-install-btn:focus-visible,
.pwa-popup-dismiss-btn:focus-visible,
.pwa-install-btn:focus-visible {
  outline: 3px solid rgba(240, 185, 11, 0.8);
  outline-offset: 2px;
}

/* ============================================
   ÉTATS D'INTERACTION
   ============================================ */
.pwa-banner-action:active {
  transform: scale(0.98);
}

.pwa-popup-install-btn:active {
  transform: translateY(-1px);
}

.pwa-popup-dismiss-btn:active {
  transform: scale(0.98);
}

/* Éviter la sélection du texte sur les éléments interactifs */
.pwa-install-banner,
.pwa-banner-action,
.pwa-banner-dismiss,
.pwa-popup-install-btn,
.pwa-popup-dismiss-btn {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* ============================================
   FIXES POUR LE CLAVIER VIRTUEL MOBILE
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
  /* ✅ Mode paysage sur petit écran (clavier virtuel ouvert) */
  .pwa-popup-overlay {
    padding-top: 1vh;
  }
  
  .pwa-popup {
    max-height: 95vh;
  }
  
  .pwa-popup-content {
    max-height: calc(95vh - 60px);
    padding: 10px 20px;
  }
  
  .pwa-popup-benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .pwa-popup-benefit {
    padding: 10px;
  }
}






/*---------------NOTIF BNB-----------------*/

/* notifbnb.css - Styles pour le système de notifications NCoin */

/* Bouton flottant en bas à droite */
.notif-bnb-button {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #66eaa6, #0e6427);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 255, 88, 0.4);
  z-index: 5;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.notif-bnb-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.notif-icon {
  position: relative;
  color: white;
  font-size: 24px;
}

.notif-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 2px solid white;
}

@keyframes pulse {
  0% { box-shadow: 0 4px 20px rgba(240, 185, 11, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(240, 185, 11, 0.8); }
  100% { box-shadow: 0 4px 20px rgba(240, 185, 11, 0.4); }
}

/* Popup de notifications */
.notif-bnb-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.notif-popup-content {
  background: #1a1a1a;
  border-radius: 15px;
  width: 90%;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  border: 1px solid #333;
  color: white;
}

.notif-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 25px;
  border-bottom: 1px solid #333;
  background: linear-gradient(135deg, #60bf8e, #0e6427);
  border-radius: 15px 15px 0 0;
}

.notif-popup-header h3 {
  margin: 0;
  color: white;
  font-size: 20px;
}

.notif-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.notif-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Section des paramètres */
.notif-settings {
  padding: 25px;
}

.notif-settings h4 {
  margin: 0 0 10px 0;
  color: #58b684;
  font-size: 16px;
  text-align: center;
  background: #00000030;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #5dbc8b36;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}


.notif-setting-item {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  margin-top: 10px;
}
.notif-status-text{
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Toggle switches */
.notif-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.notif-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.notif-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #333;
  transition: 0.4s;
  border-radius: 24px;
}

.notif-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .notif-slider {
  background: linear-gradient(135deg, #60bf8e, #0e6427);
}

input:checked + .notif-slider:before {
  transform: translateX(26px);
}

/* Section statistiques */
.notif-statistiques {
  padding: 0px 25px;
}
.notif-statistiques i{
  margin-left: 10px;
}

.notif-statistiques h4 {
  margin: 0 0 10px 0;
  color: #58b684;
  font-size: 16px;
  text-align: center;
  background: #00000030;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #5dbc8b36;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}


/* Section historique */
.notif-history {
  padding: 25px;
}
.notif-history i{
  margin-left: 10px;
}

.notif-history h4 {
  margin: 0 0 10px 0;
  color: #58b684;
  font-size: 16px;
  text-align: center;
  background: #00000030;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #5dbc8b36;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.notif-history-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flex-notif-para{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #151515;
  border-radius: 15px;
  flex-direction: row;
}
.grp-btn-bnbnotif{
  display: flex;
  flex-direction: column;
  gap:10px;
}
#testPushDirect{
  background: #5cbf60;
  margin-bottom: 10px;
  margin-top: 10px;
}
.notif-btn-small {
  padding: 8px 15px;
  background: #333;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.3s ease;
  text-align: left;
}

.notif-btn-small:hover {
  background: #555;
}

.notif-btn-danger {
  background: #ff4757;
}

.notif-btn-danger:hover {
  background: #ff3838;
}

/* Liste de l'historique */
.flex-para-notif{
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.notif-history-item {
  background: #2a2a2a;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  border-left: 4px solid #333;
  position: relative;
  transition: all 0.3s ease;
}

.notif-history-item.unread {
  border-left-color: #157519;
  background: linear-gradient(135deg, #60bf8e1f, #0e6427de);
}

.notif-history-item:hover {
  background: #333;
}

.notif-purchase-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flex-notif-setting-item{
display: flex;
justify-content: space-around;
}
.notif-push-section {
  padding: 25px;
  background: #151515;
  border-radius: 15px;
  margin-top: 10px;
}
.notif-push-section h4{
  margin: 0 0 0px 0;
  color: gray;
  font-size: 16px;
  text-align: center;
  background: transparent;
  padding: 20px;
  border-radius: 15px;
  border: none;
}

.notif-amounts {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.notif-ncoin {
  color: #f0b90b;
  font-weight: bold;
}

.notif-bnb {
  color: #f0b90b;
  font-weight: bold;
}

.notif-usd {
  color: #5cbf60;
  font-weight: bold;
}

.notif-date {
  color: #999;
  font-size: 13px;
}

.notif-tx {
  color: #667eea;
  font-size: 12px;
  font-family: monospace;
}

.notif-new-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #5cbf60;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
}
.notif-settings i {
  margin-right: 10px;
}

/* États vides et de chargement */
.notif-loading, .notif-empty, .notif-error {
  text-align: center;
  padding: 30px;
  color: #999;
}

.notif-loading:before {
  content: "⏳ ";
}

.notif-empty:before {
  content: "📝 ";
}

.notif-error:before {
  content: "❌ ";
}

/* Messages de notification */
.notif-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  z-index: 10001;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.notif-message-show {
  transform: translateX(0);
}

.notif-message-success {
  background: #5cbf60;
}

.notif-message-error {
  background: #ff4757;
}

.notif-message-info {
  background: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
  .notif-bnb-button {
    bottom: 140px;
    right: 18px;
    width: 50px;
    height: 50px;
    opacity: 0.9;
  }
  
  .notif-icon {
    font-size: 20px;
  }
  
  .notif-popup-content {
    width: 95%;
    margin: 10px;
    max-height: 90vh;
  }
  
  .notif-popup-header,
  .notif-settings,
  .notif-history {
    padding: 30px 25px;
  }
  
  .notif-amounts {
    flex-direction: column;
    gap: 5px;
  }
  
  .notif-history-controls {
    flex-direction: row;
    margin-top:30px;
  }
  .flex-notif-para {
  flex-direction: column;
}
  
  .notif-message {
    right: 10px;
    left: 10px;
    transform: translateY(-100px);
  }
  
  .notif-message-show {
    transform: translateY(0);
  }
}

/* Scrollbar personnalisée pour la liste */
.notif-history-list::-webkit-scrollbar {
  width: 6px;
}

.notif-history-list::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 3px;
}

.notif-history-list::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 3px;
}

.notif-history-list::-webkit-scrollbar-thumb:hover {
  background: #5a67d8;
}

/* Animation d'apparition pour les nouveaux éléments */
.notif-history-item {
  animation: slideInLeft 0.3s ease;
}

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













/*/////////////////////////////////////////////////*/

/* CSS pour le système de notifications compte */

/* Bouton de notification flottant */
.account-notification-btn {
  position: relative;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0b90b 0%, #967a22 100%);
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(234, 201, 102, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:15px;
}

.account-notification-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(234, 201, 102, 0.6);
}

.account-notification-btn i.active {
  animation: bellRing 2s infinite;
}

@keyframes bellRing {
  0%, 50%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(10deg); }
  20%, 40% { transform: rotate(-10deg); }
}

/* Badge de notification */
.account-notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* Popup principal */
.account-notification-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.account-notification-popup.active {
  opacity: 1;
}

.account-notification-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
}

.account-notification-popup-content {
  position: relative;
  background: #1a1a2e;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.account-notification-popup.active .account-notification-popup-content {
  transform: scale(1);
}

/* Header du popup */
.account-notification-popup-header {
  background: linear-gradient(135deg, #f0b90b 0%, #967a22 100%);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-notification-popup-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.account-notification-popup-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.account-notification-popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Body du popup */
.account-notification-popup-body {
  padding: 0;
  background: linear-gradient(135deg, #f0b90b5e 0%, #967a2200 100%);
  color: white;
  overflow-y: auto;
  max-height: calc(80vh - 80px);
}

/* Onglets */
.notification-tabs {
  display: flex;
  background: #0f1419;
  border-bottom: 1px solid #2d3748;
}

.notification-tab {
  flex: 1;
  padding: 15px 20px;
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  border-bottom: 3px solid transparent;
}

.notification-tab:hover {
  background: #1a202c;
  color: #e2e8f0;
}

.notification-tab.active {
  color: #e7b20d;
  border-bottom-color: #d1a313;
  background: #202529;
}

.notification-tab i {
  margin-right: 8px;
}

/* Contenu des onglets */
.notification-tab-content {
  display: none;
  padding: 20px;
}

.notification-tab-content.active {
  display: block;
}

/* Introduction */
.notification-intro {
  color: #4e4e4e;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Options de notification */
.account-notification-options {
  margin-bottom: 20px;
}

.account-notification-option {
  display: block;
  background: #00000036;
  border: 1px solid #ebb50c73;
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.account-notification-option:hover {
  background: #d8a8113b;
  border-color: #e7b30d;
}

.account-notification-option input[type="checkbox"] {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 20px;
  height: 20px;
  accent-color: #edb70c;
  cursor: pointer;
}

.account-notification-option-content {
  display: flex;
  align-items: center;
  padding-right: 30px;
}

.account-notification-option-content i {
  font-size: 20px;
  color: #edb70c;
  margin-right: 15px;
  width: 25px;
  text-align: center;
}

.account-notification-option-content strong {
  color: #e2e8f0;
  display: block;
  margin-bottom: 5px;
}

.account-notification-option-content small {
  color: #a0aec0;
  font-size: 13px;
  line-height: 1.4;
}

/* Statut des notifications */
.account-notification-status {
  margin: 15px 0;
  padding: 12px;
  border-radius: 8px;
  display: none;
  align-items: center;
  font-size: 14px;
}

.account-notification-status i {
  margin-right: 10px;
}

.account-notification-status.success {
  background: rgba(72, 187, 120, 0.2);
  color: #68d391;
  border: 1px solid rgba(72, 187, 120, 0.3);
}

.account-notification-status.error {
  background: rgba(245, 101, 101, 0.2);
  color: #fc8181;
  border: 1px solid rgba(245, 101, 101, 0.3);
}

.account-notification-status.info {
  background: rgba(102, 126, 234, 0.2);
  color: #a3bffa;
  border: 1px solid rgba(102, 126, 234, 0.3);
}

/* Actions */
.account-notification-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.account-notification-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.account-notification-btn.primary {
  background: #1e911f;
  color: white;
}

.account-notification-btn.primary:hover {
  background: #21ad22;
  transform: translateY(-1px);
}

.account-notification-btn.secondary {
  background: linear-gradient(135deg, #f0b90b 0%, #967a22 100%);
  color: white;
  font-size: 16px;
  box-shadow:none;
  opacity: 0.8;
}

.account-notification-btn.secondary:hover {
  background: linear-gradient(135deg, #f0b90b 0%, #967a22 100%);
  opacity: 1;
}

/* Liste des notifications */
.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2d3748;
}

.notifications-header h4 {
  margin: 0;
  color: #e2e8f0;
}

.mark-all-read-btn {
  background: #e9b40d73;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.mark-all-read-btn:hover {
  background: #e9b40dfa;
}

.notifications-list {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 15px;
}



.notification-icon {
  margin-right: 15px;
  color: #eeb80b;
  font-size: 18px;
  width: 25px;
  text-align: center;
  margin-top: 2px;
}

.notification-content {
  flex: 1;
}

.notification-title {
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.notification-message {
  color: #a0aec0;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.notification-time {
  color: #718096;
  font-size: 12px;
}

.notification-unread-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ecb60c;
  border-radius: 50px;
  padding: 2px 20px;
  font-weight: 600;
  font-size: 14px;
  animation: pulse-verify 2s infinite ease-in-out;
}

.notification-action {
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  left: 0;
  border-radius: 10px;
}

.notification-action:hover {
  background: rgba(102, 126, 234, 0.2);
}

/* États vides et de chargement */
.notification-loading,
.notifications-empty {
  text-align: center;
  padding: 40px 20px;
  color: #a0aec0;
}

.notification-loading i {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

.notifications-empty {
  display: none;
}

.notifications-empty i {
  font-size: 48px;
  color: #4a5568;
  margin-bottom: 15px;
  display: block;
}

.notification-error {
  text-align: center;
  padding: 20px;
  color: #fc8181;
  background: rgba(245, 101, 101, 0.1);
  border-radius: 8px;
  margin: 10px 0;
}

/* Info */
.account-notification-info {
  margin: 0px 20px 30px 20px;
  padding: 15px;
  background: rgba(236, 182, 12, 0.17);
  border: 1px solid rgba(237, 183, 12, 0.48);
  border-radius: 8px;
  color: #edb70c;
  font-size: 13px;
  align-items: center;
  display: flex;
  justify-content: center;
}

.account-notification-info i {
  margin-right: 8px;
}
.account-notification-info p {
  margin:auto;
}

/* Responsive */
@media (max-width: 768px) {
  .account-notification-popup-content {
    width: 95%;
    margin: 10px;
    max-height: 90vh;
  }
  
  .account-notification-popup-header {
    padding: 15px;
  }
  
  .notification-tab-content {
    padding: 15px;
  }
  
  
  .notification-tabs {
    justify-content: space-between;
    font-size: 14px;
    padding: 0px;
  }
  
  .notification-tab {
    text-align: center;
    border-bottom: 1px solid #2d3748;
    border-right: none;
  }
  
  .notification-tab.active {
    border-bottom-color: #d1a313;
  }
}

/* Scrollbar personnalisée */
.notifications-list::-webkit-scrollbar,
.account-notification-popup-body::-webkit-scrollbar {
  width: 6px;
}

.notifications-list::-webkit-scrollbar-track,
.account-notification-popup-body::-webkit-scrollbar-track {
  background: #1a202c;
}

.notifications-list::-webkit-scrollbar-thumb,
.account-notification-popup-body::-webkit-scrollbar-thumb {
  background: #4a5568;
  border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb:hover,
.account-notification-popup-body::-webkit-scrollbar-thumb:hover {
  background: #667eea;
}


.account-notification-wrapper .account-notification-btn{
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 1000;
}




/*-----------------------CERTIFICATION-----------------------------*/

/* =================================
   POPUP CERTIFICATION - DESIGN PRO
   Couleurs: Vert/Noir Chrome
   ================================= */
   body.popup-open {
  overflow: hidden;
  height: 100vh;
}

.certification-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.3s ease-out;
}

.certification-popup-container {
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    background-clip: border-box;
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 20px;
  width: 90%;
  max-width: 550px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 136, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: slideInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow-x: hidden;
}

/* Chrome border effect */
.certification-popup-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 20px;
  z-index: -1;
}

/* ===== HEADER ===== */
.certification-popup-header {
  background: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
  padding: 25px;
  border-radius: 18px 18px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.certification-popup-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 50%, 
    transparent 100%);
  animation: shimmer 3s infinite;
}


.certification-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.certification-subtitle {
  font-size: 14px;
  color: rgba(26, 26, 26, 0.8);
  margin: 0;
  font-weight: 500;
}

.certification-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: #1a1a1a;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.certification-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* ===== CONTENT ===== */
.certification-popup-content {
  padding: 30px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #00ff88;
  font-weight: 600;
  font-size: 16px;
}

.section-header i {
  font-size: 18px;
  filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5));
}

/* ===== DURATION SLIDER ===== */
.certification-duration-section {
  margin-bottom: 30px;
}

.duration-slider-container {
  position: relative;
  margin: 20px 0;
}

.duration-slider {
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #333 0%, #555 100%);
  border-radius: 10px;
  outline: none;
  appearance: none;
  cursor: pointer;
  position: relative;
}

.duration-slider::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  background: linear-gradient(145deg, #00ff88 0%, #00d4aa 100%);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 
    0 4px 12px rgba(0, 255, 136, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.duration-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 
    0 6px 16px rgba(0, 255, 136, 0.6),
    0 3px 6px rgba(0, 0, 0, 0.4);
}

.duration-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: linear-gradient(145deg, #00ff88 0%, #00d4aa 100%);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 
    0 4px 12px rgba(0, 255, 136, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: #888;
}

.selected-duration {
  text-align: center;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.duration-value {
  font-size: 24px;
  font-weight: 700;
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.duration-badge {
  background: linear-gradient(90deg, #00ff88 0%, #00d4aa 100%);
  color: #1a1a1a;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== PRICING SECTION ===== */
.certification-pricing-section {
  margin-bottom: 25px;
}

.pricing-breakdown {
  background: linear-gradient(145deg, #262626 0%, #1f1f1f 100%);
  border: 1px solid #333;
  border-radius: 15px;
  padding: 20px;
  margin-top: 15px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #333;
}

.pricing-row:last-child {
  border-bottom: none;
}


.pricing-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  font-weight: 500;
}

.pricing-label.total {
  color: #00ff88;
  font-weight: 700;
  font-size: 16px;
}

.pricing-label i {
  font-size: 14px;
  opacity: 0.8;
}

.pricing-value {
  font-weight: 600;
  color: #fff;
  font-size: 16px;
}

.pricing-value.total {
  color: #00ff88;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.pricing-value.savings-value {
  color: #4CAF50;
}

.currency {
  font-size: 12px;
  opacity: 0.8;
  margin-left: 4px;
}

.pricing-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #00ff88 50%, transparent 100%);
  margin: 15px 0;
}

.savings-badge {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* ===== BENEFITS SECTION ===== */
.certification-benefits-section {
  margin-bottom: 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(145deg, #262626 0%, #1f1f1f 100%);
  border: 1px solid #333;
  border-radius: 10px;
  color: #ccc;
  font-size: 13px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  border-color: #00ff88;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.benefit-item i {
  color: #00ff88;
  font-size: 16px;
}

/* ===== FOOTER ===== */
.certification-popup-footer {
  padding: 20px 30px 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.certification-btn-cancel,
.certification-btn-confirm {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  justify-content: center;
}

.certification-btn-cancel {
  background: linear-gradient(145deg, #555 0%, #333 100%);
  color: #ccc;
  border: 1px solid #666;
}

.certification-btn-cancel:hover {
  background: linear-gradient(145deg, #666 0%, #444 100%);
  color: #fff;
  transform: translateY(-2px);
}

.certification-btn-confirm {
  background: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
  color: #1a1a1a;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.certification-btn-confirm:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
  filter: brightness(1.1);
}

.certification-btn-confirm:active {
  transform: translateY(-1px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInScale {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .certification-popup-container {
    width: 95%;
    margin: 10px;
  }
  
  .certification-popup-content {
    padding: 20px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .certification-popup-footer {
    flex-direction: column;
    gap: 10px;
  }
  
  .certification-btn-cancel,
  .certification-btn-confirm {
    width: 100%;
  }
}




/* metric.css - Styles pour le système de métriques */

/* ================================
   📊 CONTENEUR PRINCIPAL
   ================================ */
.metrics-container {
  background: transparent;
}

.metric-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-section:last-child {
  background: transparent;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================
   👁️ SECTION VUES
   ================================ */
.metric-views {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  justify-content: space-around;
  margin-left: 20px;
  margin-right: 20px;
}

.metric-icon {
  font-size: 28px;
  color: #f0b90b;
  opacity: 0.8;
}

.metric-data {
  display: flex;
  flex-direction: column;
}

.metric-views-count {
  font-size: 20px;
  font-weight: 700;
  color: #5d5d5d;
}

.metric-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metric-unique {
  padding: 7px 30px;
  border-radius: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  gap: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ================================
   🗳️ SECTION VOTE GREEN/RED
   ================================ */
.metric-voting h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.metric-vote-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  height: 50px;
}

.metric-vote-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #717171;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.metric-vote-green {
  border-color: rgba(46, 204, 113, 0.3);
}

.metric-vote-green:hover {
  background: rgba(46, 204, 113, 0.1);
  border-color: #2ecc71;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(46, 204, 113, 0.2);
}

.metric-vote-green.active,
.metric-vote-green.voted {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border-color: #2ecc71;
  color: #fff;
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.metric-vote-red {
  border-color: rgba(231, 76, 60, 0.3);
}

.metric-vote-red:hover {
  background: rgba(231, 76, 60, 0.1);
  border-color: #e74c3c;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(231, 76, 60, 0.2);
}

.metric-vote-red.active,
.metric-vote-red.voted {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-color: #e74c3c;
  color: #fff;
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Animation de pulsation */
.metric-vote-btn.pulse {
  animation: pulse 0.6s ease;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Compteurs de votes */
.metric-green-count,
.metric-red-count {
  font-weight: bold;
  font-size: 18px;
}

/* ================================
   🎨 BARRE DE SENTIMENT CORRIGÉE
   ================================ */
.metric-sentiment-bar {
  position: relative;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: visible; /* Changé pour permettre l'indicateur en dessous */
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sentiment-segments {
  display: flex;
  height: 100%;
  width: 100%;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  overflow: hidden;
}

/* Segments de sentiment */
.sentiment-green,
.sentiment-red,
.sentiment-neutral {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 40px;
  overflow: hidden;
}

.sentiment-green {
  background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.sentiment-red {
  background: linear-gradient(90deg, #c0392b, #e74c3c);
}

.sentiment-neutral {
  background: linear-gradient(90deg, #6c757d, #808080);
}

/* Labels dans les segments */
.sentiment-label {
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

/* Cas spécial pour les segments à 100% */
.sentiment-green[style*="width: 100%"],
.sentiment-red[style*="width: 100%"],
.sentiment-neutral[style*="width: 100%"] {
  border-radius: 20px;
}

/* Empêcher l'affichage des segments à 0% */
.sentiment-green[style*="width: 0"],
.sentiment-red[style*="width: 0"] {
  display: none !important;
}

/* Indicateur de couleur mixée */
.sentiment-color-indicator {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.sentiment-total {
  font-weight: 600;
}
.airdrop-info .sentiment-back{
  display: none;
}
.sentiment-back {
  backdrop-filter: blur(20px);
  border-radius: 20px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  margin-bottom: 50px;
}
/* Animation d'apparition */
.metric-sentiment-bar.animate-in .sentiment-segments {
  animation: slideIn 0.6s ease;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
  }
}

/* ================================
   💬 SECTION COMMENTAIRES
   ================================ */
.metric-comments-header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 40px;
}
.comment-preview {
  background-color: #fafafa;
  padding: 10px 20px 0px 10px;
  border-radius: 0px 10px 10px 10px;
  margin-bottom: 30px;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 3px 8px;
}

.metric-comments-header h4 {
  color: #717171;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.metric-section.metric-comments{
  margin:0px;
  border: 1px solid #80808026;
  border-radius: 15px;
  padding-top: 30px;
  background: white;
}
.metric-comments-count {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 6px 20px;
  border-radius: 50px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  font-size: 20px;
  font-weight: bold;
  color: #5d5d5d;
}
.metric-comments-count i{
color:#f0b90b;
opacity: 0.8;
  font-size: 28px;
}
.title-comment{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0px 10px 20px 10px;
  border-bottom: 1px solid #8080804d;
  font-size: 22px;
}
.title-comment h4{
  color: var(--text-medium, #555);
  font-weight: 500;
  text-align: center;
  font-size: 22px;
}
.title-comment i{
  color: #f0b90b;
  font-weight: 500;
}

/* Formulaire de commentaire */
.metric-comment-form {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding-top: 10px;
}

#commentInput {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  font-size: 14px;
  resize: vertical;
  min-height: 80px;
  transition: all 0.3s ease;
  font-family: inherit;
}

#commentInput:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#commentInput::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.btn-submit-comment {
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit-comment:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-submit-comment:active {
  transform: translateY(0);
}

.eye-back {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0px 20px;
  border-radius: 50px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}




/* Commentaire individuel */
.metric-comment {
  background: #ececec69;
  border-radius: 10px;
  padding: 15px 15px 0px 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  margin-top:30px;
}

.metric-comment:hover {
  border-color: rgba(240, 185, 11, 0.42);
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.comment-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border: 1px solid white;
}
.comment-reply-to {
  font-size: 12px;
  color: #ffc200;
  margin-left: 60px;
  margin-bottom: 15px;
  margin-top: -10px;
}
.comment-meta {
  flex: 1;
}

.comment-author {
  color: #4b4b4b;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.verified-badge {
  color: #2ecc71;
  font-size: 12px;
}

.comment-time {
  color: rgba(0, 0, 0, 0.4);
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

.comment-content {
  color: rgba(41, 41, 41, 0.9);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  word-wrap: break-word;
  margin-left: 70px;
}

.comment-actions {
  display: flex;
  gap: 15px;
}
.comment-actions.btn-publi {
  justify-content: center;
}

.comment-like,
.comment-reply {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 5px;
}

.comment-like:hover,
.comment-reply:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.comment-like.liked {
  color: #e74c3c;
}

.comment-like.liked i {
  animation: heartBeat 0.6s;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1); }
  75% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.comment-like.bounce {
  animation: bounce 0.4s ease;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Réponses aux commentaires */
.comment-replies {
  margin-left: 52px;
  margin-top: 15px;
  padding-left: 15px;
  border-left: 2px solid rgba(102, 126, 234, 0.2);
  margin-bottom: 15px;
}

.comment-replies .metric-comment {
  background: rgba(255, 255, 255, 0.02);
}

.comment-replies .metric-comment:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(3px);
}

/* Message aucun commentaire */
.no-comments {
  text-align: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.4);
}

.no-comments i {
  font-size: 60px;
  margin-bottom: 15px;
  opacity: 0.3;
  color: gray;
}

.no-comments p {
  margin: 5px 0;
  color:gray;
}

.text-muted {
  font-size: 13px;
  opacity: 0.7;
}

/* ================================
   🔔 NOTIFICATIONS
   ================================ */
.metric-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.metric-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.metric-notification.success {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

/* Login prompt */
.metric-login-prompt {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.metric-login-prompt.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.prompt-content i {
  font-size: 48px;
  color: #667eea;
  margin-bottom: 15px;
}

.prompt-content p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.btn {
  padding: 10px 25px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
  text-decoration: none;
  color: #fff;
}

/* Particules de vote */
.vote-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
}

/* ================================
   🎯 INTÉGRATION AIRDROPS
   ================================ */
.toggle-metrics-btn {
  width: 100%;
  padding: 20px;
  margin: 30px 0;
  background: transparent;
  color: #929292;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed gray;
}

.toggle-metrics-btn > div {
  align-items: center;
  display: flex;
}

.toggle-metrics-btn i {
  margin-right: 10px;
  font-size: 30px;
  color: #b5b5b5;
}

.toggle-metrics-btn:hover {
  box-shadow: 0px 0px 15px rgba(83, 83, 83, 0.17);
}

.toggle-metrics-btn.expanded {
  background: transparent
}

.toggle-metrics-btn.expanded:hover {
  opacity: 0.8;
}

.airdrop-metrics-container {
  margin: 20px 0;
}

.metrics-loading {
  text-align: center;
  padding: 30px;
  font-size: 16px;
  border-radius: 12px;
}

.metrics-loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.metrics-error {
  text-align: center;
  padding: 20px;
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Animation pour les métriques */
.airdrop-metrics-container.metrics-initialized {
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 2000px;
    opacity: 1;
  }
}

/* ================================
   📱 RESPONSIVE
   ================================ */
@media (max-width: 768px) {
  .metrics-container {
    padding: 0px;
    box-shadow: none;
  }
  
  .metric-views {
    flex-wrap: wrap;
  }
  
  .metric-vote-btn {
    width: 100%;
  }
  
  .comment-content,
  .comment-actions {
    padding-left: 0;
  }

  .comment-content{
    font-size: 12px;
  }
  
  .comment-replies {
    margin-left: 20px;
  }
}


.toggle-metrics-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}



.metrics-loading {
  text-align: center;
  padding: 30px;
  color: #f0b90b;
  font-size: 16px;
}

.metrics-error {
  text-align: center;
  padding: 20px;
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
  border-radius: 8px;
}

/* Animation pour les métriques */
.airdrop-metrics-container.metrics-initialized {
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 1000px;
    opacity: 1;
  }
}

/* Indicateur de réponse */
.reply-indicator {
  background: #f0f2f5;
  border-left: 3px solid #667eea;
  padding: 8px 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  font-size: 14px;
}

.reply-indicator strong {
  color: #667eea;
}

.cancel-reply {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.cancel-reply:hover {
  color: #e74c3c;
}

/* Style pour les réponses */
.comment-replies {
  margin-left: 20px;
  margin-top: 10px;
  border-left: 2px solid rgba(240, 185, 11, 0.49);
  padding-left: 25px;
  opacity: 1;
  transition: opacity 0.3s;
}

.comment-replies .metric-comment {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Boutons d'action des commentaires */
.comment-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  justify-content: space-around;
  border-top: 1px solid #dfdfdf;
  padding: 10px;
}

.comment-like,
.comment-reply {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.comment-like:hover {
  background: #f0f2f5;
  color: #e74c3c;
}

.comment-like.liked {
  color: #e74c3c;
}

.comment-like.liked i {
  color: #e74c3c;
}

.comment-reply:hover {
  background: #f0f2f5;
  color: #667eea;
}

/* Animation bounce pour le like */
@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.comment-like.bounce {
  animation: bounce 0.4s ease;
}

.comment-like.bounce i {
  animation: bounce 0.4s ease;
}

/* Style du coeur */
.comment-like i {
  font-size: 16px;
  transition: color 0.2s;
}

.comment-like span {
  font-weight: 500;
}
.comment-delete {
  color: #e74c3c;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  transition: opacity 0.2s;
}

.comment-delete:hover {
  opacity: 0.7;
}

.comment-deleted {
  padding: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  text-align: center;
}



/*------METRIC INDEX-----*/

/* Barre de métriques en bas de la carte */
.item-metrics-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 15px;
  background: transparent;
  border-radius: 0 0 8px 8px;
  margin-top: auto;
  border-top: 1px solid #eee;
}
.premium-banner-content .item-metrics-bar{
  margin-bottom:-15px;
  justify-content: space-between;
  width: 100%;
}

.ranking-item {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.ranking-item-info {
  flex: 1;
}

/* Items de métriques (vues et commentaires) */
.metric-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #b0b0b0;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.metric-item i {
  font-size: 0.9rem;
}

.metric-item span {
  font-weight: 500;
}

/* Jauge de sentiment style Fear & Greed */
.sentiment-gauge-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.sentiment-gauge {
  position: relative;
  width: 50px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Arc de la jauge - Version simplifiée */
.gauge-arc {
  position: absolute;
  width: 50px;
  height: 25px;
  top: 0;
  left: 0;
  overflow: hidden;
}

/* Arc avec gradient - PLUS ÉPAIS */
.gauge-arc::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0;
  left: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 270deg at 50% 50%,
    #e74c3c 0deg,
    #e67e22 36deg,
    #f39c12 72deg,
    #f1c40f 108deg,
    #95e622 144deg,
    #2ecc71 180deg
  );
  /* Arc plus épais : 55% au lieu de 65% */
  mask: radial-gradient(
    circle at center,
    transparent 55%,
    black 55%,
    black 100%
  );
  -webkit-mask: radial-gradient(
    circle at center,
    transparent 55%,
    black 55%,
    black 100%
  );
}

/* Fond gris pour l'arc - PLUS ÉPAIS */
.gauge-arc::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0;
  left: 0;
  border-radius: 50%;
  background: #e0e0e0;
  mask: radial-gradient(
    circle at center,
    transparent 55%,
    black 55%,
    black 100%
  );
  -webkit-mask: radial-gradient(
    circle at center,
    transparent 55%,
    black 55%,
    black 100%
  );
  z-index: -1;
}

/* Aiguille de la jauge - plus fine */
.gauge-needle {
  position: absolute;
  width: 1px;
  height: 18px;
  background: #333;
  bottom: 5px;
  left: 50%;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(0deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

/* Point central de l'aiguille */
.gauge-needle::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #333;
  border-radius: 50%;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
}

/* Pointe de l'aiguille (triangle) */
.gauge-needle::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 5px solid #333;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

/* Centre de la jauge avec pourcentage - REPOSITIONNÉ */
.gauge-center {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
  background: transparent;
  border-radius: 3px;
  padding: 1px 4px;
}

.gauge-value {
  font-size: 0.6rem;
  font-weight: bold;
  color: #666;
  line-height: 1;
}

/* Couleurs dynamiques selon la valeur */
.sentiment-gauge.extreme-fear .gauge-value { 
  color: #e74c3c; 
}
.sentiment-gauge.fear .gauge-value { 
  color: #e67e22;
}
.sentiment-gauge.neutral .gauge-value { 
  color: #f39c12;
}
.sentiment-gauge.greed .gauge-value { 
  color: #95e622;
}
.sentiment-gauge.extreme-greed .gauge-value { 
  color: #2ecc71;
}

/* Animation de l'aiguille */
.sentiment-gauge[data-value] .gauge-needle {
  transform: translateX(-50%) rotate(calc((var(--value, 50) * 1.8deg) - 90deg));
}

/* Responsive - Tablettes */
@media (max-width: 768px) {
  .item-metrics-bar {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  
  .metric-item i {
    font-size: 0.85rem;
  }
  
  .sentiment-gauge {
    width: 45px;
    height: 28px;
  }
  
  .gauge-arc {
    width: 45px;
    height: 22px;
  }
  
  .gauge-arc::before,
  .gauge-arc::after {
    width: 45px;
    height: 45px;
  }
  
  .gauge-needle {
    height: 16px;
    bottom: 4px;
  }
  
  .gauge-center {
    bottom: 2px;
    padding: 1px 3px;
  }
  
  .gauge-value {
    font-size: 0.55rem;
  }
}

/* Responsive - Mobiles */
@media (max-width: 480px) {
  .item-metrics-bar {
    padding: 6px 8px;
    gap: 10px;
  }
  
  .metric-item {
    font-size: 0.75rem;
  }
  
  .sentiment-gauge {
    width: 40px;
    height: 25px;
  }
  
  .gauge-arc {
    width: 40px;
    height: 20px;
  }
  
  .gauge-arc::before,
  .gauge-arc::after {
    width: 40px;
    height: 40px;
    /* Arc encore plus épais sur mobile */
    mask: radial-gradient(
      circle at center,
      transparent 50%,
      black 50%,
      black 100%
    );
    -webkit-mask: radial-gradient(
      circle at center,
      transparent 50%,
      black 50%,
      black 100%
    );
  }
  
  .gauge-needle {
    height: 14px;
    bottom: 3px;
  }
  
  .gauge-center {
    bottom: 1px;
    padding: 0 2px;
  }
  
  .gauge-value {
    font-size: 0.5rem;
  }
}

/* Au survol, effet de brillance */
.sentiment-gauge:hover .gauge-arc::before {
  filter: brightness(1.1);
  transition: filter 0.2s;
}

.sentiment-gauge:hover .gauge-needle {
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.2));
}


/* =============================================
   SECTION MÉTRIQUES DANS LE MODAL
   ============================================= */

.modal-metrics-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bannière d'information */
.modal-metrics-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-radius: 8px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.modal-metrics-info i {
  color: var(--primary-color, #3b82f6);
  font-size: 14px;
}

/* Barre de métriques (vues + sentiment) */
.modal-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-metric-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.modal-metric-item i {
  font-size: 18px;
  color: var(--primary-color, #3b82f6);
}


.metric-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 4px;
}

/* Jauge de sentiment dans le modal */
.modal-metric-sentiment {
  flex: 1;
  display: flex;
  justify-content: center;
}

.modal-sentiment-gauge-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.modal-sentiment-gauge {
  width: 120px;
  height: 60px;
  position: relative;
  overflow: hidden;
}

.modal-sentiment-gauge .gauge-arc {
  width: 100%;
  height: 120px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  background: conic-gradient(
    from 180deg,
    #e74c3c 0deg,
    #e67e22 45deg,
    #f1c40f 90deg,
    #2ecc71 135deg,
    #27ae60 180deg
  );
  mask: radial-gradient(
    circle at center,
    transparent 40%,
    black 40%,
    black 100%
  );
  -webkit-mask: radial-gradient(
    circle at center,
    transparent 40%,
    black 40%,
    black 100%
  );
}

.modal-sentiment-gauge .gauge-needle {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 3px;
  height: 50px;
  background: #fff;
  transform-origin: bottom center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.modal-sentiment-gauge .gauge-needle::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.modal-sentiment-gauge .gauge-center {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.gauge-value {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.gauge-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Boutons de vote dans le modal - Accessibles à tous */
.modal-metric-voting {
  display: flex;
  gap: 10px;
  position: relative;
}

.modal-vote-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.modal-vote-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.modal-vote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-vote-btn.vote-green:hover {
  background: rgba(46, 204, 113, 0.2);
  border-color: #2ecc71;
}

.modal-vote-btn.vote-green:hover::before {
  background: rgba(46, 204, 113, 0.1);
  width: 100%;
  height: 100%;
}

.modal-vote-btn.vote-red:hover {
  background: rgba(231, 76, 60, 0.2);
  border-color: #e74c3c;
}

.modal-vote-btn.vote-red:hover::before {
  background: rgba(231, 76, 60, 0.1);
  width: 100%;
  height: 100%;
}

.modal-vote-btn.voted {
  animation: vote-success 0.5s ease;
  /* Les boutons restent cliquables pour changer ou annuler le vote */
}

.modal-vote-btn.vote-green.voted {
  background: rgba(46, 204, 113, 0.3);
  border-color: #2ecc71;
  color: #2ecc71;
}

.modal-vote-btn.vote-red.voted {
  background: rgba(231, 76, 60, 0.3);
  border-color: #e74c3c;
  color: #e74c3c;
}

@keyframes vote-success {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes vote-pulse {
  0% { 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% { 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.modal-vote-btn.vote-pulse {
  animation: vote-pulse 0.6s ease;
}

/* =============================================
   SECTION COMMENTAIRES DANS LE MODAL
   ============================================= */

.modal-comments-section {
  margin-top: 20px;
}

.modal-comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-comments-header h4 {
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.modal-comments-header i {
  color: var(--primary-color, #3b82f6);
}


/* Formulaire de commentaire */
.modal-comment-form {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-comment-input {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  resize: vertical;
  margin-bottom: 10px;
  font-family: inherit;
}
.comment-input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  background-color: #fff;
  color: #333;
  border: 1px dashed #adb5bd;
  text-align: left;
}
.comment-input:focus {
  border:none;
}

.modal-comment-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.modal-comment-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.btn-submit-comment {
  padding: 10px 20px;
  background: var(--primary-color, #3b82f6);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-submit-comment:hover {
  background: var(--primary-hover, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Liste des commentaires avec séparation visuelle */
.modal-comments-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 15px;
}

.modal-comments-list::-webkit-scrollbar {
  width: 6px;
}

.modal-comments-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.modal-comments-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.modal-comments-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Commentaire individuel */
.modal-comment {
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.modal-comment:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.modal-comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.modal-comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.modal-comment-meta {
  flex: 1;
}

.modal-comment-author {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-comment-author .verified-badge {
  color: var(--primary-color, #3b82f6);
  font-size: 12px;
}

.modal-comment-time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-top: 2px;
  display: block;
}

.modal-comment-content {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  padding-left: 48px;
}

.modal-comment-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 48px;
}

.modal-comment-like,
.modal-comment-delete {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.modal-comment-like:hover {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.modal-comment-like.liked {
  color: #e74c3c;
}

.modal-comment-like:hover {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  transform: scale(1.05);
}

.modal-comment-like.like-bounce {
  animation: like-bounce 0.4s ease;
}

@keyframes like-bounce {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.2) rotate(-5deg); }
  50% { transform: scale(1.3) rotate(5deg); }
  75% { transform: scale(1.2) rotate(-3deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.modal-comment-delete:hover {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

/* Message "aucun commentaire" */
.modal-no-comments {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.5);
}

.modal-no-comments i {
  font-size: 48px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.3);
}

.modal-no-comments p {
  margin: 5px 0;
}

.modal-no-comments .text-muted {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* Prompt de connexion amélioré */
.modal-login-prompt-box {
  text-align: center;
  padding: 25px;
  background: linear-gradient(135deg, rgba(239, 186, 18, 0.04) 0%, rgba(242, 198, 59, 0.14) 100%);
  border-radius: 12px;
  border: 1px dashed rgb(240, 185, 11);
  transition: all 0.3s ease;
}
.btn.btn-primary {
border:none;
}

.modal-login-prompt-box:hover {
  background: transparent;
  border: 1px dashed rgb(240, 185, 11);
}

.modal-login-prompt-box i {
  font-size: 32px;
  color: var(--primary-color, #3b82f6);
  margin-bottom: 15px;
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.modal-login-prompt-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  font-size: 14px;
}

.modal-login-prompt-box .btn {
  padding: 10px 25px;
  background: #f0b90b;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
}

.modal-login-prompt-box .btn i {
  font-size: 14px;
  margin: 0;
  animation: none;
}

.modal-login-prompt-box .btn:hover {
  background: #f0b90b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 185, 11, 0.4);
  border:none;
}

.modal-login-prompt-box .helper-text {
  margin-top: 15px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.modal-login-prompt-box .helper-text i {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* Notifications améliorées */
.modal-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  z-index: 10000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-notification.show {
  transform: translateX(0);
}

.modal-notification.success {
  border-left: 4px solid #2ecc71;
}

.modal-notification.success i {
  color: #2ecc71;
}

.modal-notification.error {
  border-left: 4px solid #e74c3c;
}

.modal-notification.error i {
  color: #e74c3c;
}

.modal-notification.info {
  border-left: 4px solid #3b82f6;
}

.modal-notification.info i {
  color: #3b82f6;
}

.modal-login-prompt {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(0, 0, 0, 0.95);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 10001;
  opacity: 0;
  transition: all 0.3s ease;
}

.modal-login-prompt.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Loader pour les commentaires */
.spinner-small {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-color, #3b82f6);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .modal-metrics-bar {
    flex-direction: column;
    gap: 20px;
  }
  
  .modal-metric-sentiment {
    width: 100%;
  }
  
  .modal-comment-content,
  .modal-comment-actions {
    padding-left: 0;
  }
  
  .modal-comments-list {
    max-height: 300px;
  }
}

/* Styles pour les réponses dans le modal */
#airdropModal .reply-indicator {
  background: rgba(112, 112, 112, 0.1);
  border-left: 3px solid var(--primary-color, #707070);
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

#airdropModal .reply-indicator i {
  color: var(--primary-color, #707070);
}

#airdropModal .reply-indicator strong {
  color: var(--primary-color, #707070);
}

#airdropModal .btn-cancel-reply {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin-left: 10px;
  margin-top:10px;
}

#airdropModal .btn-cancel-reply:hover {
  background: #c82333;
}

#airdropModal .comment-form-wrapper {
  position: relative;
}

#airdropModal .comment-actions {
  display: flex;
  gap: 10px;
  margin-top: 0px;
  justify-content: space-around;
  padding:8px;
}








/* =====================================================
   TOKENOMICS SECTION
   ===================================================== */
   

/* =====================================================
   TOKENOMICS SECTION - VERSION COMPLÈTE OPTIMISÉE
   Palette: Blanc, Jaune (#FFD700), Gris, Noir, Vert (#4CAF50)
   ===================================================== */

/* ===========================================
   VARIABLES CSS & CONFIGURATION GLOBALE
   =========================================== */
:root {
    /* Couleurs principales */
    --color-primary: #FFD700;
    --color-success: #4CAF50;
    --color-dark: #1a1a1a;
    --color-gray: #666;
    --color-light-gray: #999;
    --color-bg-light: #f8f8f8;
    --color-border: #e8e8e8;
    
    /* Espacements */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Ombres */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 4px 12px rgba(255, 215, 0, 0.3);
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-xxl: 24px;
}

/* ===========================================
   CONTAINER PRINCIPAL
   =========================================== */
.tokenomics-section {
    margin: 30px 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tokenomics-container {
    background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: var(--radius-xxl);
    padding: 20px 50px 40px 50px;
    box-shadow: var(--shadow-md), var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Barre de couleur en haut */
.tokenomics-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--color-primary) 0%, 
        var(--color-success) 50%, 
        var(--color-dark) 100%);
}

/* ===========================================
   HEADER SECTION
   =========================================== */
.tokenomics-header {
    margin-bottom: 0px;
}

.tokenomics-title-wrapper {
    display: flex;
  justify-content: center;
  align-items: left;
  margin-bottom: var(--spacing-sm);
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  flex-direction: column;
}

.title-group {
    display: flex;
    align-items: center;
}

.tokenomics-header h2 {
    color: #555;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.tokenomics-header h2 i {
  font-size: 40px;
  margin-right: 10px;
  background: linear-gradient(90deg, var(--color-primary) 0%, #4CAF50B5 50%, #525252 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 40px;
  margin-right: 10px;
}

/* Badges */
.badge-pro {
    background: linear-gradient(135deg, var(--color-primary), #FFA500);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-gold);
}

/* Toggle Button */
.tokenomics-toggle-btn {
    background: #ffffff;
    border: 2px solid var(--color-border);
    color: var(--color-gray);
    width: 100%;
    height: 44px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tokenomics-toggle-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.tokenomics-subtitle {
    color: var(--color-gray);
    font-size: 16px;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

/* Content Toggle */
.tokenomics-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tokenomics-content.expanded {
    display: block;
    opacity: 1;
}

/* ===========================================
   STATS CARDS SECTION
   =========================================== */
.tokenomics-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top:20px;
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

/* Animation hover pour stat-card */
.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.stat-card:hover::after {
    transform: translateX(100%);
}

/* Stat Icons */
.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-gray);
    flex-shrink: 0;
}

.stat-icon.green {
    background: linear-gradient(135deg, var(--color-success), #45a049);
    color: white;
}

.stat-icon.yellow {
    background: linear-gradient(135deg, var(--color-primary), #FFA500);
    color: #000;
}

/* Stat Info */
.stat-info {
    flex: 1;
    min-width: 0;
}

.stat-label {
    display: block;
    color: var(--color-light-gray);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.stat-info .stat-value {
    display: block;
    color: #1a1a1af0;
    font-size: clamp(24px, 3vw, 28px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    font-size: 20px;
}

.stat-change {
    display: inline-block;
    color: var(--color-gray);
    font-size: 13px;
    font-weight: 500;
}

.stat-change.positive {
    color: var(--color-success);
}

/* ===========================================
   MAIN CONTENT GRID
   =========================================== */
.tokenomics-main {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

/* ===========================================
   CHART SECTION
   =========================================== */
.chart-section {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    border: 1px solid var(--color-border);
    position: relative;
}

/* Container flex pour layout horizontal */
.chart-flex-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--spacing-lg);
}

/* Wrapper du donut à gauche - AGRANDI */
.tokenomics-chart-wrapper {
    flex: 0 0 auto;
    width: 400px;
    height: 400px;
    position: relative;
}

#tokenomicsChart {
    max-height: 100%;
    max-width: 100%;
}

/* Logo central dans le donut */
.chart-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 1;
}

.chart-center-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.05);
        filter: brightness(1.1);
    }
}

.chart-center-text {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ===========================================
   TOOLTIP ZONE - POSITION FIXE
   =========================================== */
.tooltip-zone {
 
    width: 400px;
    min-width: 400px;
    height: 340px;                 /* MODIF : hauteur augmentée */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;                    /* MODIF : pas de padding pour maximiser l'espace */
    transition: var(--transition-fast);
    overflow: hidden;              /* AJOUT : pour éviter les débordements */
}

/* Animation de la zone quand tooltip actif */
.tooltip-zone.has-tooltip {
    background: linear-gradient(145deg, #9d9d9d14, #c8c8c81a);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/* Placeholder text */
.tooltip-placeholder {
    text-align: center;
    color: var(--color-light-gray);
    padding: 20px;
    opacity: 1;
    transition: opacity var(--transition-fast);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tooltip-placeholder i {
    font-size: 48px;
    color: #e0e0e0;
    margin-bottom: var(--spacing-sm);
    display: block;
    animation: handMove 2s ease-in-out infinite;
}

@keyframes handMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.tooltip-placeholder p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.tooltip-zone.has-tooltip .tooltip-placeholder {
    opacity: 0;
    pointer-events: none;
}

/* ===========================================
   TOOLTIP PERSONNALISÉ - POSITION ABSOLUE FIXE
   =========================================== */
.custom-tooltip {
    position: absolute;
    top: 0;                        /* MODIF : au lieu de 50% */
    left: 0;                       /* MODIF : au lieu de 50% */
    right: 0;                      /* AJOUT : pour prendre toute la largeur */
    bottom: 0;                     /* AJOUT : pour prendre toute la hauteur */
    transform: scale(0.95);        /* MODIF : suppression du translate */
    background: linear-gradient(145deg, #ffffff, #fcfcfc);
    border: 1px solid white;
    border-radius: var(--radius-lg);
    padding: 0;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md), var(--shadow-sm);
    z-index: 1000;
    width: 100%;                   /* MODIF : au lieu de 280px */
    height: 100%;                  /* AJOUT : pour prendre toute la hauteur */
    backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;                 /* AJOUT : pour le layout flex */
    flex-direction: column;        /* AJOUT : organisation verticale */
}

.custom-tooltip.active {
    visibility: visible;
}

.custom-tooltip.show {
    opacity: 1;
    transform: scale(1);           /* MODIF : suppression du translate */
}

/* Effet de lueur en haut du tooltip */
.tooltip-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.8;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Tooltip Header */
.tooltip-header {
    display: flex;
    align-items: center;
    gap: 16px;                     /* MODIF : un peu plus d'espace */
    padding: 20px 24px;            /* MODIF : padding augmenté */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 248, 248, 0.9));
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;                /* AJOUT : empêche le header de rétrécir */
}

.tooltip-icon {
    width: 48px;                   /* MODIF : icône plus grande */
    height: 48px;                  /* MODIF : icône plus grande */
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;               /* MODIF : icône plus grande */
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: iconRotate 0.6s ease-out;
}

@keyframes iconRotate {
    from { transform: rotate(-180deg) scale(0); }
    to { transform: rotate(0) scale(1); }
}

.tooltip-title-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tooltip-title {
    font-weight: 700;
    color: var(--color-dark);
    font-size: 17px;               /* MODIF : texte légèrement plus grand */
    line-height: 1.2;
}

.tooltip-percent {
    background: linear-gradient(135deg, var(--color-primary), #FFC107);
    color: #000;
    padding: 4px 12px;             /* MODIF : padding ajusté */
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 16px;               /* MODIF : pourcentage plus grand */
    display: inline-block;
    box-shadow: var(--shadow-gold);
    animation: slideInRight 0.5s ease-out 0.1s both;
}

@keyframes slideInRight {
    from { 
        opacity: 0;
        transform: translateX(-10px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tooltip Body */
.tooltip-body {
    padding: 24px;                 /* MODIF : padding augmenté */
    flex: 1;                       /* AJOUT : prend tout l'espace restant */
    display: flex;                 /* AJOUT : layout flex */
    flex-direction: column;        /* AJOUT : organisation verticale */
    justify-content: center;       /* AJOUT : centrage vertical */
    gap: 16px;                     /* AJOUT : espacement entre éléments */
}

.tooltip-amount {
    color: var(--color-success);
    font-weight: 700;
    font-size: 22px;               /* MODIF : montant plus grand */
    margin-bottom: 0;              /* MODIF : utilise gap à la place */
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.tooltip-amount i {
    font-size: 20px;               /* MODIF : icône plus grande */
    opacity: 0.8;
}

.tooltip-desc {
    color: var(--color-gray);
    font-size: 15px;               /* MODIF : description plus lisible */
    line-height: 1.6;              /* MODIF : meilleur espacement des lignes */
    margin-bottom: 0;              /* MODIF : utilise gap à la place */
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.tooltip-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;            /* MODIF : padding augmenté */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06));
    border-radius: 24px;           /* MODIF : border-radius plus rond */
    animation: fadeInUp 0.5s ease-out 0.4s both;
    align-self: flex-start;        /* AJOUT : alignement à gauche */
}

.tooltip-status span {
    color: var(--color-dark);
    font-size: 14px;               /* MODIF : texte légèrement plus grand */
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ===========================================
   LÉGENDE INTERACTIVE
   =========================================== */
.chart-legend {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    position: relative;
    padding-top: 8px;
}

/* Indicateur de cliquabilité */
.chart-legend::before {
    content: 'Cliquez sur un élément pour plus de détails';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 11px;
    color: var(--color-light-gray);
    font-style: italic;
    opacity: 0.7;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--color-bg-light2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
    user-select: none;
}

.legend-item:hover {
    background: #fff;
    border-color: var(--color-primary);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.15);
}

.legend-item:active {
    transform: translateX(2px) scale(0.98);
}

.legend-item.active {
    background: linear-gradient(145deg, #fff, #fffbf0);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.25);
}

.legend-item.clicked {
    animation: legendClick 0.3s ease;
}

@keyframes legendClick {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(0.95) rotate(2deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legend-item span:last-child {
    font-size: 13px;
    color: var(--color-gray);
    font-weight: 500;
}

/* ===========================================
   ALLOCATION DETAILS
   =========================================== */
.tokenomics-details {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 0px;
    border: 1px solid var(--color-border);
}

.details-header {
    display: flex;
    align-items: center;
    padding: 30px;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: space-between;
    cursor: pointer;
    transition: 0.3s;
    border:none;
}
.details-header:hover {
   background: #f4f4f4;
   border-radius: var(--radius-xl);
}
.title-rep-head{
  display: flex;
  gap: 20px;
  align-items: center;
}
.title-rep-head i{
  color: #9a9a9a;
  font-size: 28px;
  margin-right: 10px;
}

.details-header h3 {
    color: #787878;
    font-size: 22px;
    font-weight: 500;
    margin: 0;
}

.details-badge {
    background: linear-gradient(135deg, var(--color-success), #45a049);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Allocation List */
.allocation-padding{
 padding: 30px;
  gap: 20px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  border-top: 2px solid #eee;
  margin: 0px 20px 0px 20px;
}

.allocation-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.allocation-item {
   background: #f9f9f9;
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
    border: 1px dashed #adb5bd;
}


.allocation-item.highlighted {
    background: linear-gradient(145deg, #fff, #fffbf0);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

/* Allocation Icons */
.allocation-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #666, #333);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.allocation-icon.green {
    background: linear-gradient(135deg, var(--color-success), #45a049);
}

.allocation-icon.yellow {
    background: linear-gradient(135deg, var(--color-primary), #FFA500);
    color: #000;
}

.allocation-icon.white {
    background: linear-gradient(135deg, #fff, #f0f0f0);
    color: #333;
    border: 1px solid #e0e0e0;
}

.allocation-icon.dark {
    background: linear-gradient(135deg, #333, #000);
}

.allocation-icon.green-light {
    background: linear-gradient(135deg, #8BC34A, #7CB342);
}

/* Allocation Info */
.allocation-info {
    flex: 1;
    min-width: 0;
}

.allocation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.allocation-name {
    color: var(--color-dark);
    font-weight: 700;
    font-size: 15px;
}

.allocation-percent {
    background: var(--color-primary);
    color: #000;
    font-weight: 800;
    font-size: 16px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.allocation-details {
    margin-bottom: 12px;
}

.allocation-amount {
    color: var(--color-success);
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.allocation-desc {
    color: var(--color-gray);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Allocation Status Badges */
.allocation-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.allocation-status.unlocked {
    background: rgba(76, 175, 80, 0.1);
    color: var(--color-success);
}

.allocation-status.locked {
    background: rgba(255, 0, 0, 0.05);
    color: #f44336;
}

.allocation-status.partial {
    background: rgba(255, 215, 0, 0.1);
    color: #FFA500;
}

.allocation-status.progressive {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.allocation-status.reserved {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-gray);
}

.allocation-status.flexible {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(76, 175, 80, 0.1));
    color: #333;
}

/* ===========================================
   TIMELINE VESTING
   =========================================== */
.vesting-timeline {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    border: 1px solid var(--color-border);
}

.timeline-header {
    margin-bottom: var(--spacing-lg);
}

.timeline-header h3 {
    color: var(--color-dark);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-header h3 i {
    color: var(--color-primary);
}

/* Progress Bar */
.timeline-progress {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.timeline-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-success), var(--color-primary));
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.timeline-track {
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    text-align: center;
    flex: 1;
    opacity: 0.5;
    transition: var(--transition-fast);
}

.timeline-item.active {
    opacity: 1;
}

.timeline-marker {
    position: relative;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background: #ffffff;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
    transition: var(--transition-fast);
}

.timeline-item.active .timeline-dot {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 8px rgba(255, 215, 0, 0.1);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    border-color: var(--color-primary);
}

/* Timeline Content */
.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-date {
    color: var(--color-dark);
    font-weight: 700;
    font-size: 14px;
}

.timeline-event {
    color: var(--color-gray);
    font-size: 13px;
}

.timeline-status {
    color: var(--color-light-gray);
    font-size: 11px;
    font-weight: 500;
}

.timeline-item.active .timeline-status {
    color: var(--color-success);
}

/* ===========================================
   ANIMATIONS GLOBALES
   =========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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



/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */
@media (max-width: 1200px) {
    .tokenomics-main {
        grid-template-columns: 1fr;
    }
    
    .chart-flex-container {
        gap: 40px;
    }
    
    .tokenomics-chart-wrapper {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    /* Ajustements généraux */
    .tokenomics-container {
        padding: var(--spacing-md);
    }
    
    .tokenomics-header h2 {
        font-size: 24px;
        margin-left: -20px;
    }
    .tokenomics-header h2 i{
      font-size: 30px;
      margin-right:0px;
    }
    .tokenomics-header {
        margin-bottom:15px;
    }
    
    .tokenomics-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        margin-top: 15px;
        margin-bottom: 40px;
    }
    .chart-section{
      background: transparent;
    }
    .legend-item{
      width: 30%;
      background: #fff;
    border: 1px solid #80808029;
    flex-direction: column;
    }
    .chart-legend {
  gap: 10px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
    .stat-card {
     padding: 10px 20px;
     }
    
    /* Layout vertical pour le chart */
    .chart-flex-container {
        flex-direction: column;
        gap: 0px;
    }
    
    .tokenomics-chart-wrapper {
        width: 100%;
        max-width: 320px;
        height: 320px;
        margin: 0 auto;
    }
    .tokenomics-toggle-btn {
  width: 100%;
}
   
    .tooltip-zone {
        width: 100%;
        min-width: unset;
        height: auto;             /* MODIF : hauteur ajustée pour mobile */
        order: 2;
        padding: 0;
    }
    
    .custom-tooltip {
        width: 100%;
        max-width: none;           /* MODIF : suppression de la limite */
        height: 100%;
        position: relative;
    }
    
    .tooltip-header {
        padding: 16px 20px;
    }
    
    .tooltip-body {
        padding: 20px;
    }

    .allocation-padding {
  padding: 30px 0px;
  margin: 0px;
  border:none;
}
.allocation-icon{
  position: absolute;
}
.allocation-name {
  text-align: right;
  width: 100%;
  margin-top: 12px;
}


    .chart-legend {
        order: 3;
    }
    
    .chart-legend::before {
        font-size: 10px;
        top: -18px;
    }
    
    /* Timeline mobile */
    .timeline-container {
        flex-direction: column;
        padding-left: 40px;
    }
    
    .timeline-track {
        width: 2px;
        height: 100%;
        left: 20px;
        top: 0;
    }
    
    .timeline-item {
        text-align: left;
        margin-bottom: var(--spacing-lg);
    }
    
    .timeline-dot {
        position: absolute;
        left: -30px;
        top: 0;
    }
    .chart-section {
  border-radius: var(--radius-xl);
  padding: 0px;
  border: none;
  position: relative;
}
.tokenomics-details {
    background: transparent;
    border-radius: none;
    padding: 0px;
    border: none;
}
  .allocation-percent {
    margin-top: var(--spacing-xs);
    text-align: center;
    width: 100%;
    margin-top: 20px;
  }
  .allocation-amount {
  text-align: center;
  margin-bottom: 20px;
}
.allocation-desc {
  font-size: 12px;
  margin: 0;
  text-align: justify;
}
}

@media (max-width: 480px) {
    /* Très petits écrans */
    .tokenomics-stats {
        grid-template-columns: 1fr;
    }
    
    .chart-center-logo img {
        width: 60px;
        height: 60px;
    }

    .details-header {
        gap: var(--spacing-md);
    align-items: flex-start;
    flex-wrap: nowrap;
    padding: 15px;
    align-items: center;
    color: gray;
    border: 1px solid #dadada;
    border-radius: 20px;
    }
    .title-rep-head .badge-pro{
      display: none;
    }
    .details-header h3{
      font-size: 16px;
    }
    
    .tooltip-placeholder i {
        font-size: 36px;
    }
    
    .tooltip-placeholder p {
        font-size: 12px;
    }
    
    .custom-tooltip {
        font-size: 13px;
    }
    
    .tooltip-title {
        font-size: 14px;
    }
    
    .tooltip-amount {
        font-size: 16px;
    }
    
    .chart-legend::before {
        display: none;
    }
    
    .chart-legend {
        padding-top: 0;
    }
    
    .allocation-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
     .allocation-percent {
    margin-top: var(--spacing-xs);
    text-align: center;
    width: 100%;
    margin-top: 20px;
  }
  
}

/* ===========================================
   OPTIMISATIONS PERFORMANCES
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===========================================
   UTILITAIRES
   =========================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.p-0 { padding: 0; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* ===========================================
   TOOLTIP PAR DÉFAUT
   =========================================== */

/* Masquer le placeholder */
.tooltip-placeholder {
    display: none !important;
}

/* Styles spécifiques au tooltip par défaut */
.custom-tooltip.is-default {
    animation: defaultTooltipEntry 0.6s ease-out;
}

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

/* Icône gradient pour le tooltip par défaut */
.tooltip-icon-default {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Badge spécial pour le total */
.tooltip-percent-default {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    font-size: 18px !important;
    padding: 6px 14px !important;
}

/* Grille de stats pour le tooltip par défaut */
.tooltip-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
    padding: 16px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.04));
    border-radius: 12px;
}

.tooltip-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tooltip-stat-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.tooltip-stat-value {
    font-size: 15px;
    color: #333;
    font-weight: 700;
}

/* Status par défaut avec couleur différente */
.tooltip-status-default {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    color: #FF8C00;
}

.tooltip-status-default i {
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive pour le tooltip par défaut */
@media (max-width: 768px) {
    .tooltip-stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }
    
    .tooltip-percent-default {
        font-size: 16px !important;
    }
}

/* ===========================================
   HOVER TOOLTIP - Tooltip léger au survol
   =========================================== */
.hover-tooltip {
    position: fixed;
    background: #4d4d4dff;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hover-tooltip.active {
    opacity: 0.9;
    transform: translateY(0);
}

.hover-tooltip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hover-tooltip-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.hover-tooltip-label {
    font-weight: 600;
    font-size: 12px;
    color: whitesmoke;
    opacity: 0.9;
}

.hover-tooltip-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hover-tooltip-percent {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hover-tooltip-amount {
    font-size: 13px;
    color: #4CAF50;
    font-weight: 500;
}

/* Mobile : désactiver le hover tooltip */
@media (max-width: 768px) {
    .hover-tooltip {
        display: none !important;
    }
}


/*   PATCH CSS - STAT CARDS EXPANDABLES */

/* Modifications sur les stat-cards existantes */
.stat-card {
    /* Retirer les propriétés qui entrent en conflit */
    padding: 0 !important; /* Override l'ancien padding */
    display: block !important; /* Override le flex */
}

/* Nouveau wrapper pour le header cliquable */
.stat-card-header {
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.stat-card-header:hover {
    background-color: rgba(255, 215, 0, 0.02);
}

/* Ajuster le stat-info pour faire de la place au bouton */
.stat-card.expandable .stat-info {
    padding-right: 0px;
}

/* Nouveau bouton expand */
.stat-expand-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-gray);
    font-size: 14px;
    padding: 0;
    outline: none;
}

.stat-expand-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.stat-expand-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.stat-expand-btn i {
    transition: transform 0.3s ease;
    pointer-events: none;
}

.stat-card.expanded .stat-expand-btn i {
    transform: rotate(180deg);
}

/* ========================================
   MODE MOBILE - Expansion dans la card
   ======================================== */
.stat-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(99, 179, 237, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}

.stat-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card.expanded .stat-description {
    max-height: 500px;
}

.stat-card.expanded .stat-description::before {
    opacity: 0.8;
}

.stat-description-content {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card.expanded .stat-description-content {
    opacity: 1;
}

/* ========================================
   STYLES COMMUNS - Mobile & Desktop
   ======================================== */

/* Pour mobile : .stat-description p */
/* Pour desktop : .stat-expansion-content p */
.stat-description p,
.stat-expansion-content > p {
    color: #6d6d6d;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.stat-description ul,
.stat-expansion-content > ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.stat-description ul li,
.stat-expansion-content > ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: #ad8e15;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.2s ease;
}

.stat-description ul li:hover,
.stat-expansion-content > ul li:hover {
    transform: translateX(4px);
}

.stat-description ul li:before,
.stat-expansion-content > ul li:before {
    content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #f0b90b, #f0b90b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  color: white;
  box-shadow: 0 2px 8px rgba(225, 185, 66, 0.3);
}

.stat-description strong,
.stat-expansion-content strong {
    color: #f0b90b;
    font-weight: 600;
    font-size: 14px;
}

/* Box d'highlight */
.stat-highlight {
    padding: 14px 16px;
  transition: all 0.3s ease;
  display: flex;
  gap: 20px;
  align-items: center;
  background: #f0b90b3b;
  border-radius: 10px;
  border-left: 5px solid #f0b90b;
}


.stat-highlight i {
    color: #a37f10;
    font-size: 18px;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.stat-highlight span {
    color: #a37f10;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .stat-description p,
    .stat-expansion-content > p {
        font-size: 14px;
    }
    
    .stat-description ul li,
    .stat-expansion-content > ul li {
        font-size: 13px;
        padding-left: 28px;
    }
    
    .stat-highlight {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .stat-highlight span {
        font-size: 13px;
        text-align: center;
    }
}

/* Progress bar pour le burn */
.stat-progress {
    margin: 16px 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.stat-progress-label {
    display: block;
    color: var(--color-gray);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-progress-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.stat-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ff6b6b, #ffa500);
    border-radius: 4px;
    transition: width 1s ease;
    position: relative;
}

.stat-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stat-progress-value {
    display: block;
    text-align: right;
    color: var(--color-success);
    font-size: 14px;
    font-weight: 700;
}

/* Animation pour les cartes */
.stat-card.stats-animated {
    animation: statCardEntrance 0.6s ease forwards;
}

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

/* Responsive ajustements */
@media (max-width: 768px) {
    .stat-card-header {
        padding: 16px 20px;
    }
    
    .stat-expand-btn {
        right: 16px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .stat-card.expandable .stat-info {
        padding-right: 40px;
    }
    
    .stat-description-content {
        padding: 16px;
    }
    
    .stat-card.expanded .stat-description {
        max-height: 600px;
    }
    
    .stat-highlight {
        align-items: center;
        gap: 6px;
    }
    
    .stat-highlight i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .stat-expand-btn {
        right: 12px;
        width: 26px;
        height: 26px;
    }
    
    .stat-description p {
        font-size: 13px;
    }
    
    .stat-description ul li {
        font-size: 12px;
        padding-left: 30px;
    }
    
    .stat-highlight span {
        font-size: 12px;
    }
}

/* Zone d'expansion pour desktop */
/* REMPLACEZ la section .stat-expansion-zone dans votre CSS par celle-ci : */

/* Zone d'expansion pour desktop avec animation de glissement */
.stat-expansion-zone {
    width: 100%;
    background: linear-gradient(90deg,rgba(0, 0, 0, 0.02) 0%, rgba(216, 216, 216, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.02) 0%, rgba(216, 216, 216, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0.03) 0px, rgba(162, 162, 162, 0.08) 1px, transparent 1px, transparent 5px );
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    margin-top: var(--spacing-md);
    position: relative;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-20px);
}

.stat-expansion-zone.active {
    max-height: 600px; /* Ajustez selon votre contenu */
    opacity: 1;
    transform: translateY(0);
    margin-bottom:50px;
}

/* Animation d'entrée du contenu */
.stat-expansion-zone.active .stat-expansion-content {
    animation: slideContentIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideContentIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de slide pour chaque élément du contenu */
.stat-expansion-zone.active .stat-expansion-header {
    animation: slideElement 0.5s ease-out;
}

.stat-expansion-zone.active .stat-expansion-header + * {
    animation: slideElement 0.5s ease-out 0.1s both;
}

.stat-expansion-zone.active .stat-highlight {
    animation: slideElement 0.5s ease-out 0.2s both;
}

.stat-expansion-zone.active .stat-progress {
    animation: slideElement 0.5s ease-out 0.3s both;
}

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

/* Ligne animée qui apparaît en haut */
.stat-expansion-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
    transition: width 0.8s ease-out;
}

.stat-expansion-zone.active::before {
    width: 100%;
}

/* Animation de fermeture */
.stat-expansion-zone.closing {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.3s ease-in,
                opacity 0.2s ease-in,
                transform 0.3s ease-in;
}

.stat-expansion-content {
    padding: var(--spacing-lg) var(--spacing-xl);
    position: relative;
}

/* Bouton de fermeture avec animation */
.stat-expansion-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    animation: fadeInRotate 0.5s ease-out 0.4s both;
}

@keyframes fadeInRotate {
    from {
        opacity: 0;
        transform: rotate(-90deg);
    }
    to {
        opacity: 1;
        transform: rotate(0);
    }
}

.stat-expansion-close:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.stat-expansion-close i {
    font-size: 14px;
    color: var(--color-gray);
}

.stat-expansion-close:hover i {
    color: #000;
}

/* Sur desktop : layout 2 colonnes */
@media (min-width: 769px) {
    .stat-expansion-zone.active {
        max-height: 800px; /* Plus d'espace sur desktop */
    }
    
    .stat-expansion-content {
        display: flex;
    gap: 20px;
    flex-direction: column;
    }
    
    .stat-expansion-header {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 20px;
        padding-bottom: var(--spacing-md);
        border-bottom: 2px solid rgba(255, 215, 0, 0.1);
        margin-bottom: var(--spacing-md);
        position: relative;
    }
    
    /* Animation de la bordure du header */
    .stat-expansion-header::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-primary);
        transition: width 0.6s ease-out 0.3s;
    }
    
    .stat-expansion-zone.active .stat-expansion-header::after {
        width: 100%;
    }
}

/* Sur mobile : cacher cette zone et garder le comportement actuel */
@media (max-width: 768px) {
    .stat-expansion-zone {
        display: none !important;
    }
    
    /* Garder l'expansion dans la carte sur mobile */
    .stat-card.expandable .stat-description {
        display: block !important;
    }
}

/* Desktop : cacher la description dans la carte */
@media (min-width: 769px) {
    .stat-card.expandable .stat-description {
        display: none !important;
    }
}

/* Indicateur de carte active avec pulse */
.stat-card.expandable.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
    position: relative;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    }
}

.stat-card.expandable.active .stat-expand-btn {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000;
    animation: rotateIn 0.3s ease;
}

@keyframes rotateIn {
    from {
        transform: translateY(-50%) rotate(0);
    }
    to {
        transform: translateY(-50%) rotate(180deg);
    }
}

.stat-card.expandable.active .stat-expand-btn i {
    transform: rotate(180deg);
}

/* Animation de highlight pour la carte active */
.stat-card.expandable.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    animation: slideHighlight 1.5s ease-in-out infinite;
}

@keyframes slideHighlight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}


/* AJOUTEZ ces styles CSS pour améliorer la transition entre contenus : */

/* Animation de fondu pour le switch de contenu */
.stat-expansion-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* État de transition pour le changement de contenu */
.stat-expansion-zone.switching .stat-expansion-content {
    opacity: 0;
    transform: scale(0.95);
}

/* Animation spéciale pour le switch */
@keyframes contentSwitch {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Transition plus rapide pour les boutons lors du switch */
.stat-card.expandable {
    transition: all 0.2s ease;
}

.stat-card.expandable.active.switching-out {
    transform: scale(0.98);
}

.stat-card.expandable.active.switching-in {
    animation: cardSwitchIn 0.3s ease;
}

@keyframes cardSwitchIn {
    0% {
        transform: scale(0.98);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Amélioration de l'effet de highlight qui glisse */
.stat-expansion-zone.active .stat-expansion-header h3,
.stat-expansion-zone.active .stat-expansion-header span {
    animation: fadeInText 0.4s ease;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}











/*////////////////////////////////////////////////////////////////*/
/*------------------------PAGE DACCUEIL INDEX---------------------------*/
/*////////////////////////////////////////////////////////////////*/

.expanded-mode .accueil-container{
  display: none;
}

.accueil-container{
  margin-left: 5%;
  margin-right: 5%;
}

.hero-section {
  position: relative;
  padding: 30px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
  border-radius: 20px;
  margin: 20px 0 40px 0;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Logo flottant */


.hero-logo {
  width: 200px;
  height: 200px;
  opacity: 0.9;
  animation: pulse 5s infinite;
  box-shadow: 0px 0px 110px rgba(240, 185, 11, 0.46);
  border-radius: 100%;
  background: #f0b90b33;
  filter: drop-shadow(0 1px 2px rgb(240, 185, 11));
}

.logo-glow {
  display: none;
}

.hero-logo-wrapper{
  width: 40%;
  justify-content: center;
  display: flex;
}

/* Texte et contenu */
.hero-text-wrapper {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  margin: 0 0 20px 0;
  line-height: 1.2;
  animation: slideInRight 0.8s ease-out;
}

.welcome-text {
  display: block;
  font-size: 1.2rem;
  color: #888;
  font-weight: 400;
  margin-bottom: 8px;
}

.brand-name {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  color: #555;
  text-shadow: 0 2px 10px rgba(112, 112, 112, 0.1);
}
.brand-name b{
  color:#f0b90b;
}

.hero-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 35px;
  animation: slideInRight 0.8s ease-out 0.2s both;
}

/* Boutons */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  animation: slideInRight 0.8s ease-out 0.4s both;
}

.hero-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.primary-btn {
  background: linear-gradient(135deg, #707070 0%, #505050 100%);
  color: white;
  box-shadow: 0 5px 20px rgba(112, 112, 112, 0.3);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(112, 112, 112, 0.4);
}

.secondary-btn {
  background: white;
  color: #707070;
  border: 1px solid #70707052;
  box-shadow: 0 5px 20px rgba(112, 112, 112, 0.1);
}

.secondary-btn:hover {
  background: #f8f8f8;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(112, 112, 112, 0.2);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.hero-btn:hover .btn-shine {
  left: 100%;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  animation: slideInUp 0.8s ease-out 0.6s both;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #707070;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.9rem;
  color: #888;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #ddd;
}

.accueil-container .stat-item span {
  font-weight: 500;
  font-size: 12px;
  color: #66666691;
}

.accueil-container .stat-item {
 display: flex;
  align-items: center;
  margin: 5px;
  flex-direction: column-reverse;
  gap: 10px;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(2deg); }
  50% { transform: translateY(5px) rotate(-1deg); }
  75% { transform: translateY(-5px) rotate(1deg); }
}

@keyframes floatRandom {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-logo {
    width: 150px;
    height: 150px;
  }
  
  .brand-name {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
}


@media (max-width: 768px) {
  .hero-logo {
  margin-left: 0%;
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
}
}

@media (max-width: 576px) {
  .hero-section {
    padding: 40px 15px;
  }
  
  .brand-name {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-btn {
    width: 100%;
    justify-content: center;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }

}




/*////////////////////////////////////////////////////////////////////
--------------------------PORTFOLIO---------------------------------
/////////////////////////////////////////////////////////////////////*/


/* Variables de thème */
:root[data-theme="dark"] {
  --bg-primary: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  --bg-secondary: rgba(255, 255, 255, 0.05);
  --bg-hover: rgba(255, 215, 0, 0.02);
  --bg-block: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #888;
  --border-primary: rgba(255, 215, 0, 0.3);
  --border-secondary: rgba(255, 255, 255, 0.1);
  --accent-gold: #FFD700;
  --accent-orange: #FFA500;
  --bg-modal: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  --shadow-primary: rgba(255, 215, 0, 0.3);
  --input-bg: rgba(255, 255, 255, 0.05);
}

:root[data-theme="light"] {
  --bg-primary: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  --bg-secondary: rgba(0, 0, 0, 0.03);
  --bg-hover: rgba(255, 215, 0, 0.08);
  --bg-block: rgba(231, 231, 231, 0.48);
  --text-primary: #666;
  --text-secondary: #666;
  --border-primary: rgba(255, 165, 0, 0.4);
  --border-secondary: rgba(0, 0, 0, 0.1);
  --accent-gold: #FFA500;
  --accent-orange: #FF8C00;
  --bg-modal: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  --shadow-primary: rgba(255, 165, 0, 0.2);
  --input-bg: rgba(0, 0, 0, 0.04);
}

/* Thème par défaut */
:root {
  --bg-primary: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  --bg-secondary: rgba(255, 255, 255, 0.05);
  /* ... copier toutes les variables dark ici */
}

#bnbStatsChart {
  position: relative !important;
  z-index: 10;
}
/* Cibler directement les canvas sparkline */
canvas[id^="sparkline-"] {
  position: relative !important;
  z-index: 10;
}
.update-indicator {
  position: fixed;
  top: 10%;
  right: 45%;
  left: 45%;
  background: #4CAF50;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
  text-align: center;
}

.update-indicator.show {
  opacity: 1;
}

    /* Portfolio Styles */
    .portfolio-container {
      min-height: 100vh;
        background: var(--bg-primary);
        color: var(--text-primary);
      padding: 80px 20px 40px;
      position: relative;
      background: linear-gradient(90deg,rgba(0, 0, 0, 0.15) 0%, rgba(216, 216, 216, 0.11) 50%, rgba(0, 0, 0, 0.15) 100%);
    }


    .particles-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      opacity: 0.3;
    }

    .portfolio-header {
      max-width: 1400px;
      margin: auto;
      border-radius: 15px;
      padding: 30px;
      backdrop-filter: blur(10px);
      background: var(--bg-secondary);
      border: 1px solid var(--border-primary);
    }

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

    .portfolio-title {
      font-size: 2.5em;
      color: var(--accent-gold);
      margin: 0;
      text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    }

    .portfolio-meta {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-top: 10px;
      color: #888;
    }

    .refresh-btn {
      background: transparent;
      border: 1px solid rgba(255, 215, 0, 0.3);
      color: #FFD700;
      padding: 5px 10px;
      border-radius: 5px;
      cursor: pointer;
      transition: all 0.3s;
    }

    .refresh-btn:hover {
      background: rgba(255, 215, 0, 0.1);
      transform: rotate(180deg);
    }

    .btn-primary {
      background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
      border: none;
      color: #000;
      padding: 12px 25px;
      border-radius: 8px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s;
      box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    }

    .portfolio-summary {
      max-width: 1400px;
      margin: 0 auto 40px;
    }

    .summary-card {
      background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, var(--bg-secondary) 100%);
      border: 1px solid var(--border-primary);
      border-radius: 20px;
      padding: 40px;
      backdrop-filter: blur(10px);
    }

    .summary-value h2 {
      font-size: 3em;
      margin: 0;
      color: #FFD700;
      text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    }

    .summary-label {
      color: #888;
      font-size: 1.2em;
      margin-top: 10px;
    }

    .summary-changes {
      display: flex;
      gap: 30px;
      margin-top: 20px;
      font-size: 1.2em;
    }

    .profit {
      color: #4CAF50;
    }

    .loss {
      color: #F44336;
    }

    .timeframe-selector {
      max-width: 1400px;
      margin: 0 auto 30px;
      display: flex;
      gap: 10px;
      justify-content: center;
    }

    .timeframe-btn {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 215, 0, 0.3);
      color: #888;
      padding: 10px 25px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s;
      font-weight: 600;
    }

    .timeframe-btn:hover {
      background: rgba(255, 215, 0, 0.1);
      color: #FFD700;
    }

    .timeframe-btn.active {
      background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
      color: #FFD700;
      border-color: #FFD700;
    }

    .chart-container {
      max-width: 1400px;
      margin: 0 auto 40px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 15px;
      padding: 30px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 215, 0, 0.2);
      height: 400px;
    }

    .portfolio-stats {
      max-width: 1400px;
      margin: 0 auto 40px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .portfolio-stats .stat-card {
      background: var(--bg-block);
      border-radius: 15px;
      padding: 15px 25px 25px 25px !important;
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      gap: 20px;
      transition: all 0.3s;
    }
        .portfolio-stats .stat-card .stat-value {
           color: var(--text-primary);
    }
   

    .portfolio-stats .stat-card:hover {
      transform: translateY(-5px);
      border-color: rgba(255, 215, 0, 0.3);
      background: rgba(255, 215, 0, 0.05);
    }

    .stat-icon {
      font-size: 2em;
    }

    .stat-label {
      color: #888;
      font-size: 0.9em;
      margin-bottom: 5px;
    }

    .stat-value {
      font-size: 1.5em;
      font-weight: bold;
      color: #fff;
    }

    .stat-percent {
      font-size: 0.7em;
      margin-left: 5px;
    }

    .holdings-section {
      max-width: 1400px;
      margin: 0 auto;
    }

    .holdings-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
      padding: 0 10px;
    }

    .holdings-header h3 {
      color: #FFD700;
      font-size: 1.8em;
    }

    .sort-select {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 215, 0, 0.3);
      color: #fff;
      padding: 8px 15px;
      border-radius: 8px;
      cursor: pointer;
    }

    .crypto-list {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .crypto-list .crypto-item {
      border-radius: 15px;
      background: var(--bg-secondary);
      border: 1px solid var(--border-secondary);
      overflow: hidden;
      transition: all 0.3s;
    }

    .crypto-item:hover {
        border-color: var(--border-primary);
        background: var(--bg-hover);
    }

    .crypto-main {
      padding: 20px;
      display: grid;
      grid-template-columns: 2fr 1.5fr 2fr 2fr 1fr 0.5fr;
      align-items: center;
      gap: 20px;
      cursor: pointer;
    }

    .crypto-info {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .crypto-logo {
      width: 40px;
      height: 40px;
      border-radius: 50%;
    }

    .crypto-details h4 {
      margin: 0;
      color: var(--text-primary);
      font-size: 1.1em;
    }

    .crypto-symbol {
      color: #888;
      font-size: 0.9em;
    }

    .crypto-actions {
      display: flex;
      gap: 10px;
    }

    .btn-icon {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #888;
      padding: 8px;
      border-radius: 5px;
      cursor: pointer;
      transition: all 0.3s;
    }

    .btn-icon:hover {
      color: #FFD700;
      border-color: #FFD700;
    }

    .empty-portfolio {
      text-align: center;
      padding: 80px 20px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 15px;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .empty-icon {
      font-size: 4em;
      margin-bottom: 20px;
    }

    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      z-index: 1000;
      align-items: center;
      justify-content: center;
    }

    .modal .modal-content {     
      border-radius: 20px;
      padding: 30px;
      width: 90%;
      max-width: 600px;
      background: var(--bg-modal);
      border: 1px solid var(--border-primary);
      box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    }

    .form-control, .search-input {
      background: var(--input-bg);
      border: 1px solid var(--border-primary);
      color: var(--text-primary);
    }

    .modal-content .modal-header {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
    }

    .modal-header h3 {
      color: #FFD700;
      margin: 0;
    }

    .close-modal {
      background: transparent;
      border: none;
      color: #888;
      font-size: 2em;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close-modal:hover {
      color: #FFD700;
    }
    .selected-crypto img{
      border-radius: 20%;
      display: flex;
      margin: auto;
      width: 120px;
    }
    .search-input {
      width: 100%;
      padding: 12px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 215, 0, 0.3);
      border-radius: 8px;
      color: #fff;
      font-size: 1em;
      margin-bottom: 15px;
    }

    .search-results {
      max-height: 200px;
      overflow-y: auto;
      margin-bottom: 20px;
    }

    .search-result {
      display: flex;
      align-items: center;
      padding: 10px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 8px;
      margin-bottom: 10px;
      cursor: pointer;
      transition: all 0.3s;
    }

    .search-result:hover {
      background: rgba(255, 215, 0, 0.1);
    }

    .search-result img {
      width: 30px;
      height: 30px;
      margin-right: 15px;
    }

    .result-info {
      flex: 1;
    }

    .result-name {
      color: #fff;
      font-weight: 600;
    }

    .result-symbol {
      color: #888;
      font-size: 0.9em;
    }

    .result-price {
      text-align: right;
      color: #FFD700;
    }

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

    .form-group label {
      color: #888;
      margin-bottom: 8px;
      display: block;
    }

    .form-control {
      width: 100%;
      padding: 12px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 215, 0, 0.3);
      border-radius: 8px;
      color: #fff;
      font-size: 1em;
    }

    .modal-actions {
      display: flex;
      gap: 15px;
      justify-content: flex-end;
      margin-top: 30px;
    }

    .btn-secondary {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: #fff;
      padding: 12px 25px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s;
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .portfolio-loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.9);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

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

    .spinner {
      border: 3px solid rgba(255, 255, 255, 0.1);
      border-top: 3px solid #FFD700;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      animation: spin 1s linear infinite;
      margin: 0 auto 20px;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .notification {
      position: fixed;
      top: 100px;
      right: 20px;
      padding: 15px 25px;
      border-radius: 8px;
      color: #fff;
      font-weight: 600;
      opacity: 0;
      transform: translateX(100%);
      transition: all 0.3s;
      z-index: 10000;
    }

    .notification.show {
      opacity: 1;
      transform: translateX(0);
    }

    .notification.success {
      background: linear-gradient(135deg, #4CAF50, #45a049);
    }

    .notification.error {
      background: linear-gradient(135deg, #F44336, #da190b);
    }

    .theme-toggle-wrapper {

  z-index: 1000;
}

.theme-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-primary);
  color: var(--accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 20px;
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--bg-hover);
}

.theme-icon-light,
.theme-icon-dark {
  position: absolute;
  transition: opacity 0.3s, transform 0.3s;
}

[data-theme="dark"] .theme-icon-light {
  opacity: 0;
  transform: rotate(180deg);
}

[data-theme="dark"] .theme-icon-dark {
  opacity: 1;
  transform: rotate(0);
}

[data-theme="light"] .theme-icon-light {
  opacity: 1;
  transform: rotate(0);
}

[data-theme="light"] .theme-icon-dark {
  opacity: 0;
  transform: rotate(-180deg);
}

[data-theme="light"] .portfolio-loader {
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .spinner {
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--accent-gold);
}

[data-theme="light"] .particles-bg {
  opacity: 0.1;
}

/* Portfolio Distribution Styles - Version Pro */
/* Portfolio Pie Distribution Styles - Version Pro */
.portfolio-pie-distribution {
  max-width: 1400px;
  margin: 0 auto 40px;
  background: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--border-secondary);
  overflow: hidden;
}

.portfolio-pie-content {
  padding: 32px;
}

.portfolio-pie-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-secondary);
}

.portfolio-pie-title h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  letter-spacing: -0.025em;
}

.portfolio-pie-subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
  font-weight: 400;
}

.portfolio-pie-summary {
  display: flex;
  align-items: center;
}

.portfolio-pie-asset-count {
  background: var(--bg-block);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border-secondary);
}

.portfolio-pie-chart-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.portfolio-pie-chart-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-pie-chart-container {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 350px;
  margin: 50px auto;
}

.portfolio-pie-legend-section {
  padding-left: 20px;
}

.portfolio-pie-legend-header {
  margin-bottom: 20px;
}

.portfolio-pie-legend-header h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.portfolio-pie-custom-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-pie-legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--input-bg);
  border-radius: 8px;
  border: 1px solid var(--border-secondary);
  transition: all 0.2s ease;
}

.portfolio-pie-legend-item:hover {
  background: var(--bg-hover);
  border-color: var(--border-primary);
}

.portfolio-pie-legend-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portfolio-pie-legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.portfolio-pie-legend-symbol {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.portfolio-pie-legend-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.portfolio-pie-legend-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.portfolio-pie-legend-percentage {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 2px;
}

.portfolio-pie-empty-distribution {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
  background: var(--input-bg);
  border-radius: 12px;
  border: 1px dashed var(--border-secondary);
}

.portfolio-pie-empty-distribution .portfolio-pie-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-secondary);
  opacity: 0.6;
}

.portfolio-pie-empty-distribution p {
  margin: 8px 0 0 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .portfolio-pie-chart-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .portfolio-pie-legend-section {
    padding-left: 0;
  }
  
  .portfolio-pie-chart-container {
    max-width: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .portfolio-pie-content {
    padding: 24px;
  }
  
  .portfolio-pie-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .portfolio-pie-chart-wrapper {
    gap: 24px;
  }
  
  .portfolio-pie-chart-container {
    max-width: 240px;
    height: 240px;
  }
  
  .portfolio-pie-legend-item {
    padding: 10px 12px;
  }
  
  .portfolio-pie-title h3 {
    font-size: 1.3rem;
  }
}

    /* Responsive */
    @media (max-width: 1024px) {
      .crypto-main {
        grid-template-columns: 1fr;
        gap: 15px;
      }

      .portfolio-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      }
    }

    @media (max-width: 768px) {
      .portfolio-title {
        font-size: 1.8em;
      }

      .summary-value h2 {
        font-size: 2em;
      }

      .header-content {
        flex-direction: column;
      }

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

      .chart-container {
        height: 300px;
        padding: 20px;
      }
    }






/*////////////////////////////////////////////////////////////////////
--------------------------Popup de Confirmation Bannière - Styles Spécifiques---------------------------------
/////////////////////////////////////////////////////////////////////*/

    /* Popup de Confirmation Bannière - Styles Spécifiques */
.banner-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-success-overlay.banner-success-show {
    opacity: 1;
    visibility: visible;
}

.banner-success-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0;
    max-width: 480px;
    width: 90%;
    position: relative;
    overflow: hidden;
    overflow-y: scroll;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-success-overlay.banner-success-show .banner-success-container {
    transform: scale(1) translateY(0);
}

/* En-tête du popup avec gradient et icône animée */
.banner-success-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 32px 32px 24px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-success-header.restore{
  background: linear-gradient(135deg, #1072b9 0%, #059669 100%);
}

.banner-success-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: banner-success-shimmer 3s ease-in-out infinite;
}

@keyframes banner-success-shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(180deg); }
}

.banner-success-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    position: relative;
    z-index: 1;
    animation: banner-success-bounce 0.6s ease-out 0.2s both;
}

@keyframes banner-success-bounce {
    0% { transform: scale(0) rotate(-180deg); }
    50% { transform: scale(1.2) rotate(-90deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.banner-success-icon i {
    font-size: 36px;
    color: white;
    animation: banner-success-pulse 2s ease-in-out infinite;
}

@keyframes banner-success-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.banner-success-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    position: relative;
    z-index: 1;
    animation: banner-success-slide-up 0.5s ease-out 0.4s both;
}

.banner-success-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    position: relative;
    z-index: 1;
    animation: banner-success-slide-up 0.5s ease-out 0.6s both;
}

@keyframes banner-success-slide-up {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Corps du popup */
.banner-success-body {
    padding: 32px;
}

.banner-success-message {
    color: #e5e7eb;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    margin: 0 0 24px 0;
    animation: banner-success-fade-in 0.5s ease-out 0.8s both;
}

@keyframes banner-success-fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Informations détaillées */
.banner-success-details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
    animation: banner-success-fade-in 0.3s ease-out 0.3s both;
}

.banner-success-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-success-detail-item:last-child {
    border-bottom: none;
}

.banner-success-detail-label {
    color: #9ca3af;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-success-detail-value {
    color: #10b981;
    font-weight: 600;
    font-size: 14px;
}

/* Bouton d'action */
.banner-success-actions {
    display: flex;
    justify-content: center;
    padding: 0 32px 32px 32px;
}

.banner-success-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: banner-success-fade-in 0.3s ease-out 0.3s both;
    min-width: 160px;
    justify-content: center;
}
.banner-success-btn.restore{
background: linear-gradient(135deg, #1072b9 0%, #059669 100%);
}
.banner-success-btn.restore:hover{
background: linear-gradient(135deg, #1072b9 0%, #059669 100%);
}

.banner-success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.banner-success-btn:active {
    transform: translateY(0);
}

.banner-success-btn i {
    font-size: 18px;
}

/* Bouton de fermeture */
.banner-success-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    z-index: 2;
}

.banner-success-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: rotate(90deg);
}

/* Animations d'entrée/sortie */
.banner-success-overlay.banner-success-hide {
    opacity: 0;
    visibility: hidden;
}

.banner-success-overlay.banner-success-hide .banner-success-container {
    transform: scale(0.8) translateY(-20px);
}

/* Responsive */
@media (max-width: 640px) {
    .banner-success-container {
        width: 95%;
        margin: 20px;
    }
    
    .banner-success-header {
        padding: 24px 24px 20px 24px;
    }
    
    .banner-success-body {
        padding: 24px;
    }
    
    .banner-success-actions {
        padding: 0 24px 24px 24px;
    }
    
    .banner-success-title {
        font-size: 24px;
    }
    
    .banner-success-icon {
        width: 60px;
        height: 60px;
    }
    
    .banner-success-icon i {
        font-size: 28px;
    }
}






















/* ================================
   PREMIUM STATUS - STYLES SIMPLES
   ps = premium status (préfixe)
   ================================ */

/* Base commune pour tous les statuts */
.ps-status {
    border-radius: 12px;
    padding: 14px 16px;
    margin: 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* ================================
   STATUT PREMIUM ACTIF
   ================================ */
.ps-status.ps-active {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 2px solid #ffc107;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Barre animée en haut */
.ps-status.ps-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9800, #ffc107, #ff9800);
    background-size: 200% 100%;
    animation: ps-shimmer 3s linear infinite;
}

@keyframes ps-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Icône couronne */
.ps-status.ps-active .ps-icon-wrapper {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.3);
}

/* Contenu texte */
.ps-status.ps-active .ps-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ps-status.ps-active .ps-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e65100;
}

.ps-status.ps-active .ps-date {
    font-size: 14px;
    font-weight: 700;
    color: #bf360c;
}

/* ================================
   STATUT EN ATTENTE
   ================================ */
.ps-status.ps-pending {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

/* Barre bleue en haut */
.ps-status.ps-pending::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #1976d2;
}

/* Header avec icône */
.ps-status.ps-pending .ps-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(33, 150, 243, 0.2);
    font-size: 13px;
    font-weight: 600;
    color: #0d47a1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ps-status.ps-pending .ps-header i {
    color: #1565c0;
    animation: ps-pulse 2s ease-in-out infinite;
}

@keyframes ps-pulse {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* Grille d'informations */
.ps-status.ps-pending .ps-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
}

.ps-status.ps-pending .ps-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.6);
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.ps-status.ps-pending .ps-info-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #1565c0;
    opacity: 0.8;
}

.ps-status.ps-pending .ps-info-value {
    font-size: 13px;
    font-weight: 700;
    color: #0d47a1;
}

/* Position spéciale */
.ps-status.ps-pending .ps-info-item:first-child .ps-info-value {
    font-size: 16px;
    color: #1976d2;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 480px) {
    .ps-status {
        padding: 12px;
        font-size: 12px;
    }
    
    .ps-status.ps-active .ps-icon-wrapper {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .ps-status.ps-pending .ps-info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .ps-status.ps-pending .ps-info-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
















/*////////////////////////////////////////////////////////////////*
 * 🍪 NoraDrops Cookie Management System - Styles CSS
 * Gestion moderne et conforme RGPD des cookies
/////////////////////////////////////////////////////////////// */

.cookie-banner {
  position: fixed;
  bottom: -600px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
  border: 1px solid rgba(112, 112, 112, 0.3);
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  z-index: 99999;
  width: 90%;
  max-width: 500px;
  transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  backdrop-filter: blur(10px);
}

.cookie-banner.show {
  bottom: 20px;
}

.cookie-banner.animate-in {
  animation: cookieBounce 0.6s ease;
}

@keyframes cookieBounce {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.02); }
}

.cookie-banner-content {
  padding: 20px;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.cookie-icon {
  font-size: 28px;
  margin-right: 12px;
  animation: cookieRotate 3s infinite;
}

@keyframes cookieRotate {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

.cookie-banner-header h3 {
  color: #fff;
  font-size: 20px;
  margin: 0;
  flex: 1;
}

.cookie-close-btn {
  background: none;
  border: none;
  color: #707070;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  transition: all 0.3s ease;
}

.cookie-close-btn:hover {
  color: #fff;
  transform: rotate(90deg);
}

.cookie-description {
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.cookie-categories {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
  margin-bottom: 20px;
}

.cookie-categories::-webkit-scrollbar {
  width: 6px;
}

.cookie-categories::-webkit-scrollbar-track {
  background: rgba(112, 112, 112, 0.1);
  border-radius: 3px;
}

.cookie-categories::-webkit-scrollbar-thumb {
  background: #707070;
  border-radius: 3px;
}

.cookie-category {
  background: rgba(112, 112, 112, 0.1);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.cookie-category:hover {
  background: rgba(112, 112, 112, 0.15);
  transform: translateX(5px);
}

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

.cookie-category-info h4 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-category-info h4 i {
  color: #f0b90b;
}

.cookie-category-info p {
  color: #909090;
  font-size: 12px;
  margin: 0;
}

.cookie-category-details {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(112, 112, 112, 0.2);
}

.cookie-category-details p {
  color: #808080;
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

/* Switch toggle */
.cookie-switch {
  position: relative;
}

.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch label {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  background: #404040;
  border-radius: 34px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-switch label::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cookie-switch input:checked + label {
  background: linear-gradient(135deg, #f0b90c 0%, #9f7a05 100%);
}

.cookie-switch input:checked + label::after {
  transform: translateX(24px);
}

.cookie-switch.disabled label {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f0b90b !important;
}

.cookie-banner-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn-secondary {
  background: transparent;
  color: #909090;
  border: 1px solid #404040;
}

.cookie-btn-secondary:hover {
  background: rgba(112, 112, 112, 0.1);
  border-color: #707070;
  color: #fff;
}

.cookie-btn-primary {
  background: #707070;
  color: #fff;
}

.cookie-btn-primary:hover {
  background: #808080;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(112, 112, 112, 0.3);
}

.cookie-btn-accent {
  background: linear-gradient(135deg, #f0b90b 0%, #a57e03 100%);
  color: #fff;
}

.cookie-btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Notification toast */
.cookie-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
  border: 1px solid rgba(112, 112, 112, 0.3);
  border-radius: 10px;
  padding: 15px 20px;
  color: #fff;
  font-size: 14px;
  z-index: 100000;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-toast.show {
  transform: translateX(0);
}

.cookie-toast.success {
  border-color: #4ade80;
}

.cookie-toast.error {
  border-color: #f87171;
}

/* Bouton flottant pour les paramètres */
#cookieSettingsBtn {
position: fixed;
  bottom: 23px;
  left: 8px;
  background: #ffffff78;
  color: white;
  border: none;
  border-radius: 120px;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  animation: cookieRotate 3s infinite;
  width: 60px;
  height: 60px;
}

#cookieSettingsBtn:hover {
  transform: scale(1.2);
  z-index: 9999;
}

/* Responsive */
@media (max-width: 600px) {
  .cookie-banner {
    width: 95%;
    bottom: -700px;
  }
  
  .cookie-banner.show {
    bottom: 10px;
  }
  
  .cookie-banner-footer {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}







/*SUBSCRIB FOOTER SECTION*/

/* ==========================================
   NEWSLETTER POPUP
   ========================================== */
.newsletter-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.newsletter-popup-content {
  position: relative;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 1px solid rgba(234, 207, 102, 0.3);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(234, 220, 102, 0.3);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.newsletter-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.newsletter-popup-close:hover {
  background: rgba(231, 76, 60, 0.8);
  transform: rotate(90deg);
}

.newsletter-popup-header {
  text-align: center;
  margin-bottom: 30px;
}

.newsletter-popup-header i {
  font-size: 50px;
  color: #f0b90b;
  margin-bottom: 15px;
}

.newsletter-popup-header h3 {
  font-size: 24px;
  color: #fff;
  margin: 0;
}

.newsletter-popup-body {
  color: #ccc;
}

.newsletter-popup-body p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.newsletter-popup-description {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  border-left: 3px solid #f0b90b;
}

.newsletter-popup-input-group {
  margin: 25px 0;
}

.newsletter-popup-input-group label {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}

.newsletter-popup-input-group input {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(240, 185, 11, 0.31);
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.newsletter-popup-input-group input:focus {
  outline: none;
  border-color: rgba(240, 185, 11, 0.89);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.newsletter-popup-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #f0b90b 0%, #a68005 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.newsletter-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(234, 220, 102, 0.3);
}

.newsletter-popup-btn:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .newsletter-popup-content {
    padding: 30px 20px;
  }
  
  .newsletter-popup-header h3 {
    font-size: 20px;
  }
}

/* Message d'erreur newsletter */
.newsletter-error {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: shakeError 0.3s ease;
}

.newsletter-error i {
  font-size: 16px;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

/* Input en erreur */
.newsletter-form input.error {
  border-color: #e74c3c;
  animation: shakeInput 0.3s ease;
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
 









/*CAPTCHA - DESIGN UNIFIÉ*/

/* ==========================================
   CAPTCHA - THÈME DORÉ UNIFIÉ
   ========================================== */

.captcha-puzzle-container {
  position: relative;
  width: 100%;
}

.captcha-canvas-wrapper {
  position: relative;
  width: 300px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.2);
  background: #1a1a1a;
  border: 1px dashed rgba(240, 185, 11, 0.3);
}

.captcha-canvas {
  display: block;
  width: 300px !important;
  height: 150px !important;
  max-width: 100% !important;
}

.captcha-puzzle-piece {
  position: absolute;
  top: 0;
  left: 0;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
  width: auto !important;
  height: 150px !important;
}

.captcha-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  z-index: 5;
}

.captcha-loading i {
  font-size: 24px;
  color: #f0b90b;
}

.captcha-status {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  z-index: 10;
}

.captcha-status.success {
  display: flex;
  background: rgba(46, 204, 113, 0.95);
  color: white;
  animation: slideIn 0.3s ease;
}

.captcha-status.error {
  display: flex;
  background: rgba(231, 76, 60, 0.95);
  color: white;
  animation: slideIn 0.3s ease;
}

.captcha-slider-wrapper {
  position: relative;
  width: 300px;
  height: 50px;
  margin: 0 auto;
}

.captcha-slider-track {
  position: absolute;
  width: 100%;
  height: 40px;
  background: linear-gradient(to right, rgba(240, 185, 11, 0.1), rgba(240, 185, 11, 0.2));
  border: 2px solid rgba(240, 185, 11, 0.3);
  border-radius: 25px;
  overflow: hidden;
}

.captcha-slider-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(240, 185, 11, 0.4), rgba(240, 185, 11, 0.6));
  transition: width 0.05s linear;
}

.captcha-slider-button {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 40px;
  background: linear-gradient(135deg, #f0b90b, #a68005);
  border-radius: 25px;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 10;
}

.captcha-slider-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(240, 185, 11, 0.6);
}

.captcha-slider-button.active {
  cursor: grabbing;
  transform: scale(1.1);
}

.captcha-slider-button.success {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.captcha-slider-button.error {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.captcha-slider-text {
position: absolute;
  top: 40%;
  left: 55%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  color: rgba(80, 80, 80, 0.6);
  pointer-events: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.captcha-refresh-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 32px;
  height: 32px;
  background: rgba(240, 185, 11, 0.3);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 11;
  font-size: 14px;
}

.captcha-refresh-btn:hover {
  background: rgba(240, 185, 11, 0.5);
  transform: rotate(180deg);
}

/* ==========================================
   MESSAGE DE SUCCÃˆS DU CAPTCHA
   ========================================== */

.captcha-success-message {
  width: 300px;
  height: 110px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.1));
  border: 2px solid rgba(46, 204, 113, 0.5);
  border-radius: 8px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease;
}

.captcha-success-message.show {
  opacity: 1;
  transform: scale(1);
}

.captcha-success-message .success-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPulse 0.6s ease;
}

.captcha-success-message .success-icon i {
  font-size: 32px;
  color: white;
}

.captcha-success-message h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2ecc71;
}
.captcha-section-login {
  transition: border 0.3s ease;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ==========================================
   SECTIONS CAPTCHA (NEWSLETTER & LOGIN)
   ========================================== */

/* Section pour newsletter popup */
.captcha-section {
  margin: 20px 0;
}

.captcha-section label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #f0b90b;
  margin-bottom: 15px;
  font-size: 14px;
}

.captcha-section label i {
  font-size: 16px;
}
.captcha-section-login label{
  color: #f0b90b;
}
.captcha-section-signup i {
  font-size: 16px;
}
.captcha-section-signup label{
  color: #f0b90b;
}

/* Adapter le captcha aux différents conteneurs */
.login-card .captcha-puzzle-container,
.newsletter-popup-body .captcha-puzzle-container {
  margin: 0;
}

/* Message d'erreur pour le captcha */
.error-message {
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 8px;
  color: #e74c3c;
  font-size: 14px;
  text-align: center;
  display: none;
}

.error-message:not(:empty) {
  display: block;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
  .captcha-canvas-wrapper,
  .captcha-slider-wrapper {
    width: 280px;
  }

  .captcha-slider-text {
    font-size: 11px;
  }

  .captcha-section-login {
    padding: 15px;
    margin: 20px 0;
  }
  
  .captcha-success-message {
    width: 280px;
  }
  
  .captcha-success-message .success-icon {
    width: 50px;
    height: 50px;
  }
  
  .captcha-success-message .success-icon i {
    font-size: 26px;
  }
  
  .captcha-success-message h4 {
    font-size: 16px;
  }
  
  .captcha-success-message p {
    font-size: 13px;
  }
}








/* ================================
   🎨 STYLES POUR LE MODULE DE STATISTIQUES BNB
   ================================ */



.notif-stats-section {
  background: #151515;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notif-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.notif-stats-header h4 {
  margin: 0;
  font-size: 18px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notif-stats-header h4 i {
  color: #707070;
}

.notif-stats-period-buttons {
  display: flex;
  gap: 8px;
  background: #1a1a1a;
  padding: 4px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notif-period-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.notif-period-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.notif-period-btn.active {
  background: linear-gradient(135deg, #707070 0%, #5a5a5a 100%);
  color: white;
  box-shadow: 0 2px 6px rgba(112, 112, 112, 0.3);
}

.notif-period-btn i {
  font-size: 12px;
}

/* Loading et Error states */
.notif-stats-loading,
.notif-stats-error {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.notif-stats-loading i {
  font-size: 32px;
  color: #707070;
  margin-bottom: 10px;
  display: block;
}

.notif-stats-error {
  background: #fff3f3;
  border-radius: 8px;
  color: #e74c3c;
}

.notif-stats-error i {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

.notif-stats-error p {
  margin: 10px 0;
  font-size: 14px;
}

/* Graphique */
.notif-stats-chart-container {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.notif-stats-avg-icon i {
  margin-left:0px;
}

#bnbStatsChart {
  max-height: 300px;
}

/* Moyennes */
.notif-stats-averages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.notif-stats-avg-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notif-stats-avg-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.notif-stats-avg-icon {
  background: linear-gradient(135deg, #707070 0%, #5a5a5a 100%);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(112, 112, 112, 0.3);
}

.notif-stats-avg-icon i {
  font-size: 20px;
}

.notif-stats-avg-content {
  flex: 1;
  min-width: 0;
}

.notif-stats-avg-content h5 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notif-stats-avg-values {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notif-stats-avg-values p {
  margin: 0;
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-stats-avg-bnb {
  font-weight: 600;
  color: #F3BA2F !important;
  font-size: 14px !important;
}

.notif-stats-avg-usd {
  font-weight: 600;
  color: #00D1B2 !important;
}

.notif-stats-avg-ncoin {
  font-weight: 600;
  color: #707070 !important;
}

.notif-stats-avg-tx {
  color: #FF6B6B !important;
}

/* Totaux */
.notif-stats-totals {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.notif-stats-totals h5 {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-stats-totals h5 i {
  color: #707070;
}

.notif-stats-totals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.notif-stats-total-item {
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #242424;
  transition: all 0.3s ease;
}
.notif-stats-total-item i{
   height: 50px;
  font-size: 30px;
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
  color: #9a9a9a;
}

.notif-stats-total-item:hover {
  border-color: #707070;
  transform: translateY(-2px);
}

.notif-stats-total-label {
  display: block;
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-weight: 600;
}

.notif-stats-total-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #9a9a9a;
}

.notif-set-content{
  width: 100%;
}
.notif-stats-content{
  width: 100%;
}
.notif-history-content{
  width: 100%;
}


/* Responsive Design */
@media (max-width: 768px) {
  .notif-stats-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .notif-stats-period-buttons {
    width: 100%;
    justify-content: space-between;
  }

  .notif-period-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 8px;
    font-size: 12px;
  }

  .notif-period-btn span {
    display: none;
  }

  .notif-stats-averages {
    grid-template-columns: 1fr;
  }

  .notif-stats-totals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #bnbStatsChart {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .notif-stats-section {
    padding: 15px;
    margin: 15px 0;
  }

  .notif-stats-chart-container {
    padding: 15px;
  }

  .notif-stats-avg-card {
    padding: 15px;
  }

  .notif-stats-avg-icon {
    width: 40px;
    height: 40px;
  }

  .notif-stats-avg-icon i {
    font-size: 18px;
  }

  .notif-stats-total-value {
    font-size: 18px;
  }
}

/* Animation d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notif-stats-section {
  animation: fadeInUp 0.4s ease-out;
}

/* Styles pour les boutons dans error state */
#retryStats {
  margin-top: 15px;
  padding: 10px 20px;
  background: #707070;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#retryStats:hover {
  background: #5a5a5a;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(112, 112, 112, 0.3);
}

#retryStats:active {
  transform: translateY(0);
}






































