/* Cookie-consent banner — Weppas. Zelfstandig component, geen afhankelijkheden. */
.wpc-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 720px;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.18);
  padding: 1.25rem 1.5rem;
  z-index: 100000;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .wpc-banner {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }
}

.wpc-text {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.wpc-text a {
  color: #2962ff;
  text-decoration: underline;
}

.wpc-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.wpc-btn {
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  border: 2px solid #2962ff;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}

/* Accepteren en Weigeren even prominent: zelfde maat, gewicht en rand. */
.wpc-btn-accept {
  background: #2962ff;
  color: #ffffff;
}

.wpc-btn-accept:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.wpc-btn-decline {
  background: #ffffff;
  color: #2962ff;
}

.wpc-btn-decline:hover {
  background: #eff3ff;
}

.wpc-btn:focus-visible {
  outline: 3px solid #2962ff;
  outline-offset: 2px;
}

@media (max-width: 639px) {
  .wpc-actions {
    width: 100%;
  }
  .wpc-btn {
    flex: 1;
  }
}

/* "Cookie-instellingen"-knop in de footer: ziet eruit als de footer-links, maar is
   een echte button (actie, geen navigatie). Eigen class i.p.v. Tailwind-utilities,
   zodat de stijl niet afhangt van wat er wel/niet in de gebundelde CSS is overgebleven. */
.wpc-settings-link {
  font: inherit;
  font-size: 0.75rem;
  color: #6b7280;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.3s;
}

.wpc-settings-link:hover {
  color: #ffffff;
}

.wpc-settings-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
