/* cookie-modal.css — revised for dark site theme */

#cookieModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
}

/* Modal panel */
#cookieModal .modal-content {
  background: #ffffff;
  color: #111111;              /* force dark text */
  padding: 18px 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 420px;
  margin: 8% auto 0 auto;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* Heading */
#cookieModal h2 {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  color: #111111;
}

/* Body text */
#cookieModal p {
  margin: 0 0 12px 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333333;
  text-align: left;
}

/* Links inside modal */
#cookieModal a {
  color: #005fcc;
  text-decoration: none;
  font-weight: 500;
}

#cookieModal a:hover {
  text-decoration: underline;
}

/* Buttons */
#cookieModal button {
  padding: 8px 16px;
  margin: 6px 4px 0 4px;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}

/* Primary button */
#acceptCookies {
  background: #3a7ae0;
  color: #ffffff;
}

#acceptCookies:hover {
  background: #2457a7;
}

/* Secondary / “necessary only” button */
#necessaryCookies {
  background: transparent;
  color: #3a7ae0;
  border: 1px solid #3a7ae0;
}

#necessaryCookies:hover {
  background: rgba(58, 122, 224, 0.08);
}
