/* =========================
   COOKIE CONSENT
========================= */

.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
}

.cookie-consent.show {
  display: flex;
}

.cookie-box {
  width: min(100%, 520px);

  padding: 34px;

  border-radius: 24px;

  background: #ffffff;

  color: #1f2937;

  box-shadow: 0 24px 70px rgba(0,0,0,0.25);
}

.cookie-box h2 {
  margin-bottom: 16px;

  font-size: 2rem;
  font-weight: 800;

  color: #111827;
}

.cookie-box p {
  margin-bottom: 28px;

  font-size: 1rem;
  line-height: 1.8;

  color: #4b5563;
}

.cookie-actions {
  display: grid;
  gap: 14px;
}

.cookie-btn {
  width: 100%;

  padding: 14px 18px;

  border-radius: 14px;

  font-size: 1rem;
  font-weight: 800;

  cursor: pointer;
}

.cookie-btn.accept {
  border: none;

  background: linear-gradient(135deg, #1e3a8a, #2563eb);

  color: #ffffff;
}

.cookie-btn.decline {
  background: #ffffff;

  border: 1px solid rgba(0,0,0,0.18);

  color: #1f2937;
}

@media (max-width: 600px) {
  .cookie-box {
    padding: 26px;
    border-radius: 20px;
  }

  .cookie-box h2 {
    font-size: 1.7rem;
  }
}