
.eck-cookie-banner,
.eck-cookie-dialog,
.eck-cookie-settings {
  font-family: inherit;
}

.eck-cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 99990;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(14, 47, 84, .16);
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 60px rgba(7,27,58,.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.eck-cookie-copy {
  max-width: 720px;
}

.eck-cookie-copy strong {
  display: block;
  color: #0b2e59;
  margin-bottom: 5px;
}

.eck-cookie-copy p {
  margin: 0;
  color: #53677f;
  line-height: 1.55;
  font-size: .92rem;
}

.eck-cookie-copy a,
.eck-cookie-legal-links a {
  color: #0b4f91;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.eck-cookie-actions,
.eck-cookie-modal-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.eck-cookie-btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 11px 15px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.eck-cookie-btn-primary {
  background: #163f6d;
  color: #fff;
}

.eck-cookie-btn-secondary {
  background: #edf2f7;
  color: #153758;
}

.eck-cookie-btn-outline {
  background: #fff;
  color: #153758;
  border: 1px solid #b8c7d7;
}

.eck-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.eck-cookie-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,19,35,.58);
  backdrop-filter: blur(4px);
}

.eck-cookie-dialog {
  position: relative;
  z-index: 1;
  width: min(610px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 27px;
  box-shadow: 0 22px 90px rgba(0,0,0,.28);
}

.eck-cookie-dialog h2 {
  color: #0b2e59;
  margin: 6px 0 10px;
}

.eck-cookie-dialog > p {
  color: #596c80;
  line-height: 1.6;
}

.eck-cookie-eyebrow {
  margin: 0 !important;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #30689c !important;
}

.eck-cookie-x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #f2f5f8;
  color: #163f6d;
  font-size: 25px;
  cursor: pointer;
}

.eck-cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid #e3e9ef;
}

.eck-cookie-option strong {
  display: block;
  color: #153758;
}

.eck-cookie-option small {
  display: block;
  color: #68798a;
  line-height: 1.45;
  margin-top: 4px;
}

.eck-cookie-required {
  white-space: nowrap;
  color: #657789;
  font-size: .8rem;
  font-weight: 700;
}

.eck-cookie-option input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #163f6d;
  flex: 0 0 auto;
}

.eck-cookie-modal-actions {
  justify-content: flex-end;
  margin-top: 15px;
}

.eck-cookie-legal-links {
  text-align: center;
  margin: 22px 0 0 !important;
  font-size: .85rem;
}

.eck-cookie-settings {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9000;
  padding: 8px 11px;
  border: 1px solid rgba(14,47,84,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 25px rgba(7,27,58,.10);
  color: #294c70;
  font-size: .76rem;
  cursor: pointer;
}

.cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .eck-cookie-banner {
    left: 10px;
    right: 10px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    padding: 16px;
    border-radius: 16px;
    display: block;
  }

  .eck-cookie-actions {
    margin-top: 14px;
  }

  .eck-cookie-btn {
    flex: 1 1 auto;
  }

  .eck-cookie-settings {
    right: 10px;
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .eck-cookie-dialog {
    padding: 24px 18px;
  }

  .eck-cookie-option {
    align-items: flex-start;
  }
}
