/* ================================================
   BANDEAU CONSENTEMENT COOKIES — RGPD / CNIL
   Petit rectangle bas-gauche (ne gêne pas le chatbot)
   ORYX TRANSPORT LOGISTICS
================================================ */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  z-index: 9998; /* Sous le chatbot (9999) */
  width: 340px;
  max-width: calc(100vw - 48px);
  background: #0a192f;
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: slideUpLeft 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUpLeft {
  from { transform: translateY(20px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1);       opacity: 1; }
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner-text strong {
  display: block;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.cookie-banner-text p {
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: #5eead4;
  color: #0a192f;
  flex: 1;
}

.cookie-btn-accept:hover {
  background: #2dd4bf;
}

.cookie-btn-decline {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex: 1;
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #e0e6f0;
}

.cookie-link {
  display: block;
  text-align: center;
  color: #5eead4;
  font-size: 0.72rem;
  text-decoration: underline;
  margin-top: 2px;
  transition: color 0.2s ease;
}

.cookie-link:hover {
  color: #2dd4bf;
}

@media (max-width: 400px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    width: calc(100vw - 24px);
  }
}
