 /* ==========================================
   MCD PROFESSIONAL DATA TABLE
   ========================================== */

   .professional-table-card {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  }

  /* Table wrapper */
  .professional-table-wrapper {
    max-height: 650px;
    overflow: auto;
  }

  /* Custom scrollbar */
  .professional-table-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  .professional-table-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9;
  }

  .professional-table-wrapper::-webkit-scrollbar-thumb {
    background: #b8c4d1;
    border-radius: 10px;
  }

  .professional-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #8796a5;
  }


  /* Table */
  #dataTable {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
  }


  /* Header */
  #dataTable thead th {
    position: sticky;
    top: 0;
    z-index: 10;

    padding: 15px 18px;

    background: #0d6efd;
    color: #fff;

    border: 0;
    border-bottom: 2px solid #0a58ca;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;

    white-space: nowrap;
    cursor: pointer;

    transition: background .2s ease;
  }

  #dataTable thead th:hover {
    background: #0b5ed7;
  }


  /* Header first column */
  #dataTable thead th:first-child {
    padding-left: 22px;
  }


  /* Sort arrow */
  #dataTable thead th span {
    margin-left: 6px;
    font-size: 11px;
    opacity: .9;
  }


  /* Body */
  #dataTable tbody td {
    padding: 14px 18px;

    color: #334155;

    border-bottom: 1px solid #edf0f4;
    border-left: 0;
    border-right: 0;

    vertical-align: middle;

    background: #fff;

    transition:
      background .15s ease,
      color .15s ease;
  }


  /* Alternate rows */
  #dataTable tbody tr:nth-child(even) td {
    background: #f8fafc;
  }


  /* Hover */
  #dataTable tbody tr:hover td {
    background: #eef6ff;
    color: #0f172a;
  }


  /* First column */
  #dataTable tbody td:first-child {
    padding-left: 22px;
    font-weight: 600;
    color: #1e3a5f;
  }


  /* Last row */
  #dataTable tbody tr:last-child td {
    border-bottom: 0;
  }


  /* Empty/null value */
  #dataTable .null-value {
    color: #adb5bd;
    font-size: 16px;
  }


  /* JSON / long values */
  #dataTable .json-value {
    display: inline-block;

    max-width: 420px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    vertical-align: middle;
  }


  /* Long text */
  #dataTable tbody td {
    max-width: 450px;
  }


  /* Table footer */
  .professional-table-footer {
    padding: 15px 20px;

    background: #fff;

    border-top: 1px solid #edf0f4;
  }


  /* Pagination */
  .professional-pagination {
    margin: 0;
  }

  .professional-pagination .page-link {
    min-width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dee2e6;

    color: #495057;

    font-size: 13px;
    font-weight: 500;

    border-radius: 8px !important;

    margin: 0 3px;

    transition: all .2s ease;
  }

  .professional-pagination .page-link:hover {
    background: #eaf3ff;
    color: #0d6efd;
    border-color: #b6d4fe;
  }

  .professional-pagination .page-item.active .page-link {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
  }

  .professional-pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    color: #adb5bd;
  }


  /* Record count */
  .professional-page-info {
    color: #64748b;
    font-size: 13px;
  }


  /* Mobile */
  @media (max-width: 768px) {

    #dataTable {
      font-size: 13px;
    }

    #dataTable thead th {
      padding: 12px 14px;
      font-size: 12px;
    }

    #dataTable tbody td {
      padding: 12px 14px;
    }

    #dataTable .json-value {
      max-width: 250px;
    }

    .professional-table-wrapper {
      max-height: 550px;
    }

  }