/* Premium Dark Forms - Input fields, selects, checkboxes */
input[type="text"],
input[type="search"],
input[type="number"],
input[type="email"],
select,
textarea {
  background-color: var(--hd-surface-hover);
  border: 1px solid var(--hd-border);
  color: var(--hd-text-main);
  border-radius: var(--hd-radius-sm);
  padding: 8px 12px;
  font-family: var(--hd-font-primary);
  font-size: var(--hd-text-sm);
  outline: none;
  transition: var(--hd-transition-all);
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: var(--hd-primary);
  box-shadow: var(--hd-glow-primary);
}

/* Custom dropdown lists */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a5b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  padding-right: var(--hd-spacing-xl);
  cursor: pointer;
}

select option {
  background-color: var(--hd-surface, hsl(225, 15%, 9%)) !important;
  color: var(--hd-text-main, hsl(0, 0%, 94%)) !important;
}

/* Checkboxes */
input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  background-color: var(--hd-surface-hover);
  border: 1px solid var(--hd-border);
  border-radius: var(--hd-radius-xs);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--hd-transition-all);
}

input[type="checkbox"]:checked {
  background-color: var(--hd-primary);
  border-color: var(--hd-primary);
}

input[type="checkbox"]:checked::after {
  content: '';
  width: 8px;
  height: 4px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
}
