/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Remove browser default red glow on :invalid inputs — we handle feedback ourselves */
input:invalid, select:invalid, textarea:invalid { box-shadow: none; }

/* Prevent browser autofill from overriding dark-theme input backgrounds */
.bg-dark input:-webkit-autofill,
.bg-dark input:-webkit-autofill:hover,
.bg-dark input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #111111 inset !important;
  -webkit-text-fill-color: white !important;
  caret-color: white;
}
