/* Instant Pay Reports - checkout modal.
   Scoped under .mspay- so it cannot collide with Astra or the tool pages. */

.mspay-modal{position:fixed;inset:0;z-index:99999;background:rgba(20,14,8,.62);
  display:flex;align-items:center;justify-content:center;padding:18px;
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}

.mspay-card{position:relative;width:100%;max-width:400px;background:#FBF3E3;
  border:1px solid rgba(201,151,28,.45);border-radius:16px;padding:26px 24px 20px;
  box-shadow:0 24px 60px rgba(0,0,0,.35);font-family:Poppins,system-ui,sans-serif;
  max-height:92vh;overflow-y:auto}

.mspay-card h3{margin:0 0 2px!important;font-size:19px;line-height:1.3;
  color:#6B1626!important;font-weight:600}

.mspay-te{margin:0 0 10px;font-size:14px;color:#8a6f2e;
  font-family:'Noto Sans Telugu',sans-serif}

.mspay-blurb{margin:0 0 18px;font-size:13px;line-height:1.55;color:#5c5044}

.mspay-card label{display:block;margin:0 0 12px;font-size:12px;font-weight:600;
  letter-spacing:.02em;color:#2B2118;text-transform:none}

.mspay-opt{font-weight:400;color:#9a8f80}

.mspay-card input{display:block;width:100%;margin-top:5px;height:44px;
  padding:0 12px;font-size:15px;color:#2B2118;background:#fff;
  border:1px solid #e0d3b6;border-radius:9px;box-sizing:border-box;
  font-family:inherit;-webkit-appearance:none}

.mspay-card input:focus{outline:none;border-color:#C9971C;
  box-shadow:0 0 0 3px rgba(201,151,28,.18)}

.mspay-go{width:100%;height:48px;margin-top:6px;border:0;border-radius:10px;
  background:#C9971C;color:#231a08;font-size:15px;font-weight:600;cursor:pointer;
  font-family:inherit;transition:filter .15s}
.mspay-go:hover{filter:brightness(1.07)}
.mspay-go:active{transform:translateY(1px)}

.mspay-fine{margin:12px 0 0;font-size:11.5px;line-height:1.5;color:#8a7f70;
  text-align:center}

.mspay-x{position:absolute;top:10px;right:12px;width:30px;height:30px;border:0;
  background:transparent;font-size:26px;line-height:1;color:#9a8f80;cursor:pointer;
  border-radius:8px}
.mspay-x:hover{background:rgba(0,0,0,.06);color:#6B1626}

.mspay-err{margin:0 0 10px;padding:9px 11px;font-size:12.5px;line-height:1.5;
  color:#8a1f2e;background:rgba(138,31,46,.08);border-radius:8px}

.mspay-cur{display:inline-flex;gap:2px;padding:2px;border-radius:8px;
  background:rgba(201,151,28,.12)}
.mspay-cur button{border:0;background:transparent;cursor:pointer;padding:4px 11px;
  border-radius:6px;font:600 13px/1 Poppins,system-ui,sans-serif;color:#6B1626}
.mspay-cur button:hover{background:rgba(255,255,255,.7)}

/* Locked report teaser used by the [mspay_locked] shortcode */
.mspay-lock{position:relative;border:1px dashed rgba(201,151,28,.6);
  border-radius:14px;padding:22px;background:rgba(201,151,28,.06);text-align:center}
.mspay-lock h4{margin:0 0 6px!important;color:#6B1626!important;font-size:17px}
.mspay-lock p{margin:0 0 14px;font-size:13.5px;color:#5c5044;line-height:1.6}
.mspay-lock .mspay-go{max-width:280px;margin:0 auto}

/* Order bump: the one-tick "add these reports, one free" box in the checkout */
.mspay-bump{display:flex;gap:10px;align-items:flex-start;cursor:pointer;
  margin:2px 0 14px;padding:12px 13px;border:1px solid rgba(201,151,28,.55);
  border-radius:11px;background:linear-gradient(96deg,rgba(201,151,28,.10),rgba(201,151,28,.04))}
.mspay-bump input{margin-top:3px;flex:none;width:17px;height:17px;accent-color:#C9971C}
.mspay-bump-in{display:flex;flex-direction:column;gap:2px;min-width:0}
.mspay-bump-h{color:#6B1626;font-size:13.5px;font-weight:700;line-height:1.35}
.mspay-bump-sub{color:#9a7b1e;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}
.mspay-bump-price{font-size:13px;margin-top:3px}
.mspay-bump-price s{color:#9b8a6a}
.mspay-bump-price b{color:#6B1626;font-size:15px;font-weight:800;margin:0 5px}
.mspay-bump-price i{font-style:normal;color:#1B5138;font-weight:700}

/* Post-purchase upsell: the "pick a few, one free" report picker */
.mspay-upsell .mspay-blurb{margin-bottom:12px}
.mspay-pick{display:flex;flex-direction:column;gap:8px;margin:0 0 14px}
.mspay-pick-row{display:flex;align-items:center;gap:10px;cursor:pointer;
  padding:11px 12px;border:1px solid rgba(201,151,28,.4);border-radius:10px;
  background:rgba(201,151,28,.05)}
.mspay-pick-row:hover{background:rgba(201,151,28,.10)}
.mspay-pick-row input{flex:none;width:17px;height:17px;accent-color:#C9971C}
.mspay-pick-name{flex:1;color:#453a30;font-size:14px;font-weight:600;min-width:0}
.mspay-pick-price{flex:none;color:#6B1626;font-size:13.5px;font-weight:700}
.mspay-skip{display:block;width:100%;margin:8px 0 0;border:0;background:transparent;
  cursor:pointer;color:#7a6f60;font-size:13px;text-decoration:underline;padding:6px}
.mspay-skip:hover{color:#6B1626}

@media (prefers-color-scheme:dark){
  .mspay-card{background:#241d14;border-color:rgba(201,151,28,.35)}
  .mspay-card h3{color:#E8C56A!important}
  .mspay-card label{color:#e6ddd0}
  .mspay-blurb,.mspay-fine{color:#b3a795}
  .mspay-card input{background:#1a1510;border-color:#4a3c26;color:#f2ece2}
  .mspay-err{color:#f0a3ad;background:rgba(240,163,173,.12)}
  .mspay-cur button{color:#E8C56A}
  .mspay-bump{border-color:rgba(201,151,28,.4)}
  .mspay-bump-h,.mspay-bump-price b{color:#E8C56A}
  .mspay-bump-sub{color:#d8b45a}
  .mspay-bump-price i{color:#7fd0a4}
  .mspay-pick-name{color:#e6ddd0}
  .mspay-pick-price{color:#E8C56A}
  .mspay-skip{color:#b3a795}
  .mspay-skip:hover{color:#E8C56A}
}

/* ---- combo bump extra line ---- */
.mspay-bump-names{color:#5c5044;font-size:11.5px;line-height:1.4}

/* ---- "your report is ready" modal ---- */
.mspay-ready{max-width:420px;text-align:center}
.mspay-ready .mspay-x{top:8px;right:10px}
.mspay-ready-ic{width:56px;height:56px;margin:2px auto 12px;border-radius:50%;
  background:linear-gradient(150deg,#C9971C,#E8C56A);color:#3a2a06;
  display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:700;line-height:1}
.mspay-ready h3{text-align:center}
.mspay-ready .mspay-te{text-align:center}
.mspay-ready-prep{display:flex;align-items:center;justify-content:center;gap:10px;
  margin:16px 0 6px;font-size:13.5px;color:#5c5044}
.mspay-spin{width:20px;height:20px;flex:none;border-radius:50%;
  border:3px solid rgba(107,22,38,.18);border-top-color:#6B1626;
  animation:mspay-spin .8s linear infinite}
@keyframes mspay-spin{to{transform:rotate(360deg)}}
.mspay-ready-msg{font-size:14px;line-height:1.6;color:#2B2118;margin:8px 0 16px}
.mspay-ready-msg b{color:#6B1626}
.mspay-ready-msg .mspay-te-sub{font-size:12px;color:#5c5044}
.mspay-ready-dl{width:100%;height:46px;margin-top:10px;border:1.5px solid #C9971C;
  border-radius:10px;background:#fff;color:#6B1626;font-weight:700;font-size:14px;cursor:pointer}
.mspay-ready-dl:hover{background:#FBF3E3}
