/* বাংলা ব্যাখ্যা: NAGAR-এর প্রধান app, dashboard ও wallet UI-এর style নির্ধারণ করে। */
/* Simple English: These rules style the main app screens, navigation and wallet. */
/* বাংলা ব্যাখ্যা: responsive navigation-এর কিছু style নিচে পরে আছে, কারণ CSS-এ পরে থাকা rule আগের rule-কে override করতে পারে। */
/* Simple English: Keep the current rule order; later navigation rules intentionally refine earlier ones. */

:root {
  color-scheme: dark;
  --bg: #041126;
  --panel: #071a33;
  --panel2: #09213f;
  --line: #164a78;
  --line-soft: rgba(62, 151, 226, .22);
  --text: #f0f6ff;
  --muted: #9eb9d9;
  --cyan: #08c9ff;
  --blue: #087bff;
  --purple: #833cff;
  --green: #04d79b;
  --red: #ff4967;
  --shadow: 0 16px 40px rgba(0, 0, 0, .28)
}

* {
  box-sizing: border-box
}

html {
  background: var(--bg)
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 72% -10%, rgba(17, 72, 145, .22), transparent 38%), linear-gradient(145deg, #030d1c, #051832 52%, #031023);
  color: var(--text);
  font: 15px/1.5 Inter, Segoe UI, Roboto, Arial, sans-serif;
  min-height: 100vh
}

a {
  color: #8edaff;
  text-decoration: none
}

a:hover {
  color: white
}

button,
input,
select,
textarea {
  font: inherit
}

button {
  cursor: pointer
}

.topbar {
  height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(3, 15, 34, .88);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(16px)
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  min-width: 250px
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 27px;
  font-weight: 900;
  background: linear-gradient(145deg, #13bfff, #5145ff 60%, #8d2bff);
  box-shadow: 0 0 24px #087bff66
}

.brand b {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: .02em
}

.brand small {
  display: block;
  color: #a8c9ee;
  font-size: 12px;
  margin-top: 4px
}

.top-search {
  height: 46px;
  flex: 1;
  border: 1px solid #1762a0;
  border-radius: 18px;
  background: #07234a;
  color: #9dc7f2;
  padding: 10px 18px;
  display: flex;
  gap: 13px;
  align-items: center;
  max-width: 580px
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px
}

.wallet-chip,
.user-chip {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 9px 14px;
  background: #081e3a;
  color: #d9ebff;
  white-space: nowrap
}

.user-chip {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis
}

.ghost {
  border: 0;
  background: transparent;
  color: #b9d9ff;
  font-size: 24px
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-soft);
  background: #09213f;
  color: white;
  border-radius: 10px;
  padding: 7px 12px
}

.admin-top {
  background: rgba(3, 12, 29, .94)
}

.admin-label {
  font-size: 11px;
  letter-spacing: .17em;
  color: #50d8ff;
  font-weight: 800
}

.shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  max-width: 1720px;
  margin: auto
}

.sidebar {
  position: sticky;
  top: 94px;
  height: calc(100vh - 112px);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: linear-gradient(175deg, rgba(5, 28, 56, .98), rgba(4, 20, 41, .97));
  padding: 14px 10px;
  display: flex;
  flex-direction: column
}

.sidebar nav {
  display: grid;
  gap: 6px
}

.nav-link {
  min-height: 48px;
  border-radius: 12px;
  padding: 11px 13px;
  color: #d0e3fa;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: transparent;
  text-align: left;
  width: 100%;
  font-size: 15px
}

.nav-link>span {
  width: 22px;
  text-align: center;
  font-size: 20px;
  color: #9bcaff
}

.nav-link:hover,
.nav-link.selected {
  color: #fff;
  background: linear-gradient(95deg, #087bff, #0a58e6 65%, #1646ce);
  box-shadow: 0 5px 22px #067fff59
}

.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid var(--line-soft);
  padding: 16px 10px 5px;
  color: #6f91b7;
  font-size: 11px;
  letter-spacing: .08em
}

.main-content {
  min-width: 0;
  padding: 5px 4px 28px
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 8px 4px 18px
}

.page-heading h1 {
  font-size: 27px;
  margin: 2px 0 0;
  letter-spacing: -.03em
}

.eyebrow {
  font-size: 10px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .16em;
  color: #41cfff;
  text-transform: uppercase
}

.hero {
  min-height: 250px;
  border: 1px solid #1457a2;
  border-radius: 22px;
  background: radial-gradient(circle at 78% 49%, #1c3fa5 0, transparent 27%), radial-gradient(circle at 4% 100%, #0966a5 0, transparent 38%), linear-gradient(110deg, #072451, #071b4b 56%, #150a5c);
  padding: 32px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow)
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto -10% -100px 24%;
  height: 220px;
  border: 1px solid #7d45ff66;
  border-radius: 50%;
  transform: rotate(-9deg);
  box-shadow: 0 -15px 0 -14px #1f77ff, 0 -30px 0 -29px #c033ff
}

.hero h2 {
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: -.035em;
  margin: 10px 0
}

.hero h2 span {
  color: #11ceff
}

.hero p {
  color: #c1d7f4;
  max-width: 520px
}

.hero-art {
  width: 240px;
  height: 190px;
  position: relative;
  display: grid;
  place-items: center;
  margin-right: 5%
}

.orbit {
  width: 125px;
  height: 90px;
  border: 1px solid #6e73ff;
  border-radius: 48%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #852bff, #067dff);
  box-shadow: 0 0 40px #753cff;
  transform: rotate(-10deg);
  font-size: 28px;
  font-weight: 900
}

.server {
  position: absolute;
  top: 121px;
  color: #12dfff;
  text-shadow: 0 0 20px #00aeff;
  font-size: 25px;
  line-height: .6;
  text-align: center
}

.btn {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 43px;
  padding: 10px 17px;
  border-radius: 12px;
  color: #fff;
  font-weight: 750;
  background: #0a2a4d
}

.btn:hover {
  filter: brightness(1.13);
  color: #fff
}

.btn.primary {
  background: linear-gradient(100deg, #07beff, #2355ff 58%, #9c24ff);
  box-shadow: 0 7px 20px #285bff4a
}

.btn.secondary {
  border-color: #176bb0;
  background: #0a2a4b
}

.btn.danger {
  background: #491d39;
  border-color: #a63058;
  color: #ffc3d2
}

.btn.small {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 12px
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 2px 28px
}

.admin-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr))
}

.stat-card {
  min-height: 100px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(8, 35, 68, .96), rgba(5, 24, 48, .96));
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 24px #0002
}

.stat-card>div {
  min-width: 0;
  display: grid;
  gap: 3px
}

.stat-card small,
.stat-card .muted {
  font-size: 12px;
  color: #a8c5e7
}

.stat-card strong {
  font-size: 24px;
  line-height: 1.1;
  overflow-wrap: anywhere
}

.stat-card a {
  font-size: 12px;
  color: #39d5ff
}

.stat-icon,
.icon-box {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 25px;
  background: linear-gradient(140deg, #08c8ff, #0874ff);
  box-shadow: 0 0 20px #148dff5c
}

.stat-icon.cyan,
.icon-box.cyan {
  background: linear-gradient(140deg, #00d9cd, #0878ff)
}

.stat-icon.violet {
  background: linear-gradient(140deg, #b630ff, #5a24e8)
}

.stat-icon.green {
  background: linear-gradient(140deg, #08dfa2, #00a37c)
}

.section-head {
  margin: 28px 3px 13px;
  display: flex;
  align-items: end;
  justify-content: space-between
}

.section-head h2,
.card h2 {
  font-size: 20px;
  margin: 2px 0 0
}

.text-link {
  font-size: 13px
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px
}

.service-card,
.card {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(8, 30, 58, .96), rgba(5, 23, 45, .97));
  padding: 18px;
  box-shadow: 0 8px 24px #0002
}

.service-card {
  min-height: 205px;
  display: flex;
  flex-direction: column
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px
}

.card-head .icon-box {
  width: 52px;
  height: 52px
}

.service-card .eyebrow {
  margin-top: 14px
}

.service-card h3 {
  font-size: 18px;
  margin: 3px 0
}

.service-card p,
.card p {
  color: #a8c1df;
  font-size: 13px;
  margin: 4px 0 14px
}

.service-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.service-foot strong {
  font-size: 20px
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #168b72;
  background: #032c31;
  color: #00e0aa;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 11px;
  white-space: nowrap
}

.pill.pending,
.pill.under_review,
.pill.unknown,
.pill.processing {
  border-color: #9a7224;
  background: #302710;
  color: #ffd26a
}

.pill.failed,
.pill.rejected,
.pill.suspended {
  border-color: #a83a56;
  background: #361326;
  color: #ff7894
}

.pill.success,
.pill.approved,
.pill.active {
  border-color: #148764
}

.pill.refunded {
  border-color: #5e59b9;
  background: #211c4b;
  color: #b9b3ff
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #061a32
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 650px;
  font-size: 13px
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid #16416a;
  text-align: left;
  vertical-align: top
}

th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #88b1d8;
  background: #08213e;
  white-space: nowrap
}

tbody tr:last-child td {
  border-bottom: 0
}

tbody tr:hover {
  background: #0a2543
}

.table-sub {
  display: block;
  color: #91aac5;
  font-size: 11px;
  margin-top: 4px
}

.empty-state {
  text-align: center;
  padding: 44px 20px
}

.empty-state .icon-box {
  margin: 0 auto 14px
}

.empty-inline {
  color: #9cb4d0;
  padding: 16px
}

.form-card {
  max-width: 760px
}

.form-stack {
  display: grid;
  gap: 14px
}

.form-stack label,
.form-grid label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #d3e5f9
}

.form-stack input,
.form-stack select,
.form-stack textarea,
.form-grid input,
.search-form input,
.adjust-form input,
.adjust-form select,
.decision-form input:not([type=checkbox]) {
  width: 100%;
  border: 1px solid #1d5484;
  background: #04162c;
  border-radius: 10px;
  color: #f1f7ff;
  padding: 10px 12px;
  outline: none
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus,
.form-grid input:focus {
  border-color: #1ecaff;
  box-shadow: 0 0 0 3px #08bfff20
}

.form-stack small,
.form-grid small {
  font-size: 11px;
  color: #91aac5
}

.form-stack em {
  color: #ff7591
}

.notice {
  border: 1px solid #1a6598;
  background: #09213a;
  border-radius: 12px;
  padding: 12px 15px;
  margin: 0 0 14px;
  font-size: 13px
}

.notice.success {
  border-color: #14765d;
  background: #062b2b;
  color: #afffe4
}

.notice.error {
  border-color: #a5385b;
  background: #301324;
  color: #ffc5d3
}

.notice.warning {
  border-color: #9b752b;
  background: #2a2414;
  color: #f7d890
}

.notice ul {
  margin: 4px 0;
  padding-left: 20px
}

.auth-bg {
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 20%, #103876 0, transparent 45%), #030d1c
}

.auth-shell {
  width: min(450px, 100%)
}

.auth-shell>.brand {
  margin: 0 auto 26px;
  justify-content: center
}

.auth-card {
  border: 1px solid #1e5790;
  border-radius: 22px;
  padding: 30px;
  background: linear-gradient(150deg, #082447, #06162e);
  box-shadow: var(--shadow)
}

.auth-card h1 {
  font-size: 29px;
  margin: 7px 0
}

.auth-card>p {
  color: #a6bfdc
}

.auth-card .muted {
  font-size: 13px;
  margin-top: 19px
}

.auth-card .btn {
  width: 100%;
  margin-top: 4px
}

.muted {
  color: #91aac5
}

.auth-card small {
  color: #91aac5
}

.wallet-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  background: radial-gradient(circle at 85%, #0a5594 0, transparent 32%), linear-gradient(120deg, #0a2c52, #091936)
}

.wallet-hero h2 {
  font-size: 36px;
  margin: 4px 0
}

.wallet-glyph {
  font-size: 53px;
  font-weight: 900;
  color: #13c8ff
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.compact-list {
  display: grid
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft)
}

.list-row:last-child {
  border: 0
}

.list-row small {
  display: block;
  color: #91aac5;
  font-size: 11px;
  margin-top: 4px
}

.price-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 15px;
  margin: 14px 0;
  border: 1px solid #1767a1;
  border-radius: 12px;
  background: #08284a;
  color: #a7c9e9
}

.price-banner strong {
  color: #fff;
  font-size: 22px
}

.top-gap {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line-soft)
}

details {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 10px 12px;
  color: #b4cee8
}

details summary {
  cursor: pointer;
  color: #bfe8ff
}

.support-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 12px;
  min-height: 520px
}

.conversation-list {
  padding: 14px
}

.conversation-link {
  display: block;
  border-bottom: 1px solid var(--line-soft);
  padding: 12px 5px;
  color: #dcecff
}

.conversation-link small {
  display: block;
  color: #8ea9c7;
  font-size: 11px;
  margin-top: 4px
}

.conversation-link.current {
  background: #0d2b50;
  border-radius: 9px;
  padding-left: 10px
}

.chat-panel {
  display: flex;
  flex-direction: column;
  min-height: 500px
}

.message-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  max-height: 55vh;
  overflow: auto
}

.message {
  max-width: 82%;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  padding: 10px 13px;
  background: #092542
}

.message.admin {
  align-self: flex-end;
  background: #102550;
  border-color: #4141a6
}

.message small {
  color: #8faecc;
  font-size: 10px
}

.message p {
  margin: 4px 0 0;
  color: #e4efff
}

.chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  align-items: end;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px
}

.chat-compose textarea {
  border: 1px solid #1d5484;
  background: #04162c;
  color: #f1f7ff;
  border-radius: 10px;
  padding: 10px;
  resize: vertical
}

.badge {
  margin-left: auto;
  color: #fff;
  background: #f23558;
  border-radius: 50%;
  min-width: 19px;
  height: 19px;
  text-align: center;
  font-size: 11px;
  padding: 1px 5px
}

.inline-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px
}

.inline-form,
.form-grid {
  display: flex;
  gap: 9px;
  align-items: end;
  flex-wrap: wrap
}

.inline-form label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #9cb9d8;
  font-size: 11px
}

.inline-form input {
  max-width: 115px;
  border: 1px solid #1d5484;
  background: #04162c;
  border-radius: 8px;
  color: white;
  padding: 7px
}

.plugin-card {
  margin-bottom: 14px
}

.plugin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #9db8d6;
  font-size: 12px;
  margin: 15px 0
}

.plugin-meta b {
  color: #f0f6ff
}

.provider-list {
  margin-top: 18px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px
}

.provider-list h3 {
  font-size: 14px
}

.provider-config {
  margin: 8px 0
}

.provider-config form {
  margin: 14px 0
}

.form-grid label {
  min-width: 175px;
  flex: 1
}

.form-grid button {
  align-self: end
}

.search-form {
  display: flex;
  gap: 8px;
  margin: 0 0 13px
}

.adjust-form {
  display: grid;
  grid-template-columns: 90px 90px minmax(100px, 1fr) auto;
  gap: 5px;
  min-width: 470px
}

.adjust-form select,
.adjust-form input {
  font-size: 11px;
  padding: 7px
}

.decision-form {
  min-width: 260px;
  display: grid;
  gap: 7px
}

.verify-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #d8e8f8
}

.verify-check input {
  width: auto
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.quick-card {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #081f3c;
  color: #eff7ff
}

.quick-card>span {
  font-size: 24px;
  color: #19caff
}

.quick-card small {
  color: #96b3d2
}

.admin-sidebar .nav-link {
  font-size: 13px
}

.admin-sidebar .nav-link>span {
  font-size: 18px
}

.auth-bg .brand-mark {
  width: 52px;
  height: 52px
}

.logout-form {
  margin: 0
}

.logout-form button {
  cursor: pointer
}

code {
  overflow-wrap: anywhere;
  color: #b6d8ff
}

.admin-stats .stat-card {
  min-height: 92px
}

.admin-stats .stat-card strong {
  font-size: 20px
}

@media(max-width:1100px) {
  .shell {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 12px;
    padding: 12px
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .admin-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .brand {
    min-width: 200px
  }

  .topbar {
    gap: 15px;
    padding: 0 16px
  }
}

@media(max-width:760px) {
  .topbar {
    height: 64px;
    padding: 0 12px;
    gap: 10px
  }

  .brand {
    min-width: 0
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 22px
  }

  .brand b {
    font-size: 18px
  }

  .brand small {
    display: none
  }

  .top-search,
  .wallet-chip,
  .admin-label {
    display: none
  }

  .top-actions {
    gap: 6px
  }

  .user-chip {
    max-width: 100px;
    padding: 7px 9px;
    font-size: 12px
  }

  .menu-toggle {
    display: block;
    margin-left: 0
  }

  .shell {
    display: block;
    padding: 10px
  }

  .sidebar {
    display: none;
    position: fixed;
    z-index: 8;
    top: 72px;
    left: 10px;
    width: 245px;
    height: calc(100vh - 84px);
    box-shadow: var(--shadow)
  }

  .nav-open .sidebar {
    display: flex
  }

  .main-content {
    padding: 4px 0 25px
  }

  .page-heading h1 {
    font-size: 23px
  }

  .hero {
    min-height: 235px;
    padding: 23px 20px
  }

  .hero h2 {
    font-size: 33px
  }

  .hero-art {
    width: 125px;
    height: 150px;
    margin-right: -24px;
    opacity: .8
  }

  .orbit {
    width: 95px;
    height: 70px;
    font-size: 20px
  }

  .server {
    top: 99px
  }

  .stats-grid,
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px
  }

  .stat-card {
    padding: 12px;
    min-height: 85px;
    gap: 9px
  }

  .stat-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 19px
  }

  .stat-card strong {
    font-size: 20px
  }

  .service-grid {
    grid-template-columns: 1fr
  }

  .two-col,
  .support-layout {
    grid-template-columns: 1fr
  }

  .conversation-list {
    max-height: 200px;
    overflow: auto
  }

  .chat-panel {
    min-height: 390px
  }

  .quick-grid {
    grid-template-columns: 1fr
  }

  .form-card {
    max-width: none
  }

  .plugin-meta {
    gap: 8px 14px
  }

  .top-actions .user-chip {
    display: none
  }
}

@media(max-width:420px) {
  .hero-art {
    display: none
  }

  .hero h2 {
    font-size: 30px
  }

  .stats-grid,
  .admin-stats {
    grid-template-columns: 1fr 1fr
  }

  .stat-card {
    padding: 10px
  }

  .stat-card small {
    font-size: 10px
  }

  .stat-card strong {
    font-size: 18px
  }

  .section-head h2 {
    font-size: 18px
  }

  .wallet-hero h2 {
    font-size: 29px
  }

  .adjust-form {
    grid-template-columns: 1fr 1fr;
    min-width: 400px
  }
}

.top-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #eef7ff
}

.top-search input::placeholder {
  color: #9dc7f2
}

.catalog-filter {
  align-items: end;
  flex-wrap: wrap
}

.catalog-filter label {
  display: grid;
  gap: 5px;
  color: #a9c5e2;
  font-size: 12px;
  flex: 1;
  min-width: 180px
}

.catalog-filter input,
.catalog-filter select {
  width: 100%;
  border: 1px solid #1d5484;
  background: #04162c;
  border-radius: 10px;
  color: #f1f7ff;
  padding: 10px 12px
}

.notification-card.unread {
  border-color: #1689d8
}

.notification-card.read {
  opacity: .78
}

.pill.refund_review {
  border-color: #9a7224;
  background: #302710;
  color: #ffd26a
}

.payment-qr {
  display: block;
  width: min(280px, 100%);
  height: auto;
  max-height: 280px;
  object-fit: contain;
  margin: 12px auto;
  border-radius: 12px;
  background: white;
  padding: 8px
}

/* Manual recharge / নির্দিষ্ট অঙ্ক বেছে নেওয়ার কার্ড */
.amount-picker {
  border: 0;
  padding: 0;
  margin: 0
}

.amount-picker legend {
  font-weight: 700;
  margin-bottom: 12px
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
  gap: 10px
}

.amount-option {
  cursor: pointer
}

.amount-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px
}

.amount-option span {
  display: block;
  text-align: center;
  padding: 14px 8px;
  border: 1px solid #35628e;
  border-radius: 12px;
  background: #10243c;
  font-weight: 800
}

.amount-option input:checked+span {
  border-color: #4ba5ff;
  background: linear-gradient(125deg, #1362be, #782de6);
  box-shadow: 0 0 0 2px #4ba5ff55
}

.amount-option input:focus-visible+span {
  outline: 3px solid #a2d7ff;
  outline-offset: 3px
}

.payment-display {
  padding: 18px;
  border: 1px solid #36618d;
  border-radius: 14px;
  background: #0b1d32
}

.payment-display .payment-qr {
  margin: 12px auto;
  border-radius: 12px;
  background: #fff;
  padding: 8px
}

.payment-display p {
  overflow-wrap: anywhere
}

/* Public landing + authentication navigation. Scoped to avoid changing customer/admin layouts. */
.public-body {
  min-height: 100vh;
  background: radial-gradient(circle at 80% 0%, rgba(75, 62, 190, .24), transparent 32%), radial-gradient(circle at 10% 20%, rgba(0, 174, 255, .12), transparent 30%), #030d1c;
  color: var(--text)
}

.public-topbar {
  height: 76px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(52, 127, 190, .22);
  background: rgba(3, 13, 28, .78);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10
}

.public-nav {
  display: flex;
  align-items: center;
  gap: 10px
}

.public-nav>a:not(.btn) {
  color: #c7ddf5;
  padding: 9px 12px;
  border-radius: 10px
}

.public-nav>a:not(.btn):hover {
  background: #0a2441;
  color: #fff
}

.public-main {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 42px 0 55px
}

.public-hero {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 30px;
  align-items: center;
  padding: 42px 44px;
  border: 1px solid #15518a;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(9, 38, 72, .95), rgba(7, 21, 47, .92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
  overflow: hidden;
  position: relative
}

.public-hero:after {
  content: "";
  position: absolute;
  inset: auto -100px -160px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(113, 55, 255, .25), transparent 68%)
}

.public-hero-copy {
  position: relative;
  z-index: 1
}

.public-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.04em;
  margin: 10px 0 18px
}

.public-hero h1 span {
  background: linear-gradient(90deg, #16cfff, #9a5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.public-hero p {
  max-width: 700px;
  color: #a8c3e1;
  font-size: 16px
}

.public-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px
}

.public-hero-art {
  height: 290px;
  position: relative;
  display: grid;
  place-items: center
}

.public-core {
  width: 112px;
  height: 112px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(145deg, #0dcfff, #783cff);
  box-shadow: 0 0 55px rgba(45, 160, 255, .35);
  position: relative;
  z-index: 2
}

.public-orbit {
  position: absolute;
  width: 270px;
  height: 130px;
  border: 1px solid rgba(30, 202, 255, .48);
  border-radius: 50%;
  transform: rotate(-18deg);
  display: grid;
  place-items: center;
  color: #31d8ff;
  font-size: 30px;
  font-weight: 900
}

.orbit-two {
  width: 210px;
  height: 250px;
  transform: rotate(32deg);
  color: #a66bff;
  border-color: rgba(166, 107, 255, .45)
}

.public-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 42px 0 17px
}

.public-section-head h2 {
  font-size: 30px;
  margin: 5px 0
}

.public-section-head p {
  margin: 0;
  color: #91aac5
}

.public-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.public-service-card {
  min-height: 230px
}

.public-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px
}

.public-flow>div {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 18px;
  background: #071a33;
  display: grid;
  gap: 4px
}

.public-flow span {
  font-size: 11px;
  color: #20cfff;
  letter-spacing: .12em
}

.public-flow b {
  font-size: 16px
}

.public-flow small {
  color: #91aac5
}

.public-footer {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 18px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #6f8eaf;
  font-size: 12px;
  border-top: 1px solid rgba(52, 127, 190, .18)
}

.auth-shell {
  position: relative
}

.auth-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px
}

.auth-back,
.auth-close {
  border: 1px solid #1b507e;
  background: #071b33;
  color: #bcd7f2;
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer
}

.auth-back:hover,
.auth-close:hover {
  border-color: #2bbfff;
  color: #fff
}

.auth-shell>.brand {
  margin-bottom: 12px
}

@media(max-width:800px) {
  .public-topbar {
    padding: 0 14px
  }

  .public-nav>a:not(.btn):first-child {
    display: none
  }

  .public-main {
    padding-top: 20px
  }

  .public-hero {
    grid-template-columns: 1fr;
    padding: 30px 22px
  }

  .public-hero-art {
    height: 190px;
    order: -1
  }

  .public-service-grid,
  .public-flow {
    grid-template-columns: 1fr
  }

  .public-section-head {
    align-items: start;
    flex-direction: column
  }

  .public-footer {
    flex-direction: column
  }

  .public-hero h1 {
    font-size: 42px
  }
}

/* NAGAR 0.5.1 final customer navigation refinement */
.customer-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px
}

.coin-balance {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(77, 181, 255, .28);
  border-radius: 15px;
  padding: 7px 12px;
  background: linear-gradient(145deg, #09294d, #071a35);
  color: #eff8ff;
  min-width: 142px
}

.coin-balance small {
  display: block;
  color: #8fb3d8;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .09em
}

.coin-balance strong {
  display: block;
  font-size: 13px
}

.coin-icon {
  font-size: 23px;
  filter: drop-shadow(0 0 8px rgba(255, 196, 55, .35))
}

.profile-menu {
  position: relative
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: #081e3a;
  color: #eaf5ff;
  padding: 7px 10px;
  min-height: 48px
}

.profile-trigger:hover {
  border-color: #2dbfff
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #12cfff, #703bff);
  color: white;
  font-weight: 900;
  box-shadow: 0 0 16px #087bff45
}

.avatar.large {
  width: 44px;
  height: 44px
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: 56px;
  width: 270px;
  padding: 8px;
  border: 1px solid #1c5d92;
  border-radius: 17px;
  background: linear-gradient(160deg, #082443, #04162c);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  z-index: 30
}

.profile-dropdown[hidden],
.quick-access-panel[hidden] {
  display: none
}

.profile-dropdown a,
.profile-dropdown form button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #d8eaff;
  text-align: left;
  font-size: 13px
}

.profile-dropdown a:hover,
.profile-dropdown form button:hover {
  background: #0b2b50;
  color: #fff
}

.profile-dropdown form {
  margin: 0
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line-soft)
}

.profile-summary strong,
.profile-summary small {
  display: block;
  overflow-wrap: anywhere
}

.profile-summary small {
  color: #8eafd0;
  font-size: 10px;
  margin-top: 2px
}

.menu-badge {
  margin-left: auto;
  min-width: 19px;
  padding: 1px 6px;
  border-radius: 99px;
  background: #f23558;
  color: #fff;
  text-align: center;
  font-size: 10px
}

.quick-access-row {
  width: min(1720px, calc(100% - 36px));
  margin: 10px auto 0;
  display: flex;
  justify-content: flex-end
}

.quick-access-wrap {
  position: relative
}

.quick-access-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(70, 173, 255, .32);
  border-radius: 13px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #0a2a50, #14124a);
  color: #eaf6ff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  font-weight: 700
}

.quick-access-toggle:hover {
  border-color: #39c9ff;
  transform: translateY(-1px)
}

.hamburger-icon {
  font-size: 17px;
  line-height: 1
}

.quick-access-panel {
  position: absolute;
  right: 0;
  top: 50px;
  width: min(330px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid #1d5f94;
  border-radius: 17px;
  background: linear-gradient(160deg, #082443, #04162c);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  z-index: 20
}

.quick-access-empty {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 12px
}

.quick-access-empty>span {
  grid-row: 1/3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #12cfff, #713cff);
  font-size: 18px
}

.quick-access-empty strong {
  font-size: 13px
}

.quick-access-empty small {
  color: #8eafd0;
  font-size: 11px
}

.page-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px
}

.page-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(75, 175, 255, .3);
  border-radius: 11px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none
}

.page-nav span {
  font-size: 16px;
  line-height: 1
}

.page-nav.back {
  background: linear-gradient(135deg, #0b3967, #124bb1);
  color: #eaf7ff
}

.page-nav.home {
  background: linear-gradient(135deg, #4d2bc1, #7936e7);
  color: #fff
}

.page-nav:hover {
  filter: brightness(1.12);
  transform: translateY(-1px)
}

@media(max-width:760px) {
  .customer-top-actions {
    gap: 5px
  }

  .coin-balance {
    min-width: auto;
    padding: 6px 9px
  }

  .coin-balance strong {
    font-size: 11px
  }

  .coin-balance small {
    display: none
  }

  .profile-trigger {
    min-height: 42px;
    padding: 4px
  }

  .profile-dropdown {
    position: fixed;
    right: 10px;
    top: 69px;
    width: min(290px, calc(100vw - 20px))
  }

  .profile-name,
  .chevron {
    display: none
  }

  .quick-access-row {
    width: calc(100% - 20px);
    margin-top: 8px
  }

  .quick-access-toggle {
    padding: 8px 12px
  }

  .shell {
    padding-top: 8px
  }

  .page-heading {
    align-items: center;
    gap: 10px
  }

  .page-nav-actions {
    gap: 6px
  }

  .page-nav {
    padding: 7px 9px
  }

  .page-nav span {
    font-size: 14px
  }

  .sidebar {
    display: none
  }

  .main-content {
    padding-top: 2px
  }
}

/* NAGAR 0.5.1 — unified customer Navigation / Quick Access */
.navigation-row {
  width: min(1720px, calc(100% - 36px));
  margin: 10px auto 0;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 25
}

.navigation-wrap {
  position: relative
}

.navigation-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(70, 173, 255, .36);
  border-radius: 13px;
  padding: 9px 15px;
  background: linear-gradient(135deg, #0a2a50, #17134e);
  color: #eaf6ff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  font-weight: 750;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease
}

.navigation-toggle:hover {
  border-color: #39c9ff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28)
}

.navigation-toggle:focus-visible {
  outline: 2px solid #27c9ff;
  outline-offset: 3px
}

.navigation-panel {
  position: absolute;
  right: 0;
  top: 52px;
  width: 300px;
  padding: 12px;
  border: 1px solid #1d5f94;
  border-radius: 18px;
  background: linear-gradient(160deg, #082443, #04162c);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .48);
  backdrop-filter: blur(18px)
}

.navigation-panel[hidden] {
  display: none
}

.navigation-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px 10px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 7px
}

.navigation-panel-dot {
  font-size: 8px;
  color: #15d7ff;
  text-shadow: 0 0 10px #15d7ff
}

.navigation-menu {
  display: grid;
  gap: 5px
}

.navigation-menu .nav-link {
  min-height: 45px
}

.navigation-menu .nav-link>span {
  width: 24px
}

.navigation-menu .nav-link:hover {
  background: linear-gradient(95deg, #087bff, #0a58e6 65%, #1646ce);
  box-shadow: 0 5px 22px #067fff45
}

/* The customer navigation is no longer a permanent sidebar. */
.customer-body .shell {
  display: block;
  max-width: 1720px
}

.customer-body .sidebar {
  display: none !important
}

@media(max-width:760px) {
  .navigation-row {
    width: calc(100% - 20px);
    margin-top: 8px
  }

  .navigation-toggle {
    padding: 8px 12px
  }

  .navigation-panel {
    right: 0;
    top: 49px;
    width: min(310px, calc(100vw - 20px))
  }
}

/* NAGAR 0.5.1 — final left navigation drawer */
.customer-body {
  overflow-x: hidden
}

.customer-body .navigation-row {
  width: min(1720px, calc(100% - 36px));
  height: 54px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  z-index: 25
}

.customer-body .navigation-wrap {
  position: relative;
  width: auto
}

.customer-body .navigation-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  margin-top: 7px;
  border: 1px solid rgba(70, 173, 255, .38);
  border-radius: 12px;
  padding: 8px 15px;
  background: linear-gradient(135deg, #0a2a50, #17134e);
  color: #eaf6ff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  font-weight: 750;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease
}

.customer-body .navigation-toggle:hover {
  border-color: #39c9ff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28)
}

.customer-body .navigation-toggle:focus-visible {
  outline: 2px solid #27c9ff;
  outline-offset: 3px
}

.customer-body .navigation-panel {
  position: absolute;
  left: 0;
  top: 49px;
  width: 300px;
  max-height: calc(100vh - 92px);
  overflow: auto;
  padding: 12px;
  border: 1px solid #1d5f94;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(160deg, #082443, #04162c);
  box-shadow: 18px 20px 55px rgba(0, 0, 0, .42);
  backdrop-filter: blur(18px);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-24px);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.22, .8, .24, 1), opacity .2s ease, visibility 0s linear .28s
}

.customer-body .navigation-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: transform .28s cubic-bezier(.22, .8, .24, 1), opacity .2s ease, visibility 0s linear 0s
}

.customer-body .navigation-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px 10px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 7px
}

.customer-body .navigation-panel-dot {
  font-size: 8px;
  color: #15d7ff;
  text-shadow: 0 0 10px #15d7ff
}

.customer-body .navigation-menu {
  display: grid;
  gap: 5px
}

.customer-body .navigation-menu .nav-link {
  min-height: 45px
}

.customer-body .navigation-menu .nav-link>span {
  width: 24px
}

.customer-body .navigation-menu .nav-link:hover {
  background: linear-gradient(95deg, #087bff, #0a58e6 65%, #1646ce);
  box-shadow: 0 5px 22px #067fff45
}

.customer-body .shell {
  display: block;
  max-width: 1720px;
  margin: 0 auto;
  padding-top: 0;
  transition: transform .28s cubic-bezier(.22, .8, .24, 1);
  will-change: transform
}

.customer-body .shell.navigation-pushed {
  transform: translateX(300px)
}

.customer-body .main-content {
  padding-top: 0
}

.customer-body .page-heading {
  margin-top: 0;
  margin-bottom: 16px
}

.profile-trigger .chevron {
  display: none !important
}

@media(max-width:760px) {
  .customer-body .navigation-row {
    width: calc(100% - 20px);
    height: 50px
  }

  .customer-body .navigation-toggle {
    height: 40px;
    margin-top: 5px;
    padding: 8px 12px
  }

  .customer-body .navigation-panel {
    top: 45px;
    width: min(300px, calc(100vw - 20px));
    max-height: calc(100vh - 78px);
    border-radius: 0 17px 17px 0
  }

  .customer-body .shell.navigation-pushed {
    transform: translateX(min(300px, calc(100vw - 20px)))
  }
}

@media(prefers-reduced-motion:reduce) {

  .customer-body .navigation-panel,
  .customer-body .shell {
    transition: none !important
  }
}

/* NAGAR 0.5.1 — responsive navigation drawer final polish */
.customer-body .navigation-row {
  width: 100%;
  height: 46px;
  margin: 0;
  padding-left: 22px;
  padding-right: 22px;
  align-items: flex-start;
}

.customer-body .navigation-toggle {
  margin-top: 2px;
  height: 40px
}

.customer-body .navigation-panel {
  top: 44px;
  width: 272px;
  max-width: calc(100vw - 36px);
  border-radius: 0 16px 16px 0;
  transform: translateX(-100%);
  transition: transform .26s cubic-bezier(.22, .8, .24, 1), opacity .18s ease, visibility 0s linear .26s;
}

.customer-body .navigation-panel.is-open {
  transform: translateX(0);
  transition: transform .26s cubic-bezier(.22, .8, .24, 1), opacity .18s ease, visibility 0s linear 0s;
}

.customer-body .shell {
  width: min(1720px, calc(100% - 36px));
  max-width: 1720px;
  margin: 0 auto;
  padding-top: 0;
  transition: width .26s cubic-bezier(.22, .8, .24, 1), margin-left .26s cubic-bezier(.22, .8, .24, 1), transform .26s cubic-bezier(.22, .8, .24, 1);
}

.customer-body .page-heading {
  margin-top: 0;
  margin-bottom: 14px
}

.customer-body .shell.navigation-pushed {
  width: calc(min(1720px, 100% - 36px) - 272px);
  max-width: none;
  margin-left: max(18px, calc((100% - 1720px)/2 + 18px + 272px));
  transform: none;
}

@media(max-width:1100px) and (min-width:761px) {
  .customer-body .navigation-panel {
    width: 250px
  }

  .customer-body .shell.navigation-pushed {
    width: calc(100% - 36px - 250px);
    margin-left: 268px;
  }
}

@media(max-width:760px) {
  .customer-body .navigation-row {
    width: 100%;
    height: 46px;
    padding-left: 12px;
    padding-right: 12px
  }

  .customer-body .navigation-toggle {
    height: 40px;
    margin-top: 2px;
    padding: 8px 12px
  }

  .customer-body .navigation-panel {
    top: 44px;
    width: max-content;
    min-width: 172px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 76px);
    border-radius: 0 16px 16px 0;
  }

  /* On narrow screens, keep the drawer usable without crushing the page. */
  .customer-body .shell.navigation-pushed {
    width: calc(100% - 20px);
    max-width: none;
    margin-left: 10px;
    transform: none;
  }
}

@media(max-width:420px) {
  .customer-body .navigation-panel {
    width: min(278px, calc(100vw - 14px))
  }

  .customer-body .shell.navigation-pushed {
    width: calc(100% - 14px);
    margin-left: 7px
  }
}

/* NAGAR 0.5.1 — final fixed-width responsive navigation
   Desktop/laptop: open by default, max 240px. Tablet/mobile: collapsed by default. */
.customer-body .navigation-row {
  width: min(1720px, calc(100% - 36px));
  height: 46px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  z-index: 25;
}

.customer-body .navigation-toggle {
  width: 42px;
  height: 40px;
  margin-top: 2px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(70, 173, 255, .38);
  border-radius: 11px;
  background: linear-gradient(135deg, #0a2a50, #17134e);
  color: #eaf6ff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .20);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.customer-body .navigation-toggle:hover {
  border-color: #39c9ff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28)
}

.customer-body .navigation-toggle:focus-visible {
  outline: 2px solid #27c9ff;
  outline-offset: 3px
}

.customer-body .hamburger-icon {
  font-size: 18px;
  line-height: 1
}

.customer-body .navigation-panel {
  position: absolute;
  left: 0;
  top: 44px;
  width: max-content;
  min-width: 0;
  max-width: min(240px, calc(100vw - 44px));
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px;
  border: 1px solid #1d5f94;
  border-radius: 0 15px 15px 0;
  background: linear-gradient(160deg, #082443, #04162c);
  box-shadow: 18px 20px 55px rgba(0, 0, 0, .42);
  backdrop-filter: blur(18px);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform .26s cubic-bezier(.22, .8, .24, 1), opacity .18s ease, visibility 0s linear .26s;
}

.customer-body .navigation-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: transform .26s cubic-bezier(.22, .8, .24, 1), opacity .18s ease, visibility 0s linear 0s;
}

.customer-body .navigation-panel-head {
  display: none
}

.customer-body .navigation-menu {
  display: grid;
  gap: 5px
}

.customer-body .navigation-menu .nav-link {
  min-height: 43px;
  padding: 9px 11px;
  border-radius: 10px;
  white-space: nowrap;
}

.customer-body .navigation-menu .nav-link>span {
  width: 22px;
  flex: 0 0 22px
}

.customer-body .navigation-menu .nav-link:hover {
  background: linear-gradient(95deg, #087bff, #0a58e6 65%, #1646ce);
  box-shadow: 0 5px 22px #067fff45
}

.customer-body .shell {
  width: min(1720px, calc(100% - 36px));
  max-width: 1720px;
  margin: 0 auto;
  padding-top: 0;
  transition: width .26s cubic-bezier(.22, .8, .24, 1), margin-left .26s cubic-bezier(.22, .8, .24, 1);
  will-change: width, margin-left;
}

.customer-body .shell.navigation-pushed {
  width: calc(min(1720px, 100% - 36px) - var(--customer-nav-width, 190px));
  max-width: none;
  margin-left: max(18px, calc((100% - 1720px)/2 + 18px + var(--customer-nav-width, 190px)));
}

.customer-body .main-content {
  padding-top: 0
}

.customer-body .page-heading {
  margin-top: 0;
  margin-bottom: 14px
}

.profile-trigger .chevron {
  display: none !important
}

@media(max-width:1100px) and (min-width:761px) {
  .customer-body .navigation-panel {
    width: max-content;
    max-width: calc(100vw - 44px)
  }

  .customer-body .shell.navigation-pushed {
    width: calc(100% - 36px - var(--customer-nav-width, 190px));
    margin-left: calc(18px + var(--customer-nav-width, 190px));
  }
}

@media(max-width:760px) {
  .customer-body .navigation-row {
    width: 100%;
    height: 46px;
    padding-left: 12px;
    padding-right: 12px
  }

  .customer-body .navigation-toggle {
    height: 40px;
    margin-top: 2px;
    width: 42px
  }

  .customer-body .navigation-panel {
    top: 44px;
    width: max-content;
    min-width: 172px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 76px);
  }

  .customer-body .shell {
    width: calc(100% - 20px);
    margin: 0 10px
  }

  .customer-body .shell.navigation-pushed {
    width: calc(100% - 20px);
    margin: 0 10px
  }
}

@media(prefers-reduced-motion:reduce) {

  .customer-body .navigation-panel,
  .customer-body .shell,
  .customer-body .navigation-toggle {
    transition: none !important
  }
}

/* NAGAR 0.5.1 — final compact left navigation alignment
   The control and drawer share the same left edge as the header brand.
   The drawer sizes to its content, capped at 240px, so large screens do not
   create unnecessary empty space. */
.customer-body .navigation-row {
  width: 100%;
  height: 46px;
  margin: 0;
  padding-left: 22px;
  padding-right: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.customer-body .navigation-toggle {
  width: 42px;
  min-width: 42px;
  height: 40px;
  margin-top: 2px;
  padding: 0;
}

.customer-body .navigation-panel {
  left: 0;
  top: 44px;
  width: max-content;
  min-width: 176px;
  max-width: min(240px, calc(100vw - 44px));
  padding: 8px;
  border-radius: 0 15px 15px 0;
  transform: translateX(-100%);
  transition: transform .30s cubic-bezier(.22, .8, .24, 1), opacity .18s ease, visibility 0s linear .30s;
}

.customer-body .navigation-panel.is-open {
  transform: translateX(0);
  transition: transform .30s cubic-bezier(.22, .8, .24, 1), opacity .18s ease, visibility 0s linear 0s;
}

.customer-body .navigation-menu {
  width: max-content;
  min-width: 160px;
  max-width: 100%;
  display: grid;
  gap: 5px;
}

.customer-body .navigation-menu .nav-link {
  width: max-content;
  min-width: 100%;
  min-height: 43px;
  padding: 9px 10px;
  gap: 11px;
  white-space: nowrap;
}

.customer-body .navigation-menu .nav-link>span {
  width: 22px;
  min-width: 22px;
  flex: 0 0 22px;
}

.customer-body .shell.navigation-pushed {
  width: calc(min(1720px, 100% - 36px) - var(--customer-nav-width, 176px));
  max-width: none;
  margin-left: max(18px, calc((100% - 1720px)/2 + 18px + var(--customer-nav-width, 176px)));
  transform: none;
}

@media(max-width:1100px) and (min-width:761px) {
  .customer-body .navigation-panel {
    width: max-content;
    min-width: 176px;
    max-width: calc(100vw - 44px);
  }

  .customer-body .shell.navigation-pushed {
    width: calc(100% - 36px - var(--customer-nav-width, 176px));
    margin-left: calc(18px + var(--customer-nav-width, 176px));
  }
}

@media(max-width:760px) {
  .customer-body .navigation-row {
    width: 100%;
    height: 46px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .customer-body .navigation-toggle {
    width: 42px;
    min-width: 42px;
    height: 40px;
    margin-top: 2px;
  }

  .customer-body .navigation-panel {
    top: 44px;
    width: max-content;
    min-width: 176px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 76px);
  }

  .customer-body .shell.navigation-pushed {
    width: calc(100% - 20px);
    margin: 0 10px;
    transform: none;
  }
}

@media(prefers-reduced-motion:reduce) {

  .customer-body .navigation-panel,
  .customer-body .shell,
  .customer-body .navigation-toggle {
    transition: none !important
  }
}

/* NAGAR 0.5.1 — final navigation/content spacing polish
   Keeps the control aligned with the brand, makes the drawer truly compact,
   and removes the excessive gap between navigation and dashboard content. */
.customer-body .navigation-row {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.customer-body .navigation-toggle {
  width: 42px;
  min-width: 42px;
  height: 40px;
  margin-top: 2px;
  padding: 0;
}

.customer-body .navigation-panel {
  left: 0;
  top: 44px;
  width: max-content;
  min-width: 0;
  max-width: min(240px, calc(100vw - 44px));
  padding: 7px;
  border-radius: 0 14px 14px 0;
  transform: translateX(-100%);
  transition: transform .30s cubic-bezier(.22, .8, .24, 1), opacity .18s ease, visibility 0s linear .30s;
}

.customer-body .navigation-panel.is-open {
  transform: translateX(0);
  transition: transform .30s cubic-bezier(.22, .8, .24, 1), opacity .18s ease, visibility 0s linear 0s;
}

.customer-body .navigation-menu {
  width: max-content;
  min-width: 0;
  max-width: 100%;
  gap: 4px;
}

.customer-body .navigation-menu .nav-link {
  width: max-content;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  gap: 10px;
  white-space: nowrap;
}

.customer-body .navigation-menu .nav-link>span {
  width: 22px;
  min-width: 22px;
  flex: 0 0 22px;
}

.customer-body .shell {
  width: min(1720px, calc(100% - 48px));
  max-width: 1720px;
  margin: 0 24px;
  padding-top: 0;
  transition: width .30s cubic-bezier(.22, .8, .24, 1), margin-left .30s cubic-bezier(.22, .8, .24, 1);
  will-change: width, margin-left;
}

.customer-body .shell.navigation-pushed {
  width: min(1720px, calc(100% - 48px - var(--customer-nav-width, 176px) - 16px));
  max-width: none;
  margin-left: calc(24px + var(--customer-nav-width, 176px) + 16px);
}

.customer-body .page-heading {
  margin-top: 0;
  margin-bottom: 14px
}

@media(max-width:1100px) and (min-width:761px) {
  .customer-body .shell.navigation-pushed {
    width: calc(100% - 48px - var(--customer-nav-width, 176px) - 14px);
    margin-left: calc(24px + var(--customer-nav-width, 176px) + 14px);
  }
}

@media(max-width:760px) {
  .customer-body .navigation-row {
    width: 100%;
    height: 46px;
    padding: 0 12px;
  }

  .customer-body .navigation-toggle {
    width: 42px;
    min-width: 42px;
    height: 40px;
    margin-top: 2px;
  }

  .customer-body .navigation-panel {
    top: 44px;
    min-width: 0;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 76px);
  }

  .customer-body .shell,
  .customer-body .shell.navigation-pushed {
    width: calc(100% - 20px);
    max-width: none;
    margin: 0 10px;
  }
}

@media(prefers-reduced-motion:reduce) {

  .customer-body .navigation-panel,
  .customer-body .shell,
  .customer-body .navigation-toggle {
    transition: none !important
  }
}

/* Transaction semantics: color communicates financial meaning, not just raw status. */
.pill.tx-credit,
.tx-credit {
  border-color: #148764;
  background: #032c31;
  color: #00e0aa
}

.pill.tx-debit,
.tx-debit {
  border-color: #a83a56;
  background: #361326;
  color: #ff7894
}

.pill.tx-gift,
.tx-gift {
  border-color: #7651b8;
  background: #24163d;
  color: #d3b7ff
}

.pill.tx-status-pending,
.pill.tx-status-approved,
.pill.tx-status-success,
.pill.tx-status-credit {
  border-color: #9a7224;
  background: #302710;
  color: #ffd26a
}

.pill.tx-status-pending {
  border-color: #c8781d;
  background: #3a240c;
  color: #ffbd66
}

.pill.tx-status-approved,
.pill.tx-status-success {
  border-color: #148764;
  background: #032c31;
  color: #00e0aa
}

.pill.tx-status-rejected,
.pill.tx-status-failed {
  border-color: #a83a56;
  background: #361326;
  color: #ff7894
}

.pill.tx-status-processing {
  border-color: #2675c7;
  background: #09284b;
  color: #7fc8ff
}

.pill.tx-status-under_review,
.pill.tx-status-unknown,
.pill.tx-status-review {
  border-color: #9a7224;
  background: #302710;
  color: #ffd26a
}

.amount-cell.tx-debit {
  color: #ff7894;
  font-weight: 700
}

.amount-cell.tx-credit {
  color: #00e0aa;
  font-weight: 700
}

.amount-cell.tx-gift {
  color: #d3b7ff;
  font-weight: 700
}

.notification-row {
  align-items: center
}

.notification-link {
  display: block;
  flex: 1;
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
  padding: 3px
}

.notification-link:hover {
  background: #08213d
}

.notification-detail-body {
  font-size: 16px;
  color: #c7dcef;
  line-height: 1.65;
  max-width: 850px
}

.notification-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px
}

.notification-meta>div {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px;
  background: #071a33
}

.notification-meta span {
  display: block;
  color: #8faecc;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em
}

.notification-meta strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere
}

@media(max-width:700px) {
  .notification-meta {
    grid-template-columns: 1fr
  }

  .notification-row {
    align-items: flex-start
  }
}

/* Recharge UX polish: compact method selector, optional proof, and readable request details. */
.manual-payment-method {
  max-width: 320px
}

.manual-payment-method select {
  width: 100%
}

.recharge-help-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #071c34;
  color: #9fb9d6;
  font-size: 12px
}

.recharge-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px
}

.recharge-help-step {
  display: flex;
  gap: 14px;
  min-height: 150px
}

.recharge-help-number {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #08c9ff, #6a2cff);
  box-shadow: 0 0 18px #0b8dff44
}

.recharge-help-content h3 {
  margin: 0 0 5px;
  font-size: 17px
}

.recharge-help-content p {
  margin: 0 0 10px
}

.recharge-help-image {
  display: block;
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #04162c;
  padding: 5px
}

.recharge-help-back {
  margin-top: 14px
}

.recharge-request-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 0
}

.recharge-request-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0
}

.recharge-request-item summary::-webkit-details-marker {
  display: none
}

.recharge-request-item summary small {
  display: block;
  color: #91aac5;
  font-size: 11px;
  margin-top: 3px
}

.recharge-request-details {
  display: grid;
  gap: 8px;
  padding: 0 0 13px 0
}

.recharge-request-details>div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px
}

.recharge-request-details b {
  color: #91aac5;
  font-weight: 600
}

.recharge-request-details span {
  text-align: right;
  overflow-wrap: anywhere
}

.recharge-help-admin-language {
  margin-top: 14px
}

.recharge-help-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 14px
}

.recharge-help-admin-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #061a32
}

.recharge-help-admin-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #0b68b5;
  color: white;
  font-weight: 800
}

.recharge-help-admin-fields {
  display: grid;
  gap: 9px
}

.recharge-help-admin-fields label {
  display: grid;
  gap: 5px;
  color: #9db8d6;
  font-size: 11px
}

.recharge-help-admin-fields input,
.recharge-help-admin-fields textarea {
  width: 100%;
  border: 1px solid #1d5484;
  background: #04162c;
  color: #f1f7ff;
  border-radius: 9px;
  padding: 8px
}

.recharge-help-admin-upload {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 9px;
  align-items: center
}

.recharge-help-admin-upload label {
  align-self: center
}

.recharge-help-admin-thumb {
  width: 100px;
  height: 72px;
  object-fit: contain;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #031225;
  padding: 4px
}

.recharge-help-admin-upload .inline-actions {
  grid-column: 2;
  margin-top: 0
}

.recharge-help-admin-upload .inline-actions:has(+ *) {
  margin-top: 0
}

@media(max-width:760px) {
  .manual-payment-method {
    max-width: none
  }

  .recharge-help-grid {
    grid-template-columns: 1fr
  }

  .recharge-help-hint {
    align-items: flex-start;
    flex-direction: column
  }

  .recharge-help-admin-step {
    grid-template-columns: 32px minmax(0, 1fr)
  }

  .recharge-help-admin-upload {
    grid-template-columns: 1fr
  }

  .recharge-help-admin-upload .inline-actions {
    grid-column: 1
  }

  .recharge-help-admin-thumb {
    width: 120px;
    height: 86px
  }

  .recharge-request-details>div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px
  }

  .recharge-request-details span {
    text-align: left
  }
}

/* NAGAR 0.5.1 — recharge page final polish 20261001 */
.wallet-hero-compact {
  min-height: 86px;
  padding: 12px 18px;
  margin-bottom: 12px;
  border-radius: 15px;
  background: linear-gradient(120deg, #08294b, #0a3760);
}

.wallet-hero-compact .wallet-hero-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 2px;
  min-width: 0
}

.wallet-hero-compact .eyebrow {
  flex: 0 0 100%;
}

.wallet-hero-balance {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.02em;
  white-space: nowrap
}

.wallet-hero-policy {
  font-size: 11px;
  color: #9eb9d9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.wallet-hero-compact .wallet-glyph {
  font-size: 34px;
  margin-left: auto;
  line-height: 1;
  color: #13c8ff
}

.manual-payment-method select {
  width: min(300px, 100%);
  max-width: 300px
}

.recharge-history-card h2 {
  margin-bottom: 4px
}

.recharge-request-item {
  padding: 0 2px
}

.recharge-request-item summary {
  min-height: 58px;
  padding: 10px 2px
}

.recharge-request-summary-main {
  min-width: 0;
  display: grid;
  gap: 2px
}

.recharge-request-summary-main strong {
  font-size: 16px;
  color: #fff
}

.recharge-request-summary-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.recharge-request-summary-side {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto
}

.recharge-request-chevron {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: #8edaff;
  font-size: 16px;
  line-height: 1;
  transition: transform .18s ease, background .18s ease
}

.recharge-request-item[open] .recharge-request-chevron {
  transform: rotate(180deg);
  background: #0a2b4b
}

.recharge-request-details {
  padding: 4px 4px 14px;
  border-top: 1px solid var(--line-soft);
  margin-top: 1px
}

.recharge-request-details>div {
  padding: 4px 0
}

@media(max-width:760px) {
  .wallet-hero-compact {
    min-height: 76px;
    padding: 10px 14px
  }

  .wallet-hero-balance {
    font-size: 24px
  }

  .wallet-hero-policy {
    flex-basis: 100%;
    white-space: normal
  }

  .wallet-hero-compact .wallet-glyph {
    font-size: 28px
  }

  .two-col {
    grid-template-columns: 1fr
  }

  .manual-payment-method select {
    width: 100%;
    max-width: 300px
  }
}

/* NAGAR 0.5.1 — final customer navigation + wallet layout 20261001 */
.customer-body .navigation-row {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: 46px;
  padding: 0 16px;
  z-index: 80;
  pointer-events: none;
}

.customer-body .navigation-wrap {
  position: relative;
  width: max-content;
  pointer-events: auto
}

.customer-body .navigation-toggle {
  margin-top: 2px
}

.customer-body .navigation-panel {
  position: fixed;
  left: 16px;
  top: 120px;
  width: max-content;
  min-width: 0;
  max-width: min(240px, calc(100vw - 32px));
  max-height: calc(100vh - 132px);
  overflow: auto;
  z-index: 81;
  transform: translateX(-110%);
}

.customer-body .navigation-panel.is-open {
  transform: translateX(0)
}

.customer-body .shell {
  padding-top: 46px
}

.customer-body .wallet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.customer-body .wallet-left-column {
  display: grid;
  gap: 14px;
  min-width: 0
}

.customer-body .wallet-hero-compact {
  margin: 0;
  min-height: 86px
}

.customer-body .recharge-history-card {
  min-width: 0
}

.customer-body .payment-method-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 100%;
}

.customer-body .manual-payment-method {
  max-width: 300px;
  flex: 1 1 300px;
}

.customer-body .manual-payment-method>span {
  display: block;
  margin-bottom: 6px;
  color: #d3e5f9;
  font-size: 13px
}

.customer-body .payment-help-button {
  white-space: nowrap;
  margin-bottom: 0;
  min-height: 40px
}

@media(min-width:1101px) {
  .customer-body .navigation-panel {
    left: 16px
  }
}

@media(max-width:1100px) {
  .customer-body .navigation-row {
    padding-left: 12px;
    padding-right: 12px
  }

  .customer-body .navigation-panel {
    left: 12px
  }
}

@media(max-width:760px) {
  .customer-body .navigation-row {
    top: 76px;
    height: 46px;
    padding: 0 10px
  }

  .customer-body .navigation-panel {
    left: 10px;
    top: 120px;
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 130px)
  }

  .customer-body .shell {
    padding-top: 46px
  }

  .customer-body .wallet-grid {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .customer-body .wallet-left-column {
    gap: 12px
  }

  .customer-body .payment-method-row {
    align-items: flex-end
  }

  .customer-body .manual-payment-method {
    max-width: none
  }
}

/* NAGAR FINAL 2026-10-01 — customer navigation stability polish.
   The control stays anchored directly below the top navigation while the page scrolls.
   The drawer width follows its content to avoid a large empty right area. */
.customer-body .navigation-row {
  position: sticky;
  top: 76px;
  left: 0;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 22px;
  z-index: 60;
  background: linear-gradient(180deg, rgba(3, 15, 34, .96), rgba(3, 15, 34, .76), transparent);
}

.customer-body .navigation-wrap {
  position: relative;
  width: max-content
}

.customer-body .navigation-panel {
  width: max-content;
  min-width: 0;
  max-width: min(240px, calc(100vw - 44px));
  padding: 7px;
}

.customer-body .navigation-menu {
  width: max-content;
  min-width: 0;
  gap: 4px
}

.customer-body .navigation-menu .nav-link {
  width: max-content;
  min-width: 0;
  min-height: 41px;
  padding: 9px 10px;
  padding-right: 13px;
}

.customer-body .shell.navigation-pushed {
  width: calc(min(1720px, 100% - 36px) - var(--customer-nav-width, 170px));
  max-width: none;
  margin-left: max(18px, calc((100% - 1720px)/2 + 18px + var(--customer-nav-width, 170px)));
}

@media(max-width:1100px) and (min-width:761px) {
  .customer-body .navigation-row {
    padding-left: 16px;
    padding-right: 16px
  }

  .customer-body .navigation-panel {
    max-width: calc(100vw - 32px)
  }

  .customer-body .shell.navigation-pushed {
    width: calc(100% - 32px - var(--customer-nav-width, 170px));
    margin-left: calc(16px + var(--customer-nav-width, 170px));
  }
}

@media(max-width:760px) {
  .customer-body .navigation-row {
    top: 76px;
    height: 46px;
    padding: 0 12px
  }

  .customer-body .navigation-panel {
    top: 44px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 76px)
  }

  .customer-body .shell {
    width: calc(100% - 20px);
    margin: 0 10px
  }

  .customer-body .shell.navigation-pushed {
    width: calc(100% - 20px);
    margin: 0 10px
  }
}

/* Customer API cards — document/ATM-card style */
.service-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 18px;
  align-items: stretch
}

.service-card {
  position: relative;
  min-height: 245px;
  padding: 18px;
  border: 1px solid #24649a;
  border-radius: 18px;
  background: linear-gradient(145deg, #092748 0%, #071a33 58%, #0b1740 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease
}

.service-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 201, 255, .08), transparent 35%, rgba(131, 60, 255, .09));
  pointer-events: none
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #2e8bd0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32)
}

.service-card .card-head,
.service-card .eyebrow,
.service-card h3,
.service-card p,
.service-card .service-foot {
  position: relative;
  z-index: 1
}

.service-card .icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #087bff, #693cff);
  border: 1px solid #4f9fff;
  color: #fff;
  font-size: 19px;
  box-shadow: 0 7px 20px rgba(8, 123, 255, .25)
}

.service-card .eyebrow {
  margin-top: 16px;
  font-size: 9px
}

.service-card h3 {
  font-size: 18px;
  margin: 5px 0 7px;
  line-height: 1.25
}

.service-card p {
  font-size: 12px;
  color: #9eb9d9;
  line-height: 1.55;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.service-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(62, 151, 226, .18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px
}

.service-foot strong {
  font-size: 19px;
  color: #fff
}

.service-foot .btn {
  white-space: nowrap
}

@media(max-width:1100px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(230px, 1fr))
  }
}

@media(max-width:760px) {
  .service-grid {
    grid-template-columns: 1fr
  }
}

/* Provider response visibility: show the provider's own message clearly in Admin Orders. */
.provider-result-message {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #061a32;
  color: #dceeff;
  max-width: 520px
}

.provider-result-message strong {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6fd7ff
}

.provider-result-message span {
  font-size: 12px;
  font-weight: 650;
  color: #f4f8ff;
  overflow-wrap: anywhere
}

.provider-result-message small {
  font-size: 10px;
  color: #8eaccb;
  overflow-wrap: anywhere
}

/* Customer order history: keep every attempt visible and make status unambiguous. */
.customer-orders-card .order-history-note {
  margin: 4px 0 0;
  font-size: 12px
}

.customer-order-history {
  display: grid;
  gap: 0
}

.customer-order-item {
  border-bottom: 1px solid var(--line-soft)
}

.customer-order-item:last-child {
  border-bottom: 0
}

.customer-order-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 4px
}

.customer-order-item summary::-webkit-details-marker {
  display: none
}

.customer-order-main {
  min-width: 0
}

.customer-order-main strong {
  display: block;
  font-size: 14px
}

.customer-order-main small {
  display: block;
  margin-top: 3px;
  color: #8faecc;
  font-size: 11px;
  overflow-wrap: anywhere
}

.customer-order-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap
}

.customer-order-price {
  color: #cfe5ff;
  font-size: 12px;
  font-weight: 700
}

.customer-order-chevron {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: #8edaff;
  font-size: 15px;
  line-height: 1;
  transition: transform .18s ease, background .18s ease
}

.customer-order-item[open] .customer-order-chevron {
  transform: rotate(180deg);
  background: #09213f
}

.customer-order-details {
  display: grid;
  gap: 8px;
  padding: 2px 8px 14px;
  border-top: 1px solid var(--line-soft);
  margin-top: 1px
}

.customer-order-details>div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px
}

.customer-order-details b {
  color: #91aac5;
  font-weight: 600
}

.customer-order-details span {
  text-align: right;
  overflow-wrap: anywhere
}

.customer-order-message,
.customer-order-pending-note {
  padding: 9px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #061a32
}

.customer-order-message span {
  color: #e7f3ff
}

.customer-order-pending-note {
  border-color: #9a7224;
  background: #302710
}

.customer-order-pending-note span {
  color: #ffd98a
}

@media(max-width:600px) {
  .customer-order-item summary {
    align-items: flex-start
  }

  .customer-order-side {
    gap: 7px
  }

  .customer-order-details>div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px
  }

  .customer-order-details span {
    text-align: left
  }
}

/* Service page: compact recent attempts without duplicating the full Orders history. */
.service-page-grid {
  display: grid;
  grid-template-columns: minmax(520px, 760px) minmax(300px, 380px);
  gap: 14px;
  align-items: start;
  justify-content: start
}

.service-form-card {
  max-width: none
}

.recent-attempts-card {
  min-width: 0
}

.recent-attempts-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 12px
}

.recent-attempts-head h2 {
  font-size: 19px;
  margin: 2px 0 3px
}

.recent-attempts-head p {
  font-size: 11px;
  margin: 0
}

.recent-attempts-list {
  display: grid;
  gap: 7px
}

.recent-attempt {
  padding: 0;
  overflow: hidden;
  background: #061a32;
  border-color: var(--line-soft)
}

.recent-attempt summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  list-style: none
}

.recent-attempt summary::-webkit-details-marker {
  display: none
}

.recent-attempt summary>span:first-child {
  min-width: 0
}

.recent-attempt summary strong {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.recent-attempt summary small {
  display: block;
  color: #8faecc;
  font-size: 10px;
  margin-top: 3px
}

.recent-attempt-side {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto
}

.recent-attempt-chevron {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  color: #8edaff;
  transition: transform .18s ease
}

.recent-attempt[open] .recent-attempt-chevron {
  transform: rotate(180deg);
  background: #09213f
}

.recent-attempt-details {
  display: grid;
  gap: 7px;
  padding: 2px 12px 11px;
  border-top: 1px solid var(--line-soft)
}

.recent-attempt-details>div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px
}

.recent-attempt-details b {
  color: #91aac5;
  font-weight: 600
}

.recent-attempt-details span {
  text-align: right;
  overflow-wrap: anywhere
}

.recent-attempt-message,
.recent-attempt-review {
  padding: 8px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #071e38
}

.recent-attempt-message span {
  color: #e7f3ff
}

.recent-attempt-review {
  border-color: #9a7224;
  background: #302710
}

.recent-attempt-review span {
  color: #ffd98a
}

.recent-attempts-empty {
  padding: 16px 4px;
  color: #91aac5;
  font-size: 12px;
  border-top: 1px solid var(--line-soft)
}

@media(max-width:1050px) {
  .service-page-grid {
    grid-template-columns: minmax(0, 1fr) 330px
  }

  .service-form-card {
    max-width: none
  }
}

@media(max-width:760px) {
  .service-page-grid {
    grid-template-columns: 1fr
  }

  .recent-attempts-card {
    order: 2
  }

  .recent-attempts-head {
    align-items: flex-start;
    flex-direction: column
  }

  .recent-attempt-details>div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px
  }

  .recent-attempt-details span {
    text-align: left
  }
}

/* Final compact service-form polish: required marks stay inline and inputs are tighter. */
.service-form-card .form-stack {
  gap: 11px
}

.service-form-card .form-stack label {
  gap: 5px
}

.service-form-card .field-label {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  min-height: 18px;
  color: #d8e9fb;
  font-size: 13px
}

.service-form-card .field-label em {
  display: inline;
  color: #ff7894;
  font-style: normal;
  font-weight: 800;
  line-height: 1
}

.service-form-card .form-stack input {
  height: 42px;
  padding: 8px 12px
}

.service-form-card .form-stack small {
  margin-top: -1px
}

/* Click-to-open details do not need a decorative chevron; the whole summary remains clickable. */
.recent-attempt summary,
.customer-order-item summary,
.recharge-request-item summary {
  list-style: none
}

.recent-attempt summary::-webkit-details-marker,
.customer-order-item summary::-webkit-details-marker,
.recharge-request-item summary::-webkit-details-marker {
  display: none
}

.recent-attempt-chevron,
.customer-order-chevron,
.recharge-request-chevron {
  display: none !important
}

.recent-attempt summary,
.customer-order-item summary,
.recharge-request-item summary {
  cursor: pointer
}

/* NAGAR 0.5.1 — customer dashboard final spacing cleanup 2026-10-01
   Keep the open navigation drawer directly beside the page content.
   No duplicate transform/offset is applied; the drawer width is supplied by JS. */
@media(min-width:761px) {
  .customer-body .shell.navigation-pushed {
    width: calc(min(1720px, 100% - 36px) - var(--customer-nav-width, 176px));
    margin-left: var(--customer-nav-width, 176px);
    margin-right: 0;
    transform: none;
  }
}

.provider-diagnostic {
  display: grid;
  gap: 7px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #6f5422;
  border-radius: 10px;
  background: #211b0e;
  color: #f4e6bf;
  max-width: 620px
}

.provider-diagnostic>strong {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ffd36f
}

.provider-diagnostic>div {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: 8px;
  font-size: 11px
}

.provider-diagnostic b {
  color: #cbb98e;
  font-weight: 650
}

.provider-diagnostic span,
.provider-diagnostic pre {
  overflow-wrap: anywhere;
  white-space: pre-wrap
}

.provider-diagnostic small {
  font-size: 10px;
  color: #bba97e
}

.provider-diagnostic pre {
  margin: 0;
  font: inherit
}

/* Cashfree wallet top-up: clear denominations, countdown, and status states */
.cashfree-wallet-card>h2 {
  margin: 5px 0 7px
}

.cashfree-topup-form {
  display: grid;
  gap: 14px;
  margin-top: 16px
}

.cashfree-amount-picker {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0
}

.cashfree-amount-picker legend {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px
}

.cashfree-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px
}

.cashfree-package-option {
  position: relative;
  cursor: pointer;
  min-width: 0
}

.cashfree-package-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px
}

.cashfree-package-main {
  display: grid;
  gap: 8px;
  min-height: 88px;
  align-content: center;
  justify-items: center;
  padding: 13px 8px;
  border: 1px solid #24527c;
  border-radius: 14px;
  background: linear-gradient(145deg, #0a2442, #081a33);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease
}

.cashfree-package-main strong {
  font-size: 19px;
  color: #f5f9ff
}

.cashfree-package-main small {
  font-size: 12px;
  color: #a9c9e7
}

.cashfree-package-option:hover .cashfree-package-main {
  border-color: #2cbdf4;
  transform: translateY(-1px)
}

.cashfree-package-option input:checked+.cashfree-package-main {
  border-color: #20c9ff;
  background: linear-gradient(135deg, #0b4778, #33216c);
  box-shadow: 0 0 0 2px #1bcaff33, 0 8px 24px #06101e55
}

.cashfree-package-option input:focus-visible+.cashfree-package-main {
  outline: 3px solid #a4e5ff;
  outline-offset: 3px
}

.cashfree-selection-summary {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #194b74;
  border-radius: 11px;
  background: #071b33;
  color: #c7e4ff;
  font-weight: 650
}

.cashfree-confirm-button {
  width: 100%;
  min-height: 48px
}

.cashfree-confirm-button:disabled {
  opacity: .52;
  cursor: not-allowed;
  filter: saturate(.55)
}

.cashfree-safety-copy {
  margin: 0;
  font-size: 12px
}

.cashfree-pending-panel {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #9b752b;
  border-radius: 14px;
  background: linear-gradient(145deg, #2a2414, #1d1c1c)
}

.cashfree-pending-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.cashfree-pending-head h3 {
  margin: 4px 0 0;
  font-size: 16px
}

.cashfree-countdown-copy {
  margin: 12px 0 7px;
  color: #e6d5a7;
  font-size: 13px
}

.cashfree-countdown {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: #332b15;
  color: #ffdb77;
  font-variant-numeric: tabular-nums;
  font-size: 14px
}

.cashfree-pending-panel #cashfree-status-message {
  margin: 10px 0 0;
  font-size: 12px
}

.cashfree-attempts {
  margin: 8px 0 0;
  padding-left: 20px;
  color: #f2d6a1;
  font-size: 12px
}

.cashfree-pending-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 12px
}

.cashfree-pending-actions form {
  margin: 0
}

.cashfree-pending-actions button:disabled {
  opacity: .55;
  cursor: not-allowed
}

@media(max-width:520px) {
  .cashfree-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .cashfree-package-main {
    min-height: 78px
  }

  .cashfree-pending-actions form,
  .cashfree-pending-actions button {
    width: 100%
  }
}

.cashfree-package-option input:disabled+.cashfree-package-main {
  opacity: .48;
  cursor: not-allowed;
  filter: saturate(.45)
}

.cashfree-package-option:has(input:disabled) {
  cursor: not-allowed
}

.cashfree-package-option:has(input:disabled):hover .cashfree-package-main {
  border-color: #24527c;
  transform: none
}

.cashfree-countdown {
  font-weight: 800
}

.cashfree-package-option:nth-child(4n+1) .cashfree-package-main {
  border-color: #287cc2
}

.cashfree-package-option:nth-child(4n+2) .cashfree-package-main {
  border-color: #39836b
}

.cashfree-package-option:nth-child(4n+3) .cashfree-package-main {
  border-color: #7254b2
}

.cashfree-package-option:nth-child(4n) .cashfree-package-main {
  border-color: #a46a2d
}

.cashfree-package-option:nth-child(4n+1) input:checked+.cashfree-package-main {
  background: linear-gradient(145deg, #104c73, #102b55)
}

.cashfree-package-option:nth-child(4n+2) input:checked+.cashfree-package-main {
  background: linear-gradient(145deg, #105342, #103646)
}

.cashfree-package-option:nth-child(4n+3) input:checked+.cashfree-package-main {
  background: linear-gradient(145deg, #3f286f, #1e2b5b)
}

.cashfree-package-option:nth-child(4n) input:checked+.cashfree-package-main {
  background: linear-gradient(145deg, #65401d, #382b23)
}

.customer-public-id {
  display: grid;
  gap: 5px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #376fbd;
  border-radius: 14px;
  background: radial-gradient(ellipse at 90% 0, rgba(134, 52, 255, .3), transparent 55%), linear-gradient(115deg, #0a3652, #152653 65%, #301c5a)
}

.customer-public-id strong {
  font: 750 20px/1.35 ui-monospace, Consolas, monospace;
  letter-spacing: .075em;
  overflow-wrap: anywhere;
  color: #fff
}

.customer-public-id small {
  color: #bfd1f4
}

.customer-identity-card {
  background: linear-gradient(145deg, #092847, #101c45 65%, #211844)
}

/* Cashfree confirmation page: rounded, colourful card with a light 3D feel */
.cf-confirm-wrap {
  display: flex;
  justify-content: center;
  padding: 18px 4px 30px;
  perspective: 1100px
}

.cf-confirm-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  padding: 30px 26px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: radial-gradient(circle at 12% 0, rgba(0, 214, 255, .38), transparent 46%), radial-gradient(circle at 100% 18%, rgba(255, 120, 200, .30), transparent 44%), linear-gradient(145deg, #2a3fd6 0%, #6a2fd0 52%, #c2368e 100%);
  color: #fff;
  text-align: center;
  transform: rotateX(2.5deg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 -6px 0 rgba(0, 0, 0, .18) inset, 0 10px 0 -2px #28228f, 0 28px 46px -10px rgba(5, 10, 40, .75), 0 0 40px rgba(120, 80, 255, .25)
}

.cf-confirm-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 38%)
}

.cf-confirm-card>* {
  position: relative
}

.cf-confirm-coin {
  width: 76px;
  height: 76px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  font-size: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff2a8, #ffc83a 55%, #e08a00);
  box-shadow: 0 4px 0 #a86100, 0 14px 22px rgba(0, 0, 0, .35), inset 0 2px 3px rgba(255, 255, 255, .75);
  animation: cf-coin-float 3.2s ease-in-out infinite
}

@keyframes cf-coin-float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

.cf-confirm-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em
}

.cf-confirm-card h2 {
  margin: 12px 0 18px;
  font-size: 23px;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .3)
}

.cf-confirm-amounts {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px
}

.cf-tile {
  display: grid;
  gap: 6px;
  padding: 15px 8px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .10));
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 5px 0 rgba(20, 10, 80, .35), 0 12px 18px rgba(0, 0, 0, .25)
}

.cf-tile small {
  font-size: 12px;
  opacity: .92
}

.cf-tile strong {
  font-size: 24px;
  line-height: 1.15;
  overflow-wrap: anywhere
}

.cf-tile-coins strong {
  color: #ffe27a
}

.cf-confirm-arrow {
  font-size: 26px;
  font-weight: 900;
  opacity: .9
}

.cf-confirm-cheer {
  margin: 20px 0 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .20);
  font-size: 15px;
  line-height: 1.65
}

.cf-confirm-cheer b {
  color: #ffe27a
}

.cf-confirm-note {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  opacity: .92
}

.cf-confirm-form {
  margin: 0
}

.cf-confirm-go {
  width: 100%;
  min-height: 52px;
  font-size: 17px;
  font-weight: 800;
  border-radius: 16px;
  border: 0;
  color: #2a1a66;
  background: linear-gradient(180deg, #fff6bf, #ffd34d);
  box-shadow: 0 5px 0 #b87a00, 0 14px 20px rgba(0, 0, 0, .35);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease
}

.cf-confirm-go:hover {
  transform: translateY(-1px)
}

.cf-confirm-go:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #b87a00, 0 6px 10px rgba(0, 0, 0, .35)
}

.cf-confirm-go:disabled {
  opacity: .7;
  cursor: wait
}

.cf-confirm-back {
  display: inline-block;
  margin-top: 16px;
  color: #e9e4ff;
  font-size: 14px;
  text-decoration: underline
}

@media(max-width:520px) {
  .cf-confirm-card {
    padding: 24px 16px 20px;
    border-radius: 26px;
    transform: none
  }

  .cf-confirm-amounts {
    grid-template-columns: 1fr
  }

  .cf-confirm-arrow {
    transform: rotate(90deg)
  }

  .cf-tile strong {
    font-size: 22px
  }
}

@media(prefers-reduced-motion:reduce) {
  .cf-confirm-coin {
    animation: none
  }

  .cf-confirm-go {
    transition: none
  }
}

.cf-confirm-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(120, 0, 20, .55);
  border: 1px solid rgba(255, 160, 170, .55);
  color: #fff;
  font-size: 14px;
  line-height: 1.5
}

.cf-open-wrap {
  display: flex;
  justify-content: center;
  padding: 48px 8px
}

.cf-open-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  padding: 30px 22px;
  border-radius: 22px;
  border: 1px solid #24527c;
  background: linear-gradient(145deg, #0a2442, #081a33)
}

.cf-open-card h2 {
  margin: 14px 0 8px;
  font-size: 20px
}

.cf-open-amount {
  margin: 0 0 10px;
  color: #c7e4ff
}

.cf-open-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid #1e4a73;
  border-top-color: #2cd0ff;
  animation: cf-spin .9s linear infinite
}

@keyframes cf-spin {
  to {
    transform: rotate(360deg)
  }
}

.cf-open-actions {
  display: flex;
  gap: 9px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 14px 0 0
}

@media(prefers-reduced-motion:reduce) {
  .cf-open-spinner {
    animation-duration: 2.4s
  }
}

/* Payment history pagination + right column (wallet page) */
.customer-body .wallet-right-column {
  display: grid;
  gap: 14px;
  min-width: 0
}

.customer-body .pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px
}

.customer-body .pager-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--panel2);
  color: var(--text);
  text-decoration: none;
  font-size: 13px
}

.customer-body a.pager-link:hover {
  border-color: var(--cyan)
}

.customer-body .pager-link.is-current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 700
}

.customer-body .pager-gap {
  color: var(--muted);
  padding: 0 2px
}

@media(max-width:760px) {
  .customer-body .wallet-right-column {
    gap: 12px
  }
}
