/* Keep the Attendance edit control available while the staff table scrolls. */
.attendanceDailyTable table th.attendanceEditActionHead,
.attendanceDailyTable table td.attendanceEditAction {
  position: static;
  right: auto;
  min-width: 92px;
  width: 92px;
  box-shadow: none;
}

.attendanceDailyTable table th.attendanceEditActionHead {
  z-index: auto;
  background: #111827;
}

.attendanceDailyTable table td.attendanceEditAction {
  z-index: 2;
  background: #fff;
  text-align: center;
}

.attendanceEditButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #2563eb;
  border-radius: 3px;
  background: #2563eb;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.attendanceEditButton:hover,
.attendanceEditButton:focus-visible { background: #1d4ed8; border-color: #1d4ed8; }
.attendanceEditButton svg { width: 13px; height: 13px; }
.attendanceEditDialog { display: grid; gap: 12px; }
.attendanceEditDialog p { margin: 0; color: #334155; }
.attendanceEditDialog p small { color: #64748b; }
.attendanceEditDialog label { display: grid; gap: 5px; color: #475569; font-size: 11px; font-weight: 800; }
.attendanceEditDialog select,
.attendanceEditDialog textarea { width: 100%; min-height: 35px; }
.attendanceEditDialog textarea { min-height: 74px; resize: vertical; }
.attendanceEditSave { background: #2563eb; border-color: #2563eb; }

@media (max-width: 600px) {
  .attendanceDailyTable table th.attendanceEditActionHead,
  .attendanceDailyTable table td.attendanceEditAction { min-width: 76px; width: 76px; }
  .attendanceEditButton { padding: 5px 7px; }
}
