.cookie-consent-banner,
.cookie-consent-backdrop,
.cookie-preferences-trigger { font-family: inherit; }
.cookie-consent-banner { position: fixed; z-index: 2147483000; right: 20px; bottom: 20px; left: 20px; display: flex; max-width: 1120px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px; color: #172033; background: rgba(255, 255, 255, 0.98); border: 1px solid rgba(45, 73, 118, 0.18); border-radius: 18px; box-shadow: 0 18px 60px rgba(15, 31, 58, 0.24); backdrop-filter: blur(16px); }
.cookie-consent-copy { max-width: 660px; }
.cookie-consent-copy strong { display: block; margin-bottom: 5px; color: #101828; font-size: 1rem; }
.cookie-consent-copy p,
.cookie-consent-category p,
.cookie-consent-intro { margin: 0; color: #536176; font-size: 0.9rem; line-height: 1.55; }
.cookie-consent-actions,
.cookie-consent-dialog-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-shrink: 0; }
.cookie-button { min-height: 42px; padding: 9px 16px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: 0.88rem; font-weight: 650; cursor: pointer; transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.cookie-button:hover { transform: translateY(-1px); }
.cookie-button:focus-visible,
.cookie-preferences-trigger:focus-visible,
.cookie-consent-close:focus-visible,
.cookie-consent-category-toggle input:focus-visible { outline: 3px solid rgba(30, 103, 210, 0.3); outline-offset: 2px; }
.cookie-button-primary { color: #fff; background: #1467d2; box-shadow: 0 7px 18px rgba(20, 103, 210, 0.24); }
.cookie-button-primary:hover { background: #0d58ba; }
.cookie-button-secondary { color: #145bb8; background: #edf5ff; border-color: #cfe1f7; }
.cookie-button-ghost { color: #48566c; background: transparent; border-color: #d2dae7; }
.cookie-preferences-trigger { position: fixed; z-index: 2147482998; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; color: #334155; background: rgba(255, 255, 255, 0.96); border: 1px solid #d5ddea; border-radius: 999px; box-shadow: 0 8px 28px rgba(15, 31, 58, 0.16); font: inherit; font-size: 0.78rem; font-weight: 650; cursor: pointer; }
.cookie-consent-backdrop { position: fixed; z-index: 2147483001; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(9, 18, 34, 0.58); backdrop-filter: blur(6px); }
.cookie-consent-dialog { width: min(620px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow-y: auto; padding: 26px; color: #172033; background: #fff; border-radius: 20px; box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32); }
.cookie-consent-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cookie-consent-eyebrow { display: block; margin-bottom: 5px; color: #1467d2; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; }
.cookie-consent-dialog h2 { margin: 0; color: #101828; font-size: 1.35rem; }
.cookie-consent-close { width: 38px; height: 38px; color: #64748b; background: #f5f7fa; border: 0; border-radius: 10px; font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.cookie-consent-intro { margin: 16px 0 20px; }
.cookie-consent-category { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 12px; padding: 16px; background: #f7f9fc; border: 1px solid #e2e8f0; border-radius: 14px; }
.cookie-consent-category strong { display: block; margin-bottom: 4px; color: #1e293b; }
.cookie-consent-required { flex-shrink: 0; color: #2f6f48; font-size: 0.76rem; font-weight: 750; }
.cookie-consent-category-toggle { cursor: pointer; }
.cookie-consent-category-toggle input { width: 46px; height: 25px; flex-shrink: 0; accent-color: #1467d2; cursor: pointer; }
.cookie-consent-details { margin: 16px 2px 0; color: #68768b; font-size: 0.78rem; line-height: 1.55; }
.cookie-consent-dialog-actions { margin-top: 22px; }
@media (max-width: 760px) {
  .cookie-consent-banner { right: 12px; bottom: 12px; left: 12px; display: block; padding: 18px; }
  .cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; }
  .cookie-consent-actions .cookie-button-primary { grid-column: 1 / -1; grid-row: 1; }
  .cookie-consent-dialog { padding: 20px; }
  .cookie-consent-category { align-items: flex-start; }
  .cookie-consent-dialog-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-preferences-trigger { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-button { transition: none; }
}
