    :root {
      --primary-color: orangered;
      --primary-light: #edf0fb;
      --primary-dark: #0f2a65;
      --secondary-color: #3b3f5c;
      --gray-light: #f5f7ff;
      --gray-medium: #e6e9f4;
      --gray-dark: #828795;
      --danger: #f36c6c;
      --success: #2dbf78;
      --warning: #f5a524;
      --white: #ffffff;
      --text-primary: #262a39;
      --text-secondary: #6c7380;
      --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
      --sidebar-width: 280px;
      --header-height: 80px;
      --border-radius: 18px;
      --gutter: 25px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif
    }

    body {
      background: var(--gray-light);
      color: var(--text-primary);
      display: flex;
      min-height: 100vh
    }

    /* Buttons & utilities */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .5rem;
      padding: .7rem 1rem;
      border-radius: 5px;
      font-weight: 600;
      border: 1px solid transparent;
      cursor: pointer;
      text-decoration: none
    }

    .btn-sm {
      padding: .45rem .7rem;
      font-size: .875rem;
      border-radius: 5px
    }

    .btn-primary {
      background: var(--primary-color);
      color: var(--white)
    }

    .btn-primary:hover {
      filter: brightness(.95)
    }

    .btn-light {
      background: var(--white);
      border: 1px solid var(--gray-medium);
      color: var(--text-primary)
    }

    .btn-light:hover {
      background: #fafbff
    }

    .w-100 {
      width: 100%
    }

    .text-right {
      text-align: right
    }

    .card {
      background: var(--white);
      border-radius: var(--border-radius);
      box-shadow: var(--card-shadow);
      padding: 20px
    }

    .card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px
    }

    /* Sidebar */
    .sidebar {
      width: var(--sidebar-width);
      background: var(--white);
      border-right: 1px solid var(--gray-medium);
      padding: 35px 0;
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      z-index: 100;
      box-shadow: 5px 0 20px rgba(0, 0, 0, .03);
      transition: transform .25s ease-in-out
    }

    .logo {
      padding: 0 30px 35px
    }

    .logo svg {
      height: 40px;
      width: auto
    }

    .nav-menu {
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      padding: 0 15px
    }

    .nav-item {
      display: flex;
      align-items: center;
      padding: 14px 20px;
      color: var(--text-secondary);
      text-decoration: none;
      font-weight: 500;
      font-size: 15px;
      margin-bottom: 8px;
      transition: all .3s ease;
      border-radius: 12px;
      border-left: 3px solid transparent
    }

    .nav-item:hover {
      background-color: var(--primary-light);
      color: var(--primary-color);
      transform: translateX(5px)
    }

    .nav-item.active {
      background-color: var(--primary-light);
      color: var(--primary-color);
      font-weight: 600;
      border-left: 3px solid var(--primary-color)
    }

    .nav-item i {
      margin-right: 15px;
      font-size: 18px;
      width: 24px;
      text-align: center
    }

    .premium-box {
      background: linear-gradient(135deg, #6a85f1, #4270f4);
      margin: 25px;
      border-radius: var(--border-radius);
      padding: 25px;
      color: var(--white);
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 15px 30px rgba(66, 112, 244, .2);
      transition: transform .3s ease
    }

    .premium-box:hover {
      transform: translateY(-5px)
    }

    .premium-box::before {
      content: "";
      position: absolute;
      width: 200px;
      height: 200px;
      background: rgba(255, 255, 255, .1);
      border-radius: 50%;
      bottom: -100px;
      right: -100px
    }

    .premium-box::after {
      content: "";
      position: absolute;
      width: 100px;
      height: 100px;
      background: rgba(255, 255, 255, .1);
      border-radius: 50%;
      top: -50px;
      left: -50px
    }

    .premium-box h3 {
      font-size: 20px;
      margin-bottom: 18px;
      position: relative;
      z-index: 1
    }

    .premium-btn {
      background-color: var(--white);
      color: var(--primary-color);
      border: none;
      border-radius: 30px;
      padding: 12px 30px;
      font-weight: 600;
      cursor: pointer;
      font-size: 15px;
      transition: all .3s ease;
      position: relative;
      z-index: 1;
      box-shadow: 0 5px 15px rgba(0, 0, 0, .1)
    }

    .premium-btn:hover {
      background-color: rgba(255, 255, 255, .9);
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, .15)
    }

    /* Main content */
    .main-content {
      flex: 1;
      margin-left: var(--sidebar-width);
      padding: 40px;
      max-width: 1800px
    }

    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;
      gap: 16px
    }

    .greeting {
      color: var(--text-secondary);
      font-size: 16px;
      margin-bottom: 10px
    }

    .welcome-title {
      font-size: 30px;
      font-weight: 700;
      background: linear-gradient(90deg, var(--text-primary), var(--primary-color));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap
    }

    .notification-bell {
      background: var(--white);
      border-radius: 50%;
      width: 45px;
      height: 45px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      position: relative;
      cursor: pointer;
      box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
      transition: all .2s ease
    }

    .notification-bell:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
      color: var(--primary-color)
    }

    .notification-indicator {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 10px;
      height: 10px;
      background-color: var(--danger);
      border-radius: 50%;
      border: 2px solid var(--white)
    }

    .user-profile {
      display: flex;
      align-items: center;
      cursor: pointer;
      position: relative
    }

    .user-profile::after {
      content: "";
      position: absolute;
      width: 52px;
      height: 52px;
      border: 2px solid var(--gray-medium);
      border-radius: 50%;
      box-shadow: 0 3px 15px rgba(0, 0, 0, .08)
    }

    .profile-pic {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--white);
      transition: transform .3s ease
    }

    .user-profile:hover .profile-pic {
      transform: scale(1.05)
    }

    .search-bar {
      background: var(--white);
      border-radius: 50px;
      padding: 12px 16px;
      display: flex;
      align-items: center;
      width: 300px;
      max-width: 100%;
      box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
      transition: all .3s ease
    }

    .search-bar:focus-within {
      box-shadow: 0 5px 15px rgba(66, 112, 244, .15);
      transform: translateY(-2px)
    }

    .search-bar input {
      border: none;
      outline: none;
      width: 100%;
      margin-left: 10px;
      font-size: 15px;
      color: var(--text-primary)
    }

    .search-bar input::placeholder {
      color: var(--gray-dark)
    }

    .search-bar i {
      color: var(--gray-dark);
      font-size: 16px
    }

    /* Dashboard layout */
    .dashboard-container {
      display: grid;
      grid-template-columns: 1fr;
      gap: var(--gutter)
    }

    /* single column since there's no right sidebar section */
    .dashboard-main {
      display: grid;
      gap: var(--gutter)
    }

    /* Transfer cards: now 4 in a row on desktop */
    .transfer-cards {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: var(--gutter);
      margin-bottom: 10px
    }

    .transfer-card {
      background: var(--white);
      border-radius: var(--border-radius);
      padding: 25px;
      box-shadow: var(--card-shadow);
      transition: all .3s ease;
      cursor: pointer;
      position: relative;
      overflow: hidden
    }

    .transfer-card:hover {
      transform: translateY(-7px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, .1)
    }

    .transfer-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 5px;
      height: 0;
      background: var(--primary-color);
      transition: height .3s ease
    }

    .transfer-card:hover::before {
      height: 100%
    }

    .card-icon {
      width: 50px;
      height: 50px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      background-color: var(--primary-light);
      color: var(--primary-color);
      font-size: 20px;
      transition: all .3s ease
    }

    .transfer-card:hover .card-icon {
      transform: scale(1.1);
      background-color: var(--primary-color);
      color: var(--white)
    }

    .card-title {
      font-size: 15px;
      color: var(--text-secondary);
      margin-bottom: 8px
    }

    .card-amount {
      font-size: 26px;
      font-weight: 700;
      background: linear-gradient(45deg, #262a39, #4270f4);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent
    }

    /* Ensure the Orders card/table lines up edge-to-edge with the 4-card grid */
    section.card {
      padding: 0
    }

    /* let inner wrappers control padding for perfect alignment */
    section.card .card-header {
      padding: 20px
    }

    section.card .table-responsive {
      border-radius: 0 0 var(--border-radius) var(--border-radius)
    }

    /* Transaction & promo (leftover styles kept for your future sections) */
    .dashboard-sidebar {
      display: flex;
      flex-direction: column;
      gap: 30px
    }

    /* =======Responsive table =============*/
    .table-responsive {
      width: 100%;
      overflow-x: auto;
      background: var(--white);
      border-radius: var(--border-radius);
      box-shadow: var(--card-shadow)
    }

    .table {
      width: 100%;
      border-collapse: collapse;
      min-width: 720px
    }

    .table th,
    .table td {
      padding: 14px 16px;
      border-bottom: 1px solid var(--gray-medium);
      text-align: left
    }

    .table th {
      font-weight: 700;
      font-size: .92rem;
      color: var(--text-secondary);
      background: #fbfcff;
      position: sticky;
      top: 0;
      z-index: 1
    }

    .badge {
      display: inline-block;
      padding: 6px 10px;
      border-radius: 999px;
      font-weight: 600;
      font-size: .8rem
    }

    .badge-success {
      background: #e7f8ef;
      color: #1e8d57
    }

    .badge-warning {
      background: #fff5e5;
      color: #9a6a00
    }

    .badge-muted {
      background: #eef0f6;
      color: #4b4f5c
    }

    /* Hamburger (mobile) */
    .hamburger {
      display: none;
      background: transparent;
      border: 0;
      padding: 10px;
      border-radius: 10px
    }

    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--text-primary);
      margin: 5px 0;
      transition: .2s
    }

    /* Breakpoints */
    @media (max-width:1400px) {
      .main-content {
        padding: 30px
      }
    }

    @media (max-width:1200px) {
      .transfer-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr))
      }
    }

    @media (max-width:992px) {
      .sidebar {
        transform: translateX(-100%)
      }

      .sidebar.open {
        transform: translateX(0)
      }

      .hamburger {
        display: inline-block
      }

      .main-content {
        margin-left: 0;
        padding: 24px
      }

      .logo {
        padding: 0 20px 25px
      }
    }

    @media (max-width:768px) {
      .header {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 16px
      }

      .search-bar {
        width: 100%;
        order: 3
      }

      .transfer-cards {
        grid-template-columns: 1fr
      }

      .welcome-title {
        font-size: 24px
      }
    }

    @media (max-width:640px) {
      .table {
        min-width: 0;
        border: 0
      }

      .table thead {
        display: none
      }

      .table tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 16px;
        padding: 14px;
        border-bottom: 1px solid var(--gray-medium)
      }

      .table td {
        border: 0;
        padding: 6px 0
      }

      .table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: var(--text-secondary);
        margin-bottom: 4px
      }

      .text-right {
        text-align: left
      }
    }

    @media (max-width:576px) {
      /* extra minor tweaks can go here */
    }


    /* Add Item Form Starts here */
    .form-wrapper {
      padding: 0 40px;
    }

    .add-item-form .form-row {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 1.5rem;
    }

    .add-item-form .form-group {
      flex: 1;
      min-width: 200px;
    }

    .add-item-form .form-group.full-width {
      flex: 100%;
    }

    .add-item-form .form-control {
      width: 100%;
      padding: 0.5rem 1rem;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: var(--small-font-size);
      box-sizing: border-box;
    }

    .form-control:focus {
      border-color: orangered;
      outline: none;
    }

    .add-item-form textarea.form-control {
      resize: vertical;
    }

    .add-item-form button[type="submit"] {
      padding: 0.75rem 2rem;
      font-size: 1rem;
    }

    .custom-file-upload {
      position: relative;
      display: inline-block;
      width: 100%;
      border: 2px dashed #ccc;
      padding: .5rem;
      border-radius: 8px;
      text-align: center;
      background-color: #fafafa;
      transition: border-color 0.3s ease;
      cursor: pointer;
    }

    .custom-file-upload:hover {
      border-color: orangered;
    }

    .custom-file-upload input[type="file"] {
      position: absolute;
      left: 0;
      top: 0;
      opacity: 0;
      width: 100%;
      height: 100%;
      cursor: pointer;
    }

    .custom-file-upload .file-label {
      font-size: 0.95rem;
      color: #555;
    }

    .form-label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 600;
      color: #333;
    }

    select.form-control {
      width: 100%;
      padding: 0.75rem 1rem;
      font-size: 1rem;
      border: 1.5px solid #ccc;
      border-radius: 8px;
      background-color: #fff;
      color: #333;
      transition: border-color 0.3s ease;
    }

    select.form-control:focus {
      border-color: orangered;
      outline: none;
    }

    /* Modal Styles */
    .custom-modal {
      display: none;
      position: fixed;
      z-index: 9999;
      padding-top: 60px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.6);
    }
    .custom-modal h3{
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border-radius: 5px;
      width: 90%;
      max-width: 500px;
      position: relative;
    }

    .close-modal {
      color: orangered;
      float: right;
      font-size: 24px;
      font-weight: bold;
      cursor: pointer;
      position: absolute;
      right: 15px;
      top: 10px;
    }

    .form-group {
      margin-bottom: 15px;
      display: flex;
      flex-direction: column;
    }

    .form-group label {
      font-weight: 500;
      margin-bottom: 5px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      padding: 8px;
      font-size: 14px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    .btn-submit {
      background-color: orangered;
      color: white;
      padding: 10px 16px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .btn-submit:hover {
      background-color: orangered;
    }

    .file-upload {
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: Arial, sans-serif;
    }

    /* Hide default input */
    .file-upload input[type="file"] {
      display: none;
    }

    /* Beautiful button */
    .file-upload label {
      background: orangered;
      color: #fff;
      padding: 10px 18px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.95rem;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    }

    .file-upload label:hover {
      transform: translateY(-2px);
    }

    /* Filename display */
    .file-upload span {
      font-size: 0.9rem;
      color: #555;
    }

    /*==========Model Ends ======*/