/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: white;
  padding: 1rem 1.5rem;
  display: none;
  align-items: center;
  gap: 1.5rem;
  z-index: 9999;
  flex-wrap: wrap;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
}

.cookie-banner-text {
  flex: 1;
  min-width: 200px;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.cookie-policy-link {
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.cookie-policy-link:hover {
  color: rgba(255,255,255,0.95);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.45rem 1.2rem;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
}

.cookie-btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.45);
}

.cookie-btn--outline:hover {
  border-color: rgba(255,255,255,0.9);
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.cookie-btn--solid {
  background: #0ea5e9;
  color: #fff;
  border: 1.5px solid #0ea5e9;
}

.cookie-btn--solid:hover {
  background: #0284c7;
  border-color: #0284c7;
}

/* Bouton "Modifier mes préférences" dans le footer */
.cookie-reset-btn {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  vertical-align: baseline;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
