    :root {
      --blue-primary: #053b43;
      --blue-light: #EFF6FF;
      --sidebar-bg: #ffffff;
      --topbar-bg: #ffffff;
      --body-bg: #F3F6FD;
      --card-bg: #ffffff;
      --text-dark: #111827;
      --text-muted: #6B7280;
      --text-light: #9CA3AF;
      --border: #E5E7EB;
      --green: #22C55E;
      --red: #EF4444;
      --orange: #F59E0B;
      --sidebar-width: 250px;
      /* --right-width: 260px; */
      --topbar-height: 64px;
      --sidebar-transition: 0.28s cubic-bezier(.4, 0, .2, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      /* background: var(--body-bg);
      color: var(--text-dark);
      margin: 0; */
      overflow: hidden;
      height: 100vh;
    }

    .logo {
      /* width: 45px; */
      width: 120px;
      /* height: 50px; */
      object-fit: contain;
      /* border-radius: 8px; */
    }

    /* ═══════════════════════════
       DESKTOP LAYOUT (≥ 992px)
    ═══════════════════════════ */
    .app-shell {
      display: grid;
      grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
      grid-template-rows: var(--topbar-height) minmax(0, 1fr);
      grid-template-areas:
        "sidebar topbar"
        "sidebar main";
      height: 100vh;
      transition: grid-template-columns var(--sidebar-transition);
    }

    .app-shell.sidebar-collapsed {
      grid-template-columns: 0 minmax(0, 1fr);
    }

    /* ── Left Sidebar ── */
    .sidebar {
      grid-area: sidebar;
      background: var(--sidebar-bg);
      border-right: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      padding: 20px 0;
      height: 100vh;
      overflow: hidden;
      transition: transform var(--sidebar-transition), width var(--sidebar-transition);
      z-index: 0;
      width: var(--sidebar-width);
    }

    .app-shell.sidebar-collapsed .sidebar {
      transform: translateX(-100%);
      width: 0;
      padding: 0;
      border: none;
    }

    .sidebar-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 20px 24px;
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--blue-primary);
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
    }

    .sidebar-section-label {
      font-size: 1rem;
      font-weight: 500;
      color: var(--text-light);
      text-transform: uppercase;
      letter-spacing: .09em;
      padding: 18px 20px 6px;
      white-space: nowrap;
    }

    .nav-link-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 18px;
      color: var(--text-muted);
      font-size: 1.5rem;
      font-weight: 400;
      text-decoration: none;
      transition: all .15s;
      white-space: nowrap;
    }

    .nav-link-item i {
      width: 18px;
      text-align: center;
      font-size: 1.5rem;
      flex-shrink: 0;
    }

    .nav-link-item:hover {
      background: var(--blue-light);
      color: var(--blue-primary);
    }

    /* .nav-link-item.active {
      background: var(--blue-primary);
      color: #fff;
      border-radius: 10px;
      margin: 0 12px;
      padding: 9px 14px;
    } */

    .nav-link-item.active {
      /* background: var(--blue-primary); */
      color: var(--blue-primary);
      /* color: #fff; */
      border-radius: 10px;
      font-weight: 500;
      /* margin: 0 12px; */
      /* padding: 9px 14px; */
    }


    .nav-link-item.active:hover {
      /* background: var(--blue-primary); */
    }

    .nav-badge {
      margin-left: auto;
      background: var(--blue-primary);
      color: #fff;
      font-size: .65rem;
      font-weight: 700;
      border-radius: 20px;
      padding: 1px 7px;
    }

    .nav-link-item.active .nav-badge {
      background: rgba(255, 255, 255, .3);
    }

    .nav-badge.new {
      background: var(--orange);
      font-size: .62rem;
    }

    .sidebar-footer {
      margin-top: auto;
      padding: 16px 20px;
      border-top: 1px solid var(--border);
      font-size: .72rem;
      color: var(--text-light);
      line-height: 1.6;
      white-space: nowrap;
    }

    .sidebar-footer strong {
      color: var(--text-dark);
      font-size: .78rem;
      display: block;
    }

    /* ── Top Bar ── */
    .topbar {
      grid-area: topbar;
      background: var(--topbar-bg);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 13;
      min-height: var(--topbar-height);
      display: flex;
      align-items: center;
      padding: 0;
    }

    .topbar-title {
      font-size: 2rem;
      font-weight: 500;
      white-space: nowrap;
      margin: 0;
    }

    .topbar-search {
      display: flex;
      align-items: center;
      background: var(--body-bg);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 6px 12px;
      gap: 8px;
      font-size: .85rem;
      color: var(--text-light);
      min-height: 40px;
      width: 100%;
    }

    .topbar-search input {
      border: none;
      background: transparent;
      outline: none;
      font-size: .85rem;
      color: var(--text-dark);
      width: 100%;
      min-width: 0;
    }

    #hamburger-btn {
      background: none;
      border: none;
      padding: 6px 8px;
      cursor: pointer;
      /* color: var(--text-muted); */
      font-size: 1.8rem;
      border-radius: 8px;
      transition: background .15s, color .15s;
      line-height: 1;
      flex-shrink: 0;
    }

    #hamburger-btn:hover {
      background: var(--blue-light);
      color: var(--blue-primary);
    }

    .topbar-icons {
      display: flex;
      align-items: center;
    }

    .topbar-icon-btn {
      position: relative;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--body-bg);
      border: 1px solid var(--border);
      color: var(--text-muted);
      font-size: .85rem;
      cursor: pointer;
      transition: background .15s;
      flex-shrink: 0;
    }

    .topbar-icon-btn:hover {
      background: var(--blue-light);
      color: var(--blue-primary);
    }

    .topbar-notif-badge {
      position: absolute;
      top: -3px;
      right: -3px;
      background: var(--red);
      color: #fff;
      font-size: .55rem;
      font-weight: 700;
      border-radius: 20px;
      padding: 1px 4px;
      border: 2px solid #fff;
    }

    .topbar-notif-badge.green {
      background: var(--green);
    }

    .topbar-notif-badge.blue {
      background: var(--blue-primary);
    }

    .topbar-user .name {
      font-weight: 600;
      font-size: 1.35rem;
      line-height: 1.2;
      white-space: nowrap;
    }

    .topbar-user .handle {
      font-size: 1rem;
      color: var(--text-light);
    }

    .topbar-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(135deg, #667eea, #764ba2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 700;
      font-size: .82rem;
      border: 2px solid var(--border);
      flex-shrink: 0;
    }

    /* ── Main Content ── */
    .main-content {
      grid-area: main;
      min-width: 0;
      min-height: 0;
      overflow-y: auto;
      padding: 20px;
      display: grid;
      flex-direction: column;
      gap: 16px;
      width: 100%;
    }


    .top-row {
      --bs-gutter-x: 1rem;
    }

    .top-row>[class*="col-"] {
      min-width: 0;
    }

    /* ── Wallet Card ── */
    .wallet-card {
      background: linear-gradient(135deg, #053b43 0%, #21565e 60%, #2d7c88 100%);
      border-radius: 10px;
      padding: 22px;
      color: #fff;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 175px;
      flex-shrink: 0;
    }

    .wallet-card::before {
      content: '';
      position: absolute;
      top: -40px;
      right: -40px;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .07);
    }

    .wallet-card::after {
      content: '';
      position: absolute;
      bottom: -30px;
      right: 40px;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .05);
    }

    .wallet-toggle {
      display: flex;
      width: 52px;
      height: 28px;
      background: rgba(255, 255, 255, .2);
      border-radius: 20px;
      padding: 3px;
      margin-bottom: 10px;
    }

    .wallet-toggle-dot {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .5);
    }

    .wallet-toggle-dot.active {
      background: #fff;
    }

    .card-label {
      font-size: 1.5rem;
      opacity: .8;
      font-weight: 500;
    }

    .card-amount {
      font-size: 2rem;
      font-weight: 800;
      letter-spacing: -.5px;
      margin: 4px 0;
    }

    .wallet-change {
      font-size: .72rem;
      opacity: .75;
    }

    .wallet-actions {
      display: flex;
      gap: 10px;
      margin-top: 14px;
    }

    .wallet-action-btn {
      background: #fff;
      border-radius: 12px;
      padding: 8px 14px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      font-size: .68rem;
      font-weight: 600;
      color: var(--text-dark);
      cursor: pointer;
      min-width: 76px;
    }

    .wallet-action-btn i {
      font-size: 1rem;
      color: var(--blue-primary);
    }

    /* ── Balance Card ── */
    .balance-card {
      background: var(--card-bg);
      border-radius: 18px;
      padding: 20px;
      border: 1px solid var(--border);
      flex: 1;
      min-width: 0;
    }

    .balance-label {
      font-size: .78rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    .balance-amount {
      font-size: 1.55rem;
      font-weight: 800;
      letter-spacing: -.5px;
      margin: 6px 0 12px;
    }

    .balance-bar {
      height: 10px;
      border-radius: 10px;
      background: var(--body-bg);
      overflow: hidden;
      margin-bottom: 12px;
    }

    .balance-bar-fill {
      height: 100%;
      width: 68%;
      background: linear-gradient(90deg, var(--blue-primary), #60A5FA);
      border-radius: 10px;
    }

    .card-meta {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      margin-top: 8px;
    }

    .card-meta-item label {
      font-size: .63rem;
      color: var(--text-light);
      text-transform: uppercase;
      letter-spacing: .07em;
      display: block;
      margin-bottom: 2px;
    }

    .card-meta-item span {
      font-size: .8rem;
      font-weight: 600;
    }

    /* ── Spend Chips ── */
    .spend-chips {
      display: flex;
      /* gap: 1px; */
      flex-wrap: wrap;
      align-items: center;
    }

    .spend-chip {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 10px 14px;
      cursor: pointer;
      /* background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      transition: box-shadow .15s; */
    }

    .spend-chip:hover {
      box-shadow: 0 2px 10px rgba(37, 99, 235, .12);
      border-color: var(--blue-primary);
    }

    .spend-chip-icon {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }

    .chip-name {
      font-weight: 400;
      font-size: 1.25rem;
      padding-top: 0px !important;
      color: var(--text-muted);
    }

    .chip-amount {
      font-size: 2.8rem;
      font-weight: 500;
      padding-bottom: 0px !important;
    }

    .add-spend-btn {
      background: var(--blue-primary);
      color: #fff;
      border: none;
      border-radius: 14px;
      padding: 10px 18px;
      font-size: .8rem;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      transition: background .15s;
    }

    .add-spend-btn:hover {
      background: #1E40AF;
    }

    /* ── Transaction Section ── */
    .section-card {
      background: var(--card-bg);
      border-radius: 10px;
      border: 1px solid var(--border);
      overflow: hidden;
    }

    .section-header {
      display: flex;
      align-items: flex-start;
      padding: 16px 18px 10px;
      gap: 10px;
      flex-wrap: wrap;
    }

    .section-title {
      font-weight: 500;
      font-size: 1.7rem;
    }

    .section-subtitle {
      font-size: .7rem;
      color: var(--text-muted);
      margin-top: 1px;
    }

    .section-tabs {
      display: flex;
      gap: 14px;
      margin-left: auto;
      font-size: .78rem;
      color: var(--text-light);
      align-self: center;
    }

    .section-tabs span {
      cursor: pointer;
      padding-bottom: 2px;
    }

    .section-tabs span.active {
      color: var(--blue-primary);
      font-weight: 700;
      border-bottom: 2px solid var(--blue-primary);
    }

    /* Desktop transaction row */
    .txn-row {
      display: grid;
      grid-template-columns: 42px 1fr 155px 76px 115px 88px 22px;
      align-items: center;
      padding: 12px 18px;
      gap: 10px;
      border-top: 1px solid var(--border);
      transition: background .12s;
      cursor: pointer;
      font-size: 1em;
    }

    .txn-row:hover {
      background: var(--body-bg);
    }

    .txn-row.expanded {
      background: var(--blue-light);
    }

    .txn-avatar {
      position: relative;
      width: 40px;
      height: 40px;
      flex-shrink: 0;
    }

    .txn-avatar-placeholder {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: .82rem;
      color: #fff;
    }

    .status-dot {
      position: absolute;
      bottom: 0;
      right: 0;
      width: 13px;
      height: 13px;
      border-radius: 50%;
      border: 2px solid #fff;
    }

    .txn-name {
      /* font-weight: 500; */
      font-size: 1.4rem;
    }

    .txn-sub {
      font-size: 1rem;
      color: var(--text-light);
    }

    .txn-date {
      font-size: 1.2rem;
      color: var(--text-muted);
    }

    .txn-amount {
      /* font-size: .82rem; */
      font-weight: 600;
      color: var(--green);
    }

    .txn-card {
      font-size: .72rem;
      color: var(--text-muted);
    }

    .txn-expand {
      color: var(--text-light);
      font-size: .75rem;
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      padding: 3px 10px;
      border-radius: 20px;
      font-size: .7rem;
      font-weight: 700;
      white-space: nowrap;
    }

    .status-pill.pending {
      background: #FEF3C7;
      color: #D97706;
    }

    .status-pill.completed {
      background: #D1FAE5;
      color: #059669;
    }

    .status-pill.canceled {
      background: #F3F4F6;
      color: #6B7280;
    }

    .txn-detail-row {
      padding: 0 18px 14px 70px;
      background: var(--blue-light);
      display: none;
      grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
      gap: 12px;
    }

    .txn-detail-row.open {
      display: grid;
    }

    .txn-detail-row label {
      font-size: 1.2rem;
      color: var(--text-light);
      text-transform: uppercase;
      letter-spacing: .06em;
      display: block;
      margin-bottom: 3px;
    }

    .txn-detail-row span {
      /* font-weight: 600; */
      font-size: 1.4rem;
    }


    /* ═══════════════════════════
       MOBILE OVERLAY
    ═══════════════════════════ */
    .sidebar-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .45);
      z-index: 190;
      opacity: 0;
      transition: opacity .28s;
      pointer-events: none;
    }

    .sidebar-overlay.visible {
      opacity: 1;
      pointer-events: auto;
    }

    /* ═══════════════════════════
       TABLET (< 992px)
    ═══════════════════════════ */
    @media (max-width: 991.98px) {

      body {
        overflow: auto;
        height: auto;
      }

      .app-shell,
      .app-shell.sidebar-collapsed {
        grid-template-columns: 1fr;
        grid-template-rows: var(--topbar-height) auto;
        grid-template-areas:
          "topbar"
          "main";
        height: auto;
        min-height: 100vh;
      }

      .main-content {
        overflow: visible;
        height: auto;
      }

      .sidebar,
      .app-shell.sidebar-collapsed .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: var(--sidebar-width);
        height: 100vh;
        padding: 20px 0;
        border-right: 1px solid var(--border);
        transform: translateX(-100%);
        box-shadow: 4px 0 20px rgba(0, 0, 0, .12);
        z-index: 200;
      }

      .sidebar.open {
        transform: translateX(0) !important;
      }

      .sidebar-overlay {
        display: block;
      }
    }

    /* ═══════════════════════════
       MOBILE (< 768px)
    ═══════════════════════════ */
    @media (max-width: 767.98px) {
      body {
        overflow: auto;
        height: auto;
      }

      .app-shell,
      .app-shell.sidebar-collapsed {
        grid-template-columns: 1fr;
        grid-template-rows: var(--topbar-height) auto;
        grid-template-areas:
          "topbar"
          "main";
        height: auto;
        min-height: 100vh;
      }

      .main-content {
        overflow-y: visible;
        height: auto;
      }

      .right-sidebar {
        border-left: none;
        border-top: 1px solid var(--border);
        height: auto;
        overflow-y: visible;
        padding: 16px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        align-items: start;
      }

      .rs-divider {
        grid-column: 1 / -1;
      }

      .rs-full {
        grid-column: 1 / -1;
      }


      .wallet-card {
        min-height: 160px;
      }

      /* Chips scroll horizontally */
      .spend-chips {
        flex-wrap: nowrap;
        /* overflow-x: auto; */
        padding-bottom: 4px;
        /* -webkit-overflow-scrolling: touch; */
      }

      /* .spend-chips::-webkit-scrollbar {
        height: 3px;
      }

      .spend-chips::-webkit-scrollbar-thumb {
        background: #D1D5DB;
        border-radius: 4px;
      } */

      /* Simplified mobile transaction row: avatar | name+status | amount */
      .txn-row {
        grid-template-columns: 38px 1fr auto;
        grid-template-rows: auto auto;
        row-gap: 2px;
        column-gap: 8px;
        padding: 11px 14px;
      }

      .txn-row>.txn-avatar {
        grid-row: 1 / 3;
        align-self: center;
      }

      .txn-row>div:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
      }

      .txn-row>.txn-date {
        display: none;
      }

      .txn-row>.txn-amount {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
      }

      .txn-row>.txn-card {
        display: none;
      }

      .txn-row>div:nth-child(6) {
        grid-column: 2;
        grid-row: 2;
      }

      .txn-row>.txn-expand {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
      }

      .txn-detail-row {
        padding: 8px 14px 12px 22px;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: auto;
      }
    }

    /* ═══════════════════════════
       SMALL (< 480px)
    ═══════════════════════════ */
    @media (max-width: 479.98px) {
      .right-sidebar {
        grid-template-columns: 1fr;
      }

      .main-content {
        padding: 12px;
        gap: 12px;
      }

      .balance-amount,
      .wallet-amount {
        font-size: 1.25rem;
      }

    }

    /* Scrollbars */
    ::-webkit-scrollbar {
      width: 4px;
      height: 4px;
    }

    ::-webkit-scrollbar-track {
      background: transparent;
    }

    ::-webkit-scrollbar-thumb {
      background: #D1D5DB;
      border-radius: 4px;
    }


    .chart-card {
      background: #fff;
      border: 1px solid #E5E7EB;
      border-radius: 18px;
      padding: 20px 20px 10px;
    }

    .chart-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: #1F2937;
      margin-bottom: 10px;
    }

    .sidebar-user {
      /* padding: 14px 16px; */
      /* background: #fff; */
      /* border: 1px solid var(--border); */
      /* border-radius: 14px; */
    }

    .sidebar-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: linear-gradient(135deg, #146470, #053b43);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 400;
      font-size: 1.4rem;
      flex-shrink: 0;
    }

    .sidebar-user-info {
      min-width: 0;
    }

    .sidebar-name {
      font-size: 1.5rem;
      font-weight: 500;
      color: var(--text-dark);
      line-height: 1.2;
    }

    .sidebar-user-info .handle {
      font-size: 1rem;
      color: var(--text-light);
      font-weight: 400;
    }

    .sidebar-menu-btn {
      width: 34px;
      height: 34px;
      border: 1px solid var(--border);
      background: #fff;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      cursor: pointer;
      transition: .2s ease;
      flex-shrink: 0;
    }

    .sidebar-menu-btn:hover {
      background: var(--blue-light);
      color: var(--blue-primary);
    }

    .sidebar-dropdown {
      min-width: 180px;
      border-radius: 12px;
      border: 1px solid var(--border);
      box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
      padding: 8px;
    }

    .sidebar-dropdown .dropdown-item {
      font-size: .85rem;
      border-radius: 8px;
      padding: 9px 12px;
    }

    .sidebar-dropdown .dropdown-item:hover {
      background: var(--blue-light);
    }












    .recent-users-card {
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 16px;
      /* overflow: hidden; */
      padding-bottom: 5px;
    }

    .recent-users-header {
      padding: 16px 24px;
      border-bottom: 1px solid #e5e7eb;
    }

    .recent-users-header h5 {
      font-size: 1.4rem;
      font-weight: 700;
      color: #1f2937;
    }

    .recent-users-menu-btn {
      width: 36px;
      height: 36px;
      border: none;
      background: transparent;
      border-radius: 10px;
      color: #374151;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.2s ease;
    }

    .recent-users-menu-btn:hover {
      background: #f3f4f6;
    }

    .recent-users-dropdown {
      min-width: 180px;
      padding: 10px;
      border: none;
      border-radius: 14px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    .recent-users-dropdown .dropdown-item {
      padding: 10px 12px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 500;
    }

    .recent-users-dropdown .dropdown-item:hover {
      background: #f9fafb;
    }

    .recent-users-body {
      padding: 6px 0;
    }

    /* .recent-user-row {
      display: grid;
      grid-template-columns: minmax(220px, 1.5fr) minmax(120px, 1fr) auto;
      align-items: center;
      gap: 18px;
      padding: 14px 24px;
    } */

    /* .recent-user-row {
      display: grid;
      grid-template-columns: minmax(280px, 1fr) minmax(0px, 1fr) auto;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      width: 100%;
      padding: 14px 18px;
      border-bottom: 1px solid #e5e7eb;
      flex-wrap: wrap;
    } */



    .coupon-text-wrap {
      min-width: 0;
      flex: 1 1 auto;
      overflow: hidden;
    }

    .coupon-code-line {
      min-width: 0;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .coupon-code-text {
      display: inline-block;
      max-width: 100%;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      vertical-align: bottom;
    }




    .recent-user-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      width: 100%;
      padding: 14px 24px;
      /* border-bottom: 1px solid #e5e7eb; */
      flex-wrap: nowrap;
    }

    .recent-user-main {
      display: flex;
      align-items: center;
      gap: 14px;
      flex: 1 1 auto;
      min-width: 0;
      overflow: hidden;
    }

    .recent-user-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
    }

    .recent-user-name {
      font-size: 1.25rem;
      font-weight: 700;
      /* color: #1f2937; */
      line-height: 1.2;
    }

    .recent-user-role {
      font-size: 1.45rem;
      color: #475569;
      line-height: 1.3;
    }

    .recent-user-time {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #334155;
      font-size: 0.95rem;
      white-space: nowrap;
    }

    .time-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      display: inline-block;
      flex-shrink: 0;
    }

    .dot-yellow {
      background: #facc15;
    }

    .dot-green {
      background: #5eead4;
    }

    .dot-blue {
      background: #60a5fa;
    }

    .dot-red {
      background: #f87171;
    }

    .recent-user-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      /* display: grid;
      align-items: center;
      gap: 8px; */
    }

    .recent-user-main {
      overflow: hidden;
    }

    .recent-user-nam,
    .txn-sub {
      white-space: normal;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .action-btn {
      width: 35px;
      height: 35px;
      border: none;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .action-btn i {

      font-size: 1.5rem;
    }



    .action-btn:hover {
      transform: translateY(-1px);
    }





    .avatar-icon {
      /* background:linear-gradient(135deg,#6366F1,#8B5CF6); */
      background-color: #a7a7a769;
      width: 40px;
      height: 40px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: .82rem;
      color: #fff;
    }



    @media (max-width: 767.98px) {
      .recent-user-row {
        flex-wrap: nowrap;
        /* prevent breaking into new line */
        align-items: center;
        padding: 14px 24px;
      }

      .recent-user-main {
        min-width: 0;
        flex: 1;
      }

      .recent-user-actions {
        flex-shrink: 0;
        /* prevent squeezing */
        display: flex;
        gap: 8px;
      }

      /* .recent-user-row {
        grid-template-columns: 1fr;
        gap: 12px;
      } */

      /* .recent-user-time,
      .recent-user-actions {
        padding-left: 64px;
      } */

      .recent-users-header {
        padding: 12px 18px;
      }


    }


    .sidebar-submenu {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.25s ease;
    }

    .sidebar-group.open .sidebar-submenu {
      max-height: 300px;
    }



    .sidebar-group {
      display: flex;
      flex-direction: column;
    }

    /* Parent */
    .sidebar-parent {
      cursor: pointer;
      position: relative;
    }

    .sidebar-arrow {
      font-size: 1rem;
      transition: transform 0.2s ease;
    }

    /* Submenu */
    .sidebar-submenu {
      display: none;
      flex-direction: column;
      padding-left: 36px;
      margin-top: 4px;
    }

    .submenu-item {
      font-size: 1.4rem;
      color: var(--text-muted);
      padding: 9px 10px;
      text-decoration: none;
      transition: 0.15s;
      line-height: 1;
    }

    .submenu-item:hover {
      /* color: var(--blue-primary); */
    }

    /* Active states */
    .sidebar-group.active>.sidebar-parent {
      color: var(--color-primary);
      font-weight: 500;
    }

    .submenu-item.active {
      /* color: var(--blue-primary); */
      font-weight: 500;
      color: var(--color-primary);
    }

    /* Open state */
    .sidebar-group.open .sidebar-submenu {
      display: flex;
    }

    .sidebar-group.open .sidebar-arrow {
      transform: rotate(90deg);
    }














    .category-sheet {
      height: auto !important;
      min-height: 260px;
      max-height: 85vh;
      border-top-left-radius: 22px;
      border-top-right-radius: 22px;
      border: none;
      box-shadow: 0 -10px 30px rgba(0, 0, 0, .12);
    }

    .category-sheet .offcanvas-body {
      overflow-y: auto;
      padding-bottom: 24px;
    }

    .sheet-handle-wrap {
      display: flex;
      justify-content: center;
      padding-top: 10px;
    }

    .sheet-handle {
      width: 42px;
      height: 5px;
      border-radius: 999px;
      background: #d1d5db;
    }

    .category-sheet .btn {
      border-radius: 14px;
      padding: 14px 16px;
      font-weight: 500;
    }










    .fw-100 {
      font-weight: 100 !important;
    }

    .fw-200 {
      font-weight: 200 !important;
    }

    .fw-300 {
      font-weight: 300 !important;
    }

    .fw-400 {
      font-weight: 400 !important;
    }


    .fw-500 {
      font-weight: 500 !important;
    }

    .fw-600 {
      font-weight: 600 !important;
    }

    .fw-700 {
      font-weight: 700 !important;
    }

    .fw-800 {
      font-weight: 800 !important;
    }

    .fw-900 {
      font-weight: 900 !important;
    }




























    .topbar-user-dropdown {
      position: relative;
    }

    .topbar-user-trigger {
      border: none;
      background: transparent;
      padding: 0;
      cursor: pointer;
      border-radius: 12px;
    }

    .topbar-user-trigger:focus,
    .topbar-user-trigger:active {
      outline: none;
      box-shadow: none;
      background: transparent;
    }

    .topbar-user-info .name {
      font-size: 15px;
      color: #1f2937;
      line-height: 1.2;
    }

    .topbar-user-info .handle {
      color: #6b7280;
      line-height: 1.2;
    }



    .topbar-user-chevron {
      font-size: 11px;
      color: var(--text-light);
    }

    .topbar-user-menu {
      min-width: 220px;
      border: 1px solid #e5e7eb;
      border-radius: 14px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
      padding: 10px 0;
      margin-top: 10px;
    }

    .dropdown-user-header {
      padding: 4px 16px 10px;
    }

    .dropdown-user-name {
      font-size: 14px;
      font-weight: 700;
      color: #111827;
    }

    .dropdown-user-link {
      font-size: 13px;
      color: #0f766e;
    }

    .topbar-user-menu .dropdown-item {
      display: flex;
      align-items: center;
      /* gap: 4px; */
      font-size: 14px;
      padding: 5px 20px;
      color: #374151;
    }

    .topbar-user-menu .dropdown-item:hover {
      background: #f9fafb;
    }

    .topbar-user-menu .dropdown-divider {
      margin: 8px 0;
    }

    @media (max-width: 991.98px) {
      .topbar-user-info {
        display: none;
      }

      .topbar-user-menu {
        min-width: 200px;
        right: 0;
        left: auto;
      }
    }









    .advanced-card-tabs {
      border: 1px solid #e5e7eb;
      border-radius: 16px;
      overflow: hidden;
      background: #fff;
    }

    .advanced-card-header {
      /* padding: 20px 22px; */
      /* border-bottom: 1px solid #e5e7eb; */
      background: #fff;
    }

    .advanced-card-header h5 {
      font-size: 1.5rem;
      font-weight: 700;
      color: #1f2937;
    }

    .card-menu-btn {
      border: none;
      background: transparent;
      width: 34px;
      height: 34px;
      border-radius: 10px;
      color: #6b7280;
    }

    .card-menu-btn:hover {
      background: #f3f4f6;
    }

    .advanced-tabs-nav {
      display: flex;
      align-items: center;
      gap: 28px;
      padding: 0 22px;
      border-bottom: 1px solid #e5e7eb;
      overflow-x: visible;
      height: 52px;
    }

    .advanced-tab-btn {
      position: relative;
      border: none;
      background: transparent;
      padding: 16px 0 14px;
      font-size: 15px;
      font-weight: 400;
      color: #111827;
      white-space: nowrap;

    }

    .advanced-tab-btn.active {
      color: var(--blue-primary);
      font-weight: 500;
    }

    .advanced-tab-btn.active::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -1px;
      width: 100%;
      height: 2px;
      background: var(--blue-primary);
      border-radius: 999px;
    }

    .advanced-tabs-body {
      background: #fff;
      padding-bottom: 50px;
    }

    .advanced-tab-panel {
      display: none;
    }

    .advanced-tab-panel.active {
      display: block;
    }








































    .txn-list-row {
      display: flex;
      justify-content: space-between;
      /* align-items: center; */
      /* gap: 3px; */
      padding: 10px 22px;
      /* border-bottom: 1px solid #e5e7eb; */
    }

    .txn-list-row:last-child {
      border-bottom: none;
    }

    .txn-left {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }

    .txn-icon {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      border: 1px solid #e5e7eb;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: #1f2937;
      flex-shrink: 0;
    }

    .txn-icon.accent {
      background: #eef2ff;
      color: var(--blue-primary);
      border-color: #e5e7eb;
    }

    .txn-title {
      font-size: 16px;
      font-weight: 700;
      color: #1f2937;
      line-height: 1.2;
    }

    .txn-subtitle {
      font-size: 14px;
      color: #6b7280;
      margin-top: 3px;
    }

    .txn-right {
      flex-shrink: 0;
    }

    .txn-amount {
      font-size: 16px;
      font-weight: 700;
      color: #1f2937;
    }

    .txn-amount.positive {
      color: #111827;
    }

    .txn-amount.negative {
      color: #111827;
    }

    .txn-change {
      font-size: 14px;
      margin-top: 4px;
    }

    .txn-change.positive {
      color: #10b981;
    }

    .txn-change.warning {
      color: #f59e0b;
    }

    .txn-change.neutral {
      color: #6b7280;
    }

    @media (max-width: 767.98px) {
      .txn-list-row {
        align-items: flex-start;
        flex-direction: column;
      }

      .txn-right {
        width: 100%;
        text-align: left !important;
        padding-left: 56px;
      }

      .advanced-card-header {
        padding: 16px 18px;
      }

      .advanced-tabs-nav {
        padding: 0 18px;
        gap: 20px;
      }

      .txn-list-row {
        padding: 14px 18px;
      }
    }