.header {
  height: 75px;
}
.footer {
  height: 35px;
}
.content {
  height: calc(100vh - 110px);
}
.root {
  padding: 10px;
  background-color: #cacaca;
  height: calc(100vh - 100px);
}

#offcanvasRight {
  width: 300px;
}

.bg-azul-escuro {
  background-color: #17314c !important;
}

.btn-azul {
  background-color: #17314c !important;
  color: whitesmoke;
}

.btn-azul:hover {
  background-color: rgb(6, 20, 36) !important;
  color: whitesmoke;
}

.btn-outline-azul {
  background-color: whitesmoke;
  color: #17314c !important;
  border: #17314c 1px solid;
}

.btn-outline-azul:hover {
  background-color: #17314c !important;
  color: whitesmoke !important;
}

.form-color {
  background-color: #abd14c !important;
}

.esqueleto {
  position: relative;
  background-color: #dcf59d;
  animation: skeletonAnim 1.5s infinite alternate;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #555;
  border-radius: 6px;
}

@keyframes skeletonAnim {
  0% {
    background-color: #efefef;
  }
  50% {
    background-color: #c4e4a2;
  }
  100% {
    background-color: #efefef;
  }
}

select[readonly] {
  pointer-events: none;
  touch-action: none;
  background-color: #dbdbdb;
}

.esqueleto::after {
  content: "Aguarde, Carregando dados...";
  position: absolute;
  font-size: 14px;
}

.form-control:not(.inputreadonly):focus,
.btn-verde:not(.inputreadonly):focus,
.nav-link:not(.inputreadonly):focus,
.form-select:not(.inputreadonly):focus,
.select2-selection:not(.inputreadonly):focus,
.form-control:not(.inputreadonly):hover,
.btn-verde:not(.inputreadonly):hover,
.nav-link:not(.inputreadonly):hover,
.form-select:not(.inputreadonly):hover,
.select2-selection:not(.inputreadonly):hover {
  border-color: #abd14c !important;
  box-shadow: 0 0 0 0.2rem rgba(171, 209, 76, 0.5) !important;
}
.separador-menu {
  border-top: #17314c solid 1px;
  margin: 0.5;
}
.text-verde {
  color: #abd14c !important;
}

.abaixo-cabecalho {
  overflow-y: auto; /* ativa a barra de rolagem vertical se necessário */
  height: calc(100vh - 250px);
}

.form-auth {
  border: #abd14c solid 1px;
  border-radius: 10px;
  box-shadow: 0 0 20px 2px #abd14c;
}

.offcanvas-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.offcanvas-body .baixo {
  margin-top: auto;
}

.btn-verde {
  background-color: #abd14c !important;
  color: black;
}

.btn-verde:hover {
  background-color: #7d9b31 !important;
  color: black;
}

.txt-verde {
  color: #abd14c !important;
}
.txt-azul,
.form-label {
  color: #17314c !important;
}

.form-label {
  font-size: 12px !important;
  margin-bottom: 3px !important;
}
.bg-verde,
.tabulator-col-sorter-element {
  background-color: #abd14c !important;
}
.bg-azul {
  background-color: #17314c !important;
}
.borda-verde {
  border-color: rgb(171, 209, 76) !important;
}

.tabulator-footer {
  background-color: #abd14c !important;
}

.footer {
  font-size: 12px !important;
}

.borda-cinza {
  border: 1px solid rgba(171, 209, 76, 0.4); /* 0.5 = 50% opaco */
  border-radius: 10px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: black;
  border-color: #abd14c;
  border-bottom: 0;
  background-color: #abd14c;
}
.bg-whitesmoke {
  background-color: whitesmoke;
}
.offcanvas {
  background-color: #17314c;
  color: whitesmoke;
}
.nav-tabs {
  border-bottom: #abd14c solid 1px;
}
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  color: black;
  border-color: #abd14c;
}

.nav-tabs,
.nav-item,
.nav-link {
  color: #17314c;
}
.tab-content {
  border-bottom: #abd14c solid 1px;
  border-left: #abd14c solid 1px;
  border-right: #abd14c solid 1px;
  padding: 15px;
  border-radius: 0 0 10px 10px;
}

.tabulator-col-content,
.tabulator-calcs-holder .tabulator-cell {
  background-color: #abd14c !important;
  color: #17314c !important;
}

.dropdown-item:hover,
.dropdown-item:active {
  background-color: #abd14c;
  color: #17314c;
}
.dropdown-item {
  color: #17314c;
}
.inputreadonly,
.inputreadonly:focus {
  background-color: rgb(219, 219, 219);
  border-color: rgb(245, 245, 245);
  box-shadow: 0 0 0 0.2rem rgba(245, 245, 245, 0.5);
  cursor: not-allowed;
}

.mt-cabecalho{
  margin-top: 80px!important;
}
@media (max-width: 768px) {
  .ocultar-md {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .exibir-md {
    display: none !important;
  }
}

.area-util {
  border: #abd14c solid 1px;
  border-radius: 10px;
  padding: 10px;
  height: calc(100vh - 130px);
  box-shadow: 0 0 20px 2px #abd14c;
  overflow-y: auto; /* rola verticalmente se precisar */
  overflow-x: hidden; /* evita rolagem lateral */
  display: flex;
  flex-direction: column;
}

canvas {
  width: 100%;
}

.dash {
  max-height: calc(100vh - 150px);
}

.cabecalho {
  box-shadow: 0 0 8px 2px #abd14c;
  margin: 0;
  padding: 5px;
}

.border-radius {
  border: whitesmoke;
  border-radius: 10px;
}

.navbar-brand,
.navbar-brand:hover {
  color: #17314c;
}

.celula-roxa {
  color: #641b83;
  font-weight: bold;
}



.modal-header {
  background-color: #17314c !important;
  color: #abd14c;
}

.opaco {
  opacity: 0.5; /* varia de 0 (invisível) até 1 (totalmente visível) */
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
.tabulator .tabulator-row:hover {
  background-color: rgba(171, 209, 76, 0.5) !important;
  color: #17314c;
}

.tabulator-placeholder-contents {
  color: #17314c !important;
}

.tabulator-group-level-0 {
  background-color: #17314c !important;
  color: whitesmoke;
}
.select2 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}
.select2-results__option--highlighted {
  background-color: #abd14c !important;
}

.dropdown-menu.show {
  z-index: 9999 !important;
}

@media (prefers-color-scheme: xxxxs) {
  .area-util {
    background-color: #303235; /* cor escura */
    color: #f8f9fa; /* texto claro */
  }
  .root {
    padding: 10px;
    background-color: #141414;
    height: calc(100vh - 100px);
  }

  .form-label {
    color: whitesmoke !important;
  }
  .navbar-brand,
  .navbar-brand:hover {
    color: #abd14c;
  }
  .nav-tabs,
  .nav-item,
  .nav-link {
    color: whitesmoke;
  }
  .nav-tabs .nav-link:focus,
  .nav-tabs .nav-link:hover {
    color: #abd14c;
    border-color: #abd14c;
  }
}

.tabulator-calcs .tabulator-cell,
.tabulator-cell .tabulator-frozen .tabulator-frozen-left,
.tabulator .tabulator-header .tabulator-col,
.tabulator-headers{
    background-color: #abd14c!important;

}

.subtitulo-tela{
  background-color: #abd14c;
  text-align: center;
  font-weight: bold;
  
}


#elfinder{
  height: 100%!important;
}


.w-40{
  width: 40%;
}
.w-30{
  width: 30%;
}
.w-60{
  width: 60%;
}
.w-70{
  width: 70%;
}


@keyframes piscarVermelho {
  0% { background-color: #ce8a8a; }
  50% { background-color: #ca6262; }
  100% { background-color: #ce8a8a; }
}

.pisca-vermelho {
  animation: piscarVermelho 1.5s infinite;
}

.legenda-item{
  color: #212529;
}

  .badge-op{
    font-size: 1rem;
    cursor: pointer;
    color: #212529;
  }
.card-op {
  transition: filter 0.2s ease;
  cursor: pointer;
}

.card-op:hover {
  filter: brightness(70%);
}

.spin {
  display: inline-block;
  animation: spin 2s linear infinite;
}

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