/* Scoped CSS for radiologists.html */
.radiologists-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 2em;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}
.radiologists-table th, .radiologists-table td {
  border-bottom: 1px solid #e0e0e0;
  padding: 0.75em 1em;
  text-align: center;
  font-size: 0.93rem;
}
.radiologists-table th {
  background: #e3f0fa;
  color: #23405c;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.04em;
  border-bottom: 2.5px solid #b3c7dd;
  box-shadow: 0 2px 8px rgba(42,140,255,0.04);
  position: sticky;
  top: 0;
  z-index: 2;
}
.radiologists-table thead tr {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  text-align: right;
}
.radiologists-table tr:last-child td {
  border-bottom: none;
}
.radiologists-table tr:hover {
  background: #f5f7fa;
}
.radiologists-table td.numeric {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.radiologists-table td.currency {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.center-input {
  text-align: center;      /* center the text inside input */
  margin: 0 auto;          /* center the input in the cell */
  display: block;
}

td.center {
  text-align: center;      /* centers the cell contents */
}

.toggle-row {
  margin-bottom: 1em;
}
input[type="checkbox"] {
  transform: scale(1.2);
}
button, input[type="button"], .icon-btn {
  margin: 0 0.25em;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3em 0.5em;
  border-radius: 6px;
  transition: background 0.2s;
}
.icon-btn:focus, .icon-btn:hover {
  background: #e0e0e0;
}
.table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5em;
  margin-bottom: 0.5em;
  position: relative;
}
.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.delete-icon {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  fill: #c00;
  cursor: pointer;
  transition: fill 0.2s;
}
.delete-icon:hover, .delete-icon:focus {
  fill: #a00;
}
input[type="text"], input[type="number"], select {
  border: 1px solid #d0d0d0;
  border-radius: 5px;
  padding: 0.3em 0.5em;
  font-size: 1rem;
  background: #fafbfc;
  transition: border 0.2s;
}
input:focus, select:focus {
  border-color: #2a3a4a;
  outline: none;
}
.save-all-btn {
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: #199bd7;
  color: #fff;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 8px rgba(42,140,255,0.08);
  padding: 0.5em 1.2em;
  border-radius: 8px;
  font-size: 1.08em;
  transition: background 0.2s, box-shadow 0.2s;
}
.save-all-btn:focus, .save-all-btn:hover {
  background: #1976d2;
  box-shadow: 0 4px 16px rgba(42,140,255,0.16);
}
.save-all-label {
  margin-left: 0.3em;
  font-size: 1.08em;
  letter-spacing: 0.01em;
}
.toggle-switch-container {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
input:checked + .slider {
  background-color: #199bd7;
}
input:checked + .slider:before {
  transform: translateX(20px);
}
.toggle-label {
  margin-left: 0.5em;
  font-size: 1em;
  color: #2a3a4a;
  cursor: pointer;
  user-select: none;
}
#add-row.icon-btn.save-all-btn {
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: #199bd7;
  color: #fff;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 8px rgba(42,140,255,0.08);
  padding: 0.5em 1.2em;
  border-radius: 8px;
  font-size: 1.08em;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: background 0.2s, box-shadow 0.2s;
}
#add-row.icon-btn.save-all-btn:focus, #add-row.icon-btn.save-all-btn:hover {
  background: #1976d2;
  box-shadow: 0 4px 16px rgba(42,140,255,0.16);
}
#add-row .save-all-label {
  margin-left: 0.3em;
  font-size: 1.08em;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  .radiologists-table th, .radiologists-table td {
    padding: 0.5em 0.3em;
    font-size: 0.88rem;
  }
}
.radiologists-table th:nth-child(3), /* Shift Hrs. */
.radiologists-table th:nth-child(4), /* RVU/Hr. */
.radiologists-table th:nth-child(5), /* Cost/Hr */
.radiologists-table th:nth-child(8)  /* RVU/Shift */ {
  width: 6.5em;
  min-width: 5em;
  max-width: 7em;
}
.radiologists-table td:nth-child(3),
.radiologists-table td:nth-child(4),
.radiologists-table td:nth-child(5),
.radiologists-table td:nth-child(8) {
  width: 6.5em;
  min-width: 5em;
  max-width: 7em;
  padding-left: 0.3em;
  padding-right: 0.3em;
}
/* Currency formatting for Cost/Hr */
.radiologists-table td.cost-hr-cell {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
