.pp .icon{width:17px;height:17px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;display:inline-block;vertical-align:middle}
.pp .icon.small{width:14px;height:14px}
.pp .icon.tiny{width:12px;height:12px}
.pp .hero{padding:27px 26px 21px;background:var(--bg);color:var(--ink)}
.pp .hero-inner{max-width:600px;margin:auto}
.pp .hero-eyebrow{display:flex;align-items:center;gap:6px;font-size:10px;color:#6b838b;font-weight:500;margin-bottom:7px}
.pp .hero h2{margin:0;font-size:25px;line-height:1.3;letter-spacing:-.7px;font-weight:650}
.pp .page{background:var(--bg);padding:0 26px 30px}
.pp .wrap{max-width:600px;margin:0 auto}
.pp .tabs{display:flex;align-items:center;gap:4px;overflow-x:auto;padding:4px;margin:0 0 16px;background:#edf2f4;border:1px solid #e0e8eb;border-radius:8px;scrollbar-width:thin;scrollbar-color:#c7d9de transparent}
.pp .tabs::-webkit-scrollbar{height:3px}
.pp .tabs::-webkit-scrollbar-thumb{background:#c7d9de;border-radius:3px}
.pp .tab{flex:1 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:35px;padding:0 11px;font-size:11px;font-weight:500;border:1px solid transparent;border-radius:6px;color:#637981;white-space:nowrap}
.pp .tab .icon{width:13px;height:13px}
.pp .tab.on{background:white;border-color:#dce8eb;color:var(--teal-d);box-shadow:0 1px 3px #25485206;font-weight:650}
.pp .card{background:white;border:1px solid var(--line);border-radius:12px;padding:25px 26px;box-shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06)}
.pp .card h3{margin:0 0 17px;font-size:16px;font-weight:650;color:var(--ink);letter-spacing:-.2px;line-height:1.4}
.pp .card h3 .icon{color:var(--teal);margin-inline-end:8px;width:18px;height:18px}
.pp .sub{margin:0 0 17px;font-size:12px;color:var(--mut);line-height:1.7}
.pp .sub:empty{display:none}
.pp .sum{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;margin:0 0 23px;background:#f6f9fa;border:1px solid #e4ecef;border-radius:8px}
.pp .sum .n{font-weight:600;font-size:13px;line-height:1.4}
.pp .sum .d{font-size:10.5px;color:var(--mut);margin-top:5px;line-height:1.6}
.pp .sum .p{font-weight:650;font-size:23px;color:var(--ink);letter-spacing:-.7px;white-space:nowrap;font-variant-numeric:tabular-nums}
.pp .sum .p small{font-size:10px;font-weight:500;color:var(--mut);letter-spacing:0;margin-inline-start:3px}
.pp .f{margin:0 0 17px}
.pp .f label{display:block;margin:0 0 7px;font-size:11.5px;font-weight:550;color:var(--ink);line-height:1.5}
.pp .f label i{color:#8d9fa5;font-style:normal;font-size:10px;margin-inline-start:2px}
.pp .in{display:flex;align-items:center;width:100%;min-height:43px;padding:10px 12px;background:white;border:1px solid #dce5e8;border-radius:7px;font-size:12px;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}
.pp .in.ro{background:#f7fafb;color:#435e68;font-weight:550;justify-content:space-between}
.pp .in.ph{color:#73868e}
.pp .in.sel{justify-content:space-between;gap:10px}
.pp .in.sel:after{content:"";display:block;width:6px;height:6px;border-inline-end:1.5px solid #81989f;border-bottom:1.5px solid #81989f;transform:rotate(45deg);margin-inline:6px 2px;flex-shrink:0;align-self:center;margin-top:-4px}
.pp .in .flag{width:19px;height:13px;border-radius:2px;margin-inline-end:8px;background:linear-gradient(#252525 33.33%,white 33.33% 66.66%,#32845d 66.66%);position:relative;overflow:hidden;flex:none;box-shadow:0 0 0 1px #00000008}
.pp .in .flag:before{content:"";position:absolute;top:0;bottom:0;left:0;right:auto;width:9px;background:#c34b4b;clip-path:polygon(0 0,100% 50%,0 100%)}
.pp .in .flag:after{content:"✦";position:absolute;left:1px;top:2px;font-size:6px;line-height:9px;color:white}
.pp .in .code{color:#637a82;margin-inline-end:11px;padding-inline-end:11px;border-inline-end:1px solid #e2eaed;font-size:11px}
.pp .f.bad .in{border-color:#cf8181;background:#fffafa}
.pp .f.bad label i{color:var(--red)}
.pp .err{display:none;margin:6px 0 0;font-size:10.5px;line-height:1.65;color:var(--red)}
.pp .err:before{content:"";display:inline-block;width:4px;height:4px;background:#b96464;border-radius:50%;margin-inline-end:5px;vertical-align:middle}
.pp .f.bad .err{display:block}
.pp .tog{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;margin:0 0 21px;border-top:1px solid #e8eef0;border-bottom:1px solid #e8eef0;font-size:11.5px;font-weight:550;line-height:1.5}
.pp .tog small{display:block;font-size:10.5px;font-weight:400;line-height:1.75;color:var(--mut);margin-top:4px;max-width:410px}
.pp .sw{width:32px;height:19px;border-radius:20px;background:var(--teal);position:relative;flex:none}
.pp .sw:after{content:"";position:absolute;top:3px;inset-inline-end:3px;width:13px;height:13px;border-radius:50%;background:white;box-shadow:0 1px 2px #0c3b4b20}
.pp .chk{display:flex;gap:8px;align-items:flex-start;margin:5px 0 19px;font-size:10.5px;line-height:1.8;color:var(--mut)}
.pp .chk .box{flex:none;width:15px;height:15px;margin-top:2px;border:1px solid var(--teal);border-radius:3px;background:var(--teal);color:white;font-size:10px;display:flex;align-items:center;justify-content:center}
.pp .chk .box.off{background:white;border-color:#cf8181;color:transparent}
.pp .chk a{color:var(--teal);font-weight:550;text-decoration:none}
.pp .chk.bad{color:var(--red)}
.pp .chk.bad b{display:block;font-size:10.5px;font-weight:500;margin-top:3px}
.pp .btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;padding:11px 15px;border:1px solid transparent;border-radius:7px;background:var(--teal);color:white;font:inherit;font-size:13px;font-weight:600;line-height:1.4;text-align:center}
.pp .btn .icon{width:15px;height:15px}
.pp .btn.sec{background:white;color:#47646d;border:1px solid #d9e5e9;font-size:12px;min-height:43px}
.pp .btn.small{width:auto;flex:1;min-width:135px;min-height:43px;padding:10px 17px;font-size:12px}
.pp .trust{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:11px;margin:19px 0 0;padding-top:16px;border-top:1px solid #ecf0f2;font-size:10px;color:var(--mut)}
.pp .trust .lock{display:inline-flex;align-items:center;gap:5px}
.pp .trust .lock .icon{color:#6e8b94;width:13px;height:13px}
.pp .logos{display:flex;gap:5px;flex-shrink:0}
.pp .logos>span{width:30px;height:19px;border-radius:3px;border:1px solid #e0e8eb;background:white;font-size:8px;font-weight:750;display:flex;align-items:center;justify-content:center;line-height:1;overflow:hidden}
.pp .logos .v{color:#223a78;font-size:9px;font-weight:850;font-style:italic;letter-spacing:-.4px}
.pp .logos .e{flex-direction:column;color:#223a78;font-size:7px;font-weight:800;font-style:italic}
.pp .logos .e small{font-size:4.5px;font-weight:500;margin-top:1px;font-style:normal}
.pp .logos .m,
.pp .logos .ma{position:relative;width:28px}
.pp .logos .m:before,
.pp .logos .m:after,
.pp .logos .ma:before,
.pp .logos .ma:after{content:"";position:absolute;top:3px;width:11px;height:11px;border-radius:50%}
.pp .logos .m:before{left:4px;background:#df635b}
.pp .logos .m:after{left:11px;background:#e5ac4f;opacity:.9}
.pp .logos .ma:before{left:4px;background:#d96b70}
.pp .logos .ma:after{left:11px;background:#4f9bb4;opacity:.9}
.pp .logos .a{font-size:8px;color:#263b43;gap:1px}
.pp .logos .a svg{width:9px;height:11px;fill:currentColor}
.pp .logos .p{color:#2e5687;font-size:7.5px;font-style:italic;letter-spacing:-.2px;width:34px}
.pp .logos .u i{display:block;width:6px;height:12px;transform:skew(-10deg);background:#c07e84}
.pp .logos .u i:nth-child(2){background:#709bac}
.pp .logos .u i:nth-child(3){background:#6a9f99}
.pp .logos .u{position:relative}
.pp .logos .u:after{content:"UP";position:absolute;font-size:6px;color:white;left:9px;top:6px;letter-spacing:-.3px}
.pp .help{margin:12px 0 0;font-size:10.5px;line-height:1.8;color:var(--mut);text-align:center}
.pp .help a{color:var(--teal);font-weight:550;text-decoration:none}
.pp .provider-note{font-size:10.5px;line-height:1.8;max-width:460px;margin:12px auto 0;color:#657c84;text-align:center}
.pp .alert{margin:0 0 15px;padding:12px 14px;border-radius:7px;font-size:12px;font-weight:500;background:#fff6f5;border:1px solid #eedbd8;color:#9b5050}
.pp .res{text-align:center;padding-top:29px}
.pp .ic{width:49px;height:49px;margin:0 auto 18px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px}
.pp .ic .icon{width:24px;height:24px;stroke-width:1.8}
.pp .ic.ok{background:#edf7f2;border:1px solid #dceee4;color:var(--green)}
.pp .ic.no{background:#fcf0ef;border:1px solid #efdeda;color:var(--red)}
.pp .ic.wait{background:#fcf7ed;border:1px solid #eee3cf;color:#9b742c}
.pp .res h3{font-size:22px;font-weight:650;margin:0 0 8px;letter-spacing:-.5px;color:var(--ink)}
.pp .res.okc h3,
.pp .res.noc h3{color:var(--ink)}
.pp .res>p{margin:0 auto 23px;max-width:430px;font-size:12px;line-height:1.8;color:var(--mut)}
.pp .kv{margin:0 0 22px;border:0;border-radius:0;overflow:hidden;text-align:start}
.pp .kv div{display:flex;justify-content:space-between;align-items:baseline;gap:15px;padding:10px 0;border-bottom:1px solid #edf1f3;font-size:11.5px;line-height:1.6}
.pp .kv div:last-child{border-bottom:0}
.pp .kv span{color:var(--mut);flex-shrink:0}
.pp .kv b{font-weight:500;text-align:end;word-break:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;min-width:0}
.pp .kv .tot{padding:15px;margin-bottom:10px;border:1px solid #e4ecef;background:#f6f9fa;border-radius:8px;align-items:center}
.pp .kv .tot b{color:var(--ink);font-size:23px;letter-spacing:-.6px;font-weight:650;white-space:nowrap}
.pp .kv .tot span{font-size:11px}
.pp .acts{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.pp .reason{text-align:start;margin:0 0 22px;padding:14px;border-radius:8px;background:#fdf7f6;border:1px solid #eedfdd;color:#9c5855;font-size:11.5px;line-height:1.85}
.pp .reason b{display:block;margin-bottom:4px;font-size:11px;font-weight:600}
.pp .stack{display:grid;gap:19px}

[dir=rtl] .pp .hero h2,
[dir=rtl] .pp .res h3,
[dir=rtl] .pp h2.sec{letter-spacing:0}
[dir=rtl] .pp .in .flag:before{left:0;right:auto;clip-path:polygon(0 0,100% 50%,0 100%)}
[dir=rtl] .pp .sum .p,
[dir=rtl] .pp .kv b[dir=ltr],
[dir=rtl] .pp .in[dir=ltr]{font-family:inherit}
[dir=rtl] .pp .logos{font-family:inherit}
.pp button.tab{cursor:pointer;background:transparent;line-height:1.5}
.pp .tab.on{background:white}
.pp .tab:focus-visible{outline:2px solid #5498a2;outline-offset:-3px}
.pp .f input.in,
.pp .f select.in,
.pp .f textarea.in{display:block;font-size:13px;outline:none;transition:border-color .15s,box-shadow .15s}
.pp .f input.in,
.pp .f select.in{height:44px}
.pp .f input.in:focus,
.pp .f select.in:focus,
.pp .f textarea.in:focus{border-color:var(--teal);box-shadow:0 0 0 3px #28788210}
.pp .f input.in::placeholder,
.pp .f textarea.in::placeholder{color:#7c8d94;opacity:1}
.pp .f textarea.in{resize:vertical;min-height:96px}
.pp .f input[readonly]{background:#f6f9fa;color:#536d76;cursor:default}
.pp .f input[type=email]{direction:ltr;text-align:start}
.pp .f select.in{appearance:none;padding-inline-end:34px;cursor:pointer}
.pp .select-wrap{position:relative}
.pp .select-wrap:after{content:"";pointer-events:none;position:absolute;top:17px;inset-inline-end:15px;width:6px;height:6px;border-inline-end:1.5px solid #708790;border-bottom:1.5px solid #708790;transform:rotate(45deg)}
.pp .country-flag{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:18px;line-height:1;display:inline-block;flex-shrink:0}
.pp .country-trigger .icon{width:10px;height:10px;transform:rotate(90deg)}
.pp .field-hint{font-size:10px;color:#657e87;line-height:1.7;margin:6px 0 0}
.pp .err{display:block}
.pp .f:not(.bad)>.err{display:none}
.pp .inline-error{font-size:10.5px;color:var(--red);line-height:1.7;margin:6px 0 16px}
.pp .form-message{padding:11px 13px;border:1px solid #edd8d5;border-radius:7px;background:#fff7f6;color:#a35954;font-size:11px;line-height:1.7;margin-bottom:18px}
.pp .form-message.success{background:#edf7f2;border-color:#d8ece3;color:#347b61}
.pp .live-switch{position:relative;display:inline-block;width:33px;height:20px;flex-shrink:0}
.pp .live-switch input{position:absolute;opacity:0;inset:0;margin:0;width:100%;height:100%;cursor:pointer;z-index:1}
.pp .live-switch>span{display:block;position:absolute;inset:0;background:#b8c9ce;border-radius:20px}
.pp .live-switch>span:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;background:white;border-radius:50%;box-shadow:0 1px 2px #183d4620;transition:transform .15s}
.pp .live-switch input:checked+span{background:var(--teal)}
.pp .live-switch input:checked+span:after{transform:translateX(13px)}
.pp .live-switch input:focus-visible+span{outline:3px solid #82b9bf;outline-offset:3px}
.pp .chk input{width:15px;height:15px;margin:2px 0 0;accent-color:var(--teal);flex-shrink:0;cursor:pointer}
.pp .chk label{cursor:pointer}
.pp .inline-link{border:0;background:none;padding:0;color:var(--teal);font-size:inherit;font-weight:550;cursor:pointer}
.pp .inline-link:hover{text-decoration:underline;text-underline-offset:3px}
.pp button.btn{cursor:pointer;transition:background .15s}
.pp button.btn:hover{background:var(--teal-d)}
.pp button.btn.sec:hover{background:#f2f7f8}
.pp button.btn:disabled{opacity:.65;cursor:wait}
.pp .amount-control{display:flex;align-items:stretch;direction:ltr}
.pp .amount-control input{border-radius:7px 0 0 7px}
.pp .amount-suffix{display:flex;align-items:center;padding:0 12px;background:#f2f6f7;border:1px solid #dce5e8;border-inline-start:0;border-radius:0 7px 7px 0;font-size:11px;color:#58717b}
.pp .method-intro{font-size:11.5px;line-height:1.85;color:var(--mut);margin:-5px 0 20px}
.pp .paypal-header{display:flex;align-items:center;gap:9px}
.pp .paypal-wordmark{font-weight:800;font-style:italic;color:#274e80;letter-spacing:-.5px;font-size:18px}
.pp .provider-info{display:flex;align-items:flex-start;gap:8px;background:#f5f9fa;border:1px solid #e3ecef;border-radius:7px;padding:12px;margin:16px 0;font-size:10.5px;line-height:1.8;color:#58747e}
.pp .provider-info .icon{margin-top:2px;color:#6e8992}
.pp .bank-grid{display:grid;gap:13px}
.pp .bank-card{border:1px solid #e0eaed;border-radius:9px;overflow:hidden;background:white}
.pp .bank-heading{display:flex;align-items:center;gap:9px;padding:13px 14px;background:#f7fafb;border-bottom:1px solid #e8eff1}
.pp .bank-heading .bank-symbol{display:grid;place-items:center;background:#eaf3f4;color:var(--teal);width:29px;height:29px;border:1px solid #d9e9ec;border-radius:7px}
.pp .bank-heading h4{font-size:12px;margin:0;font-weight:650}
.pp .bank-data{margin:0;padding:0 14px 10px}
.pp .bank-data>div{padding:10px 0;border-bottom:1px solid #eef3f4}
.pp .bank-data>div:last-child{border-bottom:0}
.pp .bank-data dt{font-size:9.5px;color:#6c838c;margin-bottom:4px}
.pp .bank-data dd{margin:0;font-size:11px;line-height:1.7;color:#304d58;overflow-wrap:anywhere}
.pp .bank-copy-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.pp .bank-copy-row bdi{letter-spacing:.05px;overflow-wrap:anywhere;min-width:0}
.pp .copy-btn{width:27px;height:27px;display:grid;place-items:center;border:1px solid #dbe7eb;border-radius:5px;background:white;color:#6d8790;flex-shrink:0;cursor:pointer}
.pp .copy-btn:hover{background:#edf6f6;color:var(--teal);border-color:#bad1d7}
.pp .copy-btn .icon{width:13px;height:13px}
.pp .bank-print{margin-top:16px}
.pp .wallet-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.pp .wallet-card{border:1px solid #e0eaed;border-radius:9px;background:#fcfdfd;padding:20px 16px;text-align:center}
.pp .wallet-brand{font-size:20px;font-weight:700;letter-spacing:-.5px;margin-bottom:16px;color:#264d59}
.pp .wallet-brand.zain{color:#2d6167}
.pp .wallet-brand.cliq{color:#396c82}
.pp .wallet-brand small{display:block;font-size:9px;font-weight:500;letter-spacing:0;color:var(--mut);margin-top:3px}
.pp .wallet-label{font-size:10px;color:var(--mut);margin:0 0 7px}
.pp .wallet-value{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:13px}
.pp .wallet-value b{font-size:17px;font-weight:650;color:#345d67;direction:ltr}
.pp .wallet-card p:last-child{font-size:10px;line-height:1.8;color:var(--mut);margin:0}
.pp .receipt-badge{font-size:9px;display:inline-flex;align-items:center;gap:5px;background:#f2f6f7;color:#607d88;border:1px solid #e1eaed;border-radius:4px;padding:4px 7px;margin:0 auto 15px}
.pp .receipt-note{font-size:10px;color:#617b86;line-height:1.8;text-align:center;margin:15px 0 0}
.pp .status-response{font-size:10.5px;color:var(--teal);line-height:1.7;margin:13px 0 0}
.pp .receipt-target{outline:2px solid #89b2ba;outline-offset:4px}
.pp .action-row{display:flex;gap:9px;flex-wrap:wrap}
.pp .action-row .btn{flex:1;min-width:120px}
.pp .country-popover{position:fixed;z-index:100;background:white;border:1px solid #cddfe5;border-radius:10px;box-shadow:0 12px 45px #173d4d25;overflow:hidden;direction:ltr}
.pp .country-search{padding:10px;border-bottom:1px solid #e6eef1}
.pp .country-search input{height:38px;padding:0 11px;width:100%;border:1px solid #d9e5e9;border-radius:6px;background:#f8fbfc;color:var(--ink);font-size:13px;outline:none}
.pp .country-search input:focus{border-color:var(--teal)}
.pp .country-list{overflow-y:auto;max-height:240px;overscroll-behavior:contain;padding:5px}
.pp .country-option{width:100%;display:flex;align-items:center;gap:10px;border:0;border-radius:5px;background:white;padding:9px;font-size:12px;text-align:start;cursor:pointer;color:#345460}
.pp .country-option:hover,
.pp .country-option:focus-visible{background:#f0f7f8;outline:none}
.pp .country-option[aria-selected=true]{background:#e9f3f4;color:var(--teal-d)}
.pp .country-option .country-name{flex:1;min-width:0;overflow-wrap:anywhere}
.pp .country-option .dial-code{direction:ltr;color:#6d8790;font-size:11px}
.pp .country-empty{padding:22px 12px;font-size:12px;text-align:center;color:var(--mut)}
[dir=rtl] .pp .f input[type=email]{text-align:right}
[dir=rtl] .pp .country-popover{direction:rtl}
@media(max-width:620px){
.pp .logo{font-size:17px;gap:6px}
.pp .logo-symbol{width:21px;height:23px}
.pp .hero{padding:23px 17px 17px}
.pp .hero h2{font-size:22px;letter-spacing:-.5px}
.pp .page{padding:0 15px 23px}
.pp .tabs{margin-bottom:13px;gap:3px}
.pp .tab{padding:0 10px;min-height:34px;font-size:10.5px}
.pp .card{padding:21px 18px;border-radius:10px}
.pp .sum{padding:13px;margin-bottom:21px}
.pp .sum .n{font-size:12px}
.pp .sum .d{font-size:10px}
.pp .sum .p{font-size:21px}
.pp .sum .p small{font-size:9px}
.pp .btn{font-size:12px}
.pp .btn.small{min-width:0;padding:10px 12px;font-size:11px}
.pp .trust{justify-content:center;margin-top:17px;gap:9px}
.pp .trust .lock{width:100%;justify-content:center}
.pp .provider-note{font-size:10px}
.pp .res{padding-top:26px}
.pp .res h3{font-size:20px}
.pp .res>p{font-size:11px;margin-bottom:21px}
.pp .kv div{font-size:10.5px;gap:12px;padding:10px 0}
.pp .kv .tot{padding:13px}
.pp .kv .tot b{font-size:21px}
.pp .reason{font-size:11px;padding:12px}
.pp .wallet-grid{grid-template-columns:1fr}
}

/* ===== Page-level glue (not in the reference): variables, panes, legacy controls restyled to the reference look ===== */
.pp { --teal:#287882; --teal-d:#1e626b; --teal-l:#f0f8f8; --line:#dce6e8; --ink:#203238; --mut:#5f7279; --orange:#ec874b; --red:#b44848; --green:#268160; --bg:#f5f5f5; --white:#fff;
  background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.5; padding-bottom: 8px; }
.pp, .pp * { box-sizing: border-box; }
.pp .hero { padding: 27px 26px 21px; }
.pp .hero-eyebrow a { color: inherit; text-decoration: none; }
.pp .hero-eyebrow a:hover { color: var(--teal); }
.pp .pp-sep { margin-inline: 6px; color: #91a2a8; }
[dir=rtl] .pp .pp-sep, .pp[dir=rtl] .pp-sep { transform: scaleX(-1); }
.pp .page { padding: 0 26px 30px; margin: 0; min-height: 0; }
.pp .page::before, .pp .page::after { display: none; }
.pp .wrap { max-width: 600px; }
.pp-pane[hidden] { display: none !important; }
.pp .pp-ok { background: #edf7f2; border-color: #d8ece3; color: #347b61; }
.pp .tg-hidden { display: none; }
.pp .tg-hidden.show, .pp .alert:not(.tg-hidden) { display: block; }

/* tabs are buttons */
.pp button.tab { cursor: pointer; background: transparent; font: inherit; font-size: 11px; line-height: 1.5; color: #637981; }
.pp button.tab.on { background: #fff; }

/* fields: one full-width stack, unified rounded controls */
.pp .f { margin: 0 0 17px; }
.pp .f label { display: block; margin: 0 0 7px; font-size: 11.5px; font-weight: 550; color: var(--ink); }
.pp input.in, .pp select.in, .pp textarea.in { display: block; width: 100%; height: 44px; min-height: 43px; padding: 10px 12px; background: #fff; border: 1px solid #dce5e8; border-radius: 7px; font-size: 13px; color: var(--ink); outline: none; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.pp textarea.in { height: auto; min-height: 96px; resize: vertical; }
.pp input.in:focus, .pp select.in:focus, .pp textarea.in:focus { border-color: var(--teal); box-shadow: 0 0 0 3px #28788210; }
.pp select.in { appearance: none; -webkit-appearance: none; background-image: none; padding-inline-end: 34px; cursor: pointer; }
.pp .select-wrap { position: relative; }
.pp .select-wrap:after { content: ""; pointer-events: none; position: absolute; top: 17px; inset-inline-end: 15px; width: 6px; height: 6px; border-inline-end: 1.5px solid #708790; border-bottom: 1.5px solid #708790; transform: rotate(45deg); }
.pp .f input[dir=ltr], .pp input.in[dir=ltr] { text-align: start; }

/* mobile field: flag button + number in one rounded box (country-selector.js markup kept) */
.pp .cs-phone-group { display: flex; align-items: stretch; height: 44px; border: 1px solid #dce5e8; border-radius: 7px; background: #fff; direction: ltr; overflow: hidden; position: relative; }
.pp .cs-phone-group:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px #28788210; }
.pp .cs-cc-btn { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 70px; padding: 0 9px; border: 0; border-inline-end: 1px solid #e2eaed; background: #f9fbfc; border-radius: 0; color: #4f6d77; cursor: pointer; font-size: 11px; height: 100%; }
.pp .cs-cc-btn:hover { background: #edf5f6; }
.pp .cs-cc-flag { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; }
.pp .cs-phone-input { flex: 1; min-width: 0; width: 100%; height: 100%; border: 0 !important; border-radius: 0 !important; outline: none; box-shadow: none !important; padding: 0 10px; font-size: 13px; background: transparent; color: var(--ink); direction: ltr; }
.pp .cs-cc-dropdown { z-index: 50; }

/* validators and field errors: the reference .err look */
.pp .errorlbl, .pp .tg-field-error { display: block; float: none !important; margin: 6px 0 0; font-size: 10.5px; line-height: 1.65; color: var(--red); text-align: start; font-weight: 500; background: transparent; border: 0; padding: 0; }
.pp .errorlbl[style*="visibility:hidden"], .pp .errorlbl[style*="display:none"] { display: none; }
.pp .errorlbl:before, .pp .tg-field-error:before { content: ""; display: inline-block; width: 4px; height: 4px; background: #b96464; border-radius: 50%; margin-inline-end: 5px; vertical-align: middle; }
.pp .tg-field-bad, .pp .f.bad .in { border-color: #cf8181 !important; background: #fffafa; }

/* auto-renew toggle (existing checkbox id kept inside the reference switch) */
.pp .tog { margin: 0 0 21px; }
.pp .live-switch { position: relative; display: inline-block; width: 33px; height: 20px; flex-shrink: 0; margin: 0; }
.pp .live-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; z-index: 1; }
.pp .live-switch > span { display: block; position: absolute; inset: 0; background: #b8c9ce; border-radius: 20px; }
.pp .live-switch > span:after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; background: #fff; border-radius: 50%; box-shadow: 0 1px 2px #183d4620; transition: transform .15s; }
.pp .live-switch input:checked + span { background: var(--teal); }
.pp .live-switch input:checked + span:after { transform: translateX(13px); }
[dir=rtl] .pp .live-switch > span:after { left: auto; right: 3px; }
[dir=rtl] .pp .live-switch input:checked + span:after { transform: translateX(-13px); }

/* agreement */
.pp .chk { align-items: flex-start; }
.pp .chk > span:first-child { display: inline-flex; flex: none; }
.pp .chk input[type=checkbox] { width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--teal); cursor: pointer; }
.pp .chk a { color: var(--teal); font-weight: 550; text-decoration: none; }

/* buttons: LinkButton renders <a class="btn"> */
.pp a.btn, .pp button.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; padding: 11px 15px; border: 1px solid transparent; border-radius: 7px; background: var(--teal); color: #fff !important; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; box-shadow: none; transition: background .15s; }
.pp a.btn:hover, .pp button.btn:hover { background: var(--teal-d); }
.pp a.btn.sec { background: #fff; color: #47646d !important; border: 1px solid #d9e5e9; font-size: 12px; min-height: 43px; }
.pp a.btn.sec:hover { background: #f2f7f8; }
.pp a.btn .icon { color: #fff; }
.pp a.btn.sec .icon { color: #47646d; }

/* trust row */
.pp .pp-logos { display: flex; gap: 5px; flex-shrink: 0; }
.pp .pp-logos img { width: 30px; height: 19px; object-fit: contain; border-radius: 3px; display: block; }
.pp .provider-note p, .pp p.provider-note { margin: 12px auto 0; }
.pp p { margin-top: 0; }
.pp .help { margin: 12px 0 0; }

/* bank / wallet: copy buttons are added by page-payment-pp.js */
.pp .bank-card { margin: 0; }
.pp .bank-heading h4 { font-size: 12px; margin: 0; font-weight: 650; }
.pp .bank-data > div { padding: 10px 0; }
.pp .bank-print { margin-top: 16px; }
.pp .copy-btn { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #dbe7eb; border-radius: 5px; background: #fff; color: #6d8790; flex-shrink: 0; cursor: pointer; padding: 0; }
.pp .copy-btn.done { color: var(--green); border-color: #bfe0d1; }
.pp h3 .icon { margin-inline-end: 8px; color: var(--teal); width: 18px; height: 18px; }
.pp .paypal-header .paypal-wordmark { font-weight: 800; font-style: italic; color: #274e80; letter-spacing: -.5px; font-size: 18px; }

/* hide old page chrome on these pages */
.pp ~ .page-title-container { display: none; }

@media (max-width: 620px) {
  .pp .hero { padding: 22px 17px 17px; }
  .pp .hero h2 { font-size: 22px; }
  .pp .page { padding: 0 15px 23px; }
  .pp input.in, .pp select.in, .pp textarea.in, .pp .cs-phone-input { font-size: 16px; }
  .pp .wallet-grid { grid-template-columns: 1fr; }
}

/* receipt rows: server Labels render <span> inside <b> */
.pp .kv b span { color: inherit; flex-shrink: 1; font-size: inherit; }
.pp .kv .tot b small { font-size: 11px; font-weight: 500; color: var(--mut); margin-inline-start: 3px; letter-spacing: 0; }
.pp .res .help a { color: var(--teal); font-weight: 550; text-decoration: none; }
.pp .res .acts { margin-top: 4px; }

/* hero: breadcrumb line above the eyebrow (reference header path) */
.pp .pp-crumb { display: flex; align-items: center; gap: 0; font-size: 10px; color: var(--mut); margin-bottom: 14px; }
.pp .pp-crumb a { color: inherit; text-decoration: none; }
.pp .pp-crumb a:hover { color: var(--teal); }
.pp .tog small { display: block; font-size: 10.5px; font-weight: 400; line-height: 1.75; color: var(--mut); margin-top: 4px; max-width: 410px; }
.pp .tog > span:first-child { font-size: 11.5px; font-weight: 550; line-height: 1.5; }

/* mobile field: show the dial code next to the flag like the reference trigger */
.pp .cs-flag-only .cs-cc-code { display: none !important; }
.pp .f { position: relative; }
.pp .f > .cs-cc-dropdown { top: 70px; left: 0; width: min(340px, 100%); z-index: 1000; }
@media (max-width: 480px) {
  .pp .f > .cs-cc-dropdown, .pp .cs-cc-dropdown { position: fixed; top: auto; left: 12px; right: 12px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); width: auto; max-height: min(60vh, calc(100vh - 170px)); z-index: 100000; }
}
.pp .cs-cc-arrow { font-size: 9px; color: #81989f; }

/* reference typography */
.pp, .pp input, .pp select, .pp textarea, .pp button, .pp a.btn, .pp .cs-phone-input { font-family: inherit; -webkit-font-smoothing: antialiased; }

.pp .hero h2 { letter-spacing: -.7px; }
[dir=rtl] .pp .hero h2, [dir=rtl] .pp .res h3 { letter-spacing: 0; }

/* spacing parity with the reference: no extra site padding above the tabs; no letter-spacing on labels */
.pp section#content, .pp section.page { padding-top: 0 !important; margin-top: 0 !important; }
.pp section#content, .pp section.page { padding-top: 24px !important; }
.pp .f label, .pp .tog, .pp .chk, .pp .hero-eyebrow, .pp .tab { letter-spacing: 0; }
.pp #main { margin: 0; padding: 0; float: none; width: auto; }

/* ===== Card and custom payment pages: standard B2B SaaS spacing, theme-style fields, clear tab titles (scoped to #main so the receipts are unaffected) ===== */
.pp #main .tabs { gap: 4px; padding: 5px; margin: 0 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06); }
.pp #main .tabs button.tab { min-height: 44px; padding: 0 12px; gap: 6px; font-size: 13px; font-weight: 700; color: #3d5a64; border-radius: 9px; border: 1px solid transparent; }
.pp #main .tabs button.tab .icon { width: 17px; height: 17px; color: var(--teal); }
.pp #main .tabs button.tab:hover { background: var(--teal-l); color: var(--teal-d); }
.pp #main .tabs button.tab.on { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: none; }
.pp #main .tabs button.tab.on .icon { color: #fff; }
.pp #main .tabs button.tab:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.pp #main .card { padding: 22px 24px; }
.pp #main .card h3 { margin: 0 0 16px; font-size: 16px; }
.pp #main .sum { padding: 14px 16px; margin: 0 0 18px; }
.pp #main .sum .p { font-size: 22px; }
.pp #main .sum .d { margin-top: 3px; }
.pp #main .f { margin: 0 0 16px; }
.pp #main .f label { margin: 0 0 6px; font-size: 12.5px; font-weight: 650; color: var(--ink); }
/* text boxes as in the site theme: light-gray fill, visible border, clear focus (white + teal ring) */
.pp #main input.in, .pp #main select.in, .pp #main .cs-phone-group { background: #f5f5f5; border: 1px solid #bebebe; border-radius: 8px; box-shadow: inset 0 1px 2px rgba(0,0,0,.06); }
.pp #main input.in, .pp #main select.in { height: 44px; min-height: 44px; padding: 9px 13px; font-size: 14px; color: var(--ink); }
.pp #main .cs-phone-group { height: 44px; }
.pp #main .cs-phone-group .cs-cc-btn { background: #ececec; border-inline-end: 1px solid #bebebe; }
.pp #main .cs-phone-group .cs-phone-input { font-size: 14px; color: var(--ink); }
.pp #main input.in::placeholder, .pp #main .cs-phone-input::placeholder { color: #8a979c; }
.pp #main input.in:hover, .pp #main select.in:hover, .pp #main .cs-phone-group:hover { border-color: #9fb0b6; }
.pp #main input.in:focus, .pp #main select.in:focus, .pp #main .cs-phone-group:focus-within { background: #fff; border-color: var(--teal); box-shadow: 0 0 0 3px #28788226; }
.pp #main .select-wrap:after { top: 18px; }
.pp #main .tog { padding: 12px 0; margin: 0 0 16px; }
.pp #main .tog small { margin-top: 3px; line-height: 1.6; }
.pp #main .chk { margin: 4px 0 16px; line-height: 1.7; }
.pp #main a.btn.pp-pay { min-height: 48px; padding: 11px 16px; }
.pp #main .provider-note { margin: 10px auto 0; line-height: 1.7; }
.pp #main .trust { margin: 16px 0 0; padding-top: 14px; }
.pp #main .help { margin: 8px 0 0; line-height: 1.7; }
.pp section#content.page { padding-top: 18px !important; padding-bottom: 24px; }
@media (max-width: 620px) {
  .pp #main .tabs button.tab { min-height: 42px; padding: 0 13px; font-size: 13px; }
  .pp #main .card { padding: 16px; }
  .pp section#content.page { padding-top: 12px !important; }
}

/* ===== Name + e-mail on one line, tab icons, one-colour gray payment logos and Verified by Visa / Mastercard SecureCode badge ===== */
.pp #main .f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.pp #main .f-row > .f { min-width: 0; }
@media (max-width: 620px) { .pp #main .f-row { grid-template-columns: 1fr; } }
.pp #main .tabs button.tab .icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.pp #main .trust { flex-wrap: wrap; gap: 10px 14px; }
.pp #main .pp-logos img, .pp #main .pp-secure { filter: grayscale(1) contrast(.85); opacity: .7; }
.pp #main .pp-logos img:hover, .pp #main .pp-secure:hover { opacity: 1; }
.pp #main .pp-secure { height: 26px; width: auto; display: block; }

/* ===== Tabs without scrolling (fill the row, wrap on narrow screens); trust row and help line as a clean footer with light dividers ===== */
.pp #main .tabs { flex-wrap: wrap; overflow: visible; justify-content: stretch; }
.pp #main .tabs button.tab { flex: 1 1 auto; justify-content: center; white-space: nowrap; padding: 0 9px; font-size: 12.5px; }
@media (max-width: 620px) { .pp #main .tabs button.tab { flex: 1 1 calc(50% - 4px); white-space: normal; text-align: center; padding: 0 8px; min-height: 40px; } }
.pp #main .trust { flex-wrap: nowrap; justify-content: space-between; gap: 12px; border-top: 1px solid #e8eef0; margin-top: 18px; padding-top: 16px; }
@media (max-width: 620px) { .pp #main .trust { flex-wrap: wrap; justify-content: center; } }
.pp #main .help { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #eef2f3; font-size: 12px; }
@media (min-width: 621px) { .pp #main .tabs { gap: 2px; padding: 4px; } .pp #main .tabs button.tab { padding: 0 5px; gap: 4px; font-size: 12px; min-height: 42px; } .pp #main .tabs button.tab .icon { width: 15px; height: 15px; } }

/* ===== Plan gem before the plan name; cleaner dropdown chevron ===== */
.pp #main .sum-l { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.pp #main .sum-l .gem { grid-row: 1 / 3; width: 30px; height: 30px; display: block; }
.pp #main .sum-l .n, .pp #main .sum-l .d { grid-column: 2; }
.pp #main .select-wrap:after { top: 50%; width: 14px; height: 14px; margin-top: -7px; inset-inline-end: 14px; border: 0; transform: none; background: var(--teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.pp #main .cs-cc-btn .cs-cc-arrow { display: block; width: 12px; height: 12px; font-size: 0; line-height: 0; overflow: hidden; background: var(--teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
