
.prompt-container-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.prompt-container {
  background: #1a1a1a;
  max-width: 800px;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  color: white;
  position: relative;
}

.chat-title, .results-title {
  color: #ba4df5;
  font-size: 1.2em;
  margin-bottom: 8px;
  font-weight: bold;
}

.prompt-chat {
  height: 300px;
  overflow-y: auto;
  border: 1px solid #333;
  padding: 15px;
  margin-bottom: 20px;
  background: #222;
}

.user-message, .ai-message {
  margin: 8px 0;
  padding: 10px;
  border-radius: 8px;
  max-width: 80%;
}

.user-message {
  background: #ba4df5;
  color: white;
  margin-left: auto;
}

.ai-message {
  background: #333;
  color: white;
  margin-right: auto;
}

.loading {
  text-align: center;
  font-style: italic;
}

.blink {
  animation: blink-animation 2s infinite;
}

.four-color-blink {
  animation: four-color-blink 2s infinite;
  font-weight: bold;
}

@keyframes blink-animation {
  0% { color: #ba4df5; }
  25% { color: #4df5ba; }
  50% { color: #f5ba4d; }
  75% { color: #4d4df5; }
  100% { color: #ba4df5; }
}

@keyframes four-color-blink {
  0% { color: #ff4d4d; text-shadow: 0 0 10px #ff4d4d; }
  25% { color: #4dff4d; text-shadow: 0 0 10px #4dff4d; }
  50% { color: #4d4dff; text-shadow: 0 0 10px #4d4dff; }
  75% { color: #ffff4d; text-shadow: 0 0 10px #ffff4d; }
  100% { color: #ff4d4d; text-shadow: 0 0 10px #ff4d4d; }
}

.four-color-blink {
  animation: four-color-blink 2s infinite;
  font-weight: bold;
}

.ai-message {
  background: #333;
  color: white;
  margin-right: auto;
}

.ai-message [text-content^="["][text-content$="]"] {
  color: yellow;
}

.error {
  color: #ff4444;
  text-align: center;
}

.generated-prompt {
  background: #000;
  color: #ba4df5;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ba4df5;
}

.prompt-results {
  border: 1px solid #333;
  padding: 15px;
  margin: 10px 0;
  background: #222;
}

.prompt-results h3 {
  color: #ba4df5;
  margin-bottom: 10px;
}

#promptInput {
  width: 100%;
  height: 40px;
  padding: 20px;
  background-color: black;
  color: white;
  border: 1px solid #333;
  border-radius: 4px;
  margin-top: 10px;
}

.action-btn {
  width: 100%;
  padding: 10px;
  background: #ba4df5;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px 0;
}

.action-btn:hover {
  background: #a43de0;
}

.close-prompt {
  position: absolute;
  right: 10px;
  top: 10px;
  color: #aaa;
  font-size: 28px;
  cursor: pointer;
}

.close-prompt:hover {
  color: white;
}
