.mms-promo-box{
  margin:12px 0;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,0.12);
  border-radius:10px;
  background:#fff;
}
.mms-promo-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.mms-promo-label{
  font-weight:700;
}
.mms-promo-controls{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.mms-promo-input{
  min-width:180px;
  padding:8px 10px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.2);
}
.mms-promo-apply,.mms-promo-remove{
  padding:8px 12px;
  border-radius:8px;
  border:0;
  cursor:pointer;
  font-weight:700;
}
.mms-promo-apply{
  background:#111;
  color:#fff;
}
.mms-promo-remove{
  background:#f1f1f1;
  color:#111;
}
.mms-promo-msg{
  margin-top:8px;
  font-size:13px;
  line-height:1.4;
  opacity:0.9;
}
.mms-promo-msg.is-ok{opacity:1;}
.mms-promo-msg.is-warn{opacity:1;}
.mms-promo-msg.is-err{opacity:1;}

/* Toast notice for promo links (Plan A) + credit issued (Plan B) */
.mms-promo-toast{
  position:fixed;
  /* Centered so it's obvious on mobile */
  top:var(--mms-promo-toast-top, 80%);
  left:50%;
  transform:translate(-50%,-50%);
  z-index:999999;
  width:min(720px, calc(100% - 24px));
  display:none;
}
.mms-promo-toast.is-visible{display:block;}
.mms-promo-toast-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.18);
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,0.12);
}
.mms-promo-toast.is-ok .mms-promo-toast-inner{border-color:rgba(0,0,0,0.18);}
.mms-promo-toast.is-err .mms-promo-toast-inner{border-color:rgba(210,0,0,0.35);}
.mms-promo-toast-msg{
  font-size:14px;
  line-height:1.35;
  font-weight:600;
  white-space:pre-line;
}
.mms-promo-toast-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
  flex-wrap:wrap;
}
.mms-promo-toast-action{
  padding:8px 10px;
  border-radius:10px;
  border:0;
  cursor:pointer;
  background:#111;
  color:#fff;
  font-weight:700;
}

.mms-promo-toast-ok{
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,0.18);
  cursor:pointer;
  background:#fff;
  color:#111;
  font-weight:800;
}
.mms-promo-toast-close{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,0.18);
  background:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}


.mms-promo-toast-content{display:flex;flex-direction:column;gap:4px;min-width:0;}
.mms-promo-toast-sub{font-size:12px;line-height:1.25;opacity:0.9;font-weight:600;}
