#wpcb-banner-root {
  position: relative;
  z-index: 999999;
}

.wpcb-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  color: var(--wpcb-text, #111827);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.18);
  font-family: var(--wpcb-font, inherit);
  overflow: hidden;
}

.wpcb-top {
  top: 20px;
}

.wpcb-bottom {
  bottom: 20px;
}

.wpcb-content {
  padding: 18px;
}

.wpcb-main {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.wpcb-copy {
  max-width: 590px;
}

.wpcb-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.1);
  color: var(--wpcb-primary, #1d4ed8);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wpcb-copy strong {
  display: block;
  font-size: 18px;
}

.wpcb-content p {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

.wpcb-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
}

.wpcb-btn {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 14px;
  background: #f3f4f6;
  color: #111827;
  cursor: pointer;
  font-weight: 600;
}

.wpcb-btn-primary {
  background: var(--wpcb-primary, #1d4ed8);
  border-color: var(--wpcb-primary, #1d4ed8);
  color: #ffffff;
}

.wpcb-btn-ghost {
  background: #ffffff;
}

.wpcb-btn-link {
  background: transparent;
  border-color: transparent;
  color: #4b5563;
}

.wpcb-panel {
  margin-top: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f9fafb;
  padding: 14px;
}

.wpcb-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wpcb-panel-head h4 {
  margin: 0;
  font-size: 15px;
}

.wpcb-btn-icon {
  border: 1px solid #d1d5db;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.wpcb-category {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wpcb-category strong {
  display: block;
  font-size: 14px;
}

.wpcb-category small {
  color: #6b7280;
  font-size: 12px;
}

.wpcb-chip {
  border-radius: 999px;
  padding: 4px 8px;
  background: #e5e7eb;
  font-size: 11px;
  font-weight: 700;
}

.wpcb-toggle {
  width: 18px;
  height: 18px;
}

.wpcb-panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.wpcb-minimal {
  border-radius: 10px;
}

.wpcb-classic {
  border-radius: 0;
}

@media (max-width: 760px) {
  .wpcb-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: auto;
  }

  .wpcb-main {
    flex-direction: column;
  }

  .wpcb-actions {
    min-width: 0;
    width: 100%;
  }
}
