.filtros-container select,
.filtros-container input {
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.btn-buscar {
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  border: none;
  border-radius: 5px;
  background-color: #f0f0f0;
  cursor: pointer;
}

.unidade-selecionarprofissional{
  background-color: #fdfdfdde;
  padding: 20px 10px;
  display: flex;
  border-radius:10px ;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.unidade-selecionarprofissional input,  .unidade-selecionarprofissional select {
  margin-left: 8px;
  border-radius: 8px;
  padding: 5px;
  width: 20%;
}

.unidade-selecionarprofissional select{
  width: 7%;
}

.busca-atendimento{
  display: flex;
  flex-direction: row;
  margin:10px;
  justify-content: flex-start;
}

.busca-atendimento select{
  padding:5px;
  border-radius:8px ;
  margin-left: 15px;
  background-color: #0078d7;
  color: white;
  font-weight: bold;
}

.busca-atendimento input{
  margin-left: 8px;
  border-radius: 8px;
  padding: 5px;
  width: 100%;
}

.btn-selecionar-tabeladia, .btn-selecionar-tabelasemana, .btn-selecionar-tabelames {
  background-color: rgba(231, 231, 231, 0.808);
  padding:8px 10px;
  font-size: larger;
  font-weight: bold;
  border-style: hidden;
}

.btn-selecionar-tabeladia{
  border-radius: 10px 0px 0px 10px;
}

.btn-selecionar-tabelames{
  border-radius: 0px 10px 10px 0px;
}

.btn-selecionar-tabeladia.ativo, .btn-selecionar-tabelasemana.ativo, .btn-selecionar-tabelames.ativo{
  background-color: lightcyan;
  border-color: darkcyan;
  font-weight: bolder;
}

.legenda-tabela{
  display: flex;
  
  margin-top: 30px;
  margin-bottom: 10px;
  gap: 15px;
  justify-content: flex-end;
}

.legenda-item-realizado{
  background-color: #2c5e37;
}

.legenda-item-confirmado{
  background-color: #1e90ff;
}
.legenda-item-cancelado{
  background-color: #d9534f;
}

.legenda-item-agendado{
  background-color: #f0ad4e;
}

#status-card-consulta-realizado, .legenda-item-realizado {
  background-color: #b7ffbd;
  border:3px solid #91d392;
  padding: 5px;
  font-weight: bold;
  border-radius: 10px;
}

#status-card-consulta-cancelado, .legenda-item-cancelado {
  background-color: #ffb7cc;
  border:3px solid #ff6c84;
  padding: 5px;
  font-weight: bold;
  border-radius: 10px;
}

#status-card-consulta-confirmado, .legenda-item-confirmado {
  background-color: #eef8fb;
  border:3px solid #d8dfe7;
  padding: 5px;
  font-weight: bold;
  border-radius: 10px;
}

#status-card-consulta-agendado, .legenda-item-agendado {
  background-color: #f7f7c4;
  border:3px solid #f3ce67;
  padding: 5px;
  font-weight: bold;
  border-radius: 10px;
}

.btns-e-legenda-container{  
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  margin-top: 10px;
}

.calendario {
  border-collapse: collapse;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgb(255, 255, 255);
  border: 10px solid #ffffffc5;
  background-color: rgb(253, 253, 253);
}

.calendario-ou-filaespera{
  margin-top: 0;
}

.container-btns-agenda-fila_esepera{
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-left:20px ;
}

.btn-fila-espera, .btn-agenda{
  background-color: transparent;
  border: 0px ;
  border-bottom: 3px solid rgb(253, 253, 253);
  padding: 8px;
  border-radius: 10px 10px 0px 0px;
  font-weight: bold;
}

.opc-filaespera-ativo, .opc-agenda-ativo{
  color: white;
  background-color: #5980fd;
}

html[data-bs-theme="dark"] {
  body {
    background-color: #121212;
    color: #e0e0e0;
  }

  .calendario {
    background-color: #1e1e1e;
    border: 10px solid #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  }

  .unidade-selecionarprofissional {
    background-color: #1e1e1e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  }

  .unidade-selecionarprofissional input,
  .unidade-selecionarprofissional select,
  .busca-atendimento select,
  .busca-atendimento input {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border: 1px solid #444;
  }

  .btn-buscar,
  .btn-selecionar-tabeladia,
  .btn-selecionar-tabelasemana,
  .btn-selecionar-tabelames {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border: none;
  }

  .btn-selecionar-tabeladia.ativo,
  .btn-selecionar-tabelasemana.ativo,
  .btn-selecionar-tabelames.ativo {
    background-color: #005a9e;
    border-color: #004578;
    color: #fff;
  }

  .legenda-item-realizado {
    background-color: #14532d;
    border-color: #166534;
  }

  .legenda-item-confirmado {
    background-color: #1e3a8a;
    border-color: #2563eb;
  }

  .legenda-item-cancelado {
    background-color: #7f1d1d;
    border-color: #dc2626;
  }

  .legenda-item-agendado {
    background-color: #78350f;
    border-color: #f59e0b;
  }

  #status-card-consulta-realizado,
  .legenda-item-realizado {
    background-color: #14532d;
    border: 3px solid #166534;
    color: #e0e0e0;
  }

  #status-card-consulta-cancelado,
  .legenda-item-cancelado {
    background-color: #7f1d1d;
    border: 3px solid #dc2626;
    color: #e0e0e0;
  }

  #status-card-consulta-confirmado,
  .legenda-item-confirmado {
    background-color: #1e3a8a;
    border: 3px solid #2563eb;
    color: #e0e0e0;
  }

  #status-card-consulta-agendado,
  .legenda-item-agendado {
    background-color: #78350f;
    border: 3px solid #f59e0b;
    color: #e0e0e0;
  }

  .btns-e-legenda-container {
    background-color: #181818;
  }

  .container-btns-agenda-fila_esepera {
    background-color: #181818;
  }

  .btn-fila-espera,
  .btn-agenda {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border-bottom: 3px solid #333;
  }

  .opc-filaespera-ativo,
  .opc-agenda-ativo {
    color: #fff;
    background-color: #005a9e;
  }
}