/*! formstone v2.4.2 [tabs.scss] 2026-12-02 | GPL-3.0 License | formstone.dev */
// Variables



/**
 * @module tabs
 * @description Simple, mobile-friendly tabs
 */
/**
 * Primary tabs component
 * Handles tab controls, content visibility, and mobile presentation states
 *
 * @selector .fs-tabs
 * @modifier .fs-tabs-enabled - Applied when tabs are enabled
 * @modifier .fs-tabs-active - Applied when a tab/content pair is active
 * @modifier .fs-tabs-mobile - Applied when mobile tab mode is active
 */
.fs-tabs {
  /**
   * Enabled state styles for desktop and mobile tab controls
   * @selector .fs-tabs-tab.fs-tabs-enabled
   * @selector .fs-tabs-tab_mobile.fs-tabs-enabled
   */
  /**
   * Hidden state for inactive tab content panels; active panels keep their own display
   * @selector .fs-tabs-content.fs-tabs-enabled:not(.fs-tabs-active)
   */
  /**
   * Mobile-specific appearance reset for generated mobile tab button
   * @selector .fs-tabs-tab_mobile.fs-tabs-mobile
   */
  /**
   * Hidden state for desktop tabs in mobile mode, and for mobile tabs outside it
   * @selector .fs-tabs-tab.fs-tabs-mobile
   * @selector .fs-tabs-tab_mobile:not(.fs-tabs-mobile)
   */
}

.fs-tabs-tab.fs-tabs-enabled,
.fs-tabs-tab_mobile.fs-tabs-enabled {
  cursor: pointer;
}

.fs-tabs-content.fs-tabs-enabled:not(.fs-tabs-active) {
  display: none;
}

.fs-tabs-tab_mobile.fs-tabs-mobile {
  appearance: none;
}

.fs-tabs-tab.fs-tabs-mobile,
.fs-tabs-tab_mobile:not(.fs-tabs-mobile) {
  display: none;
}