.container {
  display: flex;
  flex-direction: column;
  padding: 40px;
  row-gap: 20px;
}

.container-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  padding: 12px;
}

.container-form h3 {
  color: #161719;
}

.inputs-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}

.column {
  width: 50%;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}

.inputs-container .row {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 6px;
  column-gap: 12px;
}

.column .row .form-group {
  width: 100%;
}

.inputs-container select {
  background: #e6eef5;
  border: none;
  width: 100%;
  padding: 6px;
  border-radius: 3px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.182));
  transition: all 0.3s;
  width: 100%;
  height: 35px;
  border: none;
  outline: none;
}

.inputs-container input {
  background: #e6eef5;
  border: none;
  width: 100%;
  padding: 6px;
  border-radius: 3px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.182));
  transition: all 0.3s;
  width: 100%;
  height: 35px;
  border: none;
  outline: none;
}

.inputs-container textarea {
  width: 100%;
  height: 45px;
  background: #e6eef5;
  border: none;
  width: 100%;
  padding: 6px;
  border-radius: 3px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.182));
  transition: all 0.3s;
  border: none;
  outline: none;
  resize: none;
}

/* Imagens do produto */
.imagens-produto {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}

.imagens-produto .foto {
  display: flex;
  position: relative;
  border-radius: 12px;
  width: 100px;
  height: 100px;
  object-fit: cover;
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.158));

}

.imagens-produto .foto img {
  display: flex;
  position: relative;
  border-radius: 12px;
  width: 100px;
  height: 100px;
  object-fit: cover;

}

.btn-excluir {
  position: absolute;
  padding: 0;
  top: 6px;
  right: 10px;
  background: transparent;
  color: black;
  font-weight: 400;
  z-index: 1;
  cursor: pointer;
  border: none;
}

.btn-excluir:hover {
  box-shadow: none;
  transform: scale(1.2);
}

.imagens-produto .image-button {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e2e2;
  border-radius: 12px;
}

.imagens-produto .image-button label {
  font-size: 50px;
  font-weight: 300;
  color: black;
  transition: all 0.3s;
  cursor: pointer;
}

.imagens-produto .image-button label:hover {
  transform: scale(1.3);
}

/* Arquivos extra do produto */
.file-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}

.file-container .file {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  text-align: center;
  border-radius: 12px;
  width: 120px;
  height: 120px;
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.158));

}

.file-container .file img {
  display: flex;
  position: relative;
  border-radius: 12px;
  width: 60px;
  height: 60px;
  object-fit: cover;

}

.file-container .file-button {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e2e2;
  border-radius: 12px;
}

.file-container .file-button label {
  font-size: 50px;
  font-weight: 300;
  color: black;
  transition: all 0.3s;
  cursor: pointer;
}

.file-container .file-button label:hover {
  transform: scale(1.3);
}

.btn-excluir-file {
  position: absolute;
  padding: 0;
  top: 6px;
  right: 10px;
  background: transparent;
  color: black;
  font-weight: 400;
  z-index: 1;
  cursor: pointer;
  border: none;
}

.btn-excluir-file:hover {
  box-shadow: none;
  transform: scale(1.2);
}

/* Checkbox */
.cbx {
  position: relative;
  top: 1px;
  width: 20px;
  height: 20px;
  border: 1px solid #c8ccd4;
  border-radius: 3px;
  transition: all 0.1s ease;
  cursor: pointer;
  display: block;
}

.cbx:after {
  content: '';
  position: absolute;
  top: 1px;
  left: 6px;
  width: 5px;
  height: 12px;
  opacity: 0;
  transform: rotate(45deg) scale(0);
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transition: all 0.3s ease;
  transition-delay: 0.15s;
}

.lbl {
  margin-left: 5px;
  vertical-align: middle;
  cursor: pointer;
}

input[type="checkbox"]:checked~.cbx {
  border-color: 1px solid red;
  background: #01b7ff;
  animation: jelly 0.6s ease;
}

input[type="checkbox"]:checked~.cbx:after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.cntr {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

@keyframes jelly {
  from {
    transform: scale(1, 1);
  }

  30% {
    transform: scale(1.25, 0.75);
  }

  40% {
    transform: scale(0.75, 1.25);
  }

  50% {
    transform: scale(1.15, 0.85);
  }

  65% {
    transform: scale(0.95, 1.05);
  }

  75% {
    transform: scale(1.05, 0.95);
  }

  to {
    transform: scale(1, 1);
  }
}

.hidden-xs-up {
  display: none !important;
}

.inscrever-button {
  cursor: pointer;
  border: none;
  outline: none;
  color: #01b7ff;
  border: 1px solid #01b7ff;
  max-width: 280px;
  font-size: 18px;
  padding: 14px 24px;
  font-weight: 900;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.6s ease;
  margin-top: 20px;
  background: transparent;
  text-transform: uppercase;
}

.inscrever-button:hover{
  box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
  background-color: #04a1df;
  color: white;
}

.button-container {
  display: flex;
  justify-content: end;
}

.fila-espera {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 6%;
  width: 100%;
}

.fila-espera .card {
  row-gap: 14px;
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: white;
  padding: 24px;
  width: 60%;
  border-radius: 30px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.card i {
  font-size: 70px;
}

select option[disabled] {
  color: gray; /* Altera a cor do texto para cinza quando a opção desabilitada está selecionada */
}

select option {
  color: black;
} 

/* Container no topo da página */
.top-container {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  border-radius: 8px;
}

.top-container h2 {
  color: rgb(25, 31, 40);
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
}

/* Carousel de cards de feiras */
.feiras-carousel {
  display: flex;
  overflow: hidden;
  position: relative;
  box-shadow: rgba(25, 31, 40, 0.15) 0px 6px 24px 0px;
  border-radius: 12px;
}

.feiras-destaque {
  display: none;
  flex-direction: row;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 350px;
  background-color: white;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translateX(100%);
  flex: 0 0 100%;
}

.feiras-destaque.active {
  transition-delay: 0.1s;
  opacity: 1;
  display: flex;
  transform: translateX(0);
  visibility: visible;
}

.feiras-destaque:not(.active) {
  /* Adicione uma transição suave para esconder os slides não ativos */
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out, visibility 0s linear 0.5s;
  visibility: hidden;
}

.feira-date {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: #bbb;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.carousel-indicators button.active {
  background-color: #333;
}

.feiras-destaque .feira-imagem {
  width: 65%;
}

.feiras-destaque .feira-imagem img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.feiras-destaque .feira-info {
  width: 40%;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  padding: 40px 12px;
  position: relative;
}

.feiras-destaque .feira-info .feira-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.8px;
  color: rgb(25, 31, 40);
  margin-top: 16px;

}

.feiras-destaque .feira-info .feira-descricao {
  height: 50%;
}

.feiras-destaque .feira-info .feira-date p {
  font-size: 14px;
}

.feiras-destaque .feira-info .ver-mais {
  position: absolute;
  bottom: 30px;
}

/* Cards das feiras */
.feiras-container {
  max-width: 1200px;
  padding: 0px;
  display: block;
  position: relative;
}

.carousel-container {
  overflow: hidden;
}

.feira-carousel {
  position: relative;
  max-width: 1300px;
  height: 100%;
  display: flex;
  box-sizing: content-box;
  margin-top: 20px;
  column-gap: 20px;
  padding: 10px;
}

.feiras-container .feira-title {
  margin-left: 10px;
}

.feiras-container .feira-title h2 {
  color: rgb(25, 31, 40);
}

.feira-carousel .feira-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  height: 290px;
  flex: 0 0 calc(94% / 4);
  user-select: none;
  transition: box-shadow 0.3s ease 0s, border-radius 0.3s ease 0s, background-color 0.3s ease 0s;
  cursor: pointer;
}

.feira-card:hover .feira-imagem img{
  border-radius: 12px 12px 0px 0px;
}

.feira-card:hover {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.feira-card .feira-info {
  display: flex;
  flex-direction: column;
  row-gap: 2px;
  padding: 10px;
}

.feira-info span {
  font-size: 12px;
  letter-spacing: 0.18px;
  line-height: 1.33;
  text-transform: uppercase;
  color: rgb(0, 151, 255);
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
}

.feira-info h3 {
  font-size: 26px;
  font-weight: 700;
  color: rgb(25, 31, 40);
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  animation: fadeIn 1s;
  font-family: "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.feira-card .feira-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: rgb(25, 31, 40);
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  animation: fadeIn 1s;
  font-family: "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.feira-info p {
  font-size: 0.8rem;
  color: rgb(109, 109, 109);
}

.feira-title p {
  font-weight: 300;
  color: rgb(161, 160, 160);
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  animation: fadeIn 1s;
  font-family: "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.feira-card .feira-imagem {
  width: 100%;
  height: 55%;
}

.feira-card .feira-imagem  img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s;
  cursor: grab;
}

.setas {
  position: absolute;
  right: 10px;
  top: 2px;
  display: flex;
  flex-direction: row;
  column-gap: 10px;
}

.setas span {
  display: flex;
  width: 30px;
  height: 30px;
  
  border-radius: 100%;
  text-align: center;
  line-height: 20px;
  font-size: 20px;
  margin-bottom: 10px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.seta {
  background: #038fc7;
  color: #ffffff;
  cursor: pointer;
  border: none;
}

  .disabled {
  cursor: default;
  background: white;
  border: 1px solid #038fc7;
  color: #038fc7;
  pointer-events: none;
  opacity: 0.4;
}


.inscrever {
  position: absolute;
  bottom: 6px;
  width: max-content;
  border: none;
  background-color: #01b7ff;
  outline: none;
  font-size: 12px;
  padding: 6px;
  color: white;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.6s ease;
}

.inscrever:hover{
  box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
  background-color: #04a1df;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  margin-top: 10px;
}

.table-container thead {
  background-color: #d1d1d1;
  font-size: 15px;
}

.table-container tbody tr {
  transition: all 0.3s;
}

.table-container tbody tr:hover {
  background-color: rgb(250, 250, 250);
}

.table-container th {
  padding: 8px;
  border: 1px solid #288be4;
  text-align: center;
}
.table-container td {
  border: 1px solid #288be4;
  text-align: center;
}

.table-container td {
  font-size: 12px;
  font-weight: 500;
  padding: 8px 0;
}

.table-container th {
  background-color: #288be4;
  color: white;
}

.tb-presente p {
  background-color: rgb(24, 194, 109);
  text-align: center;
  color: #fff;
  max-width: 80px;
  padding: 6px;
  border-radius: 3px;
  margin: 0 auto;
}

.tb-ausente p {
  background-color: #db4f4f;
  text-align: center;
  color: #fff;
  max-width: 80px;
  padding: 6px;
  border-radius: 3px;
  margin: 0 auto;
}



/* Responsividade  */
@media (max-width: 1000px) {
  .feira-carousel .feira-card {
    flex: 0 0 calc(99% /2);
  }

  .feira-card .feira-imagem {
    width: 100%;
    height: 45%;
  }

  .feira-carousel {
    max-width: 380px;
  }
}

@media (max-width: 683px) {
  .container {
    padding: 24px 12px;
    row-gap: 70px;
  }

  .feiras-destaque {
    flex-wrap: wrap;
    column-gap: 20px;
    width: 100%;
    height: fit-content;
  }

  .feiras-destaque .feira-imagem {
    width: 100%;
  }

  .feiras-destaque .feira-imagem img {
    height: 200px;
  }

  .feiras-destaque .feira-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    padding: 12px;
  }
  
  .feiras-destaque .feira-info .ver-mais {
    position: relative;
    bottom: 0;
  }

  .inscrever button{
    border-radius: 4px;
    cursor: pointer;
    border: none;
    background-color: #01b7ff;
    outline: none;
    font-size: 12px;
    padding:  8px;
    color: white;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.6s ease;
  }

  /* Container no topo da página */
  .top-container {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .feiras-container {
    margin: 0;
  }

  .feira-carousel {
    padding: 12px;
    max-width: 600px;
  }

  .feira-carousel .feira-card {
    flex: 0 0 calc(100%/2);
    max-width: 200px;
  }

  .feira-title {
    max-width: 80%;
  }

  .feiras-destaque .feira-info .feira-title {
    height: auto;
  }

  .feiras-destaque .feira-info .feira-descricao {
    height: auto;
  }

  .feira-info span {
    font-size: 14px;
  }

  .feira-info h3 {
    font-size: 18px;
  }

  .feira-info p {
    font-size: 0.8rem;
  }

  .feira-card {
    max-width: 85%;
  }

  .feira-card .feira-imagem {
    width: 164px;
    height: 114px;
  }

  .fila-espera .card {
    width: 90%;
  }
  
  .fila-espera .card p {
    font-size: 13px;
    padding: 12px;
  }
  

}

.faltante {
  padding: 3px;
  color: white;
  background: red;
  border-radius:6px;
}

.presente {
  padding: 3px;
  color: white;
  background: green;
  border-radius:6px;
}

#modal-observacoes {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 15% auto;
  padding: 50px;
  width: fit-content;
  row-gap: 30px;
  border: 1px solid #888;
  border-radius: 16px;
  background-color: #fefefe;
}

.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
}

.modal-content ul {
  display: flex;
  flex-direction: column;
  row-gap: 26px;
  list-style-position: inside;
}

.modal-content h2 {
  color: #0b205f;
}

.modal-content p {
  font-weight: 300;
}


@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
