/* ==========================================================================
   Kitgenix Stock Sync for WooCommerce – Admin UI
   Built on top of the shared kitgenix-admin-ui.css component library.
   Only plugin-specific layout helpers and content styling live here; all
   cards, tables, toggles, notices, badges, stat tiles and modals use the
   shared classes and are styled by kitgenix-admin-ui.css itself.
   ========================================================================== */

/* ----------------------------------------------------------------
   Page wrapper
----------------------------------------------------------------- */
.wrap.kitgenix-stock-sync-for-woocommerce-admin {
  max-width: 100%;
}

/* ----------------------------------------------------------------
   Panel stack – vertical rhythm between the cards inside each
   data-kitgenix-tab-panel. Replaces the old single "section card"
   wrapper now that each panel can hold several .kitgenix-card blocks.
----------------------------------------------------------------- */
.kitgenix-panel-stack {
  display: flex;
  flex-direction: column;
  gap: var(--kitgenix-space-6, 24px);
}

.kitgenix-panel-stack .kitgenix-card {
  margin-bottom: 0;
}

/* ----------------------------------------------------------------
   Configuration tab wraps multiple cards in a single <form> (they
   save together). That form is the panel-stack's only direct flex
   child, so the panel-stack's own gap never reaches the cards
   inside it – give the form the same flex/gap treatment.
----------------------------------------------------------------- */
.kitgenix-panel-stack > form {
  display: flex;
  flex-direction: column;
  gap: var(--kitgenix-space-6, 24px);
}

/* ----------------------------------------------------------------
   Support tab – plain bullet lists inside cards
----------------------------------------------------------------- */
.kitgenix-support-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kitgenix-support-list li {
  font-size: 13px;
  line-height: 1.55;
  color: var(--kitgenix-text-muted);
}

/* ----------------------------------------------------------------
   Accessibility
----------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .wrap.kitgenix-stock-sync-for-woocommerce-admin * {
    transition: none !important;
  }
}
