.aiwest-shortcode-header {
  position: relative;
  z-index: 999999;
  overflow: visible;
}

.aiwest-shortcode-header .aiwest-admin-only-label {
  display: none !important;
}

.aiwest-shortcode-header.aiwest-header-with-bg {
  overflow: visible !important;
  isolation: isolate;
  border-radius: 20px;
}

.aiwest-header-bg-layer {
  position: absolute;
  inset: 0;
  background-image: var(--aiwest-header-image);
  background-size: cover;
  background-position: center;
  opacity: var(--aiwest-header-image-strength, 0.18);
  pointer-events: none;
  z-index: 0;
  border-radius: 20px;
}

.aiwest-header-content-layer {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.aiwest-header-with-bg .aiwest-header-draft {
  overflow: visible !important;
  position: relative !important;
  z-index: 999999 !important;
  background-image:
    linear-gradient(
      rgba(248, 250, 252, var(--aiwest-header-card-alpha, 0.85)),
      rgba(248, 250, 252, var(--aiwest-header-card-alpha, 0.85))
    ),
    var(--aiwest-header-image) !important;
  background-size: cover !important;
  background-position: center !important;
  backdrop-filter: blur(6px);
}

.aiwest-header-with-bg .aiwest-header-draft span {
  background: rgba(
    255,
    255,
    255,
    var(--aiwest-header-pill-alpha, 0.9)
  ) !important;
}

.aiwest-header-with-bg .aiwest-header-menu-slot,
.aiwest-header-with-bg .aiwest-dropdown-menu-wrap {
  position: relative !important;
  z-index: 1000000 !important;
  overflow: visible !important;
}

.aiwest-header-with-bg .aiwest-header-menu-slot {
  margin-top: 18px;
}

.aiwest-header-with-bg .aiwest-dropdown-panel {
  z-index: 1000001 !important;
}
