.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 14px 14px;
}

@media (max-width: 768px) {
  .controls {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 12px 12px;
  }

  .controls .row-1 {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .controls input,
  .controls select,
  .controls textarea {
    font-size: 13px;
    padding: 8px;
  }
}

.controls label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--muted);
  gap: 6px;
  min-width: 0;
}

.controls input,
.controls select,
.controls textarea {
  background: #0b1226;
  border: 1px solid #1f2937;
  color: var(--text);
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.controls textarea {
  min-height: 70px;
  resize: vertical;
}

.row-1 {
  grid-column: 1 / -1;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 14px 14px;
}

@media (max-width: 640px) {
  .actions {
    flex-direction: column;
    gap: 8px;
  }

  .actions button {
    width: 100%;
  }
}

button.primary {
  background: #facc15;
  color: #111827;
  border: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

button.secondary {
  background: #0b1226;
  color: var(--text);
  border: 1px solid #1f2937;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
}

.pill {
  margin: 12px 14px 0;
  display: inline-flex;
  gap: 8px;
  border: 1px dashed #334155;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #cbd5e1;
}

@media (max-width: 640px) {
  .pill {
    margin: 10px 12px 0;
    padding: 6px 8px;
    font-size: 11px;
  }
}

.credit {
  padding: 10px 14px 14px;
  color: #9aa3b2;
  font-size: 12px;
}

/* Custom file input styling */
.controls input[type="file"] {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
}

.controls input[type="file"]::file-selector-button {
  background: #0b1226;
  border: 1px solid #1f2937;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  margin-right: 10px;
  transition: all 0.2s;
}

.controls input[type="file"]::file-selector-button:hover {
  background: #1f2937;
  border-color: var(--accent);
}
