.table-mobile {
  display: none;
}
.show-details-div {
  display: flex;
  width: 100%;
}
.show-details {
  width: 100%;
}
.scan-badge-btn {
  height: 30%;
  display: flex;
  justify-content: flex-end;
}
.table-no-worker {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.details-body-pc {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.print-div {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.time-slip-decline,
.assignment-decline {
  display: none;
}
.time-slip-decline p,
.assignment-decline p {
  padding: 0;
  margin: 0;
}
.view-reason-btn {
  margin: 0 0.5rem 0 0.2rem;
  border: none;
  background: none;
  text-decoration: underline;
  color: #0345bf;
  cursor: pointer;
}
.item_fields {
  max-width: 800px;
  margin: 0 auto;
}
@media screen and (min-width: 320px) {
  .table-pc {
    display: none;
  }

  .details-body-pc {
    display: none;
  }

  .table-mobile {
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 8px;
  }

  .show-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .back-div {
    width: 100%;
    font-size: 0.8rem;
  }

  .details-body-mobile {
    display: block;
    border: 1px solid rgb(210, 210, 210);
    width: 100%;
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
  }

  .details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgb(210, 210, 210);
  }

  .details-header label {
    font-weight: 700;
    font-size: 1.2rem;
  }

  .edit-btn {
    border: none;
    background-color: transparent;
    font-weight: 700;
  }

  .details-content {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    padding: 0.3rem 0;
  }

  .details-content label {
    font-weight: 600;
  }

  .details-row-1 {
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
  }

  .details-row-2 {
    display: flex;
    flex-direction: column;
    padding: 0 0.5rem;
  }

  .icons-container {
    display: flex;
    gap: 0.3rem;
    align-items: center;
  }

  .icons-container img {
    width: 15px;
    height: 15px;
  }

  .print-div {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .print-btn {
    width: 65%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: rgb(3, 69, 191);
    color: white;
  }

  .print-btn img {
    width: 20px;
    height: 20px;
  }

  .select-div {
    width: 30%;
  }

  .worker-card {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.3rem;
    border: none;
    border-radius: 8px;
    background-color: rgb(245, 245, 245);
  }

  .worker-div-1 {
    border-bottom: 1px solid rgb(210, 210, 210);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0.5rem;
    font-size: 1.1rem;
  }

  .worker-div-2 {
    display: flex;
    flex-direction: column;
    padding: 0 0.5rem;
    gap: 0.1rem;
  }

  .label-pos {
    font-size: 1rem;
    font-weight: 700;
  }

  .label-shift span,
  .label-status-1 span,
  .label-status-2 span,
  .label-status-3 span {
    font-weight: 700;
  }

  .work-status {
    font-size: 0.8rem;
    font-weight: 600;
  }

  .action-div {
    display: flex;
    flex-direction: column;
    padding: 0 0.5rem;
    gap: 0.1rem;
  }

  .action-div label {
    font-weight: 700;
  }

  .mobile-btns {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  #actionSelect {
    font-size: 0.8rem;
  }
}
