/* ============================================
   QUÊTES PERSONNALISÉES - Styles Interface Parrain
   ============================================ */

/* ========================================
   STATISTIQUES
   ======================================== */

.quetes-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(30, 144, 255, 0.3);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.stat-info {
  flex: 1;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.stat-actives .stat-value {
  color: #00ff88;
}

.stat-completions .stat-value {
  color: #ffaa00;
}

.stat-attente .stat-value {
  color: #ff6b6b;
}

.stat-inactives .stat-value {
  color: #888;
}

/* ========================================
   CARTES DE QUÊTES
   ======================================== */

.quete-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quete-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #1e90ff, #00bfff);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quete-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(30, 144, 255, 0.4);
  transform: translateX(5px);
}

.quete-card:hover::before {
  opacity: 1;
}

.quete-card.quete-inactive {
  opacity: 0.6;
}

.quete-card.quete-inactive::before {
  background: linear-gradient(180deg, #666, #888);
}

.quete-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 20px;
}

.quete-header-left {
  flex: 1;
}

.quete-header-right {
  display: flex;
  align-items: center;
}

.quete-titre {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.quete-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-type {
  background: rgba(30, 144, 255, 0.2);
  color: #4da6ff;
}

.badge-mode {
  background: rgba(138, 43, 226, 0.2);
  color: #b794f6;
}

.badge-visibilite {
  background: rgba(255, 165, 0, 0.2);
  color: #ffb84d;
}

.badge-actif {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

.badge-inactif {
  background: rgba(136, 136, 136, 0.2);
  color: #aaa;
}

.quete-xp {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.xp-icon {
  font-size: 1.3rem;
}

.xp-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffd700;
}

.quete-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.quete-expiration,
.quete-cascade {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.expiration-passee {
  color: #ff4444;
}

.expiration-aujourdhui {
  color: #ffaa00;
}

.expiration-proche {
  color: #ffcc00;
}

.expiration-normale {
  color: rgba(255, 255, 255, 0.6);
}

.cascade-icon {
  font-size: 1.1rem;
}

.quete-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
}

.quete-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

.quete-stat .stat-icon {
  font-size: 1.2rem;
}

.quete-stat.stat-attente {
  color: #ffaa00;
  font-weight: 600;
}

.quete-stat.stat-validees {
  color: #00ff88;
}

.quete-stat.stat-refusees {
  color: #ff6b6b;
}

.quete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-action {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-action:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-voir {
  border-color: rgba(30, 144, 255, 0.3);
  background: rgba(30, 144, 255, 0.1);
}

.btn-voir:hover {
  border-color: rgba(30, 144, 255, 0.5);
  background: rgba(30, 144, 255, 0.2);
}

.btn-valider {
  border-color: rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
}

.btn-valider:hover {
  border-color: rgba(0, 255, 136, 0.5);
  background: rgba(0, 255, 136, 0.2);
}

.btn-modifier {
  border-color: rgba(255, 165, 0, 0.3);
  background: rgba(255, 165, 0, 0.1);
}

.btn-modifier:hover {
  border-color: rgba(255, 165, 0, 0.5);
  background: rgba(255, 165, 0, 0.2);
}

.btn-pause {
  border-color: rgba(255, 165, 0, 0.3);
  background: rgba(255, 165, 0, 0.1);
}

.btn-pause:hover {
  border-color: rgba(255, 165, 0, 0.5);
  background: rgba(255, 165, 0, 0.2);
}

.btn-play {
  border-color: rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.1);
}

.btn-play:hover {
  border-color: rgba(0, 255, 136, 0.5);
  background: rgba(0, 255, 136, 0.2);
}

.btn-supprimer {
  border-color: rgba(255, 68, 68, 0.3);
  background: rgba(255, 68, 68, 0.1);
}

.btn-supprimer:hover {
  border-color: rgba(255, 68, 68, 0.5);
  background: rgba(255, 68, 68, 0.2);
}

/* ========================================
   VALIDATIONS
   ======================================== */

.validation-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.validation-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(30, 144, 255, 0.3);
}

.validation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  gap: 15px;
}

.validation-filleul {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filleul-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e90ff, #00bfff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  text-transform: uppercase;
}

.filleul-info {
  flex: 1;
}

.filleul-nom {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 3px;
}

.filleul-email {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.validation-date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.validation-quete {
  background: rgba(30, 144, 255, 0.1);
  border-left: 3px solid #1e90ff;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  color: #4da6ff;
}

.validation-reponse {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.reponse-texte,
.reponse-preuve {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.reponse-image {
  text-align: center;
}

.reponse-image img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.reponse-image img:hover {
  transform: scale(1.05);
}

.btn-voir-image {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(30, 144, 255, 0.2);
  border: 1px solid rgba(30, 144, 255, 0.3);
  border-radius: 6px;
  color: #4da6ff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-voir-image:hover {
  background: rgba(30, 144, 255, 0.3);
  border-color: rgba(30, 144, 255, 0.5);
}

.validation-actions {
  display: flex;
  gap: 10px;
}

.btn-valider-ok,
.btn-valider-refuser {
  flex: 1;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-valider-ok {
  background: linear-gradient(135deg, #00ff88, #00cc6f);
  color: #000;
}

.btn-valider-ok:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

.btn-valider-refuser {
  background: rgba(255, 68, 68, 0.2);
  border: 2px solid rgba(255, 68, 68, 0.3);
  color: #ff4444;
}

.btn-valider-refuser:hover {
  background: rgba(255, 68, 68, 0.3);
  border-color: rgba(255, 68, 68, 0.5);
}

/* ========================================
   DÉTAILS QUÊTE
   ======================================== */

.quete-details {
  color: rgba(255, 255, 255, 0.8);
}

.detail-section {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-section:last-child {
  border-bottom: none;
}

.detail-section h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.detail-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.detail-item strong {
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 5px;
  font-size: 0.85rem;
}

.progressions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.progression-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid;
  border-radius: 6px;
  gap: 15px;
}

.progression-item.progression-en_cours {
  border-left-color: #4da6ff;
}

.progression-item.progression-en_attente_validation {
  border-left-color: #ffaa00;
}

.progression-item.progression-validee {
  border-left-color: #00ff88;
}

.progression-item.progression-refusee {
  border-left-color: #ff4444;
}

.progression-filleul {
  flex: 1;
  font-weight: 500;
  color: #fff;
}

.progression-statut {
  font-size: 0.9rem;
  font-weight: 600;
}

.progression-date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .quetes-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-icon {
    font-size: 2rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .quete-card {
    padding: 20px;
  }

  .quete-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .quete-header-right {
    width: 100%;
  }

  .quete-xp {
    width: 100%;
    justify-content: center;
  }

  .quete-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .quete-actions {
    flex-direction: column;
  }

  .btn-action {
    width: 100%;
    justify-content: center;
  }

  .validation-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .validation-actions {
    flex-direction: column;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .quetes-stats-grid {
    grid-template-columns: 1fr;
  }

  .quete-titre {
    font-size: 1.1rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 3px 8px;
  }

  .filleul-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .progression-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================
   UPLOAD PROGRESS
   ======================================== */

.upload-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.upload-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1e90ff, #00bfff);
  border-radius: 10px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.5);
}

.upload-progress-text {
  text-align: center;
  color: #4da6ff;
  font-size: 0.9rem;
  font-weight: 600;
}

.upload-preview,
.upload-preview-temp {
  margin-top: 15px;
  text-align: center;
}

/* ========================================
   INTERFACE FILLEUL - ONGLETS
   ======================================== */

.quetes-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.quete-tab {
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quete-tab:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.quete-tab.active {
  color: #1e90ff;
  border-bottom-color: #1e90ff;
}

.quetes-tab-content {
  padding: 20px 0;
}

.quetes-tab-panel {
  display: none;
}

.quetes-tab-panel.active {
  display: block;
}

/* ========================================
   INTERFACE FILLEUL - QUÊTES DISPONIBLES
   ======================================== */

.quetes-disponibles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.quete-disponible-card {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.05), rgba(0, 191, 255, 0.05));
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.quete-disponible-card:hover {
  border-color: rgba(30, 144, 255, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.2);
}

.quete-disponible-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 15px;
}

.quete-disponible-titre {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

.quete-disponible-xp {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.quete-disponible-createur {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.quete-disponible-createur strong {
  color: #4da6ff;
}

.quete-disponible-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.quete-disponible-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.btn-accepter-quete {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #00ff88, #00cc6f);
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-accepter-quete:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

/* ========================================
   INTERFACE FILLEUL - MES QUÊTES
   ======================================== */

.mes-quetes-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mes-quetes-section {
  /* Pas de styles spéciaux */
}

.section-titre {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.mes-quetes-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ma-quete-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}

.ma-quete-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.ma-quete-card.ma-quete-en_cours {
  border-left-color: #4da6ff;
}

.ma-quete-card.ma-quete-en_attente_validation {
  border-left-color: #ffaa00;
}

.ma-quete-card.ma-quete-validee {
  border-left-color: #00ff88;
}

.ma-quete-card.ma-quete-refusee {
  border-left-color: #ff4444;
}

.ma-quete-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 15px;
}

.ma-quete-titre {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.ma-quete-statut {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.ma-quete-en_cours .ma-quete-statut {
  color: #4da6ff;
}

.ma-quete-en_attente_validation .ma-quete-statut {
  color: #ffaa00;
}

.ma-quete-validee .ma-quete-statut {
  color: #00ff88;
}

.ma-quete-refusee .ma-quete-statut {
  color: #ff4444;
}

.ma-quete-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.btn-completer-quete,
.btn-retenter-quete {
  width: 100%;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-completer-quete {
  background: linear-gradient(135deg, #1e90ff, #00bfff);
  color: #fff;
}

.btn-completer-quete:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(30, 144, 255, 0.4);
}

.btn-retenter-quete {
  background: rgba(255, 165, 0, 0.2);
  border: 2px solid rgba(255, 165, 0, 0.4);
  color: #ffaa00;
}

.btn-retenter-quete:hover {
  background: rgba(255, 165, 0, 0.3);
  border-color: rgba(255, 165, 0, 0.6);
}

.ma-quete-xp-gagne {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 204, 111, 0.2));
  border: 2px solid rgba(0, 255, 136, 0.3);
  border-radius: 8px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.ma-quete-commentaire {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ma-quete-date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 10px;
  text-align: right;
}

/* ========================================
   CLASSEMENT
   ======================================== */

.classement-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.classement-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.classement-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(30, 144, 255, 0.3);
}

.classement-item.classement-me {
  background: rgba(30, 144, 255, 0.1);
  border-color: rgba(30, 144, 255, 0.4);
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.2);
}

.classement-rank {
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 40px;
  text-align: center;
}

.classement-info {
  flex: 1;
}

.classement-nom {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-me {
  background: linear-gradient(135deg, #1e90ff, #00bfff);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.classement-stats {
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.classement-quetes,
.classement-xp {
  display: flex;
  align-items: center;
  gap: 5px;
}

.classement-xp {
  color: #ffd700;
  font-weight: 600;
}

/* ========================================
   RESPONSIVE FILLEUL
   ======================================== */

@media (max-width: 768px) {
  .quetes-disponibles-list {
    grid-template-columns: 1fr;
  }

  .quetes-tabs {
    gap: 5px;
  }

  .quete-tab {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .classement-rank {
    font-size: 1.2rem;
    min-width: 35px;
  }

  .classement-stats {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .quete-disponible-header {
    flex-direction: column;
  }

  .quete-disponible-xp {
    width: 100%;
    justify-content: center;
  }

  .ma-quete-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================
   CHECKBOX PERSONNALISÉS (Cohérence avec Quêtes Système)
   ======================================== */

/* Checkbox Container */
.custom-quest-checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

/* Hidden Native Input */
.custom-quest-checkbox-input {
  display: none;
}

/* Label */
.custom-quest-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ddd;
  transition: all 0.3s ease;
}

/* Custom Checkbox Icon */
.custom-checkbox-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* Checked State */
.custom-quest-checkbox-input:checked + .custom-quest-checkbox-label .custom-checkbox-icon {
  background: linear-gradient(135deg, #BB86FC 0%, #FF6B35 100%);
  border-color: #BB86FC;
  color: white;
  box-shadow: 0 0 12px rgba(187, 134, 252, 0.6);
  animation: customCheckBounce 0.4s ease;
}

.custom-quest-checkbox-input:checked + .custom-quest-checkbox-label {
  color: #BB86FC;
}

/* Bounce Animation */
@keyframes customCheckBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Hover Effects */
.custom-quest-checkbox-container:hover .custom-quest-checkbox-label {
  color: #FFD700;
}

.custom-quest-checkbox-container:hover .custom-checkbox-icon {
  border-color: rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.1);
}
