#wlk-consent-root,
#wlk-consent-root * {
  box-sizing: border-box;
}

#wlk-consent-root {
  position: relative;
  z-index: 100000;
  color: #07101f;
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

.wlk-consent-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  width: min(calc(100% - 2rem), 1120px);
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(164, 213, 238, .24);
  border-radius: 6px;
  background: #0d203a;
  box-shadow: 0 18px 48px rgba(7, 16, 31, .24);
  color: rgba(255, 255, 255, .88);
}

.wlk-consent-banner[hidden],
.wlk-consent-overlay[hidden],
.wlk-consent-settings[hidden] {
  display: none !important;
}

.wlk-consent-copy strong {
  display: block;
  margin-bottom: .25rem;
  color: #fff;
  font-size: .94rem;
}

.wlk-consent-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
  line-height: 1.55;
}

.wlk-consent-copy a {
  color: #a4d5ee;
  text-underline-offset: 3px;
}

.wlk-consent-actions,
.wlk-consent-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
}

.wlk-consent-button,
.wlk-consent-settings {
  min-height: 2.7rem;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.wlk-consent-button:hover,
.wlk-consent-settings:hover {
  transform: translateY(-1px);
}

.wlk-consent-button:focus-visible,
.wlk-consent-settings:focus-visible,
.wlk-consent-close:focus-visible,
.wlk-consent-toggle input:focus-visible + span {
  outline: 2px solid #a4d5ee;
  outline-offset: 3px;
}

.wlk-consent-button--primary {
  border-color: #a4d5ee;
  background: #a4d5ee;
  color: #07101f;
}

.wlk-consent-button--primary:hover {
  border-color: #d5f1ff;
  background: #d5f1ff;
}

.wlk-consent-button--secondary {
  border-color: rgba(255, 255, 255, .38);
  background: transparent;
  color: #fff;
}

.wlk-consent-button--secondary:hover {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
}

.wlk-consent-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 16, 31, .64);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.wlk-consent-modal {
  width: min(100%, 620px);
  max-height: min(90vh, 720px);
  overflow-y: auto;
  border: 1px solid #dbe4ef;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 16, 31, .3);
}

.wlk-consent-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.4rem 1rem;
  border-bottom: 1px solid #dbe4ef;
}

.wlk-consent-modal-header h2 {
  margin: 0;
  color: #07101f;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.wlk-consent-modal-header p {
  margin: .4rem 0 0;
  color: #5f6b7b;
  font-size: .78rem;
  line-height: 1.55;
}

.wlk-consent-close {
  display: grid;
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  padding: 0;
  border: 1px solid #dbe4ef;
  border-radius: 4px;
  background: #fff;
  color: #07101f;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.wlk-consent-preferences {
  padding: .3rem 1.4rem;
}

.wlk-consent-preference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e7edf4;
}

.wlk-consent-preference:last-child {
  border-bottom: 0;
}

.wlk-consent-preference strong {
  display: block;
  color: #102c57;
  font-size: .86rem;
}

.wlk-consent-preference p {
  margin: .25rem 0 0;
  color: #5f6b7b;
  font-size: .74rem;
  line-height: 1.5;
}

.wlk-consent-required {
  color: #385e9d;
  font-size: .7rem;
  font-weight: 700;
}

.wlk-consent-toggle {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.wlk-consent-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.wlk-consent-toggle span {
  position: relative;
  display: block;
  width: 2.8rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background .2s ease;
}

.wlk-consent-toggle span::after {
  content: "";
  position: absolute;
  top: .2rem;
  left: .2rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(7, 16, 31, .22);
  transition: transform .2s ease;
}

.wlk-consent-toggle input:checked + span {
  background: #385e9d;
}

.wlk-consent-toggle input:checked + span::after {
  transform: translateX(1.25rem);
}

.wlk-consent-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem 1.3rem;
  border-top: 1px solid #dbe4ef;
  background: #f7f9fc;
}

.wlk-consent-modal-footer .wlk-consent-button--secondary {
  border-color: #b8c5d5;
  color: #334258;
}

.wlk-consent-modal-footer .wlk-consent-button--secondary:hover {
  border-color: #385e9d;
  background: #eef5fb;
  color: #102c57;
}

.wlk-consent-modal-footer .wlk-consent-button--primary {
  border-color: #385e9d;
  background: #385e9d;
  color: #fff;
}

.wlk-consent-settings {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  min-height: 2.35rem;
  padding: .58rem .78rem;
  border-color: #c8d8e9;
  background: #fff;
  box-shadow: 0 8px 22px rgba(7, 16, 31, .14);
  color: #385e9d;
  font-size: .68rem;
}

body.wlk-consent-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .wlk-consent-banner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .wlk-consent-actions,
  .wlk-consent-modal-actions {
    width: 100%;
  }

  .wlk-consent-actions .wlk-consent-button,
  .wlk-consent-modal-actions .wlk-consent-button {
    flex: 1 1 0;
  }

  .wlk-consent-modal-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .wlk-consent-modal-actions {
    flex-direction: column-reverse;
  }

  .wlk-consent-modal-actions .wlk-consent-button,
  .wlk-consent-modal-footer > .wlk-consent-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .wlk-consent-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .wlk-consent-preference {
    gap: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wlk-consent-button,
  .wlk-consent-settings,
  .wlk-consent-toggle span,
  .wlk-consent-toggle span::after {
    transition: none;
  }
}
