/* ==========================================================================
   PayGate Premium UI  —  লোড হবে app.css এর পরে
   সব স্টাইল @layer components এ আছে, তাই Tailwind utility ক্লাস সবসময় জেতে।
   ========================================================================== */
:root {
  --ink: #0b1f1d;
  --muted: #5d706d;
  --line: #dfeae8;
  --paper: #ffffff;
  --brand: #0d9488;
  --brand-d: #0f766e;
  --brand-x: #083f3b;
  --gold: #f5b301;
  --gold-d: #e09a00;
  --pink: #ec4899;
  --sky: #0ea5e9;
  --good: #16a34a;
  --bad: #e11d48;
  --r: 20px;
  --shadow-s: 0 1px 2px rgba(8, 63, 59, .06), 0 4px 14px rgba(8, 63, 59, .06);
  --shadow-m: 0 2px 4px rgba(8, 63, 59, .05), 0 14px 38px rgba(8, 63, 59, .12);
  --shadow-l: 0 30px 80px rgba(8, 63, 59, .22);
}

@keyframes pg-float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-16px) rotate(calc(var(--r, 0deg) + 6deg)); } }
@keyframes pg-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pg-shine { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }
@keyframes pg-pulse { 0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, .45); } 100% { box-shadow: 0 0 0 16px rgba(13, 148, 136, 0); } }
@keyframes pg-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes pg-drift { from { background-position: 0 0, 0 0; } to { background-position: 28px 28px, 0 0; } }

@layer components {

/* ---------- Page background + floating payment icons ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.app-bg, body.checkout-bg {
  position: relative; z-index: 0; isolation: isolate; color: var(--ink);
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(20, 184, 166, .20), transparent 60%),
    radial-gradient(800px 520px at 100% 0%, rgba(245, 179, 1, .14), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(14, 165, 233, .12), transparent 60%),
    linear-gradient(180deg, #f5faf9, #eaf3f1);
  background-attachment: fixed;
}
body.checkout-bg {
  background:
    radial-gradient(520px 420px at 0% 55%, rgba(34, 197, 94, .20), transparent 70%),
    radial-gradient(520px 420px at 100% 60%, rgba(236, 72, 153, .16), transparent 70%),
    radial-gradient(800px 500px at 50% -10%, rgba(14, 165, 233, .20), transparent 65%),
    linear-gradient(180deg, #f3f7fd, #e6edf8);
  background-attachment: fixed;
}
.bgicons { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; user-select: none; }
.bgicons::before {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(rgba(15, 118, 110, .16) 1.2px, transparent 1.4px), linear-gradient(transparent, transparent);
  background-size: 28px 28px, 100% 100%; animation: pg-drift 14s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
}
.bgicons i { position: absolute; display: block; width: var(--s); height: var(--s); color: var(--c, #0d9488); opacity: var(--o, .13); animation: pg-float var(--d, 12s) ease-in-out infinite; animation-delay: var(--dl, 0s); }
.bgicons i svg { width: 100%; height: 100%; display: block; stroke-width: 1.4; }
.bgicons.tone-teal i { --c: #0f766e; }
@media (max-width: 640px) { .bgicons i:nth-child(n+19) { display: none; } .bgicons i { --o: .11; } }
@media (prefers-reduced-motion: reduce) { .bgicons i, .bgicons::before { animation: none; } }

/* ---------- Buttons ---------- */
.btn, .btn-light {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 14px; padding: .72rem 1.25rem; font-weight: 700; line-height: 1.2; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; -webkit-tap-highlight-color: transparent;
}
.btn {
  color: #fff; border: 0; background: linear-gradient(135deg, #0f766e 0%, #0d9488 55%, #14b8a6 100%);
  box-shadow: 0 6px 18px rgba(13, 148, 136, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: translateX(-120%) skewX(-18deg); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(13, 148, 136, .42), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn:hover::after { animation: pg-shine .8s ease; }
.btn:active, .btn-light:active { transform: translateY(0) scale(.98); }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-light { color: var(--ink); background: rgba(255, 255, 255, .85); border: 1px solid var(--line); box-shadow: var(--shadow-s); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; border-color: #b9d6d1; transform: translateY(-1px); }
.btn-sm { padding: .38rem .8rem; font-size: .85rem; border-radius: 10px; gap: .35rem; }
.btn-gold { background: linear-gradient(135deg, #f5b301, #ffd34d); color: #1b1300; box-shadow: 0 8px 22px rgba(245, 179, 1, .4), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold:hover { box-shadow: 0 12px 30px rgba(245, 179, 1, .5); }
.btn-danger, .btn.bg-red-600, .btn.bg-red-500 { background: linear-gradient(135deg, #e11d48, #f43f5e); box-shadow: 0 6px 18px rgba(225, 29, 72, .3); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); box-shadow: none; backdrop-filter: blur(6px); }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; border-radius: 16px; }

/* ---------- Cards / forms / tables ---------- */
.card {
  position: relative; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .9); padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .82));
  box-shadow: var(--shadow-s), 0 0 0 1px rgba(13, 148, 136, .07); backdrop-filter: blur(10px);
  animation: pg-rise .45s ease both;
}
.card:hover { box-shadow: var(--shadow-m), 0 0 0 1px rgba(13, 148, 136, .12); }
.input {
  display: block; width: 100%; margin: .3rem 0 1rem; padding: .72rem .95rem; border-radius: 14px; font: inherit; color: var(--ink);
  background: #fbfefd; border: 1.5px solid #d6e5e2; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: #9bb0ad; }
.input:hover { border-color: #b7d3ce; }
.input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(13, 148, 136, .15); }
select.input { appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; }
input[type="file"].input { padding: .5rem; font-size: .9rem; }
input[type="file"].input::file-selector-button { margin-right: .8rem; padding: .45rem .9rem; border: 0; border-radius: 10px; font-weight: 700; color: #fff; background: var(--brand); cursor: pointer; }
input[type="checkbox"] { width: 1.1rem; height: 1.1rem; accent-color: var(--brand); }
.label { display: block; font-size: .85rem; font-weight: 700; color: #36524f; letter-spacing: .01em; }
.table-wrap { margin-bottom: 1.25rem; overflow-x: auto; border-radius: var(--r); border: 1px solid rgba(13, 148, 136, .12); background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-s); -webkit-overflow-scrolling: touch; }
.table-wrap table { border-collapse: separate; border-spacing: 0; min-width: 560px; }
.th { padding: .85rem 1rem; text-align: left; white-space: nowrap; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #0f766e, #115e59); }
.th:first-child { border-top-left-radius: calc(var(--r) - 2px); } .th:last-child { border-top-right-radius: calc(var(--r) - 2px); }
.td { padding: .85rem 1rem; vertical-align: top; border-top: 1px solid #eaf2f0; }
.table-wrap tr:nth-child(even) .td { background: rgba(240, 249, 247, .6); }
.table-wrap tr:hover .td { background: rgba(20, 184, 166, .08); }
details.card > summary, details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details.card > summary::after { content: "＋"; float: right; font-weight: 800; color: var(--brand); transition: transform .2s; }
details.card[open] > summary::after { content: "－"; }
textarea.input { min-height: 5.5rem; resize: vertical; }
code { padding: .1rem .4rem; border-radius: 8px; background: #e6f4f1; color: #0b5d56; font-size: .9em; }

/* ---------- Brand + logo ---------- */
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; text-decoration: none; color: inherit; }
.brand img { height: 2.3rem; width: auto; }
.brand-mark { position: relative; display: inline-flex; height: 2.4rem; width: 2.4rem; align-items: center; justify-content: center; border-radius: 14px; font-weight: 900; color: #231600; background: linear-gradient(135deg, #ffd34d, #f5b301 60%, #e09a00); box-shadow: 0 6px 16px rgba(245, 179, 1, .45), inset 0 1px 0 rgba(255, 255, 255, .6); }
.brand-mark::after { content: ""; position: absolute; inset: 3px; border-radius: 11px; border: 1.5px solid rgba(255, 255, 255, .45); }

/* ---------- Panel layout ---------- */
.sidebar { background: linear-gradient(180deg, #06302d 0%, #083f3b 55%, #0a4d48 100%); box-shadow: 8px 0 40px rgba(6, 48, 45, .28); }
.sidebar::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: radial-gradient(260px 220px at 0% 0%, rgba(245, 179, 1, .22), transparent 70%), radial-gradient(240px 260px at 100% 100%, rgba(20, 184, 166, .35), transparent 70%); }
.sidebar > * { position: relative; }
.nav-item { display: flex; align-items: center; gap: .75rem; margin-bottom: .2rem; padding: .62rem .8rem; border-radius: 13px; color: #b6e5df; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s, transform .2s; width: 100%; background: transparent; border: 0; text-align: left; text-decoration: none; }
.nav-item svg { opacity: .9; }
.nav-item:hover { background: rgba(255, 255, 255, .09); color: #fff; transform: translateX(3px); }
.nav-item.is-active { color: #fff; background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 6px 18px rgba(0, 0, 0, .18); }
.nav-item.is-active svg { color: var(--gold); }
.nav-label { margin: 1.1rem .8rem .5rem; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fcd34d; }
.topbar { position: sticky; top: 0; z-index: 20; margin: -1rem -1rem 1.25rem; padding: .8rem 1rem; display: flex; align-items: center; gap: .75rem; background: rgba(245, 250, 249, .78); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(13, 148, 136, .1); }
@media (min-width: 1024px) { .topbar { margin: -1.75rem -1.75rem 1.5rem; padding: 1rem 1.75rem; } }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; height: 2.6rem; width: 2.6rem; border-radius: 13px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); cursor: pointer; }
.balance-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .95rem; border-radius: 999px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #0f766e, #14b8a6); box-shadow: 0 6px 16px rgba(13, 148, 136, .35); }
.page-title { display: flex; align-items: center; gap: .65rem; flex: 1; min-width: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.page-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Stats ---------- */
.stat { position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -22px; top: -22px; height: 90px; width: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 184, 166, .22), transparent 70%); }
.stat-ic { display: inline-flex; margin-bottom: .75rem; padding: .7rem; border-radius: 15px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 6px 14px rgba(8, 63, 59, .1); }
.stat-ic.t0 { background: linear-gradient(135deg, #ccfbf1, #99f6e4); color: #0f766e; }
.stat-ic.t1 { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; }
.stat-ic.t2 { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0369a1; }
.stat-ic.t3 { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #be185d; }

/* ---------- Badges / flash ---------- */
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.badge::before { content: ""; height: .42rem; width: .42rem; border-radius: 50%; background: currentColor; }
.badge.ok { color: #15803d; background: #dcfce7; } .badge.wait { color: #b45309; background: #fef3c7; } .badge.no { color: #be123c; background: #ffe4e6; } .badge.idle { color: #475569; background: #e2e8f0; }
.flash { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; padding: .8rem 1rem; border-radius: 14px; font-weight: 600; animation: pg-rise .35s ease both; }
.flash.ok { color: #14532d; background: #dcfce7; border: 1px solid #bbf7d0; } .flash.err { color: #881337; background: #ffe4e6; border: 1px solid #fecdd3; }

/* ---------- Marketing (home / docs) ---------- */
.container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1.1rem; }
.nav-glass { position: sticky; top: 0; z-index: 40; background: rgba(6, 48, 45, .82); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; }
.nav-glass .row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.nav-links { display: none; align-items: center; gap: 1.5rem; font-weight: 600; font-size: .95rem; }
.nav-links a { color: #d3f2ee; text-decoration: none; } .nav-links a:hover { color: #fff; }
.nav-toggle { display: inline-flex; padding: .5rem; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; border: 0; cursor: pointer; }
.nav-drawer { display: none; flex-direction: column; gap: .25rem; padding: .5rem 1.1rem 1.1rem; }
.nav-drawer.open { display: flex; }
.nav-drawer a { padding: .8rem 1rem; border-radius: 12px; color: #fff; font-weight: 600; background: rgba(255, 255, 255, .06); text-decoration: none; }
@media (min-width: 820px) { .nav-links { display: flex; } .nav-toggle, .nav-drawer { display: none !important; } }
.hero { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 4.2rem 0 5.5rem; background: radial-gradient(700px 420px at 15% 10%, rgba(20, 184, 166, .5), transparent 60%), radial-gradient(600px 420px at 90% 20%, rgba(245, 179, 1, .28), transparent 60%), linear-gradient(135deg, #04201e, #083f3b 45%, #0d7a70); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: linear-gradient(180deg, transparent, #f5faf9); }
.hero .bgicons { position: absolute; z-index: 0; } .hero .bgicons i { --c: #99f6e4; --o: .16; }
.hero .container { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #fde68a; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.hero h1 { margin: 1.1rem auto 0; max-width: 46rem; font-size: clamp(1.9rem, 6vw, 3.4rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #fde68a, #f5b301); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 1rem auto 0; max-width: 38rem; color: #bfeee8; font-size: clamp(1rem, 2.4vw, 1.15rem); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2.4rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; font-weight: 700; font-size: .88rem; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.chip i { height: .6rem; width: .6rem; border-radius: 50%; background: var(--k, #fff); box-shadow: 0 0 10px var(--k, #fff); }
.section { padding: 3.2rem 0; } .section h2 { margin: 0 0 .5rem; text-align: center; font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; }
.section .sub { margin: 0 auto 2.2rem; max-width: 34rem; text-align: center; color: var(--muted); }
.grid-features { display: grid; gap: 1rem; grid-template-columns: 1fr; } @media (min-width: 560px) { .grid-features { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 960px) { .grid-features { grid-template-columns: repeat(4, 1fr); } }
.feature .ico { display: inline-flex; padding: .85rem; border-radius: 18px; color: #0f766e; background: linear-gradient(135deg, #d1faf4, #a7f3e8); box-shadow: 0 8px 18px rgba(13, 148, 136, .22); transition: transform .3s; }
.feature:hover .ico { transform: translateY(-4px) rotate(-6deg); }
.feature h3 { margin: 1rem 0 .3rem; font-weight: 800; } .feature p { margin: 0; color: var(--muted); font-size: .93rem; }
.steps { counter-reset: s; display: grid; gap: 1rem; grid-template-columns: 1fr; } @media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: s; text-align: center; } .step::before { content: counter(s); display: inline-flex; height: 2.6rem; width: 2.6rem; align-items: center; justify-content: center; margin-bottom: .7rem; border-radius: 50%; font-weight: 900; color: #fff; background: linear-gradient(135deg, #0f766e, #14b8a6); box-shadow: 0 8px 18px rgba(13, 148, 136, .4); }
.grid-plans { display: grid; gap: 1.2rem; grid-template-columns: 1fr; } @media (min-width: 640px) { .grid-plans { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 980px) { .grid-plans { grid-template-columns: repeat(3, 1fr); } }
.plan { text-align: center; padding: 1.6rem; } .plan.hot { border: 2px solid var(--brand); box-shadow: var(--shadow-m); }
.plan .price { margin: .6rem 0 1rem; font-size: 2.4rem; font-weight: 900; letter-spacing: -.02em; color: var(--brand-x); } .plan .price s { margin-right: .4rem; font-size: 1.1rem; font-weight: 600; color: #94a3b8; }
.plan ul { margin: 0 0 1.3rem; padding: 0; list-style: none; text-align: left; } .plan li { display: flex; align-items: center; gap: .55rem; padding: .5rem 0; border-top: 1px dashed #d7e6e3; color: #334e4b; } .plan li svg { color: var(--good); }
.footer { position: relative; color: #b4c7c4; background: linear-gradient(180deg, #05211f, #031311); padding: 3rem 0 1.4rem; }
.footer h4 { margin: 0 0 .7rem; color: #fff; font-weight: 800; } .footer a { color: #b4c7c4; text-decoration: none; } .footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; } @media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer .copy { margin-top: 2rem; padding-top: 1.2rem; text-align: center; font-size: .88rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.code { margin: .6rem 0 0; padding: 1rem 1.1rem; overflow-x: auto; border-radius: 16px; font-size: .85rem; line-height: 1.6; color: #b8f5e6; background: linear-gradient(180deg, #0b2a28, #07201e); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }

/* ---------- Auth ---------- */
.auth-wrap { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 1.2rem; }
.auth-card { width: 100%; max-width: 28rem; padding: 2rem 1.6rem; border-radius: 28px; box-shadow: var(--shadow-l); }
.auth-card h2 { margin: 1.2rem 0 1rem; font-size: 1.6rem; font-weight: 800; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.1rem; margin-top: 1.2rem; font-size: .78rem; font-weight: 700; color: var(--muted); } .trust-row span { display: inline-flex; align-items: center; gap: .3rem; } .trust-row svg { color: var(--brand); }
.link { color: var(--brand-d); font-weight: 700; text-decoration: none; } .link:hover { text-decoration: underline; }

/* ---------- Checkout (pay/*) ---------- */
.pay-shell { width: 100%; max-width: 30rem; margin-inline: auto; padding: 1rem .8rem 2.5rem; }
@media (min-width: 640px) { .pay-shell { padding-top: 2.2rem; } }
.pay-card { overflow: hidden; border-radius: 28px; background: #fff; box-shadow: var(--shadow-l), 0 0 0 1px rgba(15, 23, 42, .04); animation: pg-rise .45s ease both; }
.pay-top { display: flex; align-items: center; justify-content: space-between; padding: .75rem .9rem; border-radius: 20px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-s); backdrop-filter: blur(8px); }
.pay-top .icon-btn { box-shadow: none; border: 0; background: #f1f6f5; }
.pay-brand { margin-top: 1.4rem; text-align: center; }
.avatar { display: flex; height: 5.2rem; width: 5.2rem; align-items: center; justify-content: center; margin-inline: auto; overflow: hidden; border-radius: 50%; border: 4px solid #fff; background: #fff; font-size: 1.7rem; font-weight: 800; box-shadow: 0 12px 30px rgba(15, 23, 42, .18), 0 0 0 5px rgba(14, 165, 233, .18); }
.avatar img { height: 100%; width: 100%; object-fit: contain; }
.amount-pill { display: inline-flex; align-items: center; gap: .5rem; margin-top: .7rem; padding: .45rem 1rem; border-radius: 999px; font-weight: 800; color: #0369a1; background: #fff; box-shadow: var(--shadow-s); }
.soft-btn { display: inline-flex; align-items: center; justify-content: center; padding: .5rem; border-radius: 14px; background: #fff; box-shadow: var(--shadow-s); border: 0; cursor: pointer; transition: transform .2s; text-decoration: none; } .soft-btn:hover { transform: translateY(-2px); }
.tabs { display: flex; gap: .4rem; margin-top: 1.3rem; padding: .35rem; border-radius: 18px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), var(--shadow-s); backdrop-filter: blur(8px); }
.tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: .35rem; padding: .65rem .3rem; border-radius: 14px; border: 0; background: transparent; font: inherit; font-size: .82rem; font-weight: 800; color: #4d6360; cursor: pointer; transition: all .2s; }
.tab[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, #0284c7, #0ea5e9); box-shadow: 0 8px 20px rgba(14, 165, 233, .4); }
.methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: .85rem; }
.method { position: relative; display: flex; height: 5.4rem; align-items: center; justify-content: center; overflow: hidden; padding: .5rem; border-radius: 20px; border: 2px solid transparent; background: #fff; box-shadow: var(--shadow-s); cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.method:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.method[aria-pressed="true"] { border-color: var(--good); box-shadow: 0 0 0 4px rgba(22, 163, 74, .16), var(--shadow-m); }
.method[aria-pressed="true"]::before { content: "✓"; position: absolute; left: 6px; top: 6px; display: flex; height: 1.3rem; width: 1.3rem; align-items: center; justify-content: center; border-radius: 50%; font-size: .75rem; font-weight: 900; color: #fff; background: var(--good); animation: pg-pop .25s ease; }
.method .tag { position: absolute; right: 0; top: 0; padding: .15rem .55rem; border-bottom-left-radius: 12px; font-size: .62rem; font-weight: 800; text-transform: uppercase; color: #be123c; background: #ffe4e6; }
.pay-now { position: relative; overflow: hidden; display: flex; width: 100%; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.3rem; padding: 1rem; border: 0; border-radius: 18px; font: inherit; font-size: 1.1rem; font-weight: 900; letter-spacing: .02em; color: #fff; cursor: pointer; background: linear-gradient(135deg, #15803d, #22c55e); box-shadow: 0 12px 28px rgba(34, 197, 94, .4), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .15s, opacity .2s; }
.pay-now:not(:disabled) { animation: pg-pulse 2s infinite; } .pay-now:active { transform: scale(.98); } .pay-now:disabled { cursor: not-allowed; opacity: .55; }
.secure-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.1rem; margin-top: 1rem; font-size: .75rem; font-weight: 700; color: #4d6360; } .secure-row span { display: inline-flex; align-items: center; gap: .3rem; } .secure-row svg { color: var(--good); }
.accepted { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: .9rem; } .accepted b { padding: .2rem .6rem; border-radius: 8px; font-size: .68rem; font-weight: 800; color: #475569; background: rgba(255, 255, 255, .8); box-shadow: var(--shadow-s); }
.modal { position: fixed; inset: 0; z-index: 60; align-items: center; justify-content: center; padding: 1.2rem; background: rgba(8, 20, 30, .55); backdrop-filter: blur(6px); }
.modal-card { width: 100%; max-width: 24rem; max-height: 92vh; overflow-y: auto; border-radius: 28px; background: #fff; padding: 1.6rem; box-shadow: var(--shadow-l); animation: pg-pop .3s ease both; }
.modal-card .stripe { height: 6px; margin: -1.6rem -1.6rem 1.3rem; background: linear-gradient(90deg, #0ea5e9, #22c55e, #ec4899); }
.ic-circle { display: flex; height: 4.2rem; width: 4.2rem; align-items: center; justify-content: center; margin: 0 auto .9rem; border-radius: 50%; } .ic-circle.good { color: #16a34a; background: #dcfce7; } .ic-circle.bad { color: #e11d48; background: #ffe4e6; } .ic-circle.warn { color: #d97706; background: #fef3c7; }
.gw-card { overflow: hidden; border-radius: 28px; background: #fff; box-shadow: var(--shadow-l); animation: pg-rise .45s ease both; }
.gw-head { background: var(--c); } .gw-body { position: relative; padding: 1.2rem; color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(0, 0, 0, .12)), var(--c); }
.gw-body > * + * { margin-top: 1rem; }
.gw-body h2 { margin: 0; text-align: center; font-size: 1.12rem; font-weight: 800; }
.gw-field { display: block; width: 100%; margin-top: .3rem; padding: .95rem 1.1rem; border: 0; border-radius: 16px; font: inherit; font-size: 1.1rem; font-weight: 700; color: #0b1f1d; background: #fff; outline: none; box-shadow: inset 0 0 0 2px transparent; }
.gw-field:focus { box-shadow: 0 0 0 4px rgba(255, 255, 255, .5); }
.gw-glass { border-radius: 18px; background: rgba(0, 0, 0, .16); padding: .2rem 1rem; } .gw-glass > div + div { border-top: 1px solid rgba(255, 255, 255, .2); }
.gw-submit { display: block; width: 100%; padding: 1.1rem; border: 0; cursor: pointer; font: inherit; font-weight: 900; letter-spacing: .2em; color: #fff; background: var(--c); filter: brightness(.88); transition: filter .2s; } .gw-submit:hover { filter: brightness(.78); }
.chip-copy { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border: 0; border-radius: 10px; font: inherit; font-size: .78rem; font-weight: 800; color: inherit; background: rgba(255, 255, 255, .22); cursor: pointer; }
.chip-copy.dark { color: #0b1f1d; background: #eef4f3; font-size: .9rem; padding: .55rem 1rem; }
.num-box { margin: 0; padding: 1.3rem; border-radius: 22px; text-align: center; background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .18); }
.num-box .num { margin: .2rem 0 .6rem; font-size: clamp(1.6rem, 8vw, 2.1rem); font-weight: 900; letter-spacing: .04em; color: var(--c); }
.howto { border: 1px solid rgba(255, 255, 255, .3); border-radius: 18px; background: rgba(0, 0, 0, .1); } .howto summary { padding: .85rem 1rem; font-weight: 800; } .howto ol { margin: 0; padding: 0 1rem .5rem; list-style: none; font-size: .9rem; } .howto li { padding: .7rem 0; border-top: 1px dashed rgba(255, 255, 255, .3); }
.hl { color: #fde047; font-weight: 800; }
.dot { display: flex; height: 1.5rem; width: 1.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; font-size: .8rem; font-weight: 800; color: #fff; background: var(--c); }
.wait-box { margin-top: 1.2rem; padding: 1rem; border-radius: 20px; text-align: center; background: linear-gradient(180deg, #f1f7f6, #e6f0ee); }
.ring { position: relative; display: inline-flex; height: .8rem; width: .8rem; } .ring::before, .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c); } .ring::before { animation: ping 1.4s cubic-bezier(0, 0, .2, 1) infinite; opacity: .6; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.status-card { width: 100%; max-width: 24rem; padding: 2.4rem 1.7rem 2rem; border-radius: 30px; background: #fff; text-align: center; box-shadow: var(--shadow-l); animation: pg-rise .5s ease both; }
.status-ic { position: relative; display: flex; height: 6rem; width: 6rem; align-items: center; justify-content: center; margin: 0 auto 1.3rem; border-radius: 50%; animation: pg-pop .5s ease both; } .status-ic.ok { background: #dcfce7; } .status-ic.no { background: #ffe4e6; }
.status-ic span { display: flex; height: 3.6rem; width: 3.6rem; align-items: center; justify-content: center; border-radius: 50%; color: #fff; } .status-ic.ok span { background: #10b981; box-shadow: 0 10px 24px rgba(16, 185, 129, .5); } .status-ic.no span { background: #f43f5e; box-shadow: 0 10px 24px rgba(244, 63, 94, .5); }
.toast { display: flex; width: 100%; max-width: 28rem; align-items: flex-start; gap: .6rem; padding: .85rem 1rem; border-radius: 16px; font-size: .85rem; font-weight: 700; box-shadow: var(--shadow-m); transition: opacity .5s; } .toast.ok { color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; } .toast.no { color: #be123c; background: #fff1f2; border: 1px solid #fecdd3; }
.progress { height: 7px; margin: 1.5rem 0 .7rem; overflow: hidden; border-radius: 999px; background: #e2e8f0; } .progress div { height: 100%; width: 100%; border-radius: 999px; transition: width 1s linear; } .progress .ok { background: #10b981; } .progress .no { background: #f43f5e; }

/* ---------- Pagination ---------- */
nav.pager { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 1rem 0; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  .card { padding: 1rem; border-radius: 18px; }
  .page-title { font-size: 1.1rem; }
  .hero { padding: 3rem 0 4.5rem; }
  .th, .td { padding: .7rem .8rem; }
  .btn, .btn-light { padding: .7rem 1rem; }
  .auth-card { padding: 1.6rem 1.2rem; border-radius: 24px; }
}
@media print { .bgicons { display: none !important; } body.app-bg { background: #fff !important; } .card { box-shadow: none; border: 1px solid #ddd; animation: none; backdrop-filter: none; } .th { color: #000; background: #eee; } }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

} /* end @layer components */

/* ---------- অতিরিক্ত utility (কম্পাইল করা app.css-এ নেই) ---------- */
@layer utilities {
  .border-white\/10 { border-color: rgba(255, 255, 255, .1); }
  .duration-300 { transition-duration: .3s; }
  .w-12 { width: 3rem; } .w-72 { width: 18rem; }
  .max-w-\[85vw\] { max-width: 85vw; }
  .pt-3 { padding-top: .75rem; } .py-6 { padding-block: 1.5rem; } .py-10 { padding-block: 2.5rem; }
  .text-teal-600 { color: #0d9488; } .text-teal-800 { color: #115e59; }
  @media (min-width: 640px) {
    .sm\:inline-flex { display: inline-flex; } .sm\:justify-end { justify-content: flex-end; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  }
  @media (min-width: 1024px) { .lg\:w-64 { width: 16rem; } }
}
