/* FOODOS V6_24 / 84.60.0
   Premium settlement adjustment cards + localized credit-sale amount fix companion styles. */

.pc-settle-adjustments-row{
  gap:12px!important;
  margin:12px 0 16px!important;
  align-items:stretch!important;
}
.pc-settle-adjustment-card{
  position:relative!important;
  min-height:138px!important;
  padding:14px!important;
  border:1px solid rgba(148,163,184,.28)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.88))!important;
  box-shadow:0 10px 28px rgba(15,23,42,.06),inset 0 1px 0 rgba(255,255,255,.92)!important;
  display:grid!important;
  grid-template-rows:auto 1fr!important;
  gap:14px!important;
  overflow:hidden!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease!important;
  box-sizing:border-box!important;
}
.pc-settle-adjustment-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  border-radius:18px 0 0 18px;
  background:rgba(148,163,184,.34);
  pointer-events:none;
}
#pc-settle-wallet-host .pc-settle-wallet-control.pc-settle-adjustment-card{
  min-height:138px!important;
  padding:14px!important;
  gap:14px!important;
  border-radius:18px!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto 1fr!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.88))!important;
}
#pc-settle-wallet-host .pc-settle-wallet-control.pc-settle-adjustment-card::before{background:#16a34a!important}
#pc-settle-wallet-host .pc-settle-wallet-control.pc-settle-adjustment-card.is-active{
  border-color:rgba(22,163,74,.34)!important;
  background:linear-gradient(180deg,rgba(240,253,244,.98),rgba(220,252,231,.54))!important;
  box-shadow:0 12px 30px rgba(21,128,61,.08),inset 0 1px 0 rgba(255,255,255,.88)!important;
}
.pc-settle-discount-card.pc-settle-adjustment-card::before{background:#f59e0b!important}
.pc-settle-discount-card.pc-settle-adjustment-card.is-active{
  border-color:rgba(245,158,11,.42)!important;
  background:linear-gradient(180deg,rgba(255,251,235,.98),rgba(254,243,199,.58))!important;
  box-shadow:0 12px 30px rgba(180,83,9,.09),inset 0 1px 0 rgba(255,255,255,.88)!important;
}
.pc-adjustment-card-head{min-width:0!important}
.pc-adjustment-toggle{
  width:100%!important;
  min-height:44px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  color:inherit!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:11px!important;
  text-align:right!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.pc-adjustment-toggle:focus-visible{outline:2px solid rgba(59,130,246,.55)!important;outline-offset:4px!important;border-radius:10px!important}
.pc-adjustment-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;min-width:0!important;line-height:1.35!important}
.pc-adjustment-copy strong{font-size:.91rem!important;font-weight:950!important;color:var(--text-main,#0f172a)!important;letter-spacing:-.01em!important}
.pc-adjustment-copy small{font-size:.70rem!important;font-weight:700!important;color:var(--text-muted,#64748b)!important;white-space:normal!important;line-height:1.55!important}
.pc-adjustment-native-check{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
.pc-adjustment-switch{
  position:relative!important;
  width:38px!important;
  height:22px!important;
  flex:0 0 38px!important;
  border:1px solid rgba(100,116,139,.34)!important;
  border-radius:999px!important;
  background:#e2e8f0!important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.08)!important;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
.pc-adjustment-switch::after{
  content:""!important;
  position:absolute!important;
  top:3px!important;
  right:3px!important;
  width:14px!important;
  height:14px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 2px 5px rgba(15,23,42,.20)!important;
  transition:transform .18s ease!important;
}
.pc-adjustment-native-check:checked + .pc-adjustment-switch{
  background:#16a34a!important;
  border-color:#15803d!important;
  box-shadow:0 0 0 3px rgba(22,163,74,.10)!important;
}
.pc-adjustment-native-check:checked + .pc-adjustment-switch::after{transform:translateX(-16px)!important}
.pc-adjustment-native-check:disabled + .pc-adjustment-switch{opacity:.72!important}
.pc-discount-check.is-active{
  background:#f59e0b!important;
  border-color:#d97706!important;
  box-shadow:0 0 0 3px rgba(245,158,11,.11)!important;
}
.pc-discount-check.is-active::after{transform:translateX(-16px)!important}
.pc-adjustment-amount-field{
  width:100%!important;
  min-height:48px!important;
  align-self:end!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  padding:0 12px!important;
  border:1px solid rgba(148,163,184,.32)!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.035)!important;
  box-sizing:border-box!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.pc-adjustment-amount-field:focus-within{
  border-color:rgba(59,130,246,.52)!important;
  box-shadow:0 0 0 3px rgba(59,130,246,.09)!important;
}
.pc-adjustment-amount-field input{
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  padding:0!important;
  text-align:right!important;
  font:inherit!important;
  font-size:.94rem!important;
  font-weight:900!important;
  color:var(--text-main,#0f172a)!important;
  box-shadow:none!important;
}
.pc-adjustment-amount-field input::placeholder{color:#94a3b8!important;font-weight:700!important}
.pc-adjustment-amount-field input:disabled{opacity:.52!important;cursor:not-allowed!important}
.pc-adjustment-amount-field>span{font-size:.71rem!important;font-weight:800!important;color:var(--text-muted,#64748b)!important;white-space:nowrap!important}

html.pc-dark-mode .pc-settle-adjustment-card,
body.pc-dark-mode .pc-settle-adjustment-card,
html.pc-dark-mode #pc-settle-wallet-host .pc-settle-wallet-control.pc-settle-adjustment-card,
body.pc-dark-mode #pc-settle-wallet-host .pc-settle-wallet-control.pc-settle-adjustment-card{
  background:linear-gradient(180deg,rgba(30,41,59,.94),rgba(15,23,42,.94))!important;
  border-color:rgba(148,163,184,.20)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035)!important;
}
html.pc-dark-mode #pc-settle-wallet-host .pc-settle-wallet-control.pc-settle-adjustment-card.is-active,
body.pc-dark-mode #pc-settle-wallet-host .pc-settle-wallet-control.pc-settle-adjustment-card.is-active{
  background:linear-gradient(180deg,rgba(20,83,45,.34),rgba(5,46,22,.28))!important;
  border-color:rgba(34,197,94,.30)!important;
}
html.pc-dark-mode .pc-settle-discount-card.pc-settle-adjustment-card.is-active,
body.pc-dark-mode .pc-settle-discount-card.pc-settle-adjustment-card.is-active{
  background:linear-gradient(180deg,rgba(120,53,15,.30),rgba(69,26,3,.25))!important;
  border-color:rgba(245,158,11,.34)!important;
}
html.pc-dark-mode .pc-adjustment-copy strong,
body.pc-dark-mode .pc-adjustment-copy strong{color:#f8fafc!important}
html.pc-dark-mode .pc-adjustment-copy small,
body.pc-dark-mode .pc-adjustment-copy small{color:#94a3b8!important}
html.pc-dark-mode .pc-adjustment-switch,
body.pc-dark-mode .pc-adjustment-switch{background:#334155!important;border-color:#475569!important}
html.pc-dark-mode .pc-adjustment-amount-field,
body.pc-dark-mode .pc-adjustment-amount-field{background:rgba(15,23,42,.82)!important;border-color:#334155!important}
html.pc-dark-mode .pc-adjustment-amount-field input,
body.pc-dark-mode .pc-adjustment-amount-field input{color:#f8fafc!important}

@media(max-width:620px){
  .pc-settle-adjustments-row{grid-template-columns:1fr!important;gap:10px!important}
  .pc-settle-adjustment-card,#pc-settle-wallet-host .pc-settle-wallet-control.pc-settle-adjustment-card{min-height:126px!important}
}
