/* ======================
   COOKIE BANNER
====================== */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  justify-content: center;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__box {
  max-width: 880px;
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.cookie-banner__content {
  padding: 24px;
}

.cookie-banner__actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.cookie-btn--primary {
  background: #0a5bd3;
  color: #fff;
}

.cookie-btn--secondary {
  background: #f3f4f6;
  color: #111827;
}

.cookie-btn--ghost {
  background: transparent;
  border: 1px solid #d1d5db;
}

/* ======================
   COOKIE MODAL
====================== */

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100000;

  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal__dialog {
  background: #fff;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
}

.cookie-modal__header,
.cookie-modal__footer {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal__body {
  padding: 20px;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* ======================
   BOTÃO FLUTUANTE
====================== */

.cookie-floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99998;

  background: #0a5bd3;
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}