/* Personnalisation Tarteaucitron pour Polyton */

/* Bannière principale */
#tarteaucitronAlertBig {
  background: #ffffff !important;
  border-top: 3px solid #8b5cf6 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
  padding: 24px 32px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Texte principal */
#tarteaucitronDisclaimerAlert,
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  color: #1f2937 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  margin-bottom: 16px !important;
}

/* Lien politique de confidentialité */
#tarteaucitronAlertBig a,
#tarteaucitronPrivacyUrl {
  color: #8b5cf6 !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

#tarteaucitronAlertBig a:hover,
#tarteaucitronPrivacyUrl:hover {
  color: #7c3aed !important;
}

/* Conteneur des boutons */
#tarteaucitronAlertBig button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin: 4px 8px !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
}

/* Bouton "Tout accepter" */
#tarteaucitronAlertBig #tarteaucitronPersonalize2 {
  background: #8b5cf6 !important;
  color: #ffffff !important;
}

#tarteaucitronAlertBig #tarteaucitronPersonalize2:hover {
  background: #7c3aed !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4) !important;
}

/* Bouton "Tout refuser" */
#tarteaucitronAlertBig #tarteaucitronAllDenied2 {
  background: #6b7280 !important;
  color: #ffffff !important;
}

#tarteaucitronAlertBig #tarteaucitronAllDenied2:hover {
  background: #4b5563 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3) !important;
}

/* Bouton "Personnaliser" */
#tarteaucitronAlertBig #tarteaucitronCloseAlert {
  background: transparent !important;
  color: #1f2937 !important;
  border: 2px solid #d1d5db !important;
}

#tarteaucitronAlertBig #tarteaucitronCloseAlert:hover {
  background: #f3f4f6 !important;
  border-color: #8b5cf6 !important;
  color: #8b5cf6 !important;
  transform: translateY(-1px) !important;
}

/* Icône flottante */
#tarteaucitronIcon {
  background: #8b5cf6 !important;
  border: 2px solid #7c3aed !important;
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3) !important;
}

#tarteaucitronIcon:hover {
  background: #7c3aed !important;
}

/* Panneau de personnalisation */
#tarteaucitron {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

#tarteaucitron #tarteaucitronServices {
  max-height: 60vh !important;
}

/* Titre du panneau */
#tarteaucitron #tarteaucitronInfo {
  background: #8b5cf6 !important;
  color: #ffffff !important;
  padding: 20px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

/* Services */
.tarteaucitronLine {
  background: #f9fafb !important;
  border-bottom: 1px solid #e5e7eb !important;
  padding: 16px !important;
}

.tarteaucitronLine:hover {
  background: #f3f4f6 !important;
}

.tarteaucitronName {
  color: #1f2937 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}

/* Boutons dans le panneau */
.tarteaucitronAllow,
.tarteaucitronDeny {
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.tarteaucitronAllow {
  background: #8b5cf6 !important;
  color: #ffffff !important;
}

.tarteaucitronAllow:hover {
  background: #7c3aed !important;
}

.tarteaucitronDeny {
  background: #6b7280 !important;
  color: #ffffff !important;
}

.tarteaucitronDeny:hover {
  background: #4b5563 !important;
}

/* Responsive */
@media (max-width: 768px) {
  #tarteaucitronAlertBig {
    padding: 20px 16px !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  #tarteaucitronAlertBig button {
    padding: 10px 20px !important;
    font-size: 13px !important;
    margin: 4px !important;
    display: block !important;
    width: calc(100% - 8px) !important;
    box-sizing: border-box !important;
  }

  #tarteaucitronDisclaimerAlert {
    font-size: 14px !important;
    word-wrap: break-word !important;
  }

  #tarteaucitron {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
}
