.form-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  /* margin: 50px auto; */
}

h1 {
  font-size: 28px;
  font-weight: bold;
  color: #252525;
  text-align: center;
  margin-bottom: 20px;
}

label {
  font-weight: 500;
  color: #333;
}

.form-select,
.form-control,
textarea {
  border-radius: 8px;
}

button {
  width: 100%;
  padding: 10px;
  font-size: 18px;
}





#calendar {
  max-width: 900px;
  /* margin: 40px auto; */
  height: auto;
  /* Para que o calendário se ajuste à altura disponível */
  overflow: hidden;
  /* Oculta rolagem */
}

.fc-daygrid-day {
  position: relative;
  /* Para posicionar o elemento de seleção corretamente */
  padding-top: 100%;
  /* Mantém a proporção 1:1 */
  overflow: hidden;
  /* Oculta conteúdo que ultrapassa */
  width: calc(100% / 7);
  /* Divide a largura igualmente entre 7 dias */
  cursor: pointer;
}

.fc-daygrid-day-number {
  display: flex;
  justify-content: center;
  align-items: center;
}

.selected {
  background-color: #252525 !important;
  color: white !important;
}

.check-icon {
  position: absolute;
  top: 3px;
  left: 3px;
  color: white;
  font-size: .75em;
  display: none;
  /* Inicialmente escondido */
}

.fc-daygrid-day.selected .check-icon {
  display: block;
  background-color: rgb(7, 173, 7);
  width: 20px;
  height: 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center; 
  /* Exibe o ícone quando a data é selecionada */
}

.fc .fc-daygrid-day-top {
  display: flex;
  flex-direction: row-reverse;
  position: absolute;
  right: 0;
  top: 5px;
  right: 5px;
}

.fc .fc-toolbar-title {
  font-size: 16px;
  margin: 0;
}

#clear-button {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#clear-button:hover {
  background-color: #252525;
}

.fc .fc-daygrid-day-frame {
  position: relative;
  aspect-ratio: 1/1;
}

.fc .fc-daygrid-day-number {
  font-size: clamp(12px, 14px, 16px);
  font-weight: normal;
}

.fc-daygrid-day.selected a {
  color: #fff !important;
}

#selected-dates-container {
  max-width: 900px;
  margin: 20px auto;
  background-color: #ffffff;
  border: 1px solid #252525;
  border-radius: 5px;
  padding: 10px;
}

#selected-dates-list {
  list-style-type: none;
  padding: 0;

  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;


}

#selected-dates-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  border-bottom: 1px solid #ccc;

  display: flex;
  /* flex-direction: column; */
  /* gap: 6px; */
  background-color: #f7f7f7;
  border-radius: 12px;
  /* padding: 22px 16px; */
  padding: 8px 28px 8px 12px;

  overflow: hidden;

  align-items: center;


  position: relative;

  margin-top: 6px;
  margin-bottom: 6px;

}

#selected-dates-list li:last-child {
  border-bottom: none;
}

.remove-date {

  cursor: pointer;

  position: absolute;
  inset: 0;
  padding: 6px;
  text-align: right;
  font-weight: bold;
  transition: .3s all ease-in-out;

}

/* .remove-date:hover{
  background-color: rgb(255, 0, 0, .08);
} */

.remove-date i{
  background-color: red;
  color: #fff;
  width: 16px;
  height: 16px; 
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  font-size: 12px;
  margin-top: 4px;
}


#date-input {
  max-width: 900px;
  margin: 20px auto;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  width: calc(100% - 20px);
}



.box-datas-selecionadas,
.box-calendario {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 20px;
}

.box-datas-selecionadas h4{
  margin-top: 0;
}


.fc-today-button {
  width: 50px;
  display: inline-flex;
}


.fc .fc-toolbar-title {
  font-weight: bold;
  letter-spacing: 0px;
  text-transform: uppercase;
}




.past-day, .fc-day-past {
  background-color: #eeeeee;
  cursor: not-allowed; /* Muda o cursor para não permitido */
}

.fc-day-past .fc-daygrid-day-number{
  color: #c0c0c0 !important;
}

.fc-day-past .fc-daygrid-day-frame{
  position: relative;
  overflow: hidden;
}

.fc-day-past .fc-daygrid-day-frame::after{
  content: '';
  width:120px;
  height: 1px;
  background-color: rgb(255, 0, 0, .15);
  rotate: 45deg; 
  margin-top: 0;
  margin-left: -17px;
}

.checkbox-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-buttons input[type="checkbox"] {
  display: none; /* Oculta o checkbox padrão */
}

.checkbox-buttons label {
  position: relative;
  padding: 10px 20px;
  border: 2px solid #f7f7f7;
  border-radius: 5px;
  background-color: #fff;
  color: #444;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 52px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}




/* Exibe o ícone quando o checkbox está marcado */
.checkbox-buttons input[type="checkbox"]:checked + label::before {
  content: "\f00c"; /* Unicode do ícone FontAwesome para o check */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #fff;
  background-color: rgb(7, 173, 7);
  border-radius: 50%;
  padding: 3px;
  /* position: absolute; */
  top: 5px;
  right: 5px;
  font-size: 11px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center; 
  justify-content: center;
}

.checkbox-buttons input[type="checkbox"]:checked + label {
  background-color: #252525;
  color: #fff;
}

label{
  font-weight: 550;
}

.form-container .btn-enviar-solicitacao{
  padding: 16px 0;
  border: none;
  border-radius: 12px;
}


.form-group{
  background-color: #fdfdfd;
  padding: 32px;
  border-radius: 20px;
}

.form-container input, .form-container select, .form-container textarea{
  background-color: #fff !important;
}

.form-container select option{
  cursor: pointer;
}

@media(max-width:768px){
  .form-container{
    padding: 0;
    box-shadow: none;
  }
  .form-group{
   
    padding: 8px;

  }
}





[class*="feedback-required"], [class*="feedback-invalid"] {
  color: red;
  margin-top: 4px;
}