/* ============================================================
   cookie-banner.css  —  Stijl voor de cookiebanner
   ============================================================ */

#cookie-banner {
  display: none;                     /* verborgen totdat cookies.js het toont */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;

  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;

  background: #18181b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 2rem;

  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #a1a1aa;
  line-height: 1.6;
}

#cookie-banner p {
  margin: 0;
  flex: 1 1 300px;
}

#cookie-banner p a {
  color: #7c6ff7;
  text-decoration: none;
}

#cookie-banner p a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn.accept {
  background: #7c6ff7;
  color: #ffffff;
}

.cookie-btn.accept:hover {
  background: #5a50d4;
}

.cookie-btn.decline {
  background: transparent;
  color: #71717a;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

/* ── Mobiel ── */
@media (max-width: 540px) {
  #cookie-banner {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1rem;
    gap: 0.6rem;
  }

  #cookie-banner p {
    font-size: 12px;
    line-height: 1.5;
    flex: 1 1 100%;
  }

  .cookie-buttons {
    width: 100%;
    gap: 0.5rem;
  }

  .cookie-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
  }
}
}
