/* ===== 14. INPUT & AUTOCOMPLETE FIXES ===== */
/* Fix for Chrome/Edge autofill matching dark theme */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #0f172a inset !important; /* Matches --color-dark-bg */
  -webkit-text-fill-color: var(--color-text-light) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Dropdown Option Styling */
select option {
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  padding: 10px;
}

/* Ensure select itself has correct background when closed */
select.form-control-tech {
  background-color: transparent;
  color: var(--color-text-light);
}

/* Placeholder color fix */
::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--color-text-muted) !important;
  opacity: 1; /* Firefox */
}

/* Date Input Fix (Calendar Icon Color) */
::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}
