.cookie-banner,
.cookie-modal-overlay {
  font-family: "Jost", "Avant Garde Gothic Pro", Helvetica, Arial, sans-serif;
}

.cookie-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  color: #ffffff;
  background: #001a41;
  border: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 -3px 18px rgba(0, 0, 0, 0.14);
}
.cookie-banner.active { display: block; }
.cookie-banner__inner { width: min(1415px, calc(100% - 40px)); min-height: 136px; margin: 0 auto; display: flex; align-items: center; gap: 30px; padding: 22px 0; }
.cookie-banner__text { flex: 0 1 594px; min-width: 0; }
.cookie-banner p { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.42; }
.cookie-banner a { color: #18bde6; font-weight: 700; text-decoration: underline; }
.cookie-banner__table-wrap { display: none; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.cookie-table th, .cookie-table td { padding: 7px; border: 1px solid #e8ecf2; text-align: left; vertical-align: top; }
.cookie-table th { color: #001a41; background: #f5f7fa; font-weight: 600; }
.cookie-banner__actions,
.cookie-modal__footer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-banner__actions { flex: 1 0 auto; justify-content: flex-end; gap: 8px; }
.cookie-banner button,
.cookie-modal button { font: inherit; cursor: pointer; }
.cookie-banner button { min-height: 44px; padding: 10px 30px; border-radius: 6px; font-size: 14px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.cookie-modal__footer button { border: 0; padding: 11px 16px; border-radius: 20px 20px 20px 0; font-weight: 600; line-height: 1.25; }
.cookie-banner .cookie-btn--accept { color: #001a41; background: #18bde6; }
.cookie-banner .cookie-btn--reject,
.cookie-banner .cookie-btn--preferences { color: #ffffff; background: transparent; border: 1px solid #a8a8a8 !important; }
.cookie-banner .cookie-btn--preferences { width: auto; }
.cookie-modal .cookie-btn--accept,
.cookie-modal .cookie-btn--save { color: #ffffff; background: #001a41; }
.cookie-modal .cookie-btn--reject { color: #001a41; background: #e8ecf2; }
.cookie-banner button:hover,
.cookie-modal button:hover { filter: brightness(1.08); }
.cookie-banner button:focus-visible,
.cookie-modal button:focus-visible,
.cookie-modal input:focus-visible { outline: 3px solid #18bde6; outline-offset: 3px; }

.cookie-modal-overlay { display: none; position: fixed; inset: 0; z-index: 1200; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 26, 65, 0.66); }
.cookie-modal-overlay.active { display: flex; }
.cookie-modal { width: min(680px, 100%); max-height: 90vh; overflow: auto; background: #ffffff; color: #394650; border-radius: 28px 28px 28px 0; box-shadow: 0 18px 50px rgba(0, 26, 65, 0.3); }
.cookie-modal__header { display: flex; justify-content: space-between; align-items: center; padding: 26px 30px 18px; border-bottom: 1px solid #e8ecf2; }
.cookie-modal__header h2 { margin: 0; color: #001a41; font-size: 23px; }
.cookie-modal__close { border: 0; background: transparent; color: #001a41; font-size: 29px; line-height: 1; }
.cookie-modal__body { padding: 8px 30px; }
.cookie-category { padding: 17px 0; border-bottom: 1px solid #e8ecf2; }
.cookie-category__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-category__title { color: #001a41; font-weight: 600; }
.cookie-category__desc { margin: 8px 0 0; font-size: 13px; line-height: 1.55; }
.cookie-toggle { position: relative; display: inline-flex; flex: 0 0 auto; width: 46px; height: 25px; }
.cookie-toggle input { position: absolute; opacity: 0; }
.cookie-toggle__slider { width: 100%; border-radius: 20px; background: #c9d1dc; cursor: pointer; transition: background .2s ease; }
.cookie-toggle__slider::before { content: ""; display: block; width: 19px; height: 19px; margin: 3px; border-radius: 50%; background: #ffffff; transition: transform .2s ease; }
.cookie-toggle input:checked + .cookie-toggle__slider { background: #18bde6; }
.cookie-toggle input:checked + .cookie-toggle__slider::before { transform: translateX(21px); }
.cookie-toggle input:disabled + .cookie-toggle__slider { opacity: .8; cursor: not-allowed; }
.cookie-modal__footer { justify-content: flex-end; padding: 20px 30px 26px; }

@media (max-width: 720px) {
  .cookie-banner__inner { display: block; width: calc(100% - 32px); padding: 20px 0; }
  .cookie-table, .cookie-table tbody, .cookie-table tr, .cookie-table td { display: block; }
  .cookie-table { font-size: 12px; }
  .cookie-table thead { display: none; }
  .cookie-table tr { margin-top: 10px; border: 1px solid #e8ecf2; }
  .cookie-table td { display: flex; justify-content: space-between; gap: 12px; border: 0; border-bottom: 1px solid #e8ecf2; }
  .cookie-table td:last-child { border-bottom: 0; }
  .cookie-table td::before { content: attr(data-label); flex: 0 0 38%; color: #001a41; font-weight: 600; }
  .cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 15px; }
  .cookie-banner button { min-height: 44px; padding: 10px 12px; white-space: normal; }
  .cookie-banner__actions button { width: 100%; }
  .cookie-btn--preferences { grid-column: 1 / -1; }
  .cookie-modal-overlay { padding: 12px; }
  .cookie-modal__header, .cookie-modal__body, .cookie-modal__footer { padding-left: 20px; padding-right: 20px; }
  .cookie-modal__footer { display: grid; }
  .cookie-modal__footer button { width: 100%; }
}

@media (min-width: 721px) and (max-width: 1400px) {
  .cookie-banner__inner { gap: 18px; }
  .cookie-banner__text { flex-basis: 46%; }
  .cookie-banner button { padding-left: 16px; padding-right: 16px; font-size: 13px; }
}
