input[type="file"] {
  appearance: none;
  -webkit-appearance: none;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--muted);
  font-family: var(--ff);
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

input[type="file"]::-webkit-file-upload-button {
  background: var(--accent);
  color: #061125;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  margin-right: 12px;
  transition: background 0.2s ease;
}

input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--accent-2);
}

input[type="file"]:hover {
  border-color: var(--accent);
  color: #fff;
}

/* --- Dropdown Styling --- */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--card);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--ff);
  width: 100%;
  cursor: pointer;
  outline: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 4px),
    calc(100% - 14px) calc(50% - 4px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  transition: border-color 0.2s ease;
}

select:hover {
  border-color: var(--accent);
}

select:focus {
  border-color: var(--accent-2);
  outline: none;
}

/* --- Smooth Input Focus Glow --- */
input[type="file"]:focus,
select:focus {
  box-shadow: 0 0 0 2px var(--accent-2);
}

/* --- Optional Container Spacing --- */
#uploadForm label {
  font-weight: 600;
  color: var(--muted);
}

#uploadForm input,
#uploadForm select {
  margin-top: 6px;
  margin-bottom: 16px;
}

/* --- Drop Zone Styling --- */
#dropArea {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  background: var(--card);
  cursor: pointer;
  color: var(--muted);
  transition: all 0.3s ease;
}

#dropArea:hover {
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 10px rgba(107, 230, 255, 0.25);
}

#dropArea.dragover {
  border-color: var(--accent-2);
  background: rgba(107, 230, 255, 0.06);
  box-shadow: 0 0 14px rgba(107, 230, 255, 0.4);
  color: var(--accent-2);
}

/* Hide the native input visually but keep it accessible */
#dropArea input[type="file"] {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Inner text */
#dropArea p {
  pointer-events: none;
  margin: 0;
  font-size: 15px;
}

#dropArea span {
  display: block;
  font-size: 13px;
  color: var(--accent);
  margin-top: 4px;
}