/*
 * 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.
 */

/* Google Maps PlaceAutocomplete styling overrides */
gmp-placeautocomplete {
  display: block;
  width: 100%;
  --gmp-color-surface: white;
  --gmp-color-on-surface: rgb(15 23 42);
  --gmp-color-on-surface-variant: rgb(100 116 139);
  --gmp-color-primary: rgb(15 23 42);
}

/* Target the input field inside the shadow DOM */
gmp-placeautocomplete::part(text-input) {
  background-color: white !important;
  color: rgb(15 23 42) !important;
}

/* Additional fallback selectors */
gmp-placeautocomplete input {
  background-color: white !important;
  color: rgb(15 23 42) !important;
}
