/* Cookie consent banner and settings panel */

.ls-cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 10050;
  display: none;
  padding: 1rem;
  pointer-events: none;
}

.ls-cookie-banner.is-visible {
  display: block;
}

.ls-cookie-banner__panel {
  pointer-events: auto;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 18, 36, 0.18);
  border: 1px solid rgba(0, 93, 150, 0.15);
}

.ls-cookie-banner__title {
  margin: 0 0 0.5rem;
  color: #005d96;
  font-size: 1.125rem;
  font-weight: 600;
}

.ls-cookie-banner__text {
  margin: 0 0 1rem;
  color: #001224;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ls-cookie-banner__text a {
  color: #ff8b00;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ls-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.ls-cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.2;
}

.ls-cookie-banner__btn--primary {
  background: #005d96;
  color: #fff;
  border-color: #005d96;
}

.ls-cookie-banner__btn--primary:hover {
  background: #004170;
}

.ls-cookie-banner__btn--secondary {
  background: #fff;
  color: #005d96;
  border-color: #005d96;
}

.ls-cookie-banner__btn--secondary:hover {
  background: rgba(0, 93, 150, 0.06);
}

.ls-cookie-banner__btn--ghost {
  background: transparent;
  color: #001224;
  border-color: rgba(0, 18, 36, 0.2);
}

.ls-cookie-banner__btn--ghost:hover {
  background: rgba(0, 18, 36, 0.04);
}

.ls-cookie-banner__settings {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 18, 36, 0.1);
}

.ls-cookie-banner__settings.is-open {
  display: block;
}

.ls-cookie-banner__option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.ls-cookie-banner__option:last-child {
  margin-bottom: 0;
}

.ls-cookie-banner__option input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.ls-cookie-banner__option-label {
  flex: 1;
}

.ls-cookie-banner__option-title {
  display: block;
  font-weight: 600;
  color: #001224;
  font-size: 0.9375rem;
}

.ls-cookie-banner__option-desc {
  display: block;
  margin-top: 0.15rem;
  color: rgba(0, 18, 36, 0.72);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.ls-cookie-banner__option input:disabled {
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .ls-cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ls-cookie-banner__btn {
    width: 100%;
  }
}
