input[type="text"],
input[type="search"],
input[type="url"],
input[type="file"],
select,
textarea {
  font-family: inherit;
  font-size: 13px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}

select {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
}

.domain-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}

.domain-input-wrap input {
  border-radius: var(--radius-xs) 0 0 var(--radius-xs);
  flex: 1;
}

.domain-suffix {
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── File drop zone ── */
.file-drop {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  transition: border-color 0.15s, background 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  gap: 8px;
}

.file-drop:hover,
.file-drop.dragover {
  border-color: var(--accent);
  background: rgba(139,92,246,0.05);
}

.file-drop svg {
  width: 28px;
  height: 28px;
  color: var(--muted);
  opacity: 0.6;
}

.file-drop:hover svg, .file-drop.dragover svg {
  color: var(--accent);
  opacity: 1;
}
