/* ========================================
   BANDEAU COOKIE - STYLE AZIMUT
   Fichier : squelettes/css/cookie-banner.css
   ======================================== */

#azimut-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #5D2E46 0%, #4A2339 100%);
  color: #ffffff;
  padding: 0;
  z-index: 99999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease-out;
}

#azimut-cookie-banner.visible {
  transform: translateY(0);
}

#azimut-cookie-banner.hiding {
  transform: translateY(100%);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner-text h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-banner-text a {
  color: #F5A623;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: #FFD093;
}

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: #E94E1B;
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background: #FF6A3D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 78, 27, 0.4);
}

.cookie-btn-refuse {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cookie-btn-refuse:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Bouton pour réouvrir */
#azimut-cookie-settings {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #5D2E46;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 99998;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

#azimut-cookie-settings:hover {
  background: #E94E1B;
  transform: scale(1.1);
}

#azimut-cookie-settings svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

#azimut-cookie-settings.visible {
  display: flex;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner-content {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
}