



  /* TOP NAV */
  /* .topnav {
    background: #1e293b;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 52px;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .topnav .brand { 
    font-size: 16px; 
    font-weight: 700; 
    letter-spacing: .3px; 
    color: #fff; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
  }
  
  .topnav .brand i { 
    color: #60a5fa; 
  }
  
  .topnav .nav-right { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    font-size: 13px; 
  }
  
  .topnav .nav-right a { 
    color: #cbd5e1; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
  }
  
  .topnav .nav-right a:hover { 
    color: #fff; 
  }
  
  .topnav .user-badge { 
    background: #3b82f6; 
    color: #fff; 
    border-radius: 20px; 
    padding: 4px 12px; 
    font-size: 12px; 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
  }

  .page { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 20px 16px; 
  } */

    .dashboard-wrapper{
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 16px;
    }
    /* PAGE HEADER */
  .page-header { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 20px; 
  }
  
  .back-btn {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 7px 16px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 6px;
    transition: background .15s, box-shadow .15s;
  }
  
  .back-btn:hover { 
    background: #f3f4f6; 
    box-shadow: 0 2px 6px rgba(0,0,0,.1); 
  }
  
  .page-title { 
    font-size: 22px; 
    font-weight: 700; 
    color: #1e293b; 
  }
  
  .page-title i {
    color: #064b2b;
  margin-right: 16px;
    font-size: 16px;
  }
  
  .page-sub { 
    font-size: 12px; 
    color: #6b7280; 
    margin-top: 1px; 
  }

  /* STATUS CARDS */
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .stat-card {
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
    border: none;
  }
  
  .stat-card:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 18px rgba(0,0,0,.13); 
  }
  
  .stat-card.active {
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px #2563eb;
  }
  
  .stat-card .card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
  }
  
  .stat-card .card-val { 
    font-size: 26px; 
    font-weight: 800; 
    color: #fff; 
    line-height: 1; 
  }
  
  .stat-card .card-lbl { 
    font-size: 12px; 
    font-weight: 700; 
    color: rgba(255,255,255,.95); 
    margin-top: 4px; 
  }
  
  .stat-card .card-desc { 
    font-size: 11px; 
    color: rgba(255,255,255,.75); 
    margin-top: 2px; 
  }

  /* Card background colors */
  .c-unassigned  { background: linear-gradient(135deg,#ef4444,#dc2626); }
  .c-pending     { background: linear-gradient(135deg,#f59e0b,#d97706); }
  .c-aadhar      { background: linear-gradient(135deg,#3b82f6,#2563eb); }
  .c-bank        { background: linear-gradient(135deg,#06b6d4,#0891b2); }
  .c-termination { background: linear-gradient(135deg,#ec4899,#db2777); }
  .c-email       { background: linear-gradient(135deg,#8b5cf6,#7c3aed); }
  .c-registered  { background: linear-gradient(135deg,#22c55e,#16a34a); }
  .c-contract    { background: linear-gradient(135deg,#f97316,#ea580c); }
  .c-left        { background: linear-gradient(135deg,#64748b,#475569); }
  .c-onhold      { background: linear-gradient(135deg,#a78bfa,#7c3aed); }

  /* TABLE SECTION */
  .table-wrap { 
    background: #ffffff; 
    border-radius: 10px; 
    border: 1px solid #e5e7eb; 
    box-shadow: 0 1px 4px rgba(0,0,0,.07); 
  }

  .table-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .table-top-left { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
  }
  
  .table-label { 
    font-size: 15px; 
    font-weight: 700; 
    color: #1e293b; 
    display: flex; 
    align-items: center; 
    gap: 7px; 
  }
  
  .table-label i { 
    color: #2563eb; 
  }
  
  .total-badge { 
    background: #eff6ff; 
    color: #1d4ed8; 
    border-radius: 20px; 
    padding: 2px 10px; 
    font-size: 11px; 
    font-weight: 700; 
  }

  .table-controls { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    flex-wrap: wrap; 
  }
  
  .search-wrap { 
    position: relative; 
  }
  
  .search-wrap i { 
    position: absolute; 
    left: 9px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: #6b7280; 
    font-size: 13px; 
  }
  
  .search-input {
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    padding: 7px 10px 7px 30px;
    font-size: 13px;
    width: 200px;
    outline: none;
    transition: border-color .15s;
  }
  
  .show-select {
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    padding: 6px 10px;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    color: #374151;
  }
  
  .filter-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    background: #ffffff;
    color: #374151;
    transition: background .15s;
  }
  
  .export-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background .15s;
  }
  
  .export-btn:hover { 
    background: #1d4ed8; 
  }
  
  .reset-btn {
    background: #fff;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .reset-btn:hover { 
    background: #f3f4f6; 
  }

  /* Table */
  .table-scroll { 
    overflow-x: auto; 
  }
  
  table { 
    width: 100%; 
    border-collapse: collapse; 
    min-width: 900px; 
  }
  
  thead tr { 
    background: #f8fafc; 
  }
  
  th {
    padding: 10px 13px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    border-bottom: 1.5px solid #e5e7eb;
    white-space: nowrap;
    letter-spacing: .3px;
    text-transform: uppercase;
  }
  
  th i { 
    margin-right: 5px; 
    color: #94a3b8; 
    font-size: 11px; 
  }
  
  td { 
    padding: 10px 13px; 
    font-size: 13px; 
    border-bottom: 1px solid #f1f5f9; 
    vertical-align: middle; 
    color: #374151; 
  }
  
  tr:last-child td { 
    border-bottom: none; 
  }
  
  tr:hover td { 
    background: #f8fafc; 
  }
  
  .row-num { 
    color: #9ca3af; 
    font-size: 12px; 
    font-weight: 600; 
  }
  
  .mobile-link { 
    color: #2563eb; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 12px; 
  }
  
  .mobile-link:hover { 
    text-decoration: underline; 
  }
  
  .cand-name { 
    font-weight: 600; 
    color: #1e293b; 
  }
  
  .date-cell { 
    font-size: 12px; 
    color: #6b7280; 
  }
  
  .code-cell { 
    font-size: 11px; 
    font-family: monospace; 
    background: #f3f4f6; 
    padding: 2px 7px; 
    border-radius: 4px; 
    color: #374151; 
  }

  /* Badges */
  .badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
    padding: 3px 9px; 
    border-radius: 20px; 
    font-size: 11px; 
    font-weight: 700; 
  }
  
  .b-registered  { background: #dcfce7; color: #15803d; }
  .b-contract    { background: #dbeafe; color: #1d4ed8; }
  .b-pending     { background: #fef9c3; color: #a16207; }
  .b-left        { background: #fee2e2; color: #b91c1c; }
  .b-onhold      { background: #f3e8ff; color: #7c3aed; }
  .b-unassigned  { background: #f3f4f6; color: #4b5563; }

  /* Pagination */
  .pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .page-info { 
    font-size: 13px; 
    color: #6b7280; 
  }
  
  .page-info b { 
    color: #1e293b; 
  }
  
  .page-btns { 
    display: flex; 
    gap: 4px; 
  }
  
  .pg-btn {
    min-width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .12s, border-color .12s;
  }
  
  .pg-btn:hover { 
    background: #f3f4f6; 
  }
  
  .pg-btn.active { 
    background: #2563eb; 
    color: #fff; 
    border-color: #2563eb; 
    font-weight: 700; 
  }

  /* Responsive */
  @media (max-width: 1100px) {
    .cards-grid { grid-template-columns: repeat(5,1fr); }
  }
  
  @media (max-width: 900px) {
    .cards-grid { grid-template-columns: repeat(3,1fr); }
  }
  
  @media (max-width: 600px) {
    .cards-grid { grid-template-columns: repeat(2,1fr); }
    .topnav .nav-right a span { display: none; }
    .search-input { width: 140px; }
    .page-title { font-size: 16px; }
    .table-top { flex-direction: column; align-items: flex-start; }
    .table-controls { width: 100%; }
  }
  
  @media (max-width: 400px) {
    .cards-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stat-card .card-val { font-size: 22px; }
  }

  .no-data { 
    text-align: center; 
    padding: 40px; 
    color: #6b7280; 
    font-size: 14px; 
  }
  
  .no-data i { 
    font-size: 36px; 
    color: #d1d5db; 
    display: block; 
    margin-bottom: 10px; 
  }
  
  .hidden-row {
    display: none;
  }
