
/* polished loading buttons */
button.wcidm-loading, input[type="submit"].wcidm-loading{
  opacity: .92;
  pointer-events: none;
  position: relative;
}
.wcidm-btn-inner{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.35rem;
}
.wcidm-spinner{
  display:none;
  width:14px;
  height:14px;
  border:2px solid rgba(255,255,255,.45);
  border-top-color:#fff;
  border-radius:50%;
  animation:wcidmSpin .8s linear infinite;
  margin-inline-start:.4rem;
  vertical-align:middle;
}
button.wcidm-loading .wcidm-spinner{
  display:inline-block;
}
@keyframes wcidmSpin{to{transform:rotate(360deg)}}

/* compact toast */
.wcidm-v341-toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%) translateY(12px);
  z-index:99999;
  padding:10px 14px;
  border-radius:999px;
  font-size:14px;
  line-height:1.2;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  opacity:0;
  transition:opacity .22s ease, transform .22s ease;
  max-width:min(92vw, 420px);
  text-align:center;
}
.wcidm-v341-toast.is-success{
  background:#eefaf2;
  color:#17693a;
  border:1px solid #b7e3c5;
}
.wcidm-v341-toast.is-error{
  background:#fff3f3;
  color:#9f1d1d;
  border:1px solid #efc2c2;
}
.wcidm-v341-toast.is-visible{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

/* very light body cue while sheet opens */
body.wcidm-sheet-opening{
  transition:background-color .18s ease;
}
