/**
 * 2026 Créa-BOX - Styles Bannière Cookies & Consent Mode v2
 */

.creabox-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  z-index: 999999;
  font-family: inherit;
  box-sizing: border-box;
  animation: creaboxSlideUp 0.35s ease-out forwards;
}

@keyframes creaboxSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.creabox-cookie-container {
  background: #1e293b;
  color: #f8fafc;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.creabox-cookie-title {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.creabox-cookie-text {
  margin: 0 0 16px 0;
  font-size: 13px;
  line-height: 1.5;
  color: #cbd5e1;
}

.creabox-cookie-link {
  color: #38bdf8;
  text-decoration: underline;
  margin-left: 6px;
  font-size: 13px;
}

.creabox-cookie-link:hover {
  color: #7dd3fc;
}

.creabox-cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.creabox-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  line-height: 1.4;
  font-family: inherit;
}

.creabox-btn-secondary {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #475569;
}

.creabox-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: #64748b;
}

.creabox-btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.creabox-btn-primary:hover {
  background: #1d4ed8;
}

@media (max-width: 640px) {
  .creabox-cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .creabox-cookie-actions {
    flex-direction: column-reverse;
  }
  .creabox-btn {
    width: 100%;
    text-align: center;
  }
}
