
    :root {
  
      --navy-mid:#122240;
      --accent:  #f5a623;
      --accent2: #e8edf5;
      --steel:   #3a6ea5;
      --muted:   #7a8fa6;
      --surface: #f0f4fa;
      --white:   #ffffff;
      --border:  #d4dce8;
      --success: #27ae60;
      --danger:  #e74c3c;
    }

    * { box-sizing: border-box; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--surface);
      color: var(--navy);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      margin: 0;
    }

    /* ── HEADER ── */
    header {
      background: var(--navy);
      padding: 0;
      position: sticky;
      top: 0;
      z-index: 100;
      /* box-shadow: 0 2px 16px rgba(11,26,46,.45); */
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2rem;
      height: 64px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: .75rem;
      text-decoration: none;
    }

    .brand-icon {
      width: 36px; height: 36px;
      background: var(--accent);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem; color: var(--navy);
    }

    .brand-name {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 1.25rem;
      color: var(--white);
      letter-spacing: .02em;
    }

    .brand-name span { color: var(--accent); }

    nav.header-nav {
      display: flex;
      align-items: center;
      gap: .25rem;
    }

    nav.header-nav a {
      color: rgba(255,255,255,.65);
      text-decoration: none;
      font-size: .85rem;
      font-weight: 500;
      padding: .45rem .85rem;
      border-radius: 6px;
      transition: all .2s;
    }

    nav.header-nav a:hover,
    nav.header-nav a.active {
      color: var(--white);
      background: rgba(255,255,255,.1);
    }

    nav.header-nav a.active {
      color: var(--accent);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: .75rem;
    }

    .avatar {
      width: 34px; height: 34px;
      background: var(--steel);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: white;
      font-size: .8rem;
      font-weight: 700;
      cursor: pointer;
    }

    .notif-btn {
      background: none; border: none;
      color: rgba(255,255,255,.65);
      font-size: 1.15rem;
      cursor: pointer;
      position: relative;
      padding: 4px;
      transition: color .2s;
    }

    .notif-btn:hover { color: white; }

    .notif-dot {
      position: absolute;
      top: 2px; right: 2px;
      width: 7px; height: 7px;
      background: var(--accent);
      border-radius: 50%;
      border: 1.5px solid var(--navy);
    }

    /* ── BREADCRUMB BAR ── */
    .breadcrumb-bar {
      background: var(--navy-mid);
      border-bottom: 1px solid rgba(255,255,255,.06);
      padding: .55rem 2rem;
    }

    .breadcrumb-bar .breadcrumb {
      margin: 0;
      font-size: .78rem;
    }

    .breadcrumb-bar .breadcrumb-item a {
      color: var(--muted);
      text-decoration: none;
    }

    .breadcrumb-bar .breadcrumb-item a:hover { color: var(--accent); }
    .breadcrumb-bar .breadcrumb-item.active { color: var(--accent); }
    .breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

    /* ── MAIN CONTENT ── */
    main {
      flex: 1;
      padding: 2.5rem 2rem 10em;
    }

    .page-title {
      font-family: 'Syne', sans-serif;
      font-size: 1.7rem;
      font-weight: 800;
      color: var(--navy);
      margin-bottom: .25rem;
       
    }

    .page-subtitle {
      color: var(--muted);
      font-size: .88rem;
      margin-bottom: 2rem;
    }

    /* ── SEARCH CARD ── */
    .search-card {
      background: var(--white);
      border-radius: 16px;
      box-shadow: 0 4px 24px rgba(11,26,46,.08);
      border: 1px solid var(--border);
      overflow: hidden;
      margin-bottom: 2rem;
      margin-top:100px;
     
    }

    .search-card-header {
        background: linear-gradient(135deg, #16355f 0%, #6494ee 100%);
      padding: 1.25rem 1.75rem;
      display: flex;
      align-items: center;
      gap: .75rem;
    }

    .search-card-header .icon-wrap {
      width: 40px; height: 40px;
      background: rgba(245,166,35,.18);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem;
      color: var(--accent);
    }

    .search-card-header h5 {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      color: var(--white);
      margin: 0;
    }

    .search-card-header p {
      color: rgba(255,255,255,.5);
      font-size: .78rem;
      margin: 0;
    }

    .search-card-body { padding: 1.75rem; }

    .form-label {
      font-size: .8rem;
      font-weight: 600;
      color: var(--navy);
      text-transform: uppercase;
      letter-spacing: .06em;
      margin-bottom: .45rem;
    }

    .form-control, .form-select {
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: .65rem 1rem;
      font-size: .9rem;
      color: var(--navy);
      background: var(--surface);
      transition: border-color .2s, box-shadow .2s;
    }

    .form-control:focus, .form-select:focus {
      border-color: var(--steel);
      box-shadow: 0 0 0 3px rgba(58,110,165,.15);
      background: var(--white);
      outline: none;
    }

    .input-group-text {
      background: var(--surface);
      border: 1.5px solid var(--border);
      border-right: none;
      border-radius: 10px 0 0 10px;
      color: var(--steel);
    }

    .input-group .form-control {
      /* border-left: none; */
      /* border-radius: 0 10px 10px 0; */
    }

    .input-group .form-control:focus {
      border-left: none;
    }

    .input-group:focus-within .input-group-text {
      border-color: var(--steel);
    }

    .btn-search {
      background: #163560;
      color: var(--white);
      border: none;
      border-radius: 10px;
      padding: .65rem 1.75rem;
      font-weight: 600;
      font-size: .9rem;
      display: flex;
      align-items: center;
      gap: .5rem;
      transition: background .2s, transform .1s;
    }

    .btn-search:hover {
      background: var(--steel);
      color: var(--white);
      transform: translateY(-1px);
    }

    .btn-reset {
      background: #6A6868;
      /* background-color: #7a8fa6; */
      color: white;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: .65rem 1.25rem;
      font-weight: 500;
      font-size: .9rem;
      display: flex;
      align-items: center;
      gap: .5rem;
      transition: all .2s;
    }

    .btn-reset:hover {
      border-color: var(--steel);
      color: var(--navy);
      background: var(--surface);
    }

    /* ── DIVIDER ── */
    .search-divider {
      border: none;
      border-top: 1px dashed var(--border);
      margin: 1.5rem 0;
    }

    /* ── QUICK FILTERS ── */
    .quick-label {
      font-size: .75rem;
      font-weight: 600;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: .07em;
      margin-bottom: .6rem;
    }

    .filter-chip {
      display: inline-flex;
      align-items: center;
      gap: .35rem;
      padding: .3rem .75rem;
      border-radius: 20px;
      font-size: .78rem;
      font-weight: 500;
      cursor: pointer;
      border: 1.5px solid var(--border);
      background: var(--white);
      color: var(--navy);
      transition: all .15s;
      text-decoration: none;
      margin-right: .4rem;
      margin-bottom: .4rem;
    }

    .filter-chip:hover, .filter-chip.active {
      background: var(--navy);
      color: var(--white);
      border-color: var(--navy);
    }

    /* ── RESULTS SECTION ── */
    .results-card {
      background: var(--white);
      border-radius: 16px;
      box-shadow: 0 4px 24px rgba(11,26,46,.08);
      border: 1px solid var(--border);
      overflow: hidden;
    }

    .results-header {
      padding: 1.1rem 1.75rem;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: .75rem;
    }

    .results-header h6 {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: .95rem;
      color: #404043;
      margin: 0;
    }

    .result-badge {
      background: var(--accent);
      color: var(--navy);
      font-size: .72rem;
      font-weight: 700;
      padding: .2rem .6rem;
      border-radius: 12px;
    }

    .export-btn {
      font-size: .78rem;
      color: var(--steel);
      border: 1.5px solid var(--border);
      background: var(--white);
      border-radius: 8px;
      padding: .3rem .8rem;
      display: flex;
      align-items: center;
      gap: .35rem;
      cursor: pointer;
      transition: all .2s;
      text-decoration: none;
    }

    .export-btn:hover {
      background: var(--surface);
      color: var(--navy);
    }

    .table-wrap { overflow-x: auto; }

    table.gr-table {
      width: 100%;
      border-collapse: collapse;
      font-size: .85rem;
    }

    table.gr-table thead tr {
      background: var(--surface);
    }

    table.gr-table thead th {
      padding: .85rem 1.2rem;
      font-weight: 700;
      font-size: .72rem;
      text-transform: uppercase;
      letter-spacing: .07em;
      color:#ffffff;
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
    }

    table.gr-table tbody tr {
      border-bottom: 1px solid var(--border);
      transition: background .15s;
      /* cursor: pointer; */
    }

    table.gr-table tbody tr:last-child { border-bottom: none; }
    table.gr-table tbody tr:hover { background: #f5f8ff; }

    table.gr-table tbody td {
      padding: 1rem 1.2rem;
      color: var(--navy);
      vertical-align: middle;
    }

    .gr-number {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      color: var(--steel);
    }

    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: .3rem;
      font-size: .73rem;
      font-weight: 600;
      padding: .25rem .65rem;
      border-radius: 20px;
    }

    .status-badge.received   { background: #e8f5e9; color: #27ae60; }
    .status-badge.pending    { background: #fff8e1; color: #f39c12; }
    .status-badge.processing { background: #e3f2fd; color: #1565c0; }
    .status-badge.cancelled  { background: #fce4ec; color: #c62828; }

    .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

    .action-btn {
      background: none;
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: .25rem .55rem;
      font-size: .75rem;
      color: var(--steel);
      cursor: pointer;
      transition: all .15s;
      display: inline-flex;
      align-items: center;
      gap: .25rem;
    }

    .action-btn:hover {
      background: var(--navy);
      color: var(--white);
      border-color: var(--navy);
    }

    /* ── EMPTY STATE ── */
    .empty-state {
      text-align: center;
      padding: 4rem 2rem;
    }

    .empty-state .empty-icon {
      width: 72px; height: 72px;
      background: var(--surface);
      border-radius: 20px;
      display: flex; align-items: center; justify-content: center;
      font-size: 2rem;
      color: var(--muted);
      margin: 0 auto 1.25rem;
    }

    .empty-state h6 {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: .4rem;
    }

    .empty-state p {
      color: var(--muted);
      font-size: .85rem;
      margin: 0;
    }

    /* ── STATS BAR ── */
    .stats-bar {
      display: flex;
      gap: 1rem;
      margin-bottom: 2rem;
      flex-wrap: wrap;
    }

    .stat-chip {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: .75rem 1.25rem;
      display: flex;
      align-items: center;
      gap: .75rem;
      flex: 1;
      min-width: 160px;
    }

    .stat-chip .stat-icon {
      width: 36px; height: 36px;
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: .95rem;
    }

    .stat-chip .stat-val {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 1.3rem;
      color: var(--navy);
      line-height: 1;
    }

    .stat-chip .stat-lbl {
      font-size: .72rem;
      color: var(--muted);
      font-weight: 500;
    }

    /* ── FOOTER ── */
    footer {
      background: var(--navy);
      color: rgba(255,255,255,.55);
      font-size: .78rem;
    }

    .footer-main {
      padding: 2rem;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 2rem;
      flex-wrap: wrap;
      border-bottom: 1px solid rgba(255,255,255,.07);
    }

    .footer-brand .brand-name {
      font-size: 1.05rem;
      margin-bottom: .4rem;
    }

    .footer-brand p {
      color: rgba(255,255,255,.4);
      font-size: .78rem;
      margin: 0;
      max-width: 240px;
      line-height: 1.6;
    }

    .footer-links h6 {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      color: var(--white);
      font-size: .8rem;
      text-transform: uppercase;
      letter-spacing: .08em;
      margin-bottom: .75rem;
    }

    .footer-links a {
      display: block;
      color: rgba(255,255,255,.45);
      text-decoration: none;
      font-size: .8rem;
      margin-bottom: .4rem;
      transition: color .2s;
    }

    .footer-links a:hover { color: var(--accent); }

    .footer-bottom {
      padding: 1rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: .5rem;
    }

    .footer-bottom .copy { color: rgba(255,255,255,.35); }

    .footer-bottom .system-status {
      display: flex;
      align-items: center;
      gap: .4rem;
      color: var(--success);
      font-size: .75rem;
    }

    .status-dot {
      width: 7px; height: 7px;
      background: var(--success);
      border-radius: 50%;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: .4; }
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      .header-inner { padding: 0 1rem; }
      nav.header-nav { display: none; }
      main { padding: 1.5rem 1rem; }
      .stats-bar { gap: .6rem; }
      .stat-chip { min-width: 130px; }
      .breadcrumb-bar { padding: .55rem 1rem; }
      .footer-main { padding: 1.5rem 1rem; }
      .footer-bottom { padding: .85rem 1rem; }
      .search-card-body { padding: 1.25rem; }
    }


table.gr-table thead tr {
      background-color: #355695;
      /* color: #0b1a2e; */
    }


.gr-table th:nth-child(8)
{
  width:300px;
  min-width:300px;
  word-break: break-word;
}



  .popup-button
  {
      background: #ffffff;
      font-size: 17px;
      color: #000000;
      padding: 2px 10px;
      letter-spacing: 1px;
      transition: 0.5s all;
      -webkit-transition: 0.5s all;
      -moz-transition: 0.5s all;
      -ms-transition: 0.5s all;
      text-decoration: none;
      border:1px solid #db3552;
      border-radius:0px;
      width:100%;
      text-align:center;
  }
  
  .popup-button:hover
  {
      background:#e4657c;
      text-decoration: none;
      color:#ffffff;
      border-radius:0px;
      cursor:pointer;
      border:1px solid #e4657c;
      -webkit-transition: 1s all;
      -moz-transition: 1s all;
      -ms-transition: 1s all;
  }
  
  .popup-button1
  {
      background: #86787c;
      font-size: 15px;
      color: #ffffff;
      padding: 12px 20px;
      letter-spacing: 1px;
      transition: 0.5s all;
      -webkit-transition: 0.5s all;
      -moz-transition: 0.5s all;
      -ms-transition: 0.5s all;
      text-decoration: none;
      border:1px solid #ffffff;
      border-radius:5px;
      width:100%;
      text-align:center;
  }
  
  .popup-button1:hover
  {
      background:#5f5557;
      text-decoration: none;
      color:#ffffff;
      border-radius:5px;
      cursor:pointer;
  }
  
  .popup-a a
  {
      text-decoration:none;
      color:#333;
  }
  
  .popup-a a:hover
  {
      text-decoration:none;
      color:#333;
  }
  
  .btn-width
  {
      width:220px;
  }
  
  .margintop20-10
  {
      margin-top:20px;
  }
  
  .margintop10-5
  {
      margin-top:10px;
  }
  
  .padding-top0
  {
      padding-top:0px !important;
  }
  
  .padding-bottom0
  {
      padding-bottom:0px !important;
  }
  
  .frm-button
  {
      background: #2c70e6;
      font-size: 15px;
      color: #ffffff;
      padding: 12px 30px;
      letter-spacing: 1px;
      display: initial;
      transition: 0.5s all;
      -webkit-transition: 0.5s all;
      -moz-transition: 0.5s all;
      -ms-transition: 0.5s all;
      text-decoration: none;
      border:1px solid #ffffff;
      border-radius:5px;
      width:100%;
  }
  
  .frm-upload-button
  {
      background: #009933;
      font-size: 15px;
      color: #ffffff;
      padding: 6px 15px;
      letter-spacing: 1px;
      display: initial;
      transition: 0.5s all;
      -webkit-transition: 0.5s all;
      -moz-transition: 0.5s all;
      -ms-transition: 0.5s all;
      text-decoration: none;
      border:1px solid #ffffff;
      border-radius:5px;
      width:30%;
  }
  
  .frm-button:hover
  {
      background:#1d4995;
      text-decoration: none;
      color:#ffffff;
      border-radius:5px;
      cursor:pointer;
  }
  
  .frm-upload-button:hover
  {
      background:#333;
      text-decoration: none;
      color:#ffffff;
      border-radius:5px;
      cursor:pointer;
  }
  