.cb-slidein {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999999;
  max-width: 420px;
  width: calc(100vw - 32px);
  font-family: Arial, sans-serif;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.cb-slidein.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cb-panel {
  background: #132238;
  color: #f7fbff;
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.cb-body {
  padding: 22px 22px 18px;
}

.cb-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #22406b;
  color: #d7e8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cb-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
  color: #f7fbff !important;
}

.cb-copy {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #dbe8f7;
}

.cb-copy a {
  color: #ffffff;
  text-decoration: underline;
}

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

.cb-button {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.cb-button:hover {
  transform: translateY(-1px);
}

.cb-button-primary {
  background: #8df0b8;
  color: #0d2b1c;
}

.cb-button-secondary {
  background: #e8eef6;
  color: #10233b;
}

.cb-button-tertiary {
  background: transparent;
  color: #f7fbff;
  padding-left: 0;
  padding-right: 0;
}

.cb-settings {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cb-settings.is-open {
  display: block;
}

.cb-setting-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.cb-setting-row + .cb-setting-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cb-setting-title {
  display: block;
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.cb-setting-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #c7d8ea;
}

.cb-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 52px;
  height: 32px;
  flex: 0 0 auto;
}

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

.cb-switch-track {
  position: absolute;
  inset: 0;
  background: #5d7492;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.cb-switch-track::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.cb-switch input:checked + .cb-switch-track {
  background: #8df0b8;
}

.cb-switch input:checked + .cb-switch-track::before {
  transform: translateX(20px);
}

.cb-switch.is-disabled {
  opacity: 0.6;
}

.cb-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 22px 22px;
}

.cb-save {
  width: 100%;
}

.cb-teaser {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999998;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cb-teaser.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cb-teaser-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: #132238;
  color: #f7fbff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cb-teaser-button:hover {
  transform: translateY(-1px);
}

.cb-teaser-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(141, 240, 184, 0.18);
  color: #8df0b8;
  flex: 0 0 auto;
}

.cb-teaser-icon svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.cb-teaser-text {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cb-slidein {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .cb-title {
    font-size: 22px;
  }

  .cb-teaser {
    right: 12px;
    bottom: 12px;
  }

  .cb-teaser-button {
    padding: 0;
    width: 46px;
    height: 46px;
    justify-content: center;
  }

  .cb-teaser-text {
    display: none;
  }

  .cb-teaser-icon {
    width: 46px;
    height: 46px;
    background: transparent;
  }
}
