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

/* Global button styles */
button,
[type="button"],
[type="submit"],
[type="reset"] {
  cursor: pointer;
}

/* Trade-in toggle: Show/hide VIN section based on radio selection (CSS-only, no JavaScript) */
.trade-in-form-container:has(#trade_in_yes:checked) .trade-in-vin-section {
  display: block;
}

.trade-in-form-container:has(#trade_in_no:checked) .trade-in-vin-section {
  display: none;
}
