/* Global Table and Button Styles */

/* Make table items smaller */
.compact-table th, .compact-table td {
  padding: 0.25rem 0.5rem !important;
  font-size: 0.92rem !important;
}

/* Striped table styling */
.compact-table tbody tr:nth-child(odd) {
  background-color: #f8f9fa !important;
}

.compact-table tbody tr:nth-child(even) {
  background-color: #ffffff !important;
}

.compact-table tbody tr:hover {
  background-color: #e9ecef !important;
}

/* Table data font styling - smaller size */
.compact-table tbody td {
  font-size: 0.85rem !important;
  white-space: normal !important;
}

/* Table header font styling */
.compact-table thead th {
  /* font-family: 'Arial', sans-serif !important; */
  font-weight: bold !important;
  /* font-size: 0.95rem !important; */
  color: #495057 !important;
  text-transform: capitalize !important;
  /* letter-spacing: 0.5px !important; */
}

/* Highlight selected row more visually */
#jobstable tbody tr.selected,
.compact-table tbody tr.selected {
  background-color: #e3f2fd !important;
  font-weight: bold;
}

/* Action buttons spacing */
#jobstable td .btn,
.compact-table td .btn {
  margin-right: 2px;
}

/* Make buttons smaller */
.btn-sm {
  padding: 0.5rem !important;
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
}

/* Apply compact table styles to all tables with customized-table class */
.customized-table.compact-table th, 
.customized-table.compact-table td {
  padding: 0.25rem 0.5rem !important;
  font-size: 0.92rem !important;
}

/* Striped styling for customized tables */
.customized-table.compact-table tbody tr:nth-child(odd) {
  background-color: #f8f9fa !important;
}

.customized-table.compact-table tbody tr:nth-child(even) {
  background-color: #ffffff !important;
}

.customized-table.compact-table tbody tr:hover {
  background-color: #e9ecef !important;
}

.customized-table.compact-table tbody td {
  font-size: 0.85rem !important;
  white-space: normal !important;
}

.customized-table.compact-table thead th {
  font-weight: bold !important;
  color: #495057 !important;
  text-transform: capitalize !important;
}

/* Apply to all DataTables */
.dataTables_wrapper .dataTable th,
.dataTables_wrapper .dataTable td {
  padding: 0.25rem 0.5rem !important;
  font-size: 0.92rem !important;
}

/* Striped styling for DataTables */
.dataTables_wrapper .dataTable tbody tr:nth-child(odd) {
  background-color: #f8f9fa !important;
}

.dataTables_wrapper .dataTable tbody tr:nth-child(even) {
  background-color: #ffffff !important;
}

.dataTables_wrapper .dataTable tbody tr:hover {
  background-color: #e9ecef !important;
}

.dataTables_wrapper .dataTable thead th {
  font-weight: bold !important;
  color: #495057 !important;
  text-transform: capitalize !important;
}

.dataTables_wrapper .dataTable tbody td {
  font-size: 0.85rem !important;
  white-space: normal !important;
} 