/* ODYSSEE CENTER HOTEL — Bannière cookies CNDP (loi 09-08) */
.oc-cookie-banner,
.oc-cookie-modal {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.oc-cookie-banner *,
.oc-cookie-modal * {
  box-sizing: border-box;
}

/* Bannière en bas d'écran avec couleurs standards passe-partout */
.oc-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  display: none;
  background: #1f2937; /* Gris anthracite standard */
  color: #f9fafb;
  border-top: 1px solid #374151;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  padding: 16px 24px;
}

.oc-cookie-banner.is-visible {
  display: block;
}

.oc-cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.oc-cookie-banner__text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 400;
  color: #e5e7eb;
}

.oc-cookie-banner__text a {
  color: #60a5fa; /* Bleu standard */
  text-decoration: underline;
  margin-left: 6px;
  font-weight: 500;
}

.oc-cookie-banner__text a:hover {
  color: #93c5fd;
}

.oc-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* Boutons universels */
.oc-cookie-btn {
  display: inline-block;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  line-height: 1.4;
  text-align: center;
  transition: all 0.15s ease-in-out;
}

/* Bouton Tout Accepter : Bleu primaire standard */
.oc-cookie-btn--accept {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.oc-cookie-btn--accept:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
}

/* Bouton Tout Refuser : Gris neutre standard */
.oc-cookie-btn--refuse {
  background: #374151;
  color: #f3f4f6;
  border-color: #4b5563;
}

.oc-cookie-btn--refuse:hover {
  background: #4b5563;
  border-color: #6b7280;
  color: #ffffff;
}

/* Bouton Personnaliser : Blanc épuré standard */
.oc-cookie-btn--customize {
  background: #ffffff;
  color: #1f2937;
  border-color: #d1d5db;
}

.oc-cookie-btn--customize:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #111827;
}

/* Bouton Enregistrer Choix */
.oc-cookie-btn--save {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.oc-cookie-btn--save:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

/* Bouton Annuler Modal */
.oc-cookie-btn--ghost {
  background: transparent;
  color: #9ca3af;
  border-color: #4b5563;
}

.oc-cookie-btn--ghost:hover {
  color: #f3f4f6;
  border-color: #6b7280;
}

/* Pastille flottante "Gérer les cookies" */
.oc-cookie-manage {
  display: none;
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 10040;
  background: #1f2937;
  color: #f9fafb;
  border: 1px solid #374151;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.oc-cookie-manage.is-visible {
  display: inline-flex;
  align-items: center;
}

.oc-cookie-manage:hover {
  background: #374151;
  color: #ffffff;
}

/* Modal Personnaliser */
.oc-cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: rgba(15, 23, 42, 0.7);
  padding: 24px 16px;
  overflow-y: auto;
}

.oc-cookie-modal.is-visible {
  display: block;
}

.oc-cookie-modal__dialog {
  background: #1e293b;
  color: #f8fafc;
  max-width: 620px;
  margin: 50px auto;
  border-radius: 8px;
  border: 1px solid #334155;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  padding: 24px;
  position: relative;
}

.oc-cookie-modal__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.oc-cookie-modal__intro {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 20px;
}

.oc-cookie-option {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.oc-cookie-option__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.oc-cookie-option__label {
  font-size: 13.5px;
  font-weight: 600;
  margin: 0;
  color: #f1f5f9;
}

.oc-cookie-option__desc {
  font-size: 12px;
  color: #94a3b8;
  margin: 6px 0 0;
  line-height: 1.5;
}

.oc-cookie-option input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #2563eb;
  cursor: pointer;
}

.oc-cookie-option input[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.oc-cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.oc-cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.oc-cookie-modal__close:hover {
  color: #ffffff;
}

@media (max-width: 767px) {
  .oc-cookie-banner {
    padding: 14px 16px;
  }

  .oc-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .oc-cookie-banner__actions {
    width: 100%;
    gap: 8px;
  }

  .oc-cookie-btn {
    flex: 1 1 100%;
    padding: 10px 12px;
  }

  .oc-cookie-manage {
    left: 12px;
    bottom: 12px;
  }
}
