/* Cookie banner, shared by _base.html pages and the standalone probate.html */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
  padding: 16px 24px;
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--ink-20);
  box-shadow: 0 -8px 24px rgba(26,23,20,0.1);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner p { max-width: 640px; margin: 0; }
.cookie-banner a { color: var(--gold); }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
/* Accept and Reject are deliberately identical: neither choice is nudged. */
.cookie-banner button {
  min-width: 104px;
  padding: 10px 20px;
  font: inherit;
  font-weight: 500;
  color: var(--white);
  background: var(--gold);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.cookie-banner button:hover { background: var(--gold-dark); }
.cookie-banner button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.cookie-settings {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.cookie-settings:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions button { flex: 1; }
}
