.ai-prompt-wrap {
  width: 100%;
  display: flex;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ai-prompt-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 999px;
  height: 48px;
  padding: 0 10px 0 10px;
  border: none;
  max-width: 700px;
  width: 100%;
}

/* ── Sparkle icon ── */
.ai-prompt-sparkle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ── Text input ── */
.ai-prompt-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.ai-prompt-input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 15px;
  color: inherit;
  font-family: inherit;
}

.ai-prompt-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  font-size: 15px;
  color: inherit;
  opacity: 0.5;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}

/* ── Send button ── */
.ai-prompt-send {
  flex-shrink: 0;
  min-width: 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s, transform 0.15s;
}

.ai-prompt-send:hover:not(:disabled) {
  opacity: 0.88;
  transform: scale(1.05);
}

.ai-prompt-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ai-prompt-send svg {
  min-width: 28px;
}
