:root {
  /* --color-primary: #A1131B;
	--color-primary-rgb: 161,19,27;
	--color-primary-contrast: #ffffff;
	--color-primary-contrast-rgb: 255,255,255;
	--color-primary-shade: #8e1118;
	--color-primary-tint: #aa2b32; */

  /* --color-secondary: #fed530;
	--color-secondary-rgb: 161,19,27;
	--color-secondary-contrast: #ffffff;
	--color-secondary-contrast-rgb: 255,255,255;
	--color-secondary-shade: #8e1118;
	--color-secondary-tint: #aa2b32; */
}

.min-h-100vh {
  min-height: 100vh !important;
}

.invalid-form,
.invalid-image {
  border: 1px solid #ff0000;
}

.bg-filtrando {
  background-color: rgba(28, 200, 138, 0.4);
  /* background-color: #FFF; */
  background-image: linear-gradient(180deg, rgba(28, 200, 138, 0.3) 10%, rgba(19, 133, 92, 0.3) 100%);
  background-size: cover;
}

.nav-tabs {
  border-bottom: 0px;
}

#pager {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  gap: 4px;
}
#pager .stepper-before,
#pager .stepper-next,
#pager .stepper {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  cursor: pointer;
}
#pager .stepper-before:hover,
#pager .stepper-next:hover,
#pager .stepper:hover,
#pager .stepper-active {
  color: var(--color-primary-contrast);
  background-color: var(--color-primary);
}

/* Login */
.bg-login-image {
  background-image: url("/img/predio_alphacode.png");
}
.bg-password-image {
  background-image: url("/img/alphacode_quadrado.jpg");
}

.footer-login p {
  color: #ffffff;
  font-size: small;
}
.footer-login img {
  height: 23px;
}

#olho-senha {
  width: 25px;
  margin-left: 0px;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 20px;
  color: #555;
  transform: translateY(-50%);
}

@media (max-width: 383px) {
  #olho-senha {
    top: 60%;
  }
}

/* usuarios START */

.img-avatar {
  position: relative;
  top: 0;
  left: 10px;
  width: 180px !important;
  height: 180px !important;
  border-radius: 50%;
  margin: 0px !important;
  cursor: pointer;
  object-fit: cover;
  margin-bottom: 30px !important;
}

/* usuarios END */

.nav-tabs {
  border-bottom: 0px;
  margin-bottom: -1px;
}

.nav-tabs .nav-link,
.nav-tabs .nav-link {
  color: #070e91 !important;
  border: 1px solid #070e91 !important;
  background-color: #ffffff !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link.active:hover {
  margin-bottom: 0px;
  background-color: #070e91 !important;
  color: #fff !important;
}

.nav-tabs .nav-link {
  border: 0;
}

.table thead tr {
  color: #000 !important;
}

.item-menu {
  margin: 0px !important;
  width: 100% !important;
  height: auto !important;
  min-height: 3.5rem !important;
  padding: 0.75rem 0 !important;
  margin: 0 !important;
  margin-left: 0px !important;
  display: flex !important;
  align-items: center !important;
}

/* Espaçamento adequado para os links em todos os estados */
.item-menu .nav-link {
  padding: 0.5rem 1rem !important;
}

/* Ajustes específicos quando sidebar está retraída (minimizada) */
.sidebar-toggled .item-menu .nav-link {
  padding: 0.5rem 0.5rem !important;
  text-align: center !important;
}

.sidebar-toggled .item-menu .nav-link span {
  display: block !important;
  line-height: 1.2 !important;
  margin-top: 0.25rem !important;
}

.item-menu:hover {
  margin-left: 0px !important;
  background-color: white !important;
  border-top-width: 1px !important;
  border-right-width: 0px !important;
  border-bottom-width: 1px !important;
  border-left-width: 0px !important;
  border-radius: 0px 2px 2px 0px !important;
  border-style: solid !important;
  border-color: #fff !important;
  display: flex !important;
  align-items: center !important;
}

.item-menu.active {
  margin-left: 0px !important;
  background-color: white !important;
  border-top-width: 1px !important;
  border-right-width: 0px !important;
  border-bottom-width: 1px !important;
  border-left-width: 0px !important;
  border-radius: 0px 2px 2px 0px !important;
  border-style: solid !important;
  border-color: #fff !important;
  display: flex !important;
  align-items: center !important;
}
.item-menu.active > a > span {
  color: black !important;
}
.item-menu.active > a > i {
  color: black !important;
}

.item-menu > a > i {
  color: #fff !important;
}

.item-menu > a > span {
  font-size: 0.9rem !important;
}

.item-menu > a:hover > span {
  color: black !important;
}

.item-menu > a:hover > i {
  color: black !important;
}

.menu-active {
  margin-left: 0px !important;
  background: white !important;
  border-top-width: 1px !important;
  border-right-width: 0px !important;
  border-bottom-width: 1px !important;
  border-left-width: 0px !important;
  border-radius: 0px 2px 2px 0px !important;
  border-style: solid !important;
  border-color: #fff !important;
  display: flex !important;
  align-items: center !important;
}

.menu-active > a > span {
  color: black !important;
}

.menu-active > a > i {
  color: black !important;
}

.titulo-modulo {
  color: #000 !important;
  font-weight: 600 !important;
}

h5 {
  color: #070e91;
  font-weight: bold;
  margin-bottom: 20px;
}

.card-header[data-toggle="collapse"]::after {
  position: absolute !important;
  right: 1rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  line-height: 1 !important;
  color: #000 !important;
}

/* Garantir visibilidade do ícone no botão outline-secondary */
.btn-outline-secondary i {
  color: #858796 !important;
  opacity: 1 !important;
}

.btn-outline-secondary:hover i {
  color: #fff !important;
}
