/* SO by SMC v50 - professional button system */
:root{
  --so-primary:#1f5f8b;
  --so-primary-hover:#174a6d;
  --so-secondary:#ffffff;
  --so-secondary-border:#b8c7d3;
  --so-text:#183042;
  --so-success:#16805c;
  --so-danger:#b42318;
  --so-warning:#a15c00;
  --so-focus:#7cc4f4;
}
button{
  -webkit-tap-highlight-color:transparent;
  transition:background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .08s ease;
  font-weight:700;
}
button:hover{transform:translateY(-1px)}
button:active{transform:translateY(0);box-shadow:inset 0 2px 4px #0002}
button:focus-visible{outline:3px solid var(--so-focus);outline-offset:2px}
button:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.primary{
  border:1px solid var(--so-primary)!important;
  background:linear-gradient(135deg,var(--so-primary),#2879aa)!important;
  color:#fff!important;
  border-radius:10px!important;
  box-shadow:0 3px 8px #1f5f8b33;
}
.primary:hover{background:linear-gradient(135deg,var(--so-primary-hover),var(--so-primary))!important;box-shadow:0 5px 12px #1f5f8b44}
.secondary{
  border:1px solid var(--so-secondary-border)!important;
  background:var(--so-secondary)!important;
  color:var(--so-text)!important;
  border-radius:10px!important;
  box-shadow:0 1px 3px #18304214;
}
.secondary:hover{border-color:var(--so-primary)!important;color:var(--so-primary)!important;background:#f2f8fc!important}
.danger{
  border-color:#e4a5a0!important;
  background:#fff5f4!important;
  color:var(--so-danger)!important;
}
.danger:hover{background:#fee8e6!important;border-color:var(--so-danger)!important}
.success,.successBtn{
  border:1px solid #8ed2b8!important;
  background:#effaf5!important;
  color:#126143!important;
}
.successBtn:hover{background:#dff5e9!important}
.warningBtn{
  border:1px solid #e8c28a!important;
  background:#fff8eb!important;
  color:var(--so-warning)!important;
}
.linkBtn{color:var(--so-primary)!important}
.rowActions button,.productActions button,.modalActions button,.toolbar button,.backBtn{
  min-height:38px;
}
.rowActions .secondary:first-child{border-color:#9fc3d9!important}
.topActions .primary{min-height:42px}
.mobileBar button{color:#3e5260!important}
.mobileBar button.active,.mobileBar button[data-mobile-page="orders"]{color:var(--so-primary)!important}
.mobileBar .plus{background:linear-gradient(145deg,#1b6d9f,#174a6d)!important;color:#fff!important;border:4px solid #fff!important;box-shadow:0 5px 16px #174a6d55!important}
.mobileBar .plus:hover{color:#fff!important}
.soQuickAction{border-color:var(--so-secondary-border)!important}
.soQuickAction:hover{border-color:var(--so-primary)!important;background:#f2f8fc!important}
.soQuickAction .soQuickIcon{background:#eaf4fa!important;color:var(--so-primary)!important}
.soV22HeroAction{background:linear-gradient(135deg,#1f5f8b,#2879aa)!important}
.soV22SecondAction{border-color:var(--so-secondary-border)!important;color:var(--so-text)!important}
@media(max-width:900px){
  button{min-height:40px}
  .rowActions button{min-height:40px;padding:8px 10px!important}
  .toolbar .tools button{min-height:44px}
  .mobileBar button{min-height:0}
}