html, body {
	overflow-x: hidden;
}

body {
	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";
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

#loadingOverlay {
  z-index: 9999;
  backdrop-filter: blur(2px);
}

#menuMobileTrigger {
    border: 1px solid;
    min-height: 50px;
    font-weight: 500;
}

#menuMobileDropdown {
    position: absolute;
    /*max-height: 300px;*/
    overflow-y: auto;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1050;
}

.stat-icon {
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobileStickyMenu {
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.nav-link {
    transition: all 0.2s;
}

html[data-bs-theme="dark"] .nav-link.active {
  background-color: #343a40; /* ou outro tom escuro */
  color: #fff;
}

.nav-link:hover,
.nav-link.active {
    background-color: #e9ecef;
    color: #000;
}

.btn-primary {
  background-color: #4e73df !important;
  border-color: #4e73df !important;
}

.btn-primary:hover {
  background-color: #3b5ec9 !important;
  border-color: #3b5ec9 !important;
}

/* Versão clara e escura com base na tag <html data-bs-theme=""> */
html[data-bs-theme='light'] #loadingOverlay {
  background-color: rgba(255, 255, 255, 0.8);
}

html[data-bs-theme='dark'] #loadingOverlay {
  background-color: rgba(0, 0, 0, 0.8);
}

html[data-bs-theme='light'] #spinner {
  color: #4e73df;
}

html[data-bs-theme='dark'] #spinner {
  color: #31435c;
}

[data-bs-theme="dark"] #loader {
    background-color: rgba(0, 0, 0, 0.75);
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 15px 0px 0px;
  z-index: 1020; /* Acima do conteúdo */
}

.bg {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-form {
    width: 100%;
    max-width: 450px;
    padding: 15px;
    margin: auto;
}

@media only screen and (max-width: 1020px) {
    .login-form{
        border: none !important;
    }
}

.form-floating label span {
  color: red;
}

.form-control:focus {
  border-color: #4e73df;
  box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}