@import "simple_calendar";

.calendar-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
  margin-bottom: 20px;
}

.calendar-heading nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%; /* Para ocupar toda a largura disponível */
}

.calendar-navigation {
  display: flex;
  align-items: center;
}

.calendar-title {
  color: black;
  font-family: Arial, sans-serif;
  font-weight: bold;
  margin: 0 15px;
  font-size: 20px;
}

.calendar-header {
  font-family: Arial, sans-serif;
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
  font-size: 24px;
  align-self: center;
}

.calendar-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button-reserve,
.button-today {
  background-color: #7e7e7e;
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  height: 40px; /* Altura fixa */
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  font-size: large;
  border: none;
  cursor: pointer;
}

.icon-plus {
  margin-left: 8px;
  height: 32px;
}

.link-to {
  text-decoration: none;
  color: #000000;
}

.icone-back-calendar {
  margin-top: 10px;
  margin-bottom: 0;
  width: 40px;
  height: 40px;
}

/* Container do botão e do menu */
[data-controller="history"] {
  position: relative;
}

/* Estilo do menu de filtros */
.filter-options {
  display: none;
  position: absolute;
  top: 50px; /* Alinha o topo do menu com o topo do botão */
  left: 5px; /* Posiciona o menu à direita do botão */
  margin-left: 10px; /* Espaçamento entre o botão e o menu */
  z-index: 10;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.filter-options.active {
  display: block; /* Mostra o menu quando a classe active é adicionada */
}

/*CSS para passar o mouse sobre o turno e exibir as informações */
.tooltip {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.875rem;
  white-space: nowrap;
  z-index: 1000;
  display: none; /* Oculta inicialmente */
  pointer-events: none; /* Garante que não interfira no mouse */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
