/* Registration payment popup + success page. Scoped so login/registration CSS never conflicts. */
.mdx-regpay-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:18px;background:rgba(7,20,38,.62);backdrop-filter:blur(7px);overflow:auto}
.mdx-regpay-modal{width:min(1120px,96vw);max-height:94vh;overflow:auto;border:1px solid #dbe4ef;border-radius:22px;background:#fff;box-shadow:0 30px 90px rgba(4,18,38,.35);font-family:Inter,Arial,sans-serif;color:#14233b}
.mdx-regpay-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 24px;border-bottom:1px solid #e7edf4;background:#fff}
.mdx-regpay-brand{display:flex;align-items:center;gap:12px;min-width:0}.mdx-regpay-brand img{width:54px;height:44px;object-fit:contain}.mdx-regpay-brand strong{display:block;font-size:17px;color:#123b69}.mdx-regpay-brand span{display:block;margin-top:2px;color:#7b8797;font-size:11px}.mdx-regpay-close{width:38px;height:38px;border:0;border-radius:50%;background:#f2f5f9;color:#526174;font-size:26px;line-height:1;cursor:pointer}
.mdx-regpay-title{text-align:center;padding:18px 24px 8px}.mdx-regpay-title .shield{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#eaf6ef;color:#139447;font-weight:900}.mdx-regpay-title h2{margin:9px 0 4px;color:#0f4688;font-size:25px}.mdx-regpay-title p{margin:0;color:#68768a;font-size:13px}
.mdx-regpay-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:16px 24px 22px}.mdx-regpay-panel{border:1px solid #dce5ef;border-radius:15px;padding:18px;background:#fff}.mdx-regpay-panel h3{display:flex;align-items:center;gap:9px;margin:0 0 14px;color:#0758ba;font-size:17px}.mdx-regpay-details{display:grid;gap:0}.mdx-regpay-row{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid #edf1f5;font-size:13px}.mdx-regpay-row:last-child{border-bottom:0}.mdx-regpay-row span:first-child{color:#647287}.mdx-regpay-row strong{color:#1c2c42;text-align:right}.mdx-regpay-row .amount{color:#129447;font-size:17px}
.mdx-regpay-secure{margin-top:15px;padding:12px;border:1px solid #cfead8;border-radius:11px;background:#f4fbf6}.mdx-regpay-secure b{color:#138b43;font-size:13px}.mdx-regpay-secure p{margin:5px 0 0;color:#667486;font-size:11px;line-height:1.5}.mdx-regpay-steps{margin-top:15px;padding:13px;border:1px solid #cfe0f7;border-radius:11px;background:#f5f9ff}.mdx-regpay-steps h4{margin:0 0 9px;color:#0758ba;font-size:13px}.mdx-regpay-step{display:flex;gap:8px;margin:7px 0;color:#617086;font-size:11px}.mdx-regpay-step b{display:grid;place-items:center;flex:0 0 20px;height:20px;border-radius:50%;background:#dceaff;color:#1763c6;font-size:10px}
.mdx-regpay-qrbox{text-align:center}.mdx-regpay-qrbox h3{justify-content:center}.mdx-regpay-qr{display:block;width:min(100%,275px);height:auto;margin:4px auto 11px;padding:10px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 9px 25px rgba(15,23,42,.10)}.mdx-regpay-upi{display:flex;justify-content:center;align-items:center;gap:8px;color:#0758ba;font-size:12px;font-weight:700}.mdx-regpay-copy{border:1px solid #bcd2f2;border-radius:7px;padding:5px 9px;color:#0758ba;background:#fff;font-size:11px;font-weight:800;cursor:pointer}.mdx-regpay-app-title{display:flex;align-items:center;gap:12px;margin:16px 0 10px;color:#0758ba;font-size:13px;font-weight:800}.mdx-regpay-app-title:before,.mdx-regpay-app-title:after{content:'';height:1px;flex:1;background:#dbe4ef}.mdx-regpay-apps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.mdx-regpay-app{display:grid;place-items:center;min-height:72px;padding:7px 3px;border:1px solid #e1e7ef;border-radius:10px;background:#fff;box-shadow:0 4px 13px rgba(15,23,42,.05)}.mdx-regpay-app .app-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#f1f5f9;color:#173d67;font-size:12px;font-weight:900}.mdx-regpay-app span{margin-top:5px;color:#4b5b70;font-size:9.5px;font-weight:700}.app-gpay .app-icon{color:#1a73e8}.app-phonepe .app-icon{color:#673ab7}.app-paytm .app-icon{color:#0084ff}.app-bhim .app-icon{color:#1769aa}.app-amazon .app-icon{color:#111}.app-whatsapp .app-icon{color:#128c7e}.app-cred .app-icon{color:#111}.app-kotak .app-icon{color:#d71920}
.mdx-regpay-footer{display:grid;grid-template-columns:1fr 1fr 1fr 1.2fr;align-items:center;gap:20px;padding:16px 24px;border-top:1px solid #e2e8f0;background:#fbfcfe}.mdx-regpay-footer-label{color:#647287;font-size:11px}.mdx-regpay-footer-value{margin-top:3px;color:#119447;font-size:22px;font-weight:900}.mdx-regpay-utr{display:flex;align-items:center;gap:8px}.mdx-regpay-utr input{width:100%;height:45px;padding:0 12px;border:1px solid #cfd9e6;border-radius:9px;outline:0;font:600 13px Inter,Arial,sans-serif}.mdx-regpay-utr input:focus{border-color:#1264c9;box-shadow:0 0 0 3px rgba(18,100,201,.12)}.mdx-regpay-submit{height:47px;border:0;border-radius:9px;padding:0 18px;color:#fff;background:linear-gradient(135deg,#0758ba,#1148a3);font:800 13px Inter,Arial,sans-serif;cursor:pointer;white-space:nowrap;box-shadow:0 8px 20px rgba(7,88,186,.22)}.mdx-regpay-submit:disabled{opacity:.65;cursor:wait}.mdx-regpay-help{margin-top:9px;text-align:center;color:#7a8797;font-size:10px}
/* success */
.mdx-success-page{min-height:100vh;margin:0;background:#f5f8fb;font-family:Inter,Arial,sans-serif;color:#15243b}.mdx-success-header{display:flex;justify-content:space-between;align-items:center;padding:18px 5%;background:#0d3c72;color:#fff}.mdx-success-brand{display:flex;align-items:center;gap:12px}.mdx-success-brand img{width:58px;height:48px;object-fit:contain;background:#fff;border-radius:9px;padding:3px}.mdx-success-brand strong{font-size:21px}.mdx-success-brand span{display:block;color:#d9e7f7;font-size:11px;margin-top:2px}.mdx-success-support{text-align:right;font-size:11px;color:#dce8f6}.mdx-success-support b{display:block;color:#fff;font-size:15px;margin-top:3px}.mdx-success-main{width:min(900px,92vw);margin:30px auto 42px;padding:42px;border:1px solid #dfe6ef;border-radius:20px;background:#fff;box-shadow:0 20px 55px rgba(17,36,63,.10);text-align:center}.mdx-success-check{width:112px;height:112px;margin:0 auto 15px;display:grid;place-items:center;border-radius:50%;background:#eaf8ef;border:1px solid #cdebd7;color:#149447;font-size:67px;font-weight:300}.mdx-success-main h1{margin:0;color:#118b42;font-size:36px}.mdx-success-main .lead{margin:10px auto 25px;max-width:650px;color:#5f6d80;font-size:15px;line-height:1.65}.mdx-success-user{max-width:650px;margin:0 auto;padding:20px 24px;border:1px solid #cfe7d7;border-radius:14px;background:#f5fbf7;text-align:left}.mdx-success-user .uid{font-size:27px;font-weight:900;color:#118b42}.mdx-success-user .name{margin-top:11px;padding-top:11px;border-top:1px dashed #cfe0d5;font-size:16px;font-weight:800;color:#163f75}.mdx-success-note{max-width:650px;margin:20px auto;padding:17px;border:1px solid #d9e4f1;border-radius:12px;background:#f7faff;color:#56677d;font-size:13px;line-height:1.65}.mdx-success-actions{display:flex;justify-content:center;gap:12px;margin-top:22px}.mdx-success-actions a{display:inline-flex;align-items:center;justify-content:center;min-width:180px;min-height:46px;padding:0 18px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:800}.mdx-success-actions .primary{color:#fff;background:#0b4c91}.mdx-success-actions .secondary{color:#0b4c91;border:1px solid #bfd1e5;background:#fff}.mdx-success-thanks{margin-top:24px;color:#68768a;font-size:13px}.mdx-success-footer{padding:22px 5%;background:#0d3c72;color:#dce8f6;text-align:center;font-size:11px}.mdx-success-footer strong{color:#fff;font-size:13px}
@media(max-width:850px){.mdx-regpay-grid{grid-template-columns:1fr}.mdx-regpay-footer{grid-template-columns:1fr 1fr}.mdx-regpay-footer .mdx-regpay-utr{grid-column:1/-1}.mdx-regpay-submit{width:100%}}
@media(max-width:560px){.mdx-regpay-overlay{padding:0;align-items:end}.mdx-regpay-modal{width:100%;max-height:96vh;border-radius:18px 18px 0 0}.mdx-regpay-top{padding:13px 15px}.mdx-regpay-brand img{width:44px;height:38px}.mdx-regpay-brand strong{font-size:14px}.mdx-regpay-title{padding:13px 15px 4px}.mdx-regpay-title h2{font-size:21px}.mdx-regpay-grid{padding:10px 13px 14px;gap:12px}.mdx-regpay-panel{padding:13px}.mdx-regpay-qr{width:235px}.mdx-regpay-apps{grid-template-columns:repeat(4,1fr)}.mdx-regpay-app{min-height:65px}.mdx-regpay-app .app-icon{width:30px;height:30px;font-size:10px}.mdx-regpay-app span{font-size:8px}.mdx-regpay-footer{grid-template-columns:1fr 1fr;padding:13px}.mdx-regpay-footer-value{font-size:19px}.mdx-regpay-utr{display:grid;grid-template-columns:1fr;gap:7px}.mdx-regpay-submit{height:44px}.mdx-success-header{padding:13px 18px}.mdx-success-brand strong{font-size:15px}.mdx-success-support{display:none}.mdx-success-main{width:100%;margin:0;padding:34px 18px 30px;border:0;border-radius:0;box-shadow:none}.mdx-success-check{width:90px;height:90px;font-size:52px}.mdx-success-main h1{font-size:28px}.mdx-success-main .lead{font-size:13px}.mdx-success-user{padding:17px}.mdx-success-user .uid{font-size:22px}.mdx-success-actions{flex-direction:column}.mdx-success-actions a{width:100%}}

/* CSC SEVA PORTAL final payment + success refinements */
.mdx-regpay-overlay{padding:12px}
.mdx-regpay-modal{
  width:min(1080px,94vw);max-height:90vh;border-radius:18px;
}
.mdx-regpay-top{padding:13px 20px}
.mdx-regpay-brand img{width:150px;height:48px;background:#fff;border-radius:7px}
.mdx-regpay-brand strong{color:#0b4f98;font-size:15px}
.mdx-regpay-title{padding:12px 20px 5px}
.mdx-regpay-title h2{font-size:22px}
.mdx-regpay-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:14px;padding:12px 18px}
.mdx-regpay-panel{padding:15px}
.mdx-regpay-qr{width:min(100%,245px);padding:7px}
.mdx-regpay-apps{gap:6px}
.mdx-regpay-app{min-height:61px;padding:5px 2px}
.mdx-regpay-app .app-icon{width:31px;height:31px}
.mdx-regpay-footer{gap:12px;padding:12px 18px}
.mdx-regpay-footer-value{font-size:20px}
.mdx-success-header{padding:15px 5.5%}
.mdx-success-brand img{width:145px;height:48px;background:#fff;border-radius:7px;padding:3px}
.mdx-success-brand strong{font-size:16px}
.mdx-success-brand span{font-size:9px}
.mdx-success-main{width:min(940px,92vw);padding:38px 42px 34px;margin:24px auto 34px}
.mdx-success-note{background:#fff8eb;border-color:#f5d69a;color:#79591f}
.mdx-success-note strong{color:#a46100}
@media(max-width:850px){
 .mdx-regpay-modal{max-height:92vh}
 .mdx-regpay-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
 .mdx-regpay-overlay{padding:0}
 .mdx-regpay-modal{width:100%;max-height:94vh;border-radius:16px 16px 0 0}
 .mdx-regpay-brand img{width:125px;height:40px}
 .mdx-regpay-brand strong,.mdx-regpay-brand span{display:none}
 .mdx-regpay-title h2{font-size:20px}
 .mdx-regpay-grid{padding:8px 10px 10px;gap:8px}
 .mdx-regpay-panel{padding:11px}
 .mdx-regpay-qr{width:215px}
 .mdx-regpay-app{min-height:58px}
 .mdx-regpay-footer{grid-template-columns:1fr 1fr;padding:10px}
 .mdx-success-brand img{width:125px;height:40px}
 .mdx-success-main{width:100%;margin:0;padding:30px 16px 26px}
 .mdx-success-header{padding:11px 15px}
}
/* Final CSC SEVA PORTAL payment/success alignment */
.mdx-regpay-top{min-height:68px}.mdx-regpay-brand img{width:205px!important;height:auto!important;max-height:52px!important;object-fit:contain}.mdx-regpay-brand>div{display:none!important}.mdx-regpay-modal{width:min(1040px,94vw)!important;max-height:90vh!important}.mdx-regpay-grid{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)!important}.mdx-regpay-qr{width:min(100%,235px)!important}.mdx-regpay-panel{padding:14px!important}.mdx-regpay-footer{grid-template-columns:.8fr 1fr 1.35fr 1fr!important}.mdx-success-user{max-width:650px;margin:18px auto;padding:20px 24px;border:1px solid #cfe7d7;border-radius:14px;background:#f5fbf7;text-align:left}.mdx-success-user .uid{font-size:27px;font-weight:900;color:#118b42}.mdx-success-user .name{margin-top:11px;padding-top:11px;border-top:1px dashed #cfe0d5;font-size:16px;font-weight:800;color:#163f75}.mdx-success-note{max-width:650px;margin:18px auto;padding:16px;border:1px solid #f2d39b;border-radius:12px;background:#fff8eb;color:#79591f;font-size:13px;line-height:1.65}.mdx-success-note strong{color:#a46100}.mdx-success-actions{display:flex;justify-content:center;gap:12px;margin-top:20px}.mdx-success-actions a{display:inline-flex;align-items:center;justify-content:center;min-width:180px;min-height:46px;padding:0 18px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:800}.mdx-success-actions .primary{color:#fff;background:#0b4c91}.mdx-success-actions .secondary{color:#0b4c91;border:1px solid #bfd1e5;background:#fff}.mdx-success-thanks{margin-top:20px;color:#68768a;font-size:13px}@media(max-width:850px){.mdx-regpay-footer{grid-template-columns:1fr 1fr!important}.mdx-regpay-footer .mdx-regpay-footer-utr{grid-column:1/-1}}@media(max-width:560px){.mdx-regpay-top{min-height:56px}.mdx-regpay-brand img{width:145px!important;max-height:42px!important}.mdx-regpay-modal{width:100%!important;max-height:94vh!important}.mdx-regpay-grid{grid-template-columns:1fr!important}.mdx-regpay-qr{width:210px!important}.mdx-regpay-footer{grid-template-columns:1fr 1fr!important}.mdx-success-user{padding:16px}.mdx-success-user .uid{font-size:22px}.mdx-success-actions{flex-direction:column}.mdx-success-actions a{width:100%}}
