@import url("../design-system/index.css");
:root{
  font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;
  color:#112f46;
  background:#f4f8fa;
  --navy:#0a2e4e;
  --teal:#0f766e;
  --muted:#64748b;
  --line:#dbe5eb;
  --white:#fff
}
*{
  box-sizing:border-box
}
body{
  margin:0;
  min-height:100vh;
  background:linear-gradient(180deg,#f7fbfc,#f2f7f9);
  color:#102f46
}
a{
  color:inherit
}
.hidden{
  display:none!important
}
.pay-shell{
  width:min(1160px,calc(100% - 36px));
  margin:auto
}
.pay-public-header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(15px);
  border-bottom:1px solid rgba(203,213,225,.8)
}
.pay-public-header .pay-shell{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px
}
.pay-brand{
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none
}
.pay-brand img{
  width:42px;
  height:42px
}
.pay-brand span{
  display:grid
}
.pay-brand strong{
  font-size:1rem
}
.pay-brand small{
  font-size:.72rem;
  color:var(--muted)
}
.pay-back{
  font-size:.86rem;
  font-weight:800;
  text-decoration:none;
  padding:9px 13px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff
}
.pay-hero{
  background:radial-gradient(circle at 15% 25%,rgba(45,212,191,.18),transparent 30%),linear-gradient(135deg,#08283f,#0b3d58 58%,#0f766e);
  color:#fff;
  padding:72px 0 62px
}
.pay-hero-grid{
  display:grid;
  grid-template-columns:1fr 310px;
  gap:40px;
  align-items:center
}
.pay-kicker{
  display:inline-flex;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  border-radius:999px;
  padding:7px 12px;
  font-size:.78rem;
  font-weight:800
}
.pay-hero h1{
  font-size:clamp(2rem,5vw,3.4rem);
  margin:16px 0 13px;
  max-width:760px;
  line-height:1.25
}
.pay-hero p{
  font-size:1rem;
  line-height:1.9;
  color:#d9edf2;
  max-width:760px
}
.pay-trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:20px
}
.pay-trust span{
  padding:7px 10px;
  border-radius:9px;
  background:rgba(255,255,255,.08);
  font-size:.78rem
}
.pay-hero-card{
  min-height:220px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:28px;
  background:rgba(255,255,255,.09);
  box-shadow:0 24px 65px rgba(0,0,0,.15);
  display:grid;
  place-items:center;
  align-content:center;
  gap:8px;
  text-align:center
}
.pay-hero-card>span{
  font-size:3.2rem;
  font-weight:900
}
.pay-hero-card strong{
  font-size:1.2rem
}
.pay-hero-card small{
  color:#cde7ec
}
.pay-content{
  padding:54px 0
}
.pay-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px
}
.pay-section-head>div:first-child>span{
  color:var(--teal);
  font-size:.76rem;
  font-weight:900
}
.pay-section-head h2{
  font-size:clamp(1.4rem,3vw,2rem);
  margin:5px 0
}
.pay-section-head p{
  margin:5px 0;
  color:var(--muted);
  line-height:1.75
}
.pay-count{
  padding:8px 12px;
  background:#ecfdf5;
  color:#047857;
  border:1px solid #a7f3d0;
  border-radius:999px;
  font-size:.8rem;
  font-weight:850;
  white-space:nowrap
}
.pay-methods-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px
}
.pay-method-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:19px;
  display:grid;
  gap:13px;
  min-height:190px;
  box-shadow:0 12px 35px rgba(15,23,42,.045)
}
.pay-method-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.pay-method-icon{
  min-width:48px;
  height:38px;
  padding:0 9px;
  border-radius:11px;
  display:grid;
  place-items:center;
  font-size:.8rem;
  font-weight:950;
  border:1px solid #dbe3ed;
  background:#f8fafc
}
.method-apple_pay{
  background:#111827;
  color:#fff;
  border-color:#111827
}
.method-mada{
  background:#ecfeff;
  color:#0f766e
}
.method-visa{
  background:#eef2ff;
  color:#3730a3
}
.method-mastercard{
  background:#fff7ed;
  color:#c2410c
}
.method-tabby{
  background:#f7fee7;
  color:#3f6212
}
.method-tamara{
  background:#fdf2f8;
  color:#9d174d
}
.method-bank_transfer{
  background:#f0fdf4;
  color:#166534
}
.pay-method-type{
  font-size:.7rem;
  font-weight:800;
  color:#64748b;
  background:#f1f5f9;
  border-radius:999px;
  padding:5px 8px
}
.pay-method-card h3{
  margin:0;
  font-size:1.15rem
}
.pay-method-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  font-size:.86rem
}
.pay-method-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:auto
}
.pay-method-meta span{
  font-size:.7rem;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:8px;
  padding:5px 7px;
  color:#475569
}
.pay-loading,.pay-empty{
  grid-column:1/-1;
  background:#fff;
  border:1px dashed #cbd5e1;
  border-radius:18px;
  padding:30px;
  text-align:center;
  color:var(--muted)
}
.pay-bank-section{
  background:#edf7f6
}
.pay-bank-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px
}
.pay-bank-card{
  background:#fff;
  border:1px solid #cfe1df;
  border-radius:18px;
  padding:18px;
  display:grid;
  gap:8px
}
.pay-bank-card b{
  font-size:1rem
}
.pay-bank-card span{
  color:var(--muted);
  font-size:.82rem
}
.pay-bank-card code{
  display:block;
  direction:ltr;
  text-align:left;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:10px;
  padding:10px;
  font-size:.88rem;
  overflow-wrap:anywhere
}
.pay-bank-card p{
  margin:0;
  color:#64748b;
  font-size:.8rem;
  line-height:1.6
}
.pay-notes{
  padding:10px 0 58px
}
.pay-notes-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px
}
.pay-notes article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:17px;
  padding:16px
}
.pay-notes b{
  font-size:.88rem
}
.pay-notes p{
  font-size:.78rem;
  line-height:1.7;
  color:var(--muted);
  margin:7px 0 0
}
footer{
  border-top:1px solid var(--line);
  background:#fff
}
footer .pay-shell{
  min-height:70px;
  display:flex;
  align-items:center;
  gap:18px;
  justify-content:space-between;
  color:#64748b;
  font-size:.78rem
}
footer a{
  font-weight:800;
  color:#0f766e;
  text-decoration:none
}
.pay-message{
  position:fixed;
  left:18px;
  bottom:18px;
  background:#0f172a;
  color:#fff;
  border-radius:12px;
  padding:10px 14px;
  font-size:.82rem;
  box-shadow:0 14px 40px rgba(0,0,0,.18)
}
@media(max-width:900px){
  .pay-hero-grid{
    grid-template-columns:1fr
  }
  .pay-hero-card{
    display:none
  }
  .pay-methods-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .pay-notes-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

}
@media(max-width:600px){
  .pay-shell{
    width:min(100% - 24px,1160px)
  }
  .pay-public-header .pay-shell{
    height:64px
  }
  .pay-brand img{
    width:36px;
    height:36px
  }
  .pay-back{
    padding:8px 10px
  }
  .pay-hero{
    padding:48px 0 44px
  }
  .pay-methods-grid,.pay-bank-grid,.pay-notes-grid{
    grid-template-columns:1fr
  }
  .pay-section-head{
    align-items:flex-start;
    flex-direction:column
  }
  .pay-content{
    padding:40px 0
  }
  footer .pay-shell{
    flex-wrap:wrap;
    justify-content:center;
    padding:17px 0
  }

}
@import url("../design-system/legacy-surface-bridge.css");
