a.action-icon {
  padding: 5px;
}

a.action-icon:hover {
  color: #006698;
}

/* Estilos para ações desabilitadas */
.disabled-action {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* Estilo para linha selecionada na tabela */
.selected-row {
  background-color: #131417 !important;
}

/* Hover na linha da tabela */
.table tbody tr:hover {
  cursor: pointer;
}

.button-close-modal {
  float: right;
  margin-right: 15px;
}

.button-close-modal:hover {
  color: #006698;
}

.none {
  display: none;
}

.table > :not(caption) > * > * {
  padding: 0.2rem 0.2rem;
  font-size: 12px;
}

#pagination {
  max-height: 100px;
  overflow-y: auto;
}

.filtro {
  margin-top: 5px;
  padding: 5px;
}

.title-card {
  letter-spacing: 0.3px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-transform: uppercase;
}

.title-modal {
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.table-responsive th {
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.title-card h2 {
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-align: center;
}

.container-video {
  position: relative;
  display: inline-block;
}

.icone {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 50%;
}

.icon-camera {
  color: rgb(118, 109, 109);
  font-size: 24px;
}

.link-arrow:hover {
  text-decoration: none;
  color: #777777;
}

@media (min-width: 768px) {
  .bt-filtro {
    margin-top: -3px;
    width: auto;
  }

  .card-header {
    height: 44px;
  }

  .icones-funcionais {
    right: 15px;
    position: absolute;
    top: 8px;
  }

  .title-card h2 {
    margin-top: 3px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.3px;
  }

  #capturedImage {
    width: auto;
    max-width: 400px;
    display: none;
  }

  #cameraStream {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
  }
}

@media (max-width: 768px) {
  #capturedImage {
    width: 100%;
    max-width: 400px;
    display: none;
  }

  #cameraStream {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
  }

  .card-title {
    font-size: 14px;
  }
  .card-actions {
    float: none;
    margin-bottom: 15px;
    position: absolute;
    text-align: right;
  }

  #calendario-lateral {
    border-top: #77777733 1px solid;
    margin-top: 25px;
  }
}

.card-sobre {
  color: #777777;
  right: 0;
  position: unset;
}

.card-action.action-registro:hover {
  color: #f6f7f7 !important;
  text-decoration: none !important;
  cursor: default;
  background: transparent !important;
}

.danger-header-card {
  background-color: #d2322dbf !important;
}

.warning-header-card {
  background-color: #ed9c28 !important;
}

.success-header-card {
  background-color: #47a447 !important;
}

.violet-header-card {
  background-color: rgba(226, 32, 252, 0.24) !important;
}

.arrow-registro-ponto,
.arrow-registro-ponto i {
  margin-left: 5px;
  margin-right: 5px;
  cursor: pointer;
  color: white !important;
  text-decoration: none;
}

.arrow-registro-ponto:hover,
.arrow-registro-ponto:hover i {
  color: rgba(255, 255, 255, 0.509) !important;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}

#calendar-input {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ccc;
}

#calendar-wrapper .input-group-text {
  background-color: #f0f0f0;
  border-right: 0;
}

#calendar-wrapper .form-control {
  border-left: 0;
}

.fc-day-no-event-red {
  background-color: #f01b193d !important;
}

.fc-day-no-event-violet {
  background-color: rgba(226, 32, 252, 0.24) !important;
}

.fc-day-no-event-green {
  background-color: rgba(13, 148, 44, 0.6) !important;
}

.fc-day-no-event-blue {
  background-color: #0d6efd3d !important;
}

.fc-button {
  text-transform: capitalize;
}

.fc-event-violet {
  background-color: rgba(226, 32, 252, 0.24) !important;
  border-color: rgba(226, 32, 252, 0.24) !important;
}

.nestable-danger {
  background-color: #6a1513f7 !important;
}

.nestable-success {
  background-color: #47a447ad !important;
}

.nestable-block {
  background-color: #282d36 !important;
  text-decoration: line-through;
}

.violet {
  background-color: rgba(226, 32, 252, 0.24) !important;
  border-color: rgba(226, 32, 252, 0.24) !important;
}

.actions-justificativa {
  cursor: pointer;
  margin-right: 5px;
}

.actions-justificativa:hover {
  color: #f6f7f7 !important;
}

.text-right {
  text-align: right;
}

/* Alertas */
.alert-list {
  max-height: 250px;
  overflow-y: hidden;
  padding-left: 0;
  list-style: none;
  transition: overflow 0.3s ease;
}

.alert-list:hover {
  overflow-y: auto; /* Mostra a barra de rolagem ao passar o mouse */
}

/* Estilização opcional da barra de rolagem (Webkit browsers) */
.alert-list::-webkit-scrollbar {
  width: 8px;
}

.alert-list::-webkit-scrollbar-track {
  background: transparent;
}

.alert-list::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.block-text {
  text-decoration: line-through;
}

/* Ordenação na tabela */
th.sortable {
  cursor: pointer;
}
th.sortable:after {
  content: " ⇅";
  font-size: 1em;
  color: #aaa;
}

.block-danger {
  background-color: #f01b193d !important;
}

.btn-group {
  width: 100%;
}

.text-white {
  color: white;
}

.uppercase {
  text-transform: uppercase;
}

.toggle-warning .toggle > label {
  color: #ffc107;
  border-color: #ffc107;
}

.toggle-warning .toggle.active > label {
  background-color: #ffc107;
  color: #fff;
}

.toggle-warning .toggle.active > label {
  background-color: #ffc107 !important;
  color: #fff !important;
}

.toggle-warning .toggle > label {
  border-color: #ffc107;
  color: #ffc107;
}

.toggle-danger .toggle > label {
  color: #d2322d;
  border-color: #d2322d;
}

.toggle-danger .toggle.active > label {
  background-color: #d2322d;
  color: #fff;
}

.toggle-danger .toggle.active > label {
  background-color: #d2322d !important;
  color: #fff !important;
}

.toggle-danger .toggle > label {
  border-color: #d2322d;
  color: #d2322d;
}

#texto-datas {
  color: #777777;
}

/* Botão de alternar tema - versão menor */
.theme-switch {
  position: relative;
  width: 45px;
  height: 22px;
  background-color: #444;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  cursor: pointer;
}

.theme-switch .handler {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.theme-switch .fa-sun,
.theme-switch .fa-moon {
  font-size: 11px;
  color: #ffd700;
  z-index: 1;
}

.theme-switch.dark {
  background-color: #ccc;
}

.theme-switch.dark .handler {
  left: 25px;
}

.theme-switch.dark .fa-sun {
  color: #444;
}

.theme-switch.dark .fa-moon {
  color: #111;
}

/* Subtarefas */
.subtarefa-item.d-flex.align-items-center.justify-content-between {
  border-bottom: 1px solid #80808014;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.subtarefa-item a.todo-remove {
  color: #cccccca1;
  font-size: 11px;
}

.subtarefa-item a.todo-remove:hover {
  color: #f6f7f7;
}

.texto-riscado {
  text-decoration: line-through;
}

.todo-remove-subtarefa {
  color: #696969eb;
  margin-right: 5px;
}

.todo-remove-subtarefa:hover {
  color: #f6f7f7;
}

.badge-violet {
  background-color: rgba(226, 32, 252, 0.24) !important;
}

.subtarefas-sortable .subtarefa-item {
  cursor: move;
}

a.todo-remove {
  cursor: pointer;
}

#checkAllSubtarefas {
  color: #848484;
  font-size: 11px;
}

#checkAllSubtarefas:hover {
  color: #f6f7f7;
}

.col-md-6.editor-relatorio {
  border-right: 1px solid #f5f5f50a;
  margin-top: 10px;
}

.text-align-right {
  text-align: right;
}

.pdf-icon {
  color: white;
  transition: color 0.3s ease;
}

.card-action.action-registro:hover .pdf-icon {
  color: #ff3939;
}

/* Histórico de relatórios paginas de clientes */
#historico-relatorios {
  max-height: 300px;
  overflow-y: auto;
}

/* Estilo da barra de rolagem para navegadores WebKit (Chrome, Edge, etc.) */
#historico-relatorios::-webkit-scrollbar {
  width: 6px; /* largura fina */
}

#historico-relatorios::-webkit-scrollbar-track {
  background: transparent; /* trilho invisível */
}

#historico-relatorios::-webkit-scrollbar-thumb {
  background-color: #2c2c2c; /* cor da barra */
  border-radius: 3px; /* bordas arredondadas para aparência mais clean */
}

/* Firefox */
#historico-relatorios {
  scrollbar-width: thin; /* barra fina */
  scrollbar-color: #2c2c2c transparent; /* cor da barra e do trilho */
}

/* Botão Instalar PWA */
#btn-instalar-pwa {
  position: fixed;
  bottom: 20px;
  left: 14px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 8px;

  background-color: #006698;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  cursor: pointer;

  height: 48px;
  width: 48px;
  padding: 0 13px;

  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

  overflow: hidden;
  transition: width 0.3s ease;
}

/* Ícone sempre visível */
#btn-instalar-pwa i {
  font-size: 18px;
  min-width: 20px;
  margin-right: 6px;
}

/* Texto escondido no início */
#btn-instalar-pwa span {
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Ao passar o mouse */
#btn-instalar-pwa:hover {
  width: 160px; /* expande */
}

/* Texto aparece após expandir */
#btn-instalar-pwa:hover span {
  opacity: 1;
  transition-delay: 0.1s;
}

/* CSS dos indicadores de status do registro de ponto */
.status-color {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}

.status-vermelho {
  background-color: #dc3545; /* vermelho */
}

.status-amarelo {
  background-color: #ffc107; /* amarelo */
}

.status-verde {
  background-color: #198754; /* verde */
}

.regras-registro-ponto{
  float: right; 
  cursor:pointer;
}

.motivo-registro-ponto{
  color: #ffffffb3;
}