
/* V115 payment integration readiness */
.md115-page{max-width:1100px;margin:auto}.md115-caution{padding:18px 22px;border:1px solid #cbe6e3;border-radius:16px;background:#effaf8;color:#225b59;line-height:2;margin:20px 0}.md115-caution p{margin:4px 0 0}.md115-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:18px 0 25px}.md115-gateway-option{display:flex;align-items:center;gap:13px;border:1px solid #d9e8e8;border-radius:14px;padding:17px;background:white;cursor:pointer}.md115-gateway-option input{accent-color:#087e78;width:19px;height:19px}.md115-gateway-option span{display:grid;gap:6px}.md115-gateway-option small{line-height:1.8;color:#687f85}.md115-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:22px}.md115-fields label{display:grid;gap:8px;font-weight:700}.md115-input{width:100%;min-height:46px;padding:10px;border:1px solid #d4e0e5;border-radius:11px;background:#fff;font:inherit}.md115-checkout-method{border:1px solid #d7e7e7;border-radius:12px;margin:10px 0;padding:13px;display:flex;gap:10px;align-items:center;cursor:pointer}.md115-checkout-method input{accent-color:#087e78}.md115-payment-info{padding:13px 17px;border-radius:12px;background:#f1faf9;line-height:2;border:1px solid #d7ece9;margin:14px 0}.md115-payment-info strong{color:#126961}
/* Modern Dental V345: card to card responsive checkout. */
.md345-payment-promo{display:flex;align-items:center;gap:12px;flex-wrap:wrap;width:100%;padding:12px 0}.md345-promo-icon{width:40px;height:40px;display:grid;place-items:center;background:#ddf5eb;color:#095f4c;font-size:24px;border-radius:12px}.md345-payment-promo>div:nth-child(2){display:grid;flex:1;gap:5px}.md345-payment-promo strong{color:#144f43}.md345-payment-promo small{color:#68847d;font-size:11px}.md345-payment-promo>span{font-size:10px;color:#217360;background:#e6f8ed;padding:6px 10px;border-radius:25px}.md345-mini{background:#f6fbf8;border:1px solid #dfeee6;padding:13px;border-radius:16px;display:flex;align-items:center;gap:14px;margin:14px 0}.md345-mini[hidden]{display:none}.md345-mini-card{min-width:167px;max-width:167px;aspect-ratio:1.7;background:linear-gradient(120deg,#063f34,#116e58 74%,#1c866c);border-radius:12px;color:#fff;padding:12px;box-shadow:0 9px 22px #164e3725;display:flex;flex-direction:column;justify-content:space-between;direction:ltr;text-align:left}.md345-mini-card span{font-size:9px;letter-spacing:1px}.md345-mini-card b{font-size:12px;letter-spacing:.9px}.md345-mini-card small{font-size:9px}.md345-mini p{font-size:12px;line-height:1.95;color:#5c716d;margin:7px 0 0}.md345-mini>div:last-child>strong{color:#0a5c49}.md345-load{font-size:12px;color:#67847b;padding:10px 0}
.md345-page{--mdgreen:#0f725c;--mddark:#103e34;--mdmint:#eaf7ee;font-family:inherit;direction:rtl;margin-top:24px;margin-bottom:85px;color:var(--mddark)}.md345-page *{box-sizing:border-box}.md345-head{text-align:center;padding:28px 10px 20px}.md345-eyebrow{display:flex;align-items:center;justify-content:center;gap:15px;font-size:11px;font-weight:700;color:#348d77}.md345-secure{color:#5e8378;background:#eef7f2;padding:7px 12px;border-radius:100px}.md345-head h1{font-size:clamp(23px,3vw,35px);letter-spacing:-.8px;margin:13px 0 6px;color:#164b3d}.md345-head p{color:#7e928b;margin:0;font-size:13px}.md345-steps{display:flex;justify-content:center;align-items:center;gap:14px;margin:21px 0 32px}.md345-steps>div{display:flex;align-items:center;gap:8px;color:#92a49d;font-size:12px;white-space:nowrap}.md345-steps>div i{font-style:normal;display:grid;place-items:center;width:32px;height:32px;border:1px solid #dceae2;background:#fff;border-radius:50%;font-weight:800}.md345-steps .active,.md345-steps .done{color:#116b54;font-weight:800}.md345-steps .active i{background:#0b6b52;color:white;border-color:#0b6b52;box-shadow:0 0 0 6px #e5f7ed}.md345-steps .done i{background:#e0f6e9;border-color:#e0f6e9}.md345-steps em{width:55px;height:1px;background:#d1e4d8}.md345-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,0.83fr);gap:22px;align-items:start}.md345-primary{min-width:0;display:grid;gap:22px}.md345-surface{border:1px solid #e5eee9;border-radius:22px;background:white;padding:27px;box-shadow:0 12px 45px rgba(18,69,52,.045)}.md345-section-head{display:flex;align-items:center;gap:12px;margin-bottom:21px}.md345-section-head h2{margin:0 0 5px;font-size:18px;color:#163f34}.md345-section-head small{color:#91a29b;font-size:11px}.md345-icon{width:40px;height:40px;display:grid;place-items:center;background:#e8f7ed;color:#116950;font-size:21px;border-radius:13px}.md345-tag{margin-inline-start:auto;border-radius:25px;padding:6px 10px;background:#f2f8f4;font-size:10px;color:#608176}.md345-bank-card{position:relative;overflow:hidden;color:white;min-height:257px;max-width:535px;background:linear-gradient(126deg,#05392f 8%,#125c4b 50%,#0d7b61 100%);padding:28px 34px 26px;border-radius:22px;box-shadow:0 19px 33px #09573c35;display:flex;flex-direction:column;justify-content:space-between;margin:4px auto 25px;isolation:isolate}.md345-bank-card:before,.md345-bank-card:after{content:'';position:absolute;border:1px solid #ffffff12;width:320px;height:320px;border-radius:50%;top:-100px;left:-105px;pointer-events:none}.md345-bank-card:after{width:440px;height:440px;top:-155px;left:-150px}.md345-bank-top,.md345-bank-bottom{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:2}.md345-bank-top>div{display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:2px;direction:ltr}.md345-bank-mark{font-size:27px;color:#abdbba}.md345-bank-tag{font-size:8px;letter-spacing:1.4px;direction:ltr;color:#d5f6e6;border:1px solid #ffffff55;border-radius:40px;padding:7px 11px}.md345-chip{display:grid;grid-template-columns:repeat(3,8px);gap:4px;width:45px;height:34px;border:1px solid #d9f3d3c7;border-radius:6px;background:linear-gradient(135deg,#f7e4a4,#bca971 50%,#e8dcb0);place-content:center;box-shadow:inset 0 0 3px #8a7b5f}.md345-chip i{border:1px solid #a69b78;border-radius:2px;height:6px}.md345-card-num{font-size:clamp(19px,3.2vw,27px);font-weight:600;letter-spacing:4px;text-align:center;white-space:nowrap;z-index:2;color:#f8f7e9;font-variant-numeric:tabular-nums}.md345-bank-bottom{gap:14px;text-align:right}.md345-bank-bottom>div{display:grid;gap:5px}.md345-bank-bottom small{color:#a7cfbb;font-size:10px}.md345-bank-bottom b{font-size:12px;letter-spacing:.1px}.md345-card-glow{position:absolute;width:250px;height:250px;background:#a6d8b029;filter:blur(70px);border-radius:50%;bottom:-130px;right:-85px}.md345-actionrow{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#f5faf7;border:1px solid #e7f0e9;padding:15px 17px;border-radius:14px}.md345-actionrow>div{display:grid;gap:8px}.md345-actionrow small{font-size:10px;color:#7e9a8d}.md345-actionrow strong{font-size:15px;color:#285648;letter-spacing:1px}.md345-copy{border:1px solid #cce7d7;border-radius:10px;color:#0f7658;background:#fff;font:inherit;font-size:12px;padding:11px 15px;cursor:pointer;white-space:nowrap}.md345-copy:hover{background:#eaf9ef}.md345-instruction{padding:14px 15px;margin-top:15px;background:#fafdf9;border-right:3px solid #8fc7a4;color:#5b7669;line-height:1.9;font-size:12px;border-radius:8px}.md345-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.md345-input-grid label{font-size:12px;color:#365a4d;font-weight:700;display:grid;gap:9px}.md345-input-grid label span{color:#c46f61}.md345-input-grid label small{font-weight:400;color:#9bad9f}.md345-input-grid input{border:1px solid #dce8df;outline:none;width:100%;height:49px;border-radius:11px;padding:0 13px;background:#fbfdfb;color:#23493e;font:inherit;font-size:13px;direction:rtl}.md345-input-grid input:focus{border-color:#449b7d;box-shadow:0 0 0 4px #c4e8d633}.md345-upload{margin-top:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1.5px dashed #b8d6c4;background:#f8fcf8;border-radius:15px;padding:23px 12px;cursor:pointer;text-align:center;color:#3b775f}.md345-upload:hover{background:#edf9f0}.md345-upload input{display:none}.md345-upload-ico{font-size:27px;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e4f5e9}.md345-upload b{font-size:13px}.md345-upload small{color:#8b9f93;font-size:11px}.md345-submit{margin-top:18px;display:flex;justify-content:center;align-items:center;gap:14px;border:0;border-radius:12px;background:linear-gradient(95deg,#08785b,#168767);padding:16px;color:white;font:inherit;font-size:14px;font-weight:800;width:100%;cursor:pointer;box-shadow:0 10px 19px #16765930}.md345-submit:disabled{opacity:.5;cursor:wait}.md345-submit:hover:not(:disabled){filter:brightness(1.06)}.md345-legal{font-size:10px;color:#8da198;text-align:center;line-height:1.9;margin:13px 0 0}.md345-summary{padding:24px;position:sticky;top:20px}.md345-summ-title{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:800}.md345-bill-icon{font-size:26px;color:#2c8b6c}.md345-order-id{display:flex;justify-content:space-between;gap:12px;margin-top:27px;font-size:12px;align-items:center}.md345-order-id small{color:#839d8d}.md345-order-id strong{font-size:12px;direction:ltr;color:#346a59}.md345-money{margin-top:27px;background:#f0f9f2;border-radius:15px;padding:20px;display:grid;gap:10px}.md345-money small{font-size:11px;color:#7a9486}.md345-money strong{color:#0b684c;font-size:clamp(22px,3vw,31px);line-height:1.2;white-space:nowrap}.md345-money strong span{font-size:12px}.md345-divider{height:1px;background:#edf3ee;margin:23px 0}.md345-state{display:flex;gap:9px;align-items:center;border-radius:8px;padding:10px 11px;background:#fff7e8;color:#9e7225;font-size:12px;font-weight:700}.md345-state.pending_review{background:#edf8ff;color:#35748b}.md345-state.verified{background:#e5f7e9;color:#187748}.md345-state.rejected{background:#fff0ee;color:#bd4c3b}.md345-dot{width:8px;height:8px;border-radius:50%;background:currentColor}.md345-summary>p{color:#9ba89d;font-size:11px;line-height:2}.md345-assist{display:flex;align-items:center;gap:13px;padding:22px 10px}.md345-assist>span{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#e3f4e8;color:#34805e}.md345-assist>div{display:grid;gap:5px}.md345-assist b{color:#496e5f;font-size:12px}.md345-assist small{font-size:10px;color:#9aa99e;line-height:1.8}.md345-good,.md345-warn{margin-top:15px;border-radius:12px;padding:15px;font-size:13px;line-height:1.9;background:#e5f8eb;color:#166747}.md345-warn{background:#fff1ed;color:#9d3f2c}.md345-empty{max-width:600px;margin:80px auto;text-align:center;padding:40px;background:#f8fcf8;border-radius:25px}.md345-empty p{line-height:2;color:#657f74}
@media(max-width:900px){.md345-layout{grid-template-columns:1fr}.md345-summary{position:static}.md345-aside{display:grid;grid-template-columns:1fr}.md345-bank-card{max-width:530px}}@media(max-width:600px){.md345-page{margin-top:8px}.md345-head{padding:17px 5px}.md345-eyebrow{font-size:10px}.md345-steps{gap:6px;margin:14px 0 22px}.md345-steps>div{font-size:10px;gap:5px}.md345-steps>div i{width:25px;height:25px}.md345-steps em{width:12px}.md345-layout{gap:13px}.md345-primary{gap:13px}.md345-surface{border-radius:16px;padding:17px}.md345-bank-card{min-height:208px;border-radius:17px;padding:20px 17px 17px}.md345-bank-tag{font-size:6px;padding:6px}.md345-card-num{font-size:clamp(16px,4.5vw,23px);letter-spacing:2px}.md345-bank-top>div{font-size:9px}.md345-bank-bottom b{font-size:11px}.md345-actionrow strong{font-size:12px}.md345-copy{padding:10px;font-size:11px}.md345-input-grid{grid-template-columns:1fr}.md345-mini{flex-direction:column;align-items:flex-start}}

/* V346 - immediate customer-visible card preview with clear progression. */
.md345-checkout-preview[hidden],.md345-checkout-error[hidden]{display:none!important}
.md345-checkout-preview{box-sizing:border-box;border:1px solid #bee4d2;border-radius:23px;background:linear-gradient(160deg,#fff,#f1faf5);padding:20px;margin:15px 0 19px;box-shadow:0 16px 42px #185d3d12;direction:rtl}
.md345-checkout-preview *{box-sizing:border-box}
.md345-cp-heading{display:flex;align-items:center;gap:11px;margin-bottom:20px}
.md345-cp-heading h3{font-size:18px;color:#154938;margin:0}
.md345-cp-heading small{display:block;color:#668b7e;font-size:11px;margin-bottom:3px}
.md345-cp-spark{background:#e5f4e9;color:#0a7755;width:41px;height:41px;border-radius:13px;display:grid;place-items:center;font-size:24px}
.md345-cp-label{margin-inline-start:auto;background:#e1f2e6;border:1px solid #bbdfc9;border-radius:100px;padding:8px 12px;font-size:11px;color:#237653;white-space:nowrap}
.md345-cp-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(180px,.85fr);gap:20px;align-items:center}
.md345-cp-card{min-width:0}.md345-cp-card .md345-bank-card{min-height:205px;border-radius:17px;padding:23px;margin:0;max-width:none;box-shadow:0 14px 32px #094c3e25}
.md345-cp-card .md345-card-num{font-size:clamp(15px,2.0vw,22px);letter-spacing:2px}
.md345-cp-aside{min-width:0;display:grid;gap:11px}
.md345-cp-bankname{font-size:13px;font-weight:700;color:#215b49}.md345-cp-bankname span{font-weight:400;color:#688e7c}
.md345-cp-number{display:grid;gap:5px}.md345-cp-number small{font-size:11px;color:#6d9381}.md345-cp-number strong{font-size:clamp(14px,1.6vw,19px);color:#153d33;letter-spacing:1.4px;white-space:nowrap;text-align:left;direction:ltr}
.md345-cp-copy{font:inherit;font-size:12px;font-weight:800;border:1px solid #b8dbca;border-radius:11px;color:#08694e;background:#fff;padding:12px 10px;cursor:pointer}
.md345-cp-copy:hover{background:#e6f7eb}
.md345-cp-caution{font-size:11px;color:#697e74;line-height:1.95;border-right:3px solid #e9b669;padding-right:9px;margin:4px 0 0}.md345-cp-caution b{color:#905a2b}
.md345-cp-instruction{font-size:12px;line-height:2.05;color:#557466;padding:12px;background:#eff7f0;border-radius:12px;margin:16px 0 0}
.md345-cp-next{width:100%;margin-top:19px;min-height:51px;background:linear-gradient(105deg,#087758,#10906b);color:#fff;border:0;border-radius:13px;cursor:pointer;font:inherit;font-weight:800;font-size:13px;display:flex;justify-content:center;align-items:center;gap:13px;box-shadow:0 9px 19px #06735130}
.md345-cp-next:hover{filter:brightness(1.055)}.md345-cp-next span{font-size:18px}
.md345-checkout-error{background:#fff1ee;border:1px solid #efc6be;border-radius:14px;color:#923d2d;padding:13px;font-size:12px;line-height:1.95;margin:13px 0}
#md345-checkout-primary:disabled{opacity:.67;cursor:wait}
@media(max-width:720px){.md345-checkout-preview{padding:15px;border-radius:18px}.md345-cp-heading h3{font-size:16px}.md345-cp-grid{grid-template-columns:1fr;gap:15px}.md345-cp-card .md345-bank-card{min-height:190px;max-width:430px;margin:0 auto;width:100%}.md345-cp-aside{gap:9px}.md345-cp-number strong{font-size:18px}.md345-cp-label{font-size:10px}.md345-cp-next{font-size:12px}}
