body {
  background-color: #f4f6f8;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.navbar {
  min-height: 72px;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.card {
  border: 0;
  border-radius: 12px;
}

.card-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ececec;
  padding: 16px 20px;
}

.dashboard-number {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
}

.dashboard-number-small {
  font-size: 1.35rem;
  font-weight: 600;
}

.form-control,
.form-select {
  border-radius: 8px;
}

#btnAtualizar {
  border-radius: 8px;
  font-weight: 600;
}

#tabelaPix {
  font-size: 1rem;
}

#tabelaPix thead th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  background-color: #f8f9fa;
  padding-top: 14px;
  padding-bottom: 14px;
  cursor: grab;
  user-select: none;
}

#tabelaPix thead th:active {
  cursor: grabbing;
}

#tabelaPix tbody td {
  padding-top: 13px;
  padding-bottom: 13px;
  vertical-align: middle;
}

#tabelaPix tbody tr {
  transition:
    background-color 0.4s ease,
    transform 0.2s ease;
}

#tabelaPix tbody tr:hover {
  background-color: #f3f7ff;
}

@keyframes novoPix {

  0% {
    background-color: #86efac;
  }

  100% {
    background-color: #bbf7d0;
  }

}

#tabelaPix tbody tr.pix-novo > td {
  background-color: #bbf7d0 !important;
  --bs-table-bg: #bbf7d0 !important;
  --bs-table-striped-bg: #bbf7d0 !important;
  animation: novoPix 1.2s ease-out;
}

.valor-pix {
  font-size: 1.08rem;
  font-weight: 800;
  white-space: nowrap;
}

.nome-pagador {
  max-width: 420px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hora-pix {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  font-weight: 600;
}

.banco-badge {
  background-color: #e8eef7;
  color: #253858;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 6px;
}

.banco-sicoob {
  background-color: #d1f2df;
  color: #146c43;
}

.dt-search input,
.dt-length select {
  border-radius: 8px;
}

.page-link {
  border-radius: 6px;
  margin: 0 2px;
}

.dtcr-moving {
  background-color: #f8f9fa;
  opacity: 0.95;
}

.dtcr-indicator {
  border-left-width: 2px;
}

@media (min-width: 1400px) {
  #tabelaPix {
    font-size: 1.05rem;
  }

  #tabelaPix tbody td {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .valor-pix {
    font-size: 1.15rem;
  }

  .dashboard-number {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    min-height: 86px;
  }

  .navbar-brand {
    font-size: 1.3rem;
  }

  main.container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ============================================================
   SLIDER DO SOM
   ============================================================ */

.form-switch {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding-left: 0;
}

#switchSom {
  width: 4rem;
  height: 2rem;
  margin: 0;
  float: none;
  cursor: pointer;
  flex-shrink: 0;
}

#switchSom:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

#labelSom {
  display: flex;
  align-items: center;
  margin: 0;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}