/* GOLPOOGRO - Rich Text Caption Editor styling rules */

.caption-editor-container {
  display: flex;
  flex-direction: column;
  background: rgba(4, 7, 15, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: border-color 0.3s;
}

.caption-editor-container:focus-within {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.03);
}

.post-main-textarea {
  background: transparent;
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: var(--line-height-relaxed);
  min-height: 100px;
  max-height: 250px;
  overflow-y: auto;
}

.post-main-textarea::placeholder {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.94rem;
}

.caption-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--spacing-sm);
  padding-top: var(--spacing-sm);
  border-top: 1px dashed rgba(255, 255, 255, 0.04);
}

.quick-helpers {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.inline-helper-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.inline-helper-btn:hover {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.2);
  color: var(--text-primary);
}

.char-count {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

.char-count.warning {
  color: var(--accent-gold);
}

.char-count.limit-reached {
  color: var(--accent-crimson);
}
