/* Prompts Content */
.prompts-content {
  padding-bottom: 100px;
}

/* Prompt Section */
.prompt-section {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.prompt-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--admin-bg);
  border-bottom: 1px solid var(--admin-border);
}

.prompt-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: white;
}

.prompt-icon.suggestion {
  background: linear-gradient(135deg, var(--victor-coral), var(--victor-grape));
}

.prompt-info {
  flex: 1;
  min-width: 0;
}

.prompt-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--admin-text);
  margin-bottom: 2px;
}

.prompt-description {
  font-size: 13px;
  color: var(--admin-text-secondary);
}

.prompt-section-body {
  padding: 20px;
}

/* Prompt field */
.prompt-field {
  margin-bottom: 16px;
}

.prompt-textarea {
  width: 100%;
  min-height: 200px;
  padding: 16px;
  background: var(--admin-bg);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.6;
  color: var(--admin-text);
  resize: vertical;
  transition: all 0.2s ease;
}

.prompt-textarea:focus {
  outline: none;
  border-color: var(--victor-gold);
  background: var(--admin-surface);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.prompt-textarea::placeholder {
  color: var(--admin-text-muted);
}

/* Actions buttons */
.prompt-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.prompt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.prompt-btn:active {
  transform: scale(0.98);
}

.prompt-btn-reset {
  background: var(--admin-bg);
  border: 1px solid var(--admin-border);
  color: var(--admin-text-secondary);
}

.prompt-btn-reset:hover,
.prompt-btn-reset:active {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--status-error);
  color: var(--status-error);
}

/* Info note */
.prompt-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 12px;
  margin-top: 16px;
}

.prompt-note-icon {
  width: 20px;
  height: 20px;
  color: var(--victor-gold-dark);
  flex-shrink: 0;
  margin-top: 1px;
}

.prompt-note-text {
  font-size: 13px;
  color: var(--admin-text-secondary);
  line-height: 1.5;
}

.prompt-note-text strong {
  color: var(--admin-text);
  font-weight: 600;
}

.prompt-note-text code {
  background: rgba(0, 0, 0, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 12px;
  color: var(--victor-grape);
}

/* Submit button */
.form-submit {
  position: sticky;
  bottom: 0;
  padding: 16px;
  padding-bottom: max(env(safe-area-inset-bottom), 16px);
  background: var(--admin-surface);
  border-top: 1px solid var(--admin-border);
  margin: 0 -20px;
  margin-bottom: -20px;
}

.btn-submit {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--victor-gold), var(--victor-gold-dark));
  border: none;
  border-radius: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  opacity: 0.95;
}

.btn-submit:active {
  transform: scale(0.98);
}

/* Responsive */
@media (min-width: 768px) {
  .prompt-section-header {
    padding: 20px 24px;
  }
  
  .prompt-section-body {
    padding: 24px;
  }
  
  .prompt-textarea {
    font-size: 14px;
  }
  
  .form-submit {
    margin: 0 -24px;
    margin-bottom: -24px;
    padding: 20px 24px;
  }
}
