/* Extracted from index.html. Prompt editor modal styles. */

.prompt-editor-modal .tool-modal-card {
  width: min(980px, 94vw);
  min-height: 560px;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.1);
  background: var(--surface);
  gap: 8px;
  padding: 12px;
}

.prompt-editor-textarea {
  width: 100%;
  min-height: 62vh;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--soft);
  color: #1d1d1f;
  font: inherit;
  font-size: 15px;
  line-height: 1.7;
  padding: 14px;
  resize: none;
  outline: none;
  box-sizing: border-box;
}

html.theme-dark .prompt-editor-textarea,
html.theme-dark .auth-input,
html.theme-dark .prompt-box {
  background: #242424;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f0f0f0;
}

.prompt-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.prompt-editor-hint {
  margin: 0;
  text-align: center;
  color: rgba(29, 29, 31, 0.5);
  font-size: 11px;
  line-height: 1.3;
  user-select: none;
}
html.theme-dark .prompt-editor-hint {
  color: rgba(255, 255, 255, 0.4);
}
