:root{color-scheme:light;--pay-navy:#122439;--pay-orange:#df580b}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#eff3f7;color:var(--pay-navy);font-family:Tahoma,Arial,sans-serif;line-height:1.9;padding:36px 16px}.pay-card{max-width:640px;margin:5vh auto;background:#fff;border:1px solid #dce4eb;border-radius:20px;padding:clamp(22px,5vw,42px);box-shadow:0 18px 60px #11233712}.brand{font-weight:900;color:var(--pay-navy);text-decoration:none;font-size:25px}.brand:after{content:"";display:block;background:var(--pay-orange);height:4px;width:42px;border-radius:5px;margin-top:8px}h1{font-size:24px;line-height:1.6}h2{font-size:18px}p{overflow-wrap:anywhere}.pay-button{display:block;text-align:center;width:100%;padding:12px 16px;margin:14px 0;background:var(--pay-orange);color:#fff;border:0;border-radius:10px;text-decoration:none;font:700 15px Tahoma;cursor:pointer;line-height:1.8}.pay-button.secondary{background:var(--pay-navy)}.pay-button:disabled{opacity:.6;cursor:wait}.pay-link{display:inline-block;color:#234f88;margin:8px 0 8px 18px}.payment-item{border-top:1px solid #dce4eb;padding:18px 0}.payment-item strong{font-size:21px}.pay-status{color:#46586e;margin:10px 0}.pay-status.error{color:#ae291b}.pay-status.success{color:#197344}input{max-width:100%}table{width:100%;border-collapse:collapse;font-size:13px}td,th{text-align:right;border-bottom:1px solid #dce4eb;padding:8px;overflow-wrap:anywhere}.table-wrap{overflow:auto}a:focus-visible,button:focus-visible{outline:3px solid #338bd3;outline-offset:4px}[hidden]{display:none!important}

.gateway-notice{border:1px solid #eab571;border-right:5px solid #df790b;background:#fff7eb;border-radius:12px;padding:14px 18px;margin:20px 0}.gateway-notice strong{display:block;color:#8c4b06;font-size:17px}.gateway-notice p{margin:5px 0 0;color:#544a3b}

/* Checkout presentation; shared gateway result and admin pages retain their base layout. */
.checkout-page{--ink:#162b42;--muted:#6e7c8c;--line:#e6ebf1;--accent:#e65c0a;background:radial-gradient(ellipse at 92% 0%,#fff2e7 0,transparent 40%),#f6f8fb;color:var(--ink);padding:0;font-family:Vazirmatn,Tahoma,Arial,sans-serif;line-height:1.8}
.checkout-page button,.checkout-page input{font:inherit}.checkout-page a{transition:color .15s,background .15s}
.checkout-shell{max-width:1120px;margin:auto;padding:0 28px 30px}.checkout-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 0;border-bottom:1px solid var(--line)}
.checkout-brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none}.checkout-brand img{border-radius:13px;object-fit:contain}.checkout-brand b{font-size:21px;font-weight:900;display:block;line-height:1.5}.checkout-brand small{display:block;font-size:11px;color:var(--muted)}.checkout-back{color:#50657e;text-decoration:none;font-size:13px;display:flex;gap:12px;align-items:center}.checkout-back:hover{color:var(--accent)}
.checkout-intro{padding:36px 0 26px}.checkout-eyebrow{display:block;font-size:12px;font-weight:700;color:#ae490f;letter-spacing:-.1px}.checkout-intro h1{font-size:clamp(25px,3.5vw,34px);font-weight:900;letter-spacing:-.8px;margin:5px 0 8px;line-height:1.55}.checkout-intro p{font-size:14px;color:var(--muted);margin:0}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);align-items:start;gap:24px}.checkout-primary{min-width:0}.checkout-panel,.code-panel{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 38px #18354d05}.checkout-panel{padding:26px}.checkout-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.checkout-section-heading h2{font-size:17px;font-weight:800;margin:0}.secure-chip{display:inline-flex;align-items:center;gap:5px;background:#edf8f1;color:#267447;font-size:11px;font-weight:700;padding:5px 9px;border-radius:8px;white-space:nowrap}.secure-chip svg{width:15px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.checkout-page .pay-status{font-size:13px;background:#f3f6fa;border-radius:12px;padding:12px 14px;margin:0 0 16px}.checkout-page .pay-status:empty{display:none}.checkout-page .pay-status.error{background:#fff2ed;color:#a23b20}.checkout-page .pay-status.success{background:#edf8f1;color:#247246}
.checkout-page .payment-item{border:1px solid #e5eaf0;background:#fff;border-radius:16px;padding:22px;margin-top:16px;overflow:hidden}.checkout-page .payment-item:first-child{margin-top:0}.order-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.order-heading h2{font-size:19px;font-weight:800;line-height:1.7;margin:0 0 3px}.order-number{font-size:11px;color:var(--muted)}.order-badge{margin:0;font-size:11px!important;padding:4px 9px;border-radius:7px;max-width:150px;background:#f3f5f8;color:#67798d}.order-badge.pending{background:#fff4e6;color:#975b0e}.order-badge.confirmed{background:#eaf7f0;color:#257448}.order-badge.rejected{background:#fff0ef;color:#a84941}
.order-amount{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f7f9fc;border-radius:11px;padding:16px;margin:20px 0 17px}.order-amount>span{font-size:12px;color:#68788b}.checkout-page .order-amount strong{font-size:25px;line-height:1.6;letter-spacing:-.6px;overflow-wrap:anywhere}.checkout-page .payment-item>p{font-size:12px;color:#66788b;margin:10px 0}.checkout-page .pay-button{font-family:inherit;font-weight:800;min-height:52px;padding:13px 18px;border-radius:11px;background:var(--accent);margin:12px 0 0;box-shadow:0 5px 12px #e65c0a15;transition:background .15s,transform .15s}.checkout-page .pay-button:hover:not(:disabled){background:#ce4e00;transform:translateY(-1px)}.checkout-page .pay-button.secondary{background:#f0f4f9;color:#2b4b6c;box-shadow:none;border:1px solid #dfe7ef}.checkout-page .pay-button.secondary:hover:not(:disabled){background:#e6edf5}.checkout-page .pay-button:disabled{opacity:.55;cursor:wait;transform:none}.checkout-page .pay-link{font-size:13px}
.code-panel{margin-top:18px;box-shadow:none}.code-panel summary{display:flex;align-items:center;gap:12px;padding:19px 21px;cursor:pointer;list-style:none}.code-panel summary::-webkit-details-marker{display:none}.code-panel summary b{font-size:13px;font-weight:700;display:block}.code-panel summary small{font-size:11px;color:var(--muted);display:block;margin-top:2px}.code-symbol{font-size:22px;display:grid;place-items:center;width:37px;height:37px;flex-shrink:0;background:#f2f5f9;border-radius:10px;color:#6b7e93}.details-chevron{margin-inline-start:auto;color:#8998a8;font-size:20px}.code-panel[open] .details-chevron{transform:rotate(180deg)}.code-panel form{padding:0 21px 20px;border-top:1px solid #f0f3f7}.code-panel p{font-size:12px;color:var(--muted);margin:15px 0}.code-panel label{font-size:12px;font-weight:700;display:block;margin-bottom:7px}.code-input-row{display:flex;gap:9px;align-items:center}.code-input-row input{min-width:0;flex:1;border:1px solid #d4dfe9;border-radius:10px;padding:12px;min-height:50px;font-family:ui-monospace,monospace!important;font-size:16px;color:#23415c;background:#fcfdff}.checkout-page .code-input-row .pay-button{width:auto;min-width:100px;margin:0;font-size:13px;padding:12px 16px;background:#243f5e;box-shadow:none}.code-feedback:empty{display:none}
.payment-assurance{padding:28px 25px;background:linear-gradient(145deg,#173652,#10273f);color:#fff;border-radius:22px;position:relative;overflow:hidden}.assurance-icon{display:grid;place-items:center;width:47px;height:50px;border-radius:14px;background:#ffffff12;border:1px solid #ffffff19;margin-bottom:17px;color:#ffc885}.assurance-icon svg{width:28px;height:31px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}.aside-eyebrow{font-size:10px;color:#b0c4d7;display:block}.payment-assurance h2{font-size:18px;font-weight:800;margin:4px 0 10px}.payment-assurance>p{color:#bdcddd;font-size:12px;line-height:1.95;margin:0}.payment-steps{padding:21px 0 0;margin:23px 0 0;list-style:none;border-top:1px solid #ffffff15;display:grid;gap:20px}.payment-steps li{display:flex;align-items:center;gap:12px}.payment-steps li>span{display:grid;place-items:center;width:27px;height:27px;flex-shrink:0;border-radius:50%;border:1px solid #ffffff22;font-size:12px;color:#f7d3ae}.payment-steps b{font-size:12px;font-weight:700;display:block}.payment-steps small{font-size:10px;color:#b0c4d7;display:block;margin-top:1px}
.payment-help{padding:21px 8px}.payment-help b{font-size:12px}.payment-help p{font-size:11px;color:var(--muted);line-height:2;margin:7px 0 11px}.payment-help a{color:#33618d;font-size:12px;font-weight:700;text-decoration:none;display:flex;justify-content:space-between}.checkout-footer{padding:25px 0 0;display:flex;align-items:center;justify-content:space-between;gap:16px}.checkout-footer nav{display:flex;flex-wrap:wrap;gap:22px}.checkout-footer a{font-size:12px;color:#75869a;text-decoration:none}.checkout-footer a:hover{color:var(--accent)}.checkout-page .mm-assistant-inline{font-family:inherit;font-size:11px;padding:9px 12px;min-height:38px}.checkout-page :focus-visible{outline:3px solid #e89043;outline-offset:4px}
@media(max-width:760px){.checkout-shell{padding:0 16px 25px}.checkout-header{padding:18px 0}.checkout-brand img{width:39px;height:39px}.checkout-brand b{font-size:19px}.checkout-brand small{font-size:9px}.checkout-back{font-size:11px;gap:5px}.checkout-intro{padding:26px 0 21px}.checkout-intro h1{font-size:26px}.checkout-intro p{font-size:12px;max-width:340px}.checkout-layout{grid-template-columns:1fr;gap:20px}.checkout-panel{padding:20px 16px;border-radius:18px}.checkout-section-heading{margin-bottom:17px}.checkout-section-heading h2{font-size:16px}.checkout-page .payment-item{padding:18px 15px}.order-heading h2{font-size:18px}.order-amount{padding:15px 12px;margin-top:17px}.checkout-page .order-amount strong{font-size:23px}.order-amount>span{font-size:11px}.checkout-aside{display:grid;grid-template-columns:1fr}.payment-assurance{padding:22px;border-radius:18px}.assurance-icon{float:left;width:40px;height:43px;margin:0 12px 10px 0}.payment-assurance h2{font-size:17px}.payment-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;padding-top:18px}.payment-steps li{display:block}.payment-steps li>span{margin-bottom:8px}.payment-steps b{font-size:11px}.payment-steps small{font-size:10px;line-height:1.9}.payment-help{padding:18px 6px 0}.checkout-footer{border-top:1px solid var(--line);margin-top:23px;padding-top:20px;flex-wrap:wrap}.checkout-footer nav{gap:18px}.code-panel summary{padding:17px 15px;gap:10px}.code-panel summary small{font-size:10px}.code-panel form{padding:0 16px 16px}.code-symbol{width:33px;height:33px}.order-badge{font-size:10px!important;max-width:116px}}
@media(max-width:370px){.checkout-shell{padding-inline:11px}.checkout-brand small{display:none}.checkout-intro h1{font-size:23px}.order-heading{gap:8px}.order-heading h2{font-size:16px}.checkout-page .order-amount strong{font-size:20px}.code-input-row{flex-wrap:wrap}.checkout-page .code-input-row .pay-button{width:100%}.payment-steps{gap:8px}}
@media(prefers-reduced-motion:reduce){.checkout-page *{scroll-behavior:auto!important;transition:none!important}}

/* Discount code controls belong to a specific unpaid order. */
.checkout-coupon-form{border-top:1px solid #e1e8f0;padding:14px 0;margin-top:14px}.checkout-coupon-form summary{cursor:pointer;font-size:12px;font-weight:700;color:#38649a}.checkout-coupon-form label{display:block;font-size:11px;margin:15px 0 7px}.coupon-input-row{display:flex;gap:8px;align-items:center}.coupon-input-row input{flex:1;min-width:0;border:1px solid #cddbea;border-radius:9px;padding:11px;font:inherit;font-size:16px;min-height:44px}.coupon-input-row .pay-button{width:auto;flex:0 0 auto;margin:0;min-height:44px;font-size:12px}.order-coupon{padding:12px 14px;margin:12px 0;border:1px solid #c6e4d4;border-radius:10px;background:#f1faf5;color:#286549}.order-coupon p{font-size:12px;margin:0 0 4px}.order-coupon small{display:block;font-size:10px;line-height:1.9}.order-coupon.expired{background:#fff7ec;border-color:#ead4b7;color:#93621d}.coupon-remove{display:block;margin:9px 0 0;padding:4px 0;border:0;background:transparent;text-decoration:underline;color:inherit;cursor:pointer;font:inherit;font-size:11px}.coupon-remove:disabled{opacity:.5}.checkout-coupon-form .code-feedback{font-size:11px}
