/*
 * GAINVO POS v4.9.180 — Settings Save Bar Position Correction
 * UI-only. Prevents the Settings save panel from floating over form content.
 */

/* Settings save action becomes part of normal document flow. */
body.settings-desktop-v4996 .sticky-save,
body.settings-mobile-v4966 .sticky-save{
  position:relative!important;
  bottom:auto!important;
  left:auto!important;
  right:auto!important;
  z-index:1!important;
  margin:4px 0 0!important;
  width:100%!important;
  max-width:none!important;
}

/* Desktop: calm footer row aligned with the Settings content column. */
@media (min-width:681px){
  body.settings-desktop-v4996 .sticky-save{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:18px!important;
    padding:12px 14px!important;
    border-radius:14px!important;
  }

  body.settings-desktop-v4996 .sticky-save span{
    min-width:0!important;
    line-height:1.35!important;
  }

  body.settings-desktop-v4996 .sticky-save .btn{
    flex:0 0 auto!important;
  }
}

/* Mobile: keep the save action contained and easy to tap, without overlaying fields. */
@media (max-width:680px){
  body.settings-mobile-v4966 .sticky-save{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    padding:11px!important;
    border-radius:13px!important;
  }

  body.settings-mobile-v4966 .sticky-save span{
    text-align:left!important;
    line-height:1.35!important;
  }

  body.settings-mobile-v4966 .sticky-save .btn{
    width:100%!important;
  }
}
