.file-upload-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.file-upload-dropzone {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  color: var(--text-primary);
  background: rgba(8, 13, 24, 0.2);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms var(--ease), background 160ms var(--ease), box-shadow 160ms var(--ease);
}

.file-upload-dropzone:hover,
.file-upload-dropzone.is-dragging {
  background: var(--accent-soft);
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 3px rgba(0, 200, 212, 0.05);
}

.file-upload-dropzone-icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
  margin-bottom: 12px;
}

.file-upload-dropzone span {
  font-size: 16px;
  font-weight: 600;
}

.file-upload-dropzone small {
  color: var(--text-secondary);
  font-size: 13px;
}

.file-upload-browse {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.file-upload-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.file-upload-preview[hidden] {
  display: none;
}

.file-upload-file-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 200, 212, 0.18);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.file-upload-file-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.file-upload-file-meta strong {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-upload-file-meta span {
  color: var(--text-secondary);
  font-size: 12px;
}

.file-upload-clear {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.file-upload-clear:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}
