* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  background-color: #ffffff;
  margin: 0;
}

body.body-sidebar {
  overflow-x: hidden;
}

#sidebar-wrapper {
  min-height: 100vh;
  margin-left: -16rem;
  -webkit-transition: margin .25s ease-out;
  -moz-transition: margin .25s ease-out;
  -o-transition: margin .25s ease-out;
  transition: margin .25s ease-out;
}

.sidebar-heading {
  padding: 0.875rem 1.25rem;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar-logo {
  background-color: #ffffff;
}

.sidebar-logo h1 {
  margin: 0;
  padding: 0;
}

#sidebar-wrapper .list-group {
  width: 16rem;
}

#page-content-wrapper {
  min-width: 100vw;
}

#wrapper.toggled #sidebar-wrapper {
  margin-left: 0;
}

@media (min-width: 768px) {
  #sidebar-wrapper {
    margin-left: 0;
  }

  #page-content-wrapper {
    min-width: 0;
    width: 100%;
  }

  #wrapper.toggled #sidebar-wrapper {
    margin-left: -16rem;
  }
}

.filtro-ano {
  width: 4em !important;
}

.exibicao-tabela-th {
  min-width: 40%;
}

.section-filtro-data {
  text-align: center;
}

.section-filtro-data h4 {
  display: none;
}

.section-filtro-data form {
  display: inline-block;
  background-color: #f0f0f0;
  padding: 1.2em 1em;
}

.section-filtro-data-ano {
  width: 4em;
}

.coluna-valor {
  text-align: right;
  white-space: nowrap;
}

.coluna-dia {
  min-width: 15%;
}

.valor-negativo {
  /* color: red !important; */
}

.valor-negativo::before {
  content: "(";
}

.valor-negativo::after {
  content: ")";
}

.badge-indice {
  font-size: 1.2rem;
}

.btn-underline {
  text-decoration: underline;
}

.tabela-legenda-coluna-icone {
  width: 2em;
}

.input-busca-cliente {
  min-width: 50%;
}

@media only screen and (max-width:767px) {
  .tabela-clientes,
  .tabela-clientes thead,
  .tabela-clientes tbody,
  .tabela-clientes th,
  .tabela-clientes td,
  .tabela-clientes tr {
		display: block; 
  }

  .tabela-clientes {
    border-bottom: 0;
  }
  
  .tabela-clientes thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;    
  }

  .tabela-clientes tr {
    border-bottom: 1px solid #ccc;
  }

  .tabela-clientes td {
    border: 0;
  }

  .exibicao-coluna {
    padding-right: 0;
  }
}

/* Login Form Styles */
.login-bg {
  background: url("/assets/img/login-bg.png") fixed no-repeat bottom center !important;
  background-size: cover !important;
  min-height: 100vh;
}

.app {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animated.fadeIn {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.black-shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.font-4xl {
  font-size: 2.5rem;
}

.font-lg {
  font-size: 1.1rem;
}

.gray-subtitle {
  color: #6c757d;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.input-with-icon {
  position: relative;
}

.input-icon-left {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.input-icon-right {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.login-input-with-icon {
  padding-left: 40px !important;
  padding-right: 40px !important;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  height: auto;
  min-height: 50px;
}

.login-input-with-icon:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.login-input-with-icon.is-invalid {
  border-color: #dc3545;
}

.login-input-with-icon.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.login-input {
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.login-input:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card {
  border: none;
  border-radius: 12px;
}

.card-body {
  padding: 2rem;
}

.container {
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .login-bg .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .app {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .login-bg .card {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .login-bg .card-body {
    padding: 1.25rem;
  }

  .login-bg .font-4xl {
    font-size: 1.9rem;
    text-align: center;
  }

  .login-input {
    padding: 10px 16px;
  }
}

