.elementor-3746 .elementor-element.elementor-element-7ec5bef{--display:flex;}.elementor-3746 .elementor-element.elementor-element-82fd01f{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-95dc064 *//* Table styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}

thead tr {
  background-color: #00509e;
  color: #fff;
  text-align: left;
  font-weight: 600;
}

tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
}

tbody tr:hover {
  background-color: #e6f0ff;
}

th, td {
  padding: 12px 16px;
  vertical-align: middle;
  font-size: 0.95rem;
}

/* Status color badges */
.status-label {
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.85rem;
  display: inline-block;
  text-transform: capitalize;
}

.status-in_progress {
  background-color: #28a745;
  color: white;
}
.status-paused {
  background-color: #6c757d;
  color: white;
}
.status-completed {
  background-color: #007bff;
  color: white;
}
.status-no_show {
  background-color: #dc3545;
  color: white;
}
.status-waiting {
  background-color: #fd7e14;
  color: white;
}

/* Referral badge */
.referral-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #0073e6;
  background: #d6e9ff;
  padding: 2px 6px;
  border-radius: 12px;
  font-weight: 500;
}

td span.waiting-time {
  font-weight: bold;
  color: #d9534f;
}


#pagination-controls {
    margin-top: 1em;
    text-align: center;
}
#pagination-controls button {
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    background: #eee;
    border-radius: 4px;
    cursor: pointer;
}
#pagination-controls .active-page {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

#queue-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-end;
    background: #f9f9f9;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

#queue-filters label {
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
    color: #333;
}

#queue-filters input:not(#filter-date),
#queue-filters select {
    padding: 8px 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 220px;
    max-width: 100%;
    box-sizing: border-box;
}

#queue-filters button {
    padding: 8px 16px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#queue-filters button:hover {
    background-color: #005f8d;
}

#filter-date {
    padding: px 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 160px;
    max-width: 100%;
    box-sizing: border-box;
}

.stalled-warning {
    color: #b80000;
    font-weight: bold;
    background: #ffeaea;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-size: 12px;
}/* End custom CSS */