@charset "UTF-8";
:root {
  --empresa-cor-principal: #7e7e7e;
  --empresa-cor-fonte-principal: #7e7e7e;
  --color-light: #dde0e4;
  --color-dark: #212121;
  --color-signal: #161615;
  --color-background: var(--color-light);
  --color-text: var(--color-dark);
  --color-accent: var(--color-signal);
  --size-bezel: .5rem;
  --size-radius: 4px;
  line-height: 1.4;
  --bs-body-font-size: calc(.6rem + .3vw);
  --background-color-principal: #F9FAFB;
  --borda-itens-menu: #F9FAFB;
}

.background-color-principal {
  background-color: var(--background-color-principal) !important;
}

.borda-itens-menu {
  border: 2px solid var(--borda-itens-menu) !important;
}

@font-face {
  font-family: 'Inter';
  src: url("/fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.navbar-nav .icone-menus {
  font-size: 19px;
  color: var(--empresa-cor-fonte-principal);
}

.cursor-pointer {
  cursor: pointer;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.navbar-toggler {
  padding: 0 !important;
  border: none;
  background: none;
  box-shadow: none;
}

body {
  background-color: var(--color-background);
}

@media (min-width: 720px) {
  .navbar {
    height: 59px;
  }
}

.menu-ativo {
  color: #00D76E !important;
}

.navbar .dropdown-menu {
  margin-top: -2px;
  color: var(--empresa-cor-fonte-principal);
}

.navbar .dropdown-menu .dropdown-item {
  color: var(--empresa-cor-fonte-principal);
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .dropdown-item:active,
.navbar .dropdown-menu .dropdown-item.active {
  background-color: #00D76E !important;
  color: #fff !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link:hover .icone-menus,
.navbar .nav-link:focus .icone-menus {
  color: #00D76E !important;
}

.tema-claro {
  --text-color: black;
  --stroke-color: rgba(0, 0, 0, 0.5);
  --surface-color: rgba(0, 0, 0, 0.05);
  --surface-color-hover: rgba(0, 0, 0, 0.02);
  --highlight-color: rgba(0, 0, 0, 0.1);
  --switch-bg-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 11.75C10.0711 11.75 11.75 10.0711 11.75 8C11.75 5.92893 10.0711 4.25 8 4.25C5.92893 4.25 4.25 5.92893 4.25 8C4.25 10.0711 5.92893 11.75 8 11.75Z' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 2.25V1' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.9313 3.9313L3.05005 3.05005' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2.25 8H1' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.9313 12.0687L3.05005 12.95' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 13.75V15' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12.0686 12.0687L12.9499 12.95' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13.75 8H15' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12.0686 3.9313L12.9499 3.05005' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --switch-background-color: black;
}

.tema-escuro {
  --text-color: white;
  --stroke-color: rgba(255, 255, 255, 0.5);
  --surface-color: rgba(255, 255, 255, 0.1);
  --surface-color-hover: rgba(255, 255, 255, 0.05);
  --highlight-color: rgba(255, 255, 255, 0.2);
  --switch-bg-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M13.5 7V4' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15 5.5H12' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10.5 1.5V3.5' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11.5 2.5H9.5' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13.5436 9.53755C12.5619 9.81283 11.5247 9.82185 10.5384 9.56369C9.55205 9.30553 8.65223 8.78949 7.93131 8.06857C7.21039 7.34765 6.69436 6.44783 6.43619 5.46152C6.17803 4.47522 6.18706 3.43797 6.46233 2.4563C5.4945 2.72568 4.61413 3.24394 3.90892 3.95944C3.20371 4.67495 2.69827 5.56274 2.44295 6.53438C2.18763 7.50602 2.19133 8.52759 2.45369 9.49736C2.71605 10.4671 3.22791 11.3512 3.93829 12.0616C4.64866 12.772 5.53276 13.2838 6.50253 13.5462C7.47229 13.8086 8.49387 13.8123 9.4655 13.5569C10.4371 13.3016 11.3249 12.7962 12.0404 12.091C12.7559 11.3858 13.2742 10.5054 13.5436 9.53755Z' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --switch-background-color: white;
}

#switch button:hover {
  background-color: #00D76E !important;
}

#switch {
  margin-top: 8px;
  position: relative;
  display: inline-block;
}

#switch button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--empresa-cor-fonte-principal) var(--switch-bg-url) no-repeat center;
}

#switch span {
  position: relative;
  display: block;
  width: 42px;
  height: 16px;
  background: var(--surface-color);
  border: 1px solid var(--stroke-color);
  border-radius: 9999px;
}

#switch.tema-claro button {
  left: 0;
  right: auto;
}

#switch.tema-escuro button {
  left: auto;
  right: 0;
}

.navbar .nav-link,
.navbar .dropdown-menu .dropdown-item {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.nav-link {
  color: var(--empresa-cor-fonte-principal);
}

.card-header {
  background-color: #fcfcfc;
}

.card-border-top {
  border-top: 2.5px solid var(--empresa-cor-principal);
}

.card {
  box-shadow: 3px 3px 10px rgba(82, 82, 82, 0.212);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.modal-dialog {
  display: flex;
  align-items: center;
  min-height: 90vh;
}

.multiselect-dropdown-list {
  max-height: 135px;
  overflow-y: auto;
}

a,
u {
  text-decoration: none;
}

.fluxo-de-caixa-titulo {
  font-size: 22px;
  color: black;
}

.fluxo-de-caixa-labels {
  text-align: start;
  color: black;
  font-size: 1rem;
  font-weight: 500;
}

.fluxo-de-caixa-inputs {
  color: #000000;
}

table > thead > tr > th {
  font-weight: 500;
}

.glass-modal {
  background: white !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 15px;
  border: 2px solid rgba(0, 0, 0, 0.576);
}

.custom-swal-width {
  width: 70%;
}

@media (max-width: 768px) {
  .custom-swal-width {
    width: 90%;
  }
}

.fluxo-de-caixa-metricas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.fluxo-de-caixa-metricas > div {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 8px;
  min-width: 160px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0px 2px 4px rgba(56, 56, 56, 0.374);
}

.select2-container--default .select2-selection--single {
  height: 37px;
  padding: 4px 12px;
  border: 1px solid #ced4da;
}

.select2-container--default .select2-selection__clear {
  font-size: 27px;
  cursor: pointer;
  position: absolute;
  transform: translateY(-10%);
}

.select2-selection__arrow {
  display: none;
}

[data-title] {
  position: relative;
  cursor: pointer;
}

[data-title]::after {
  content: attr(data-title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 10;
}

[data-title]:hover::after {
  opacity: 1;
}

.table-scroll-300 {
  max-height: 300px;
  /* Defina a altura desejada */
  overflow-y: auto;
  /* Habilita o scroll vertical quando necessário */
}

.table th, .table td {
  padding: 5px;
}

.table.table-sticky-head thead {
  position: sticky;
  top: 0;
  /* Isso faz com que o thead fique "grudado" no topo */
  background-color: #fff;
  /* Define o fundo branco para o cabeçalho, para garantir boa visibilidade */
  z-index: 1;
  /* Garante que o cabeçalho fique acima das outras linhas */
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.2);
  /* Adiciona uma sombra sutil ao cabeçalho */
}

.container-progress-bar {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  overflow-x: auto;
}

.progress-bar-generica {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-progress-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  min-width: 100px;
}

.step-progress-bar .icon {
  width: 50px;
  height: 50px;
  background-color: darkgray;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  transition: all 0.3s ease;
}

.step-progress-bar.ativo .icon {
  background-color: #4CAF50;
}

.step-progress-bar.cancelado .icon {
  background-color: #af4c4c;
}

.step-progress-bar .label {
  margin-top: 5px;
  font-size: 12px;
  text-align: center;
  color: #333;
  max-width: 100px;
}

.line {
  width: 40px;
  height: 4px;
  background-color: #ccc;
  border-radius: 2px;
}

.line.ativo {
  background-color: #4CAF50;
}

.cliente-tabs {
  color: black;
  background-color: #fcfcfc;
  font-size: 16px;
}

.cliente-tabs .nav-link {
  color: black !important;
}

#sortable-table tr {
  cursor: move;
}

.loading-overlay {
  position: relative;
}

.loading-overlay::after {
  transition: opacity 0.3s ease;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10;
}

.loading-overlay::before {
  transition: opacity 0.3s ease;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border: 4px solid #fff;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 11;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.select2-selection.select2-invalid, .flatpickr-invalid {
  border: 1px solid red !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
  border-radius: 0.25rem;
}

.swal2-modal-novo-agendamento .swal2-actions {
  display: flex !important;
  justify-content: space-between !important;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
