:root {
  --bg-color: #cacaca;
  --bg-second-color: #cacaca;
}

.tim-row {
  margin-bottom: 20px;
}

.tim-white-buttons {
  background-color: #777777;
}

.typography-line {
  padding-left: 25%;
  margin-bottom: 35px;
  position: relative;
  display: block;
  width: 100%;
}

i.material-icons.icon-color {
  color: #231d45;
}

i.material-icons.color-white {
  color: #FFFFFF;
}

.sidebar-normal:hover {
  color: #231d45;
}

.nav-link:hover .material-icons {
  color: #231d45;
}

i.material-icons.color-white:hover {
  color: blue;
}

i.material-icons.color-grey {
  color: grey;
}

.typography-line span {
  bottom: 10px;
  color: #c0c1c2;
  display: block;
  font-weight: 400;
  font-size: 13px;
  line-height: 13px;
  left: 0;
  position: absolute;
  width: 260px;
  text-transform: none;
}

.tim-row {
  padding-top: 60px;
}

.tim-row h3 {
  margin-top: 0;
}

.tim-typo {
  padding-left: 25%;
  margin-bottom: 40px;
  position: relative;
  width: 100%;
}

.tim-typo .tim-note {
  bottom: 5px;
  color: #c0c1c2;
  display: block;
  font-weight: 400;
  font-size: 13px;
  line-height: 15px;
  left: 0;
  margin-left: 20px;
  position: absolute;
  width: 260px;
}

.sidebar {
  background-color: white;
}

.switch-container {
  display: inline-block;
  position: relative;
}

.switch-label {
  display: inline-block;
  margin-right: 10px;
}

.switch-checkbox {
  display: none;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 20px;
  transition: background-color 0.3s;
}

.switch-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}

.switch-checkbox:checked + .switch-slider {
  background-color: #4CAF50;
}

.switch-checkbox:checked + .switch-slider:before {
  transform: translateX(calc(100% - 20px));
}


.status-confirmed {
  background-color: #4CAF50; /* Green */
  color: #fff; /* Texto branco para bom contraste */
}

.status-pending {
  background-color: #FF9800; /* Orange */
  color: white; /* Texto preto para melhor contraste com laranja */
}

.status-onlinebooking_notfinished {
  background-color: #FF9800; /* Orange */
  color: white; /* Texto preto para melhor contraste com laranja */
}

.status-onlinebooking_rejected {
  background-color: #f44336; /* Red */
  color: #fff; /* Texto branco para bom contraste */
}

.status-onlinebooking_accepted {
  background-color: #4CAF50; /* Green */
  color: #fff; /* Texto branco para bom contraste */
}

.status-ongoing {
  background-color: #2196F3; /* Blue */
  color: #fff; /* Texto branco para bom contraste */
}

.status-notpresent {
  background-color: #9E9E9E; /* Grey */
  color: #212529; /* Texto preto para melhor contraste com cinza claro */
}

.status-rescheduled {
  background-color: #4B0082; /* Indigo */
  color: #fff; /* Texto branco para bom contraste */
}

.status-canceledprofessional {
  background-color: #f44336; /* Red */
  color: #fff; /* Texto branco para bom contraste */
}

.status-canceledclinic {
  background-color: #f44336; /* Red - talvez considerar uma cor ligeiramente diferente para distinguir */
  color: #fff;
}

.status-canceledclient {
  background-color: #f44336; /* Red - talvez considerar uma cor ligeiramente diferente para distinguir */
  color: #fff;
}

.status-finished {
  background-color: black; /* Black */
  color: #fff; /* Texto branco para bom contraste */
}

.status-waitinglist {
  background-color: brown; /* Brown */
  color: #fff; /* Texto branco para bom contraste */
}

.status-waiting {
  background-color: deepskyblue; /* Deep Sky Blue */
  color: white; /* Texto preto para melhor contraste com azul claro */
}

/* Old loader styles removed - now using modern-loader.css system */
/* The new loader system provides better animations, accessibility, and healthcare theming */

@media only screen and (max-width: 767px) {
  .fc .fc-dayGridMonth-view .fc-body .fc-row {
    height: auto;
  }

  .fc .fc-dayGridMonth-view .fc-dayGrid-day-frame {
    height: auto;
  }

  .fc .fc-dayGridMonth-view .fc-dayGrid-day-top {
    position: static;
  }

  .fc .fc-dayGridMonth-view .fc-dayGrid-day-events {
    position: static;
    margin-top: 20px;
  }

  .fc .fc-day-time-grid .fc-event, .fc .fc-dayGrid .fc-event, .fc .fc-list-view .fc-event {
    min-height: 3em;
  }
}

@media only screen and (max-width: 600px) {
  .fc-header-toolbar {
    display: flex;
    flex-direction: column;
  }
  .fc-toolbar-chunk {
    margin: 10px 0;
  }
}

.btn-centered-text {
  width: 120px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% { opacity: 0; }
}

.fc-event {
  min-height: 50px;
}

.align-middle {
  vertical-align: middle;
}

/* Estilos para a tabela pequena */
.small-table {
  width: 50%; /* Define a largura da tabela */
}

/* Estilos para as células pequenas */
.small-cell {
  font-size: 12px; /* Define o tamanho da fonte */
  padding: 5px; /* Adiciona algum espaço interno */
}

/* Estilos para a tabela */
#horarios-atendimento {
  width: 100%; /* Define a largura da tabela */
}

/* Estilos para as células de dia da semana */
#days-row th {
  text-align: center; /* Centraliza o texto */
}

.text-center {
  text-align: center;
}

.small-table {
  font-size: 12px;
}

.day-cell {
  width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.bg-cell {
  background-color: var(--bg-color);
  color: white;

}

.file-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border: 2px dashed #007bff;
  border-radius: 8px;
  background-color: #f8f9fa;
  position: relative;
}

.file-upload-label {
  font-size: 16px;
  font-weight: 600;
  color: #007bff;
  cursor: pointer;
  margin-bottom: 10px;
}

.file-input {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: #fff;
  opacity: 1;
  position: relative;
  z-index: 1;
}

.file-name-container {
  text-align: center;
  margin-top: 10px;
}

.file-name {
  font-size: 14px;
  color: #495057;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #F8F9FA;
}

.arrow {
  font-size: 18px;
  vertical-align: middle;
  cursor: pointer;
}
.expanded-content {
  display: none;
}
.expanded-content td {
  background-color: #f9f9f9;
  padding-left: 48px;
}
.total-row {
  text-align: right;
  font-weight: bold;
  padding: 12px 16px;
}

.professional-button {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
}

.professional-button.selected {
  background-color: #dff0d8; /* Cor de fundo quando selecionado */
  color: #3c763d; /* Cor da letra mais forte quando selecionado */
  font-weight: bold; /* Deixa a letra mais destacada */
  opacity: 1;
}

.professional-button.unselected {
  background-color: #f5f5f5; /* Cor de fundo quando não selecionado */
  color: #999999; /* Cor da letra mais clara quando não selecionado */
  opacity: 0.5; /* Torna o botão opaco quando não está selecionado */
}

label {
  color: #4A4A4A; /* Um cinza mais visível e legível */
  font-weight: 500; /* Um pouco mais de peso para melhorar a legibilidade */
  font-size: 14px; /* Tamanho de fonte ajustado para boa leitura */
}

label.required:after {
  content: "*";
  color: red; /* O asterisco vermelho destaca os campos obrigatórios */
  margin-left: 4px;
}

.fc-event {
  font-size: 11px;
}


.custom-tooltip {
   background-color: rgba(0, 0, 0, 0.75);
   color: white;
   padding: 5px 10px;
   border-radius: 4px;
   position: absolute;
   visibility: hidden;
   z-index: 1000;
   white-space: nowrap;
   font-size: 12px;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
   pointer-events: none; /* Para garantir que o tooltip não interfira com a interação */
}

.btn-info {
  background-color:  var(--bg-color);
}


/* daqui pra baixo é só estética para demonstração */
.question-circle {
  width:1.5em;height:1.5em;
  text-align:center;
  font:10px/1.5em "segoe ui",arial,helvetica,sans-serif;
  border:0.5px solid #999;
  border-radius:50%;
  color:#999;
}

.question-circle div {
  width:8em;
  color:#fff;
  background:#999;
  border-radius:5px;
  padding:5px;
}

.scroll-container {
  max-height: 330px;
  overflow-y: auto;
  display: block; /* Garante que a div se comporte corretamente */
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #888 #f1f1f1; /* Firefox */
}

.scroll-container::-webkit-scrollbar {
  width: 4px; /* Largura da barra */
}

.scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1; /* Cor do fundo */
  border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #888; /* Cor da barra */
  border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}
