/* ========== BN-GENERATE-IMAGE STYLES ========== */
/* Extracted from BonzaUI/generate-image.html */

/* ========== VARIABLES ========== */
:root {
  /* Purple */
  --purple-300: #DFBCFF;
  --purple-400: #CC95FF;
  --purple-700: #653395;
  --purple-800: #432362;
  --purple-900: #1F102D;
  
  /* Neutral */
  --neutral-300: #D4D4D4;
  --neutral-400: #9E9E9E;
  --neutral-500: #777;
  --neutral-600: #4B4B4B;
  --neutral-700: #2E2E2E;
  --neutral-800: #131313;
  --neutral-900: #000;
  
  /* Green (Quick Start) */
  --green-400: #56FFA4;
  --green-700: #0B6C37;
  --green-800: #054623;
  --green-900: #021D0F;
  
  /* Yellow (Tags) */
  --yellow-400: #FEFF77;
  --yellow-700: #656612;
  --yellow-800: #3A3A08;
  --yellow-900: #1B1B03;
}

/* ========== LAYOUT ========== */
.gen-layout {
  display: flex;
  gap: 16px;
  flex: 1;
  padding: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.gen-constructor {
  width: 459px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  padding-bottom: 24px;
}

.gen-constructor::-webkit-scrollbar {
  width: 4px;
}

.gen-constructor::-webkit-scrollbar-thumb {
  background: var(--neutral-700);
  border-radius: 4px;
}

.gen-result-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--neutral-800);
  border-radius: 16px;
  padding: 16px;
  min-width: 0;
  overflow: hidden;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .gen-constructor {
    width: 360px;
  }
}

@media (max-width: 768px) {
  .gen-layout {
    flex-direction: column;
    overflow-y: auto;
  }
  
  .gen-constructor {
    width: 100%;
    overflow-y: visible;
  }
  
  .gen-result-panel {
    min-height: 500px;
  }
}

/* ========== CHARACTER SELECTOR ========== */
.gen-char-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  font-size: 12px;
  color: #fff;
}

.gen-char-label img {
  width: 16px;
  height: 16px;
}

.gen-char-select {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  border-radius: 32px;
  padding: 4px 20px 4px 4px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.gen-char-select:hover {
  border-color: var(--neutral-600);
}

.gen-char-select img.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.gen-char-select .name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.gen-char-select img.chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.gen-char-select.open img.chevron {
  transform: rotate(180deg);
}

.gen-char-select.open {
  border-radius: 32px 32px 0 0;
}

.gen-char-dropdown {
  display: none;
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  border-top: none;
  border-radius: 0 0 16px 16px;
  flex-direction: column;
  overflow: hidden;
  margin-top: -1px;
}

.gen-char-dropdown.open {
  display: flex;
}

.gen-char-dropdown-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}

.gen-char-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--neutral-700);
  border-radius: 8px;
  padding: 8px 12px;
}

.gen-char-search img {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.gen-char-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 12px;
  font-family: 'Heebo', sans-serif;
}

.gen-char-search input::placeholder {
  color: var(--neutral-500);
}

.btn-create-char {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--neutral-700);
  border: none;
  border-radius: 8px;
  padding: 8px 16px 8px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-create-char:hover {
  background: var(--neutral-600);
}

.btn-create-char img {
  width: 20px;
  height: 20px;
}

.gen-char-list {
  max-height: 240px;
  overflow-y: auto;
}

.gen-char-list::-webkit-scrollbar {
  width: 4px;
}

.gen-char-list::-webkit-scrollbar-thumb {
  background: var(--neutral-600);
  border-radius: 4px;
}

.gen-char-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.15s;
}

.gen-char-item:hover {
  background: var(--neutral-700);
}

.gen-char-item img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.gen-char-item span {
  font-size: 13px;
  color: #fff;
}

/* ========== PROMPT HEADER ========== */
.gen-prompt-header {
  display: flex;
  align-items: center;
  padding: 16px 8px 8px;
  border-bottom: 1px solid var(--neutral-700);
}

.gen-prompt-header span {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-400);
}

.btn-clear {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--neutral-700);
  border: none;
  border-radius: 8px;
  padding: 6px 16px 6px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-clear:hover {
  background: var(--neutral-600);
}

.btn-clear img {
  width: 20px;
  height: 20px;
}

/* ========== FORM FIELDS ========== */
.gen-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 8px;
}

.gen-field-wrap {
  position: relative;
}

.gen-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  font-size: 12px;
  color: #fff;
  margin-bottom: 4px;
}

.gen-field-label img {
  width: 16px;
  height: 16px;
}

.gen-field-select {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  border-radius: 8px;
  padding: 6px 12px 6px 6px;
  cursor: pointer;
  min-height: 36px;
  transition: border-color 0.2s;
}

.gen-field-select:hover {
  border-color: var(--neutral-600);
}

.gen-field-select.open {
  border-radius: 8px 8px 0 0;
  border-color: var(--yellow-800);
}

.gen-field-select .tags {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.gen-field-select .placeholder {
  flex: 1;
  font-size: 12px;
  color: var(--neutral-500);
  padding: 2px 8px;
}

.gen-field-select img.chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.gen-field-select.open img.chevron {
  transform: rotate(180deg);
}

/* Yellow tags */
.tag-yellow {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--yellow-900);
  border: 1px solid var(--yellow-800);
  border-radius: 4px;
  padding: 2px 2px 2px 6px;
  font-size: 12px;
  color: var(--yellow-400);
  white-space: nowrap;
}

.tag-yellow .tag-x {
  width: 16px;
  height: 16px;
  cursor: pointer;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.tag-yellow .tag-x:hover {
  opacity: 1;
}

.tag-yellow .tag-x svg {
  width: 10px;
  height: 10px;
}

/* Dropdown */
.gen-field-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 320px;
  overflow-y: auto;
  flex-direction: column;
  margin-top: -1px;
}

.gen-field-dropdown.open {
  display: flex;
}

.gen-field-dropdown::-webkit-scrollbar {
  width: 4px;
}

.gen-field-dropdown::-webkit-scrollbar-thumb {
  background: var(--neutral-600);
  border-radius: 4px;
}

/* Categories */
.dd-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--neutral-700);
}

.dd-cat {
  background: none;
  border: 1px solid var(--neutral-600);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 12px;
  color: #fff;
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.dd-cat:hover {
  background: var(--neutral-700);
}

.dd-cat.active {
  background: var(--neutral-700);
  border-color: #fff;
}

/* Search */
.dd-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 8px;
  background: var(--neutral-700);
  border-radius: 8px;
  padding: 8px 12px;
}

.dd-search img {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.dd-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 12px;
  font-family: 'Heebo', sans-serif;
}

.dd-search input::placeholder {
  color: var(--neutral-500);
}

/* Dropdown items */
.dd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--neutral-400);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.dd-item:hover {
  background: var(--neutral-700);
  color: #fff;
}

.dd-item.selected {
  color: var(--green-400);
}

.dd-item .dd-plus {
  margin-left: auto;
  width: 16px;
  height: 16px;
  display: none;
}

.dd-item.selected .dd-plus {
  display: block;
}

/* ========== QUICK START ========== */
.gen-quickstart {
  background: var(--green-900);
  border-top: 1px solid var(--green-800);
  border-bottom: 1px solid var(--green-800);
  padding: 8px;
  overflow: hidden;
}

.gen-quickstart-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  font-size: 12px;
  color: var(--green-400);
  margin-bottom: 8px;
}

.gen-quickstart-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.qs-pill {
  border: 1px solid var(--green-700);
  border-radius: 24px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-400);
  cursor: pointer;
  background: none;
  font-family: 'Heebo', sans-serif;
  white-space: nowrap;
  transition: background 0.2s;
}

.qs-pill:hover {
  background: rgba(86, 255, 164, 0.1);
}

/* ========== TOGGLES ========== */
.gen-toggles {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 8px;
  border-top: 1px solid var(--neutral-700);
  border-bottom: 1px solid var(--neutral-700);
}

.gen-toggle-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gen-toggles-divider {
  width: 1px;
  align-self: stretch;
  background: var(--neutral-700);
}

.toggle-switch {
  width: 33px;
  height: 20px;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.toggle-switch.off {
  background: var(--neutral-600);
}

.toggle-switch.on {
  background: var(--purple-400);
}

.toggle-switch .toggle-knob {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 17px;
  border-radius: 11px;
  transition: all 0.2s;
}

.toggle-switch.off .toggle-knob {
  left: 2px;
  background: var(--neutral-300);
}

.toggle-switch.on .toggle-knob {
  right: 2px;
  background: #000;
}

.toggle-label {
  font-size: 12px;
  color: #fff;
}

.toggle-info {
  width: 20px;
  height: 20px;
  opacity: 0.5;
  cursor: help;
  transition: opacity 0.2s;
}

.toggle-info:hover {
  opacity: 1;
}

/* ========== GENERATE BUTTON ========== */
.btn-generate {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 4px 4px 4px 20px;
  box-shadow: 0 2px 20px rgba(255, 255, 255, 0.56);
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  align-self: center;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-generate:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.7);
}

.btn-generate:disabled {
  cursor: not-allowed;
}

.btn-generate .label {
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.btn-generate .cost {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--purple-300);
  border-radius: 8px;
  padding: 6px 8px 6px 6px;
}

.btn-generate .cost img {
  width: 20px;
  height: 20px;
}

.btn-generate .cost span {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-800);
}

/* ========== RESULT PANEL ========== */
.gen-result-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.gen-result-header > span:first-child {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-400);
}

.gen-result-timer {
  font-size: 12px;
  color: var(--neutral-500);
  font-weight: 500;
}

/* Result Image */
.gen-result-img {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  max-height: 500px;
  background: var(--neutral-900);
}

.gen-result-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========== LOADING ANIMATION ========== */
.gen-result-loading {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 400px;
}

.gen-loader-wrap {
  position: relative;
  width: 144px;
  height: 144px;
}

/* Spinning glow effect */
.gen-loader-glow {
  position: absolute;
  inset: -36px;
  border-radius: 50%;
  animation: glowSpin 4s linear infinite;
  background: conic-gradient(
    from 200deg,
    rgba(204, 149, 255, 0) 0deg,
    rgba(254, 255, 119, 0.6) 60deg,
    rgba(254, 255, 119, 0.3) 100deg,
    rgba(204, 149, 255, 0) 140deg,
    rgba(204, 149, 255, 0) 180deg,
    rgba(180, 120, 255, 0.8) 240deg,
    rgba(204, 149, 255, 0.9) 300deg,
    rgba(180, 120, 255, 0.5) 340deg,
    rgba(204, 149, 255, 0) 360deg
  );
  filter: blur(24px);
}

@keyframes glowSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Pulsing effect */
.gen-loader-pulse {
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 120, 255, 0.18) 30%, transparent 70%);
  animation: auaPulse 3s ease-in-out infinite;
}

@keyframes auaPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* Center logo */
.gen-loader {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gen-loader img {
  width: 42px;
  height: 42px;
  filter: brightness(10);
}

.gen-result-loading h3 {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.gen-result-loading p {
  font-size: 13px;
  color: var(--neutral-500);
  text-align: center;
  line-height: 20px;
  margin: 0;
}

/* ========== HISTORY CAROUSEL ========== */
.gen-history {
  background: #000;
  border: 1px solid #000;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  overflow: hidden;
  margin-top: 8px;
}

.gen-history-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-left: 8px;
}

.gen-history-info {
  flex: 1;
}

.gen-history-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-400);
  line-height: 20px;
  margin: 0 0 4px 0;
}

.gen-history-info p {
  font-size: 12px;
  color: var(--neutral-500);
  line-height: 16px;
  margin: 0;
}

.btn-albums {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--neutral-700);
  border: none;
  border-radius: 8px;
  padding: 6px 10px 6px 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-albums:hover {
  background: var(--neutral-600);
}

.btn-albums img {
  width: 20px;
  height: 20px;
}

.gen-history-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  padding: 4px;
}

.gen-history-scroll::-webkit-scrollbar {
  display: none;
}

.gen-history-scroll.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.gen-history-thumb {
  width: 109px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  cursor: pointer;
  background: var(--neutral-800);
  transition: border-color 0.2s, transform 0.2s;
}

.gen-history-thumb:hover {
  border-color: var(--purple-400);
  transform: scale(1.05);
}

.gen-history-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.gen-history-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 4px;
}

.gen-history-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neutral-600);
  transition: background 0.2s;
}

.gen-history-dots .dot.active {
  background: #fff;
}

/* ========== LIGHTBOX ========== */
.hst-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hst-lightbox.open {
  display: flex;
}

.hst-lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--neutral-700);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.hst-lb-close:hover {
  background: var(--neutral-600);
}

.hst-lb-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.hst-lb-counter {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--neutral-400);
  z-index: 2;
}

.hst-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--neutral-700);
  border: 1px solid var(--neutral-600);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, opacity 0.2s;
}

.hst-lb-arrow:hover {
  background: var(--neutral-600);
}

.hst-lb-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

.hst-lb-arrow svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
}

.hst-lb-prev {
  left: 16px;
}

.hst-lb-next {
  right: 16px;
}

.hst-lb-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 80px 100px;
  cursor: pointer;
}

.hst-lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.2s;
  cursor: default;
}

.hst-lb-thumbs {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  padding: 8px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  max-width: 90%;
  overflow-x: auto;
}

.hst-lb-thumbs::-webkit-scrollbar {
  height: 4px;
}

.hst-lb-thumbs::-webkit-scrollbar-thumb {
  background: var(--neutral-600);
  border-radius: 2px;
}

.hst-lb-thumb {
  width: 48px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.hst-lb-thumb.active {
  border-color: var(--purple-400);
  opacity: 1;
}

.hst-lb-thumb:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.hst-lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hst-lb-stage {
    padding: 60px 16px 100px;
  }
  
  .hst-lb-arrow {
    width: 36px;
    height: 36px;
  }
  
  .hst-lb-prev {
    left: 8px;
  }
  
  .hst-lb-next {
    right: 8px;
  }
}

/* Private character badge */
.char-badge-private {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  color: var(--purple-800);
  background: #070707;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ========== RESULT ACTIONS ========== */
.gen-result-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gen-result-actions img {
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
  filter: invert(1);
}

.gen-result-actions img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.gen-result-actions .divider {
  width: 1px;
  height: 20px;
  background: var(--neutral-700);
}

/* ========== TIP BANNER ========== */
.gen-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-900);
  border: 1px solid var(--purple-800);
  border-radius: 8px;
  padding: 8px;
  flex-shrink: 0;
}

.gen-tip-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.gen-tip-badge span {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-400);
}

.gen-tip .divider {
  width: 1px;
  align-self: stretch;
  background: var(--purple-800);
}

.gen-tip p {
  flex: 1;
  font-size: 12px;
  color: var(--purple-400);
  line-height: 16px;
  margin: 0;
}

.gen-tip .close-tip {
  width: 16px;
  height: 16px;
  cursor: pointer;
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.gen-tip .close-tip:hover {
  opacity: 1;
}
