.fc-consent,
.fc-consent * { box-sizing: border-box; }

.fc-consent {
  position: fixed;
  inset: auto 18px 18px;
  z-index: 2147483646;
  max-width: 520px;
  padding: 22px;
  border: 1px solid rgba(7, 26, 89, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .98);
  color: #071a59;
  box-shadow: 0 20px 60px rgba(7, 26, 89, .22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fc-consent[hidden] { display: none !important; }
.fc-consent__eyebrow { margin: 0 0 7px; color: #ef5361; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.fc-consent h2 { margin: 0 0 8px; color: #071a59; font-size: 25px; line-height: 1.08; }
.fc-consent p { margin: 0; color: #526078; font-size: 15px; line-height: 1.5; }
.fc-consent details { margin-top: 13px; color: #526078; font-size: 13px; line-height: 1.45; }
.fc-consent summary { width: max-content; cursor: pointer; color: #163a70; font-weight: 750; }
.fc-consent details p { margin-top: 7px; font-size: 13px; }
.fc-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.fc-consent__button { min-height: 48px; padding: 11px 14px; border: 2px solid #1474ee; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 800; }
.fc-consent__button--necessary { background: #fff; color: #0b2d61; }
.fc-consent__button--accept { background: #1474ee; color: #fff; }
.fc-consent__button:focus-visible,
.fc-consent-settings:focus-visible { outline: 3px solid #ef5361; outline-offset: 3px; }

.fc-consent-settings {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 2147483645;
  padding: 8px 11px;
  border: 1px solid rgba(7, 26, 89, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #526078;
  box-shadow: 0 5px 18px rgba(7, 26, 89, .1);
  cursor: pointer;
  font: 700 12px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
}

@media (max-width: 600px) {
  .fc-consent { inset: auto 10px 10px; max-width: none; padding: 19px; border-radius: 21px; }
  .fc-consent h2 { font-size: 22px; }
  .fc-consent__actions { grid-template-columns: 1fr; }
  .fc-consent__button--accept { order: -1; }
  .fc-consent-settings { left: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .fc-consent:not([hidden]) { animation: fc-consent-in .28s ease-out both; }
  @keyframes fc-consent-in { from { opacity: 0; transform: translateY(12px); } }
}
