.more-info,
.input-group {
  display: flex;
  flex-direction: column;
}

.more-info {
  gap: 3.5rem;
}

.input-group {
  gap: 0.5rem;
}

.more-info .input-group .input-wrapper input {
  margin-bottom: 0;
}

.char-counter.warning {
  color: #f59e0b;
}

.char-counter.danger {
  color: #ef4444;
}

.input-error {
  border-color: #ef4444 !important;
}

.input-group.grid {
  grid-column: span 2;
}

.image-inputs-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.image-input-wrapper {
  flex: 1 1 300px;
  min-width: 200px;
  max-width: 300px;
  line-height: 2;
}

.image-input-wrapper input {
  font-size: 1.4rem !important;
}

.image-input-label {
  font-size: 1.4rem !important;
  color: var(--box-text-color) !important;
}

.preview-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--box-bg-color);
  border-radius: 8px;

  border: 1px solid var(--primary-color);
}

.preview-title {
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--box-text-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-preview {
  background: #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  max-width: 100%;
}

.social-preview h4 {
  color: #1e293b;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.social-preview p {
  color: #64748b;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.social-preview .url {
  color: #6b7280;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 500;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.result-header i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.result-code {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 14px;
  line-height: 1.5;
  background: #1e293b;
  color: #e2e8f0;
  padding: 2rem;
  border-radius: 12px;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
}

.result-code .comment {
  color: #64748b;
}

.result-code .tag {
  color: #93c5fd;
}

.result-code .attribute {
  color: #34d399;
}

.result-code .string {
  color: #fbbf24;
}

.image-input-wrapper {
  margin-bottom: 0.75rem;
}

.image-input-wrapper:last-child {
  margin-bottom: 0;
}

.image-input-wrapper input {
  font-size: 0.9rem;
}

.image-input-label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

#image-inputs-container {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

#image-inputs-container::-webkit-scrollbar {
  width: 4px;
}

#image-inputs-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}

#image-inputs-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

#image-inputs-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.action-buttons {
  margin-top: 2rem;
}
