/* ==========================================================================
   Cookie consent — one card, bottom left, gone the moment it is answered.
   Scoped to .ud-consent so nothing here reaches the page itself.
   ========================================================================== */
.ud-consent {
  position: fixed;
  z-index: 9998;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}
.ud-consent[hidden] { display: none; }

.ud-consent-card {
  pointer-events: auto;
  width: min(720px, 100%);
  display: flex;
  align-items: center;
  gap: 26px;
  background: #ffffff;
  color: #12324a;
  border: 1px solid #d7e4ee;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 28px 64px -34px rgba(4, 31, 52, .55), 0 2px 6px rgba(4, 31, 52, .06);
  animation: ud-consent-in .26s ease-out both;
}

@keyframes ud-consent-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ud-consent-title {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #062a45;
}
.ud-consent-copy p { margin: 0; font-size: 12.5px; line-height: 1.65; color: #4a6072; }
.ud-consent-copy a { color: #0a5a8c; font-weight: 700; text-decoration: underline; }
.ud-consent-copy a:hover { color: #083f63; }

.ud-consent-actions { display: flex; gap: 8px; flex: 0 0 auto; }

.ud-consent-btn {
  appearance: none;
  border-radius: 9px;
  padding: 11px 16px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.ud-consent-btn:focus-visible { outline: 2px solid #1d6fff; outline-offset: 2px; }
.ud-consent-btn--quiet {
  background: #fff;
  border: 1px solid #c3d6e4;
  color: #12324a;
}
.ud-consent-btn--quiet:hover { background: #f3f8fc; border-color: #9dbfd6; }
.ud-consent-btn--primary {
  background: #0a3a5b;
  border: 1px solid #0a3a5b;
  color: #fff;
}
.ud-consent-btn--primary:hover { background: #062a45; transform: translateY(-1px); }

/* Leave room for the WhatsApp / call bar on small screens. */
@media (max-width: 760px) {
  .ud-consent { left: 12px; right: 12px; bottom: 78px; }
  .ud-consent-card { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .ud-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ud-consent-btn { padding: 12px 10px; font-size: 12px; }
}

@media print {
  .ud-consent { display: none !important; }
}
