/* ============================================================
   LexDesk consent banner — bottom-floating, brand-aligned.
   Inter Tight font (already loaded), navy/beige palette.
   ============================================================ */

.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 24px);
  width: calc(100% - 32px);
  max-width: 560px;
  background: #FFFFFF;
  color: #0A1420;
  border: 1px solid rgba(4, 31, 58, 0.12);
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 40px -12px rgba(4, 31, 58, 0.18),
    0 6px 14px -8px rgba(87, 59, 47, 0.10);
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  letter-spacing: -0.005em;
  z-index: 2147483646;
  opacity: 0;
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}

.consent-banner--show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.consent-banner--hide {
  opacity: 0;
  transform: translate(-50%, 24px);
  pointer-events: none;
}

.consent-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
}

.consent-banner__text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #5E6B7A;
}

.consent-banner__text strong {
  color: #041F3A;
  font-weight: 500;
}

.consent-banner__more {
  color: #573B2F;
  text-decoration: underline;
  text-decoration-color: rgba(87, 59, 47, 0.25);
  text-underline-offset: 2px;
  white-space: nowrap;
}

.consent-banner__more:hover {
  text-decoration-color: rgba(87, 59, 47, 0.6);
}

.consent-banner__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.consent-banner__btn {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .1s ease, color .15s ease;
  border: 1px solid transparent;
}

.consent-banner__btn:active {
  transform: translateY(1px);
}

.consent-banner__btn--ghost {
  background: transparent;
  border-color: rgba(4, 31, 58, 0.18);
  color: #5E6B7A;
}

.consent-banner__btn--ghost:hover {
  border-color: rgba(4, 31, 58, 0.32);
  color: #041F3A;
}

.consent-banner__btn--primary {
  background: #041F3A;
  color: #E6D9C6;
  border-color: #041F3A;
}

.consent-banner__btn--primary:hover {
  background: #0a2a4d;
  border-color: #0a2a4d;
}

@media (max-width: 480px) {
  .consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    transform: translate(0, 24px);
    max-width: none;
  }

  .consent-banner--show {
    transform: translate(0, 0);
  }

  .consent-banner--hide {
    transform: translate(0, 24px);
  }

  .consent-banner__btn {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner {
    transition: none;
  }
}
