/* Credit Insider cookie banner */
.laj-cookie-banner,
.laj-cookie-banner * {
  box-sizing: border-box;
}

.laj-cookie-banner[hidden],
.laj-cookie-trigger[hidden] {
  display: none !important;
}

.laj-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 2147483000;
  width: min(92vw, 560px);
  padding: 22px;
  border: 1px solid rgba(180, 83, 9, 0.24);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 241, 220, 0.98), rgba(255,255,255,0.96));
  color: #143224;
  box-shadow: 0 24px 70px rgba(7, 89, 133, 0.22);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  opacity: 0;
  transform: translate(-50%, 28px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.laj-cookie-banner.laj-cookie-is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.laj-cookie-eyebrow {
  margin: 0 0 6px;
  color: #B45309;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.laj-cookie-title {
  margin: 0 0 10px;
  color: #166534;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
}

.laj-cookie-text {
  margin: 0 0 18px;
  color: #31463b;
  font-size: 15px;
}

.laj-cookie-text a {
  color: #075985;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.laj-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.laj-cookie-actions-end {
  justify-content: flex-end;
  margin-top: 18px;
}

.laj-cookie-btn {
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.laj-cookie-btn:hover,
.laj-cookie-trigger:hover {
  transform: translateY(-1px);
}

.laj-cookie-btn-primary {
  background: linear-gradient(135deg, #B45309, #166534, #075985);
  color: #fff;
  box-shadow: 0 12px 24px rgba(22, 101, 52, 0.22);
}

.laj-cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(7, 89, 133, 0.24);
  color: #166534;
}

.laj-cookie-btn-link {
  background: rgba(7, 89, 133, 0.08);
  color: #075985;
}

.laj-cookie-settings-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.laj-cookie-back {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 89, 133, 0.09);
  color: #075985;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.laj-cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(22, 101, 52, 0.14);
}

.laj-cookie-option strong {
  display: block;
  color: #166534;
  font-size: 15px;
}

.laj-cookie-option span {
  display: block;
  margin-top: 3px;
  color: #52665b;
  font-size: 13px;
}

.laj-cookie-switch {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 30px;
}

.laj-cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.laj-cookie-switch span {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 999px;
  background: #cbd5d1;
  transition: background 180ms ease;
}

.laj-cookie-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 180ms ease;
}

.laj-cookie-switch input:checked + span {
  background: linear-gradient(135deg, #B45309, #166534);
}

.laj-cookie-switch input:checked + span::after {
  transform: translateX(24px);
}

.laj-cookie-trigger {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 2147482999;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(180, 83, 9, 0.22);
  border-radius: 50%;
  background: #FFF1DC;
  color: #166534;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(7, 89, 133, 0.2);
  font-size: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

@media (max-width: 575px) {
  .laj-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 18px;
    border-radius: 20px;
    transform: translateY(28px);
  }

  .laj-cookie-banner.laj-cookie-is-visible {
    transform: translateY(0);
  }

  .laj-cookie-actions,
  .laj-cookie-actions-end {
    display: grid;
    grid-template-columns: 1fr;
  }

  .laj-cookie-btn {
    width: 100%;
  }
}
