/* =========================
   Minimalist Cookie Banner
   ========================= */

.cookie__container {
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: 400px;
  width: calc(100% - 32px);
  background: #fff;
  color: #2b2b2b;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

.cookie__container.active {
  opacity: 1;
  visibility: visible;
}

.cookie__container h2 {
  font-size: 1.3rem;
  font-weight: 600;
  width: 100%;
  padding: 0;
  margin: 0;
}

.cookie__text {
  font-size: 14px;
}

.cookie__text a {
  color: #3b82f6;
  text-decoration: underline;
  font-size: 14px;
}

.cookie__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cookie__btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
}

.cookie__btn.ghost {
  background: transparent;
  border: 1px solid #9ca3af;
  color: #676b72;
}

.cookie__btn.primary {
  background: #3b82f6;
  color: #fff;
}

.cookie__btn.primary:hover {
  background: #2563eb;
}

/* Mobile */
@media (max-width: 480px) {
  .cookie__container {
    width: calc(100% - 24px);
    padding: 12px 16px;
  }
  .cookie__actions {
    flex-direction: column;
  }
  .cookie__btn {
    width: 100%;
    text-align: center;
  }
}
