/*
 * Application-wide styles.
 *
 * Note: shadcn/base and shadcn/components are loaded via
 * stylesheet_link_tag in the layout files.
 * skifpro_theme.css is auto-loaded by Propshaft (:app group).
 * tailwind.css is auto-loaded from builds/ by Propshaft (:app group).
 */

/* Override shadcn-rails gem's switch transform rules.
   The gem sets transform: translateX() but Tailwind v4 uses the CSS
   translate property. Both apply simultaneously, causing double offset.
   Neutralize the gem's transform so only Tailwind's translate applies. */
button[role="switch"] > span[data-state="checked"],
button[role="switch"] > span[data-state="unchecked"] {
  transform: none;
}
