/* Biz API Pro - dashboards (InstaOrbit analytics style). Uses the tokens from bizapi-orbit.css */
.bzd { display: flex; flex-direction: column; gap: 18px; padding-bottom: 24px; }

/* hero */
.bzd-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: center; padding: 26px 28px; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, #053b30 0%, #0b7a55 48%, #0e9f9a 100%); box-shadow: 0 20px 44px rgba(6, 78, 59, .28); animation: bz-pill .6s var(--bz-spring) both; }
.bzd-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(52, 211, 153, .45), transparent 70%); animation: bzdFloat 14s ease-in-out infinite alternate; pointer-events: none; }
.bzd-hero::after { content: ""; position: absolute; width: 300px; height: 300px; left: 30%; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(42, 86, 246, .35), transparent 70%); animation: bzdFloat 18s ease-in-out infinite alternate-reverse; pointer-events: none; }
@keyframes bzdFloat { to { transform: translate(-40px, 30px) scale(1.08); } }
.bzd-hero-text, .bzd-hero-side { position: relative; z-index: 1; }
.bzd-hello { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .15); font-weight: 700; font-size: 13px; }
body.bz-app .bzd-hero h2 { color: #fff !important; font-size: 26px; font-weight: 800; margin: 12px 0 6px; }
.bzd-hero p { margin: 0 0 16px; color: rgba(255, 255, 255, .85); }
.bzd-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
body.bz-app .bzd-btn-solid { background: #fff !important; color: #0b7a55 !important; border: 0 !important; box-shadow: 0 10px 22px rgba(0, 0, 0, .18) !important; }
body.bz-app .bzd-btn-glass { background: rgba(255, 255, 255, .14) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .35) !important; box-shadow: none !important; }
body.bz-app .bzd-btn-warn { background: #fde68a !important; color: #78350f !important; border: 0 !important; }
.bzd-number { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bzd-number b { display: block; color: #fff; }
.bzd-number small { color: rgba(255, 255, 255, .8); }
.bzd-number > div { flex: 1; min-width: 0; }
.bzd-number-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 22px; box-shadow: 0 8px 18px rgba(37, 211, 102, .45); }
.bzd-number.off .bzd-number-ic { background: rgba(255, 255, 255, .25); box-shadow: none; }
.bzd-live { font-size: 12px; font-weight: 800; color: #bbf7d0; animation: bzdBlink 2s ease-in-out infinite; }
@keyframes bzdBlink { 50% { opacity: .45; } }
.bzd-orbit { position: relative; height: 70px; margin-top: 10px; }
.bzd-orbit span { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .35); left: 50%; top: 50%; transform: translate(-50%, -50%); animation: bzdSpin 18s linear infinite; }
.bzd-orbit span:nth-child(1) { width: 70px; height: 70px; }
.bzd-orbit span:nth-child(2) { width: 120px; height: 46px; animation-duration: 12s; animation-direction: reverse; }
.bzd-orbit span:nth-child(3) { width: 180px; height: 60px; animation-duration: 24s; }
.bzd-orbit span::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: #bef264; box-shadow: 0 0 10px #bef264; }
@keyframes bzdSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* KPI tiles */
.bzd-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.bzd-kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 20px; background: var(--bz-glass); border: 1px solid var(--bz-edge); box-shadow: var(--bz-shadow); color: var(--bz-ink); text-decoration: none !important; animation: bz-pill .5s var(--bz-spring) both; transition: transform .3s var(--bz-spring), box-shadow .3s; }
.bzd-kpi:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(6, 78, 59, .14); }
.bzd-kpi:nth-child(2) { animation-delay: .06s } .bzd-kpi:nth-child(3) { animation-delay: .12s } .bzd-kpi:nth-child(4) { animation-delay: .18s }
.bzd-kpi:nth-child(5) { animation-delay: .24s } .bzd-kpi:nth-child(6) { animation-delay: .3s } .bzd-kpi:nth-child(7) { animation-delay: .36s } .bzd-kpi:nth-child(8) { animation-delay: .42s }
.bzd-kpi span { font-size: 12.5px; font-weight: 700; color: var(--bz-muted); }
.bzd-kpi span i { margin-right: 4px; color: var(--bz-brand); }
.bzd-kpi b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--bz-ink); font-variant-numeric: tabular-nums; }
.bzd-kpi small { font-size: 11.5px; color: var(--bz-muted); }
.bzd-kpi.on { background: var(--bz-grad); border: 0; box-shadow: 0 14px 30px rgba(15, 169, 104, .3); }
.bzd-kpi.on span, .bzd-kpi.on small, .bzd-kpi.on span i { color: rgba(255, 255, 255, .9); }
.bzd-kpi.on b { color: #fff; }

/* chart cards */
.bzd-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; }
.bzd-grid.two { grid-template-columns: 1.6fr 1fr; }
body.bz-app .bzd-card { padding: 18px 20px; margin: 0; }
.bzd-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
body.bz-app .bzd-card-head h3 { margin: 0; font-size: 16px; font-weight: 800; }
.bzd-legend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--bz-muted); font-weight: 600; }
.bzd-legend i, .bzd-donut-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 6px; }
.bzd-legend i.sent, .bzd-donut-legend i.sent { background: #0fa968; }
.bzd-legend i.received { background: #2a56f6; }
.bzd-donut-legend i.queue { background: #fbbf24; }
.bzd-bars { display: flex; align-items: flex-end; gap: 10px; height: 200px; padding-top: 6px; }
.bzd-bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bzd-bar-col small { font-size: 11.5px; color: var(--bz-muted); font-weight: 600; white-space: nowrap; }
.bzd-bar-stack { flex: 1; width: 100%; max-width: 38px; display: flex; flex-direction: column-reverse; gap: 2px; border-radius: 10px; background: rgba(15, 169, 104, .06); overflow: hidden; transition: box-shadow .25s; }
.bzd-bar-stack i { display: block; width: 100%; flex: none; transform-origin: bottom; animation: bz-grow .9s var(--bz-spring) both; }
.bzd-bar-stack i.sent { background: linear-gradient(180deg, #34d399, #0fa968); border-radius: 8px 8px 0 0; }
.bzd-bar-stack i.received { background: linear-gradient(180deg, #7c9cff, #2a56f6); }
.bzd-bar-col:hover .bzd-bar-stack { box-shadow: 0 0 0 2px rgba(15, 169, 104, .25); }
.bzd-donut-card { display: flex; flex-direction: column; }
.bzd-donut { position: relative; width: 170px; height: 170px; margin: 4px auto 8px; }
.bzd-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.bzd-donut circle { fill: none; stroke-width: 14; }
.bzd-donut .track { stroke: rgba(251, 191, 36, .35); }
.bzd-donut .value { stroke: #0fa968; stroke-linecap: round; stroke-dasharray: 301.6; stroke-dashoffset: 301.6; animation: bzdDraw 1.4s .2s var(--bz-ease) forwards; }
@keyframes bzdDraw { to { stroke-dashoffset: calc(301.6 - 301.6 * var(--bzd-pct, 0) / 100); } }
.bzd-donut-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.bzd-donut-label b { font-size: 28px; font-weight: 800; color: var(--bz-ink); }
.bzd-donut-label small { font-size: 12px; color: var(--bz-muted); font-weight: 600; }
.bzd-donut-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--bz-muted); }
.bzd-donut-legend b { color: var(--bz-ink); margin-left: 2px; }
.bzd-qr-card { text-align: center; }
.bzd-qr { width: 150px; height: 150px; margin: 2px auto 12px; display: block; border-radius: 16px; padding: 8px; background: #fff; box-shadow: 0 8px 22px rgba(6, 78, 59, .12); transition: transform .4s var(--bz-spring); }
.bzd-qr:hover { transform: scale(1.05) rotate(-2deg); }
.bzd-qr-link { display: flex; gap: 6px; }
.bzd-qr-link input { flex: 1; min-width: 0; font-size: 12.5px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--bz-line); background: rgba(255, 255, 255, .8); color: var(--bz-ink); }
.bzd-empty { padding: 20px 6px; color: var(--bz-muted); }
.bzd-empty i { font-size: 40px; color: var(--bz-brand); opacity: .5; margin-bottom: 8px; }

/* quick actions */
body.bz-app .bzd-section-title { font-size: 18px; font-weight: 800; margin: 4px 0 10px; }
.bzd-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body.bz-app .bzd-action { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px !important; margin: 0; color: var(--bz-ink) !important; text-decoration: none !important; transition: transform .35s var(--bz-spring), box-shadow .3s !important; }
body.bz-app .bzd-action:hover { transform: translateY(-5px); }
.bzd-action b { font-size: 15.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.bzd-action small { color: var(--bz-muted); font-size: 13px; padding-right: 22px; }
.bzd-action-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 18px; margin-bottom: 4px; transition: transform .4s var(--bz-spring); }
.bzd-action:hover .bzd-action-ic { transform: rotate(-8deg) scale(1.08); }
.bzd-action-ic.g1 { background: linear-gradient(135deg, #34d399, #0fa968); box-shadow: 0 8px 18px rgba(15, 169, 104, .3); }
.bzd-action-ic.g2 { background: linear-gradient(135deg, #7c9cff, #2a56f6); box-shadow: 0 8px 18px rgba(42, 86, 246, .3); }
.bzd-action-ic.g3 { background: linear-gradient(135deg, #5eead4, #0e9f9a); box-shadow: 0 8px 18px rgba(14, 159, 154, .3); }
.bzd-action-ic.g4 { background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 8px 18px rgba(249, 115, 22, .3); }
.bzd-action-ic.g5 { background: linear-gradient(135deg, #a78bfa, #7c3aed); box-shadow: 0 8px 18px rgba(124, 58, 237, .3); }
.bzd-action-ic.g6 { background: linear-gradient(135deg, #f472b6, #db2777); box-shadow: 0 8px 18px rgba(219, 39, 119, .3); }
.bzd-go { position: absolute; right: 18px; bottom: 18px; color: var(--bz-brand); transition: transform .3s var(--bz-spring); }
.bzd-action:hover .bzd-go { transform: translateX(5px); }
.bzd-pill { font-style: normal; min-width: 22px; padding: 0 7px; border-radius: 999px; background: #25d366; color: #fff; font-size: 11.5px; line-height: 20px; text-align: center; }

/* admin: latest vendors list */
.bzd-list { list-style: none; margin: 0; padding: 0; }
.bzd-list li { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--bz-line); animation: bz-pill .45s var(--bz-spring) both; }
.bzd-list li:last-child { border-bottom: 0; }
.bzd-list li:nth-child(2) { animation-delay: .05s } .bzd-list li:nth-child(3) { animation-delay: .1s } .bzd-list li:nth-child(4) { animation-delay: .15s } .bzd-list li:nth-child(5) { animation-delay: .2s }
.bzd-avatar { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--bz-grad); color: #fff; font-weight: 800; text-transform: uppercase; }
.bzd-list .bzd-list-body { flex: 1; min-width: 0; }
.bzd-list .bzd-list-body b { display: block; color: var(--bz-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bzd-list .bzd-list-body small { color: var(--bz-muted); }
.bzd-tag { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(15, 169, 104, .12); color: var(--bz-brand-d); }
.bzd-tag.off { background: rgba(239, 68, 68, .1); color: #b91c1c; }

@media (max-width: 1280px) {
  .bzd-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bzd-grid { grid-template-columns: 1fr 1fr; }
  .bzd-grid > :first-child { grid-column: 1 / -1; }
  .bzd-grid.two > :first-child { grid-column: auto; }
}
@media (max-width: 820px) {
  .bzd-hero { grid-template-columns: 1fr; padding: 22px 18px; }
  body.bz-app .bzd-hero h2 { font-size: 22px; }
  .bzd-orbit { display: none; }
  .bzd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bzd-kpi b { font-size: 22px; }
  .bzd-grid, .bzd-grid.two, .bzd-actions { grid-template-columns: 1fr; }
  .bzd-grid > :first-child { grid-column: auto; }
  .bzd-bars { height: 160px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .bzd *, .bzd *::before, .bzd *::after, .bzd-hero::before, .bzd-hero::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* plan page: PayU payment option */
.bz-pay-option { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; margin: 6px 0; border-radius: 16px; border: 2px solid var(--bz-brand); background: rgba(15, 169, 104, .06); cursor: pointer; }
.bz-pay-option input { width: 18px; height: 18px; accent-color: var(--bz-brand); }
.bz-pay-option span { font-weight: 800; color: var(--bz-ink); }
.bz-pay-option span i { color: var(--bz-brand); margin-right: 4px; }
.bz-pay-option small { display: block; font-weight: 500; color: var(--bz-muted); }
