.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
  padding: 1rem;
}

.auth-card {
  width: 100%;
  max-width: 400px;
}

.app-body {
  min-height: 100vh;
  background-color: #f4f6f9;
}

.app-body.app-body-fixed {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-body.app-body-fixed .navbar {
  flex: 0 0 auto;
}

.app-main-flex {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.6rem 1rem;
  overflow: hidden;
}

.navbar-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
}

.navbar-breadcrumb .breadcrumb-item a:hover {
  color: #fff;
}

.navbar-breadcrumb .breadcrumb-item.active {
  color: #fff;
}

.navbar-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.status-dot {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
}

.status-dot-verde {
  background-color: #198754;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.2);
}

.status-dot-vermelho {
  background-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.2);
}

.func-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.func-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(244, 246, 249, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  z-index: 2000;
}

.loading-overlay.is-active {
  display: flex;
}

.status-badge-verde {
  background-color: #d1e7dd;
  color: #0f5132;
}

.status-badge-azul {
  background-color: #cfe2ff;
  color: #084298;
}

.status-badge-amarelo {
  background-color: #fff3cd;
  color: #664d03;
}

.status-badge-vermelho {
  background-color: #f8d7da;
  color: #842029;
}

.status-badge-cinza {
  background-color: #e2e3e5;
  color: #41464b;
}

.func-actions .btn {
  min-width: 130px;
}

.movimentos-content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.movimentos-toolbar {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
}

.movimentos-tabela-card {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.movimentos-tabela-card .card-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

#tabela-movimentos {
  flex: 1 1 auto;
  min-height: 0;
}

#tabela-movimentos.tabulator {
  border-top: none;
}

#tabela-movimentos .tabulator-header {
  border-top: none;
}

.selecao-resumo {
  background-color: #212529;
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.6rem 1.25rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.selecao-resumo .selecao-item .label {
  font-size: 0.7rem;
  color: #adb5bd;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}

.selecao-resumo .selecao-item .valor {
  font-weight: 600;
  font-size: 0.9rem;
}

.tipo-lista {
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
}

.tipo-lista .list-group-item {
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-left: none;
  border-right: none;
}

.tipo-lista .list-group-item:first-child {
  border-top: none;
}

.tipo-lista .list-group-item:last-child {
  border-bottom: none;
}
