@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #222;
  background-color: #fff;
}

/* HEADER */

.header {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 30px;
  color: #fff;
  background: #0a0908;
}

.header h3 span {
  color: #0099ff;
}

/* SEARCH COLLABORATOR */

.searchCollaborator input,
button {
  padding: 8px;
  border-radius: 4px;
  border: none;
  outline: none;
}

.searchCollaborator button {
  cursor: pointer;
  color: #fff;
  background: #0099ff;
}

/* CONTAINER */

.container {
  width: 80%;
  height: 100%;
  padding: 1rem;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  background-color: #f5f5f5;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

/* ######################################################### TABELA DE EMPREGADOS EM GRID ############################################# */
.nameOfCollaborators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  position: relative;
}

.nameOfCollaborators .turno-1,
.collaborators-turno-1 {
  grid-column: 1;
}

.nameOfCollaborators .turno-2 {
  grid-column: 2;
  grid-row: 1;
}

.nameOfCollaborators::before {
  content: '';
  width: 2px;
  height: 370px;
  background: rgba(0, 0, 0, 0.2);
  position: absolute;
  right: 50%;
}


.nameOfCollaborators h2 {
  text-decoration: underline;
}

/* ######################################################### FIM TABELA DE EMPREGADOS EM GRID ############################################# */


section ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin-top: 1.5rem;

}

section ul li {
  box-shadow: 1px 1px 0px #000;
  width: 150px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  transition: all ease .2s;
}

section ul li:active {
  transform: scale(0.9);
}

section ul li:active {
  background-color: rgba(0, 0, 0, 0.1);
}

/* items-container */

.items-container {
  display: flex;
  justify-content: center;
  background-color: #f5f5f5;
  padding: 15px;
  gap: 30px;
  margin-top: 1.2rem;
}

.items-container label {
  text-align: center;
}

.items-container ul li {
  list-style: none;
}

.selectItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.selectItem label {
  font-size: 1.5em;
  font-weight: 700;
}

.selectItem #items {
  width: 100%;
  outline: none;
  padding: 5px;
  font-size: 1em;
  color: #fff;
  background: #333;
}

option {
  color: #f5f5f5;
  background-color: #222;
}

#selected {
  display: none;
}

.selectItem button {
  width: fit-content;
  color: #fff;
  background-color: #006EB8;
  border-radius: 2px;
  border: none;
  outline: none;
  padding: 10px;
  cursor: pointer;
}

/* ESTILIZANDO TABELA */

.table {
  display: table;
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  border: 1px solid;
}

.table * {
  border: 1px solid;
  border-collapse: collapse;
}

.table thead {
  color: #fff;
  background: #006EB8;
}

/* .table thead th:nth-child(1) {
  width: 160px;
} */

.table tbody>tr {
  text-align: center;
}

#btnExcluir {
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
}

#btnExcluir01 {
  background-color: rgb(196, 57, 57);
}

/* ALERT MODAL */

.alert-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #f5f5f5;
  border-radius: 6px;
  overflow: hidden;
  z-index: 100;
}

body.body-blur {
  overflow: hidden;
}

body.body-blur::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.8);
}

.alert-modal .image-error {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #006EB8;
}

.alert-modal .image-error img {
  width: 64px;
}

.alert-modal .info-content {
  text-align: center;
  padding: 1rem;
}

.alert-modal .info-content button {
  border: none;
  outline: none;
  padding: 4px 12px;
  font-weight: 700;
  margin-top: 20px;
  border-radius: 2px;
  cursor: pointer;
  color: #fff;
  background: #f00;
}

.alert-modal.active-modal {
  display: flex;
}

/* PRINT DA TABELA */

@media print {
  * {
    background: transparent;
    color: #000;
    text-shadow: none;
    filter: none;
    -ms-filter: none;
  }

  .container {
    width: 80%;
    box-shadow: none;
  }

  .no-print {
    display: none;
  }

  head title {
    display: none;
  }
}

/* ESTILIZANDO A DIALOG / MODAL */

dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2rem;
  border: none;
  border-radius: 8px;
  outline: none;
}

dialog ul {
  list-style: none;
}

dialog ul li {
  margin-bottom: 10px;
}

dialog ul li strong {
  color: #0099ff;
}

dialog button {
  transition: ease .2s;
  cursor: pointer;
  color: #fff;
  background: rgb(196, 57, 57);
}

dialog button:hover {
  background: rgb(208, 5, 20);
}

/* ESTILIZAÇÃO INPUT QUE FILTRA LISTA */

#containerSearch {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 270px;
}

.inputFilter {
  border: 2px solid #006EB8;
  outline: none;
  padding: 4px;
  font-size: 1rem;
  color: #fff;
  width: 100%;
}

.inputFilter::placeholder {
  color: #006EB8;
}

.inputFilter:focus {
  border: 2px solid #222;
  color: #fff;
  font-size: medium;
  background: #006EB8;
}

#containerSearch:focus-within .searchIcon {
  fill: #fff;
}

.inputFilter:focus::placeholder {
  color: #fff;
}

#containerSearch .searchIcon {
  width: 24px;
  position: absolute;
  right: 10px;
  display: flex;
  fill: #555;
}