/* 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); DISABLED - Performance */
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;
  color: #939393;
  font-weight: 600;
  transform: scale(1.05);
  border: 1px solid #8080803b;
}

.theme-badge-ranking i {
  font-size: 14px;
  color: #f0b90b;
}


/* 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%;
  max-height: 220px; /* Contrôle la hauteur des bannières dans les cards */
  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);
}
