#jdcb-banner,
#jdcb-banner *,
#jdcb-banner *::before,
#jdcb-banner *::after {
  box-sizing: border-box !important;
}

#jdcb-banner {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  left: auto !important;
  top: auto !important;
  z-index: 2147483646 !important;
  width: min(392px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-align: left !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  isolation: isolate !important;
  float: none !important;
  clear: none !important;
}

#jdcb-banner[hidden] {
  display: none !important;
}

#jdcb-banner .jdcb__panel,
#jdcb-banner .jdcb__panel *,
#jdcb-banner .jdcb__panel *::before,
#jdcb-banner .jdcb__panel *::after {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

#jdcb-banner .jdcb__panel {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  background: var(--jdcb-panel, #ffffff) !important;
  color: #171717 !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18) !important;
  padding: 22px 22px 18px !important;
  margin: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  transform: none;
  animation: jdcb-slide-in .32s ease-out !important;
}

#jdcb-banner .jdcb__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(30,39,66,0.02) 100%);
}

#jdcb-banner .jdcb__logo-link {
  all: unset;
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 26px !important;
  height: 26px !important;
  display: block !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

#jdcb-banner .jdcb__logo {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  background-position: center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

#jdcb-banner .jdcb__header {
  display: block !important;
  margin: 0 !important;
  padding: 0 52px 0 0 !important;
}

#jdcb-banner .jdcb__eyebrow {
  all: unset;
  display: block !important;
  margin: 0 0 8px !important;
  color: #6b7280 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

#jdcb-banner .jdcb__header h2,
#jdcb-banner #jdcb-title {
  all: unset;
  display: block !important;
  margin: 0 !important;
  color: var(--jdcb-accent, #1e2742) !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
}

#jdcb-banner .jdcb__content {
  display: block !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
}

#jdcb-banner .jdcb__message,
#jdcb-banner #jdcb-message {
  all: unset;
  display: block !important;
  margin: 0 !important;
  max-width: 330px !important;
  color: #374151 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  white-space: normal !important;
}

#jdcb-banner .jdcb__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

#jdcb-banner .jdcb__button,
#jdcb-banner .jdcb__button:link,
#jdcb-banner .jdcb__button:visited,
#jdcb-banner .jdcb__button:hover,
#jdcb-banner .jdcb__button:active {
  all: unset;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 11px 16px !important;
  border-radius: 999px !important;
  border: 1px solid #d6dae2 !important;
  margin: 0 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-align: center !important;
  white-space: nowrap !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease !important;
}

#jdcb-banner .jdcb__button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

#jdcb-banner .jdcb__button:focus-visible {
  outline: 2px solid rgba(30, 39, 66, 0.22) !important;
  outline-offset: 2px !important;
}

#jdcb-banner .jdcb__button--ghost,
#jdcb-banner .jdcb__button--ghost:link,
#jdcb-banner .jdcb__button--ghost:visited {
  order: 2 !important;
  background: #ffffff !important;
  color: var(--jdcb-accent, #1e2742) !important;
  border-color: #d6dae2 !important;
}

#jdcb-banner .jdcb__button--ghost:active,
#jdcb-banner .jdcb__button--ghost:focus-visible {
  background: var(--jdcb-button-ghost-active, #e5e7eb) !important;
}

#jdcb-banner .jdcb__button--primary {
  order: 1 !important;
  background: var(--jdcb-button, #1e2742) !important;
  color: #ffffff !important;
  border-color: var(--jdcb-button, #1e2742) !important;
}

#jdcb-banner .jdcb__button--primary:active,
#jdcb-banner .jdcb__button--primary:focus-visible {
  background: var(--jdcb-button-active, #16203a) !important;
  border-color: var(--jdcb-button-active, #16203a) !important;
  transform: translateY(0) !important;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.16) !important;
}

@keyframes jdcb-slide-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  #jdcb-banner {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    max-width: none !important;
  }

  #jdcb-banner .jdcb__panel {
    border-radius: 18px !important;
    padding: 20px 18px 16px !important;
  }

  #jdcb-banner .jdcb__logo-link {
    width: 24px !important;
    height: 24px !important;
    top: 14px !important;
    right: 14px !important;
  }

  #jdcb-banner .jdcb__logo {
    width: 24px !important;
    height: 24px !important;
  }

  #jdcb-banner .jdcb__header {
    padding-right: 42px !important;
  }

  #jdcb-banner .jdcb__header h2,
  #jdcb-banner #jdcb-title {
    font-size: 22px !important;
  }
}
