@font-face {
  font-family: "Regular";
  src: url("../fonts/Inter-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Medium";
  src: url("../fonts/Inter-Medium.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "SemiBold";
  src: url("../fonts/Inter-SemiBold.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Black";
  src: url("../fonts/Inter-Black.ttf");
  font-weight: normal;
  font-style: normal;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000 !important;
    line-height: 30px !important;
    font-size: 18px !important;
}

.footer-salvar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff; /* mesma cor do fundo da página */
  padding: 1rem 2rem;
  /* border-top: 1px solid #ccc; */
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
  text-align: right;
  width: 100%;
  z-index: 11 !important;
}

.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.linha-abaixo-texto {
  border-bottom: 3px solid var(--vermelho-500);
  padding-bottom: 1.5rem;
}

.titulo-pagina {
  font-family: "SemiBold";
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--preto-500);
}

.texto {
  color: var(--preto-500) !important;
  font-weight: 600;
  font-size: 0.875rem;
}

.aba {
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--vermelho-500);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 1px 5px;
}

.voltar {
  padding: 0.5rem 1.5rem;
}

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

.invalid-form,
.invalid-image {
  border: 1px solid var(--vermelho-500) !important;
}

.bg-filtrando {
  /* background-color: rgba(28, 200, 138, .4); */
  /* background-color: #FFF; */
  background-image: linear-gradient(180deg, #d5c06b2b 10%, #d5c06b3b 100%);
  background-size: cover;
}

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

.sidebar.toggled .nav-item.active .nav-link span {
  font-family: "Black" !important;
}

.sidebar.toggled .nav-item .nav-link span {
  font-family: "Regular" !important;
}

/* Login */
.bg-login-image {
  background-image: url("/img/img_restrito.png");
  opacity: 0.9;
}

.bg-password-image {
  background-image: url("/img/img_restrito.png");
  opacity: 0.9;
}

.footer-login p {
  color: #d6d6d6;
  font-size: small;
}

.footer-login img {
  height: 23px;
}

.center {
  text-align: center;
}

.stepper {
  padding: 8px;
  cursor: pointer;
  border: 1px solid #e5e5e5;
  color: #8e8e8e;
  border-radius: 4px;
  margin-right: 4px;
  margin-left: 4px;
  font-size: 18px;
}

.stepper-active {
  background-color: #bfbfbf;
  color: #fff;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
  padding: 8px;
  font-size: 18px;
}

.stepper:hover {
  background-color: #bfbfbf;
  color: #ffffff;
}

.checkbox {
  display: flex;
  align-items: center;
}

.checkbox input[type="checkbox"] {
  width: 40px !important;
}

.border-left-dashboard {
  border-left: 0.25rem solid #d5c06b !important;
}

.text-yellow {
  color: #d5c06b !important;
}

.text-gray {
  color: rgb(195 195 195) !important;
}

.bg-yellow {
  background-color: #d5c06b !important;
}

.bg-black {
  background-color: rgb(54 54 54) !important;
}

/* #logo {
  border-radius: 8px;
  width: auto;
  height: 80px;
  margin-left: 5px;
  object-fit: cover;
  background-color: #e8e8e8;
} */

.margin-icon-add {
  margin-left: 5px;
  margin-right: 5px;
}

.margin-icon-filter {
  margin-right: 5px;
}

.btn-ver {
  width: 60px !important;
  font-family: "Regular";
  background-color: var(--preto-300);
  border-color: var(--preto-300) !important;
  color: var(--branco);
}

.btn-ver:active,
.btn-ver:hover {
  color: var(--branco) !important;
  background-color: var(--preto-500);
  border-color: var(--preto-500);
}

i {
  color: inherit !important;
}

.table > thead:first-child > tr:first-child > td {
  color: #000000;
  font-family: "Medium" !important;
}

/* #lista-permissoes>thead:first-child>tr:first-child>td{
  color: #858796a6 !important;
} */

#lista-permissoes td,
#lista-permissoes th {
  color: #858796e3 !important;
}

.font-regular {
  font-family: "Regular" !important;
}

.font-medium {
  font-family: "Medium" !important;
}

.font-semi-bold {
  font-family: "SemiBold" !important;
}

.font-bold {
  font-family: "Bold" !important;
}

.font-black {
  font-family: "Black" !important;
}

label {
  font-family: "Regular";
}

.switch {
  position: relative;
  display: inline-block;
  width: 55px;
  height: 27px;
  margin-right: 5px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-banner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 18px;
  margin: 0px;
}

.switch-banner input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--cinza-100);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider-banner {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #de1717b9;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider-banner:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 1px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #17ac17c0;
  background-color: var(--vermelho-500);
}

input:focus + .slider {
  /* box-shadow: 0 0 1px #17ac17c0; */
  box-shadow: 0 0 1px var(--vermelho-500);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round,
.slider-banner.round {
  border-radius: 34px;
}

.slider.round:before,
.slider-banner.round:before {
  border-radius: 50%;
}

.produto {
  list-style-type: none;
}

.foto_loja {
  width: 45% !important;
  height: 167px !important;
  object-fit: cover !important;
  border-radius: 5px !important;
}

.switch-modalidades {
  width: 47px !important;
  height: 20px !important;
}

.slider-modalidades.round-modalidades:before {
  width: 13px !important;
  height: 13px !important;
}

.div-categorias {
  display: flex !important;
  flex-wrap: wrap !important;
}

.logo_categoriaa {
  border-radius: 13px;
  width: 90px;
  height: 90px;
  margin-left: 5px;
  object-fit: cover;
  background-color: #e8e8e8;
}

.nav-link img {
  height: 20px;
  width: 20px;
  margin-bottom: 7px;
}

.nav-link .icone-menu {
  height: 24px !important;
  width: 24px !important;
}

.nav-link .cupom {
  height: 34px !important;
  width: 33px !important;
}

.nav-link .segmento_cupom {
  width: 45px !important;
  height: 42px !important;
}

.bootstrap-select > .dropdown-toggle.bs-placeholder,
.bootstrap-select > .dropdown-toggle.bs-placeholder:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder:hover {
  color: #3a3b45d3 !important;
  background-color: #ffffff !important;
}

.select-disabled {
  /* background-color: rgb(234 236 244 / 38%) !important; */
  border: 1px solid #d1d3e2 !important;
}

.not-disabled {
  background-color: rgb(255 0 0 / 100%) !important;
}

#caixa-loading {
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  outline: 0;
  align-items: center;
  justify-content: center;
}

#caixa-loading .loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3a3b45d3;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 1s linear infinite;
}

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

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

.disabled {
  background-color: rgb(234 236 244 / 38%);
  opacity: 1;
  pointer-events: none;
  cursor: not-allowed;
}

span.multiselect-native-select select {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px -1px -1px -3px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  left: 50%;
  top: 30px;
}

.btn,
.btn-primary,
.btn-block {
  border: 1px solid #e5e5e5;
  /* font-weight: bold; */
}

/* TODO styles de cards de produto */

.card-produto {
  box-shadow: 0px 8px 12px rgb(227 220 199 / 50%);
  margin-right: 15px;
  border-radius: 10px;
}

.card-produto-banner {
  position: relative;
  box-shadow: 0px 8px 12px rgb(227 220 199 / 50%);
  border-radius: 10px;
  height: inherit;
  width: calc(25.1% - 10px);
  border-radius: 5px;
}

.card-produto-banner-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: fit-content;
  padding: 0px 10px;
  gap: 10px;
  cursor: pointer;
}

.card-produto-banner-content-text p,
.card-produto-banner-content-text h5 {
  font-size: 20px;
  color: #000000;
}

.card-produto-banner-tag-container {
  display: flex;
  flex-wrap: wrap;
}

.card-produto-banner-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: fit-content;
  height: fit-content;
  background-color: #59626a;
  padding: 5px 9px;
  border-radius: 5px;
  text-align: center;
}

.card-produto-banner-tag p {
  margin: 0px;
  color: white;
  font-size: 14px;
}

.card-produto-acoes {
  display: flex;
  justify-content: center;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.79);
  z-index: 10;
  padding-top: 20px;
  align-items: center;
}

.card-body-produto {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 44px;
}

.card-body div div div label {
  color: var(--cinza-300);
  font-weight: 700;
  font-size: 0.875rem;
}

.card-body div div div input,
.card-body div div div select,
.card-body div div div textarea {
  border-color: var(--cinza-200);
}

.card-body-ver-status {
  display: flex;
  flex-direction: row;
  height: fit-content;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.card-body-ver-status p {
  font-size: 16px;
  color: #000c0b;
  margin: 0;
}

.card-body-ver-status > p {
  font-weight: bold;
}

.card-body-ver-status > div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: fit-content;
  gap: 8px;
}

.container-horario-cadastro,
.container-horario-cadastro > div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.container-horario-cadastro p {
  padding-left: 1rem;
}

.container-horario-cadastro > div {
  padding: 0 2rem;
}

.dia-checkbox:checked + label {
  background-color: #c81417;
  color: white;
  border: 1px solid #c81417;
}

.dia-checkbox + label {
  background-color: white;
  color: #000c0b;
  border: 1px solid #000c0b;
}

.horario-section {
  display: flex;
  flex-direction: row;
  width: 45rem;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
}

.horario-section h5 {
  color: #000c0b;
  padding-top: 14px;
  min-width: fit-content;
  margin-bottom: 0 !important;
}

.horario-section h5 span {
  margin-top: 10px;
  height: 100%;
  align-self: flex-start;
  justify-self: center;
  margin: 0;
}

.hora-abertura,
.hora-fechamento {
  width: 120px;
}

#dias-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
}

#dias-container > div input {
  display: none;
}

#dias-container > div label {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.horarios-group {
  min-width: fit-content;
}

.horarios-group > div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: end;
  gap: 15px;
  padding: 10px !important;
}

.horarios-group > div .botao-disponibilidade {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 24px;
  width: 24px;
  background-color: white;
  border-radius: 50%;
  border: 1px solid #000c0b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000c0b;
}

.horarios-group > div input {
  height: 40px;
  width: 163px;
  border-radius: 5px;
  border: 1px solid #000c0b;
}

.horarios-group label {
  font-size: 14px;
  margin: 0;
}

#horarios-container {
  margin-top: 20px;
  gap: 1.5rem;
}

.card-produto-banner-options #trash-icon {
  margin-top: 1px;
  color: #c81417 !important;
  cursor: pointer;
}

.card-produto-banner-options {
  position: absolute;
  display: flex;
  flex-direction: row;
  top: 4px;
  right: 3px;
  gap: 10px;
  padding: 5px 10px;
  background-color: white;
  border-radius: 5px;
  height: fit-content;
  width: fit-content;
}

.card-produto-img {
  width: 100%;
  height: 165px;
  margin-bottom: 20px;
  border-radius: 20px;
  object-fit: cover;
}

.card-produto-img-banner {
  width: 100%;
  height: 165px;
  margin-bottom: 15px;
  object-fit: cover;
  border-radius: 5px 5px 0px 0px;
}

.card-produto-descricao {
  display: flex;
  flex-direction: column;
  align-items: start !important;
  justify-content: start;
  max-height: 7rem !important;
  overflow-y: scroll;
  gap: 0.5rem;

  /* text-overflow: ellipsis;
  white-space: break-spaces;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5em; */
}

.card-produto-descricao span {
  width: 100% !important;
}

.card-produto-banner-descricao {
  width: 100%;
  height: 3.3em;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  white-space: break-spaces;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limita o texto a 2 linhas */
  -webkit-box-orient: vertical;
  font-size: 16px;
  color: #343434;
  font-weight: bold;
}

.card-produto-bold {
  min-height: 3rem !important;
  font-weight: 700;
  color: black;
}

.card-produto-cadastro {
  min-height: 22rem !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.card-produto-button-cadastro {
  width: 70px;
  height: 70px;
  justify-content: center;
  align-items: center;
  display: flex !important;
  border-radius: 15%;
}

.icon-ordem {
  margin-right: 7px;
  font-size: 20px;
  cursor: pointer;
}

.ordem-categorias {
  display: flex;
  margin-bottom: 15px;
  align-items: baseline;
}

.icon-ordem-opcional {
  font-size: 16px !important;
  margin-right: 5px !important;
}

.sidebar #sidebarToggle {
  border-radius: 11px !important;
  border: 3px solid var(--vermelho-500) !important;
  height: 31px;
  width: 31px;
  background-color: var(--branco);
}

.sidebar-dark.toggled #sidebarToggle::after {
  color: var(--vermelho-500);
}

.sidebar #sidebarToggle::after {
  color: var(--vermelho-500);
}

.sidebar-dark .nav-item.active .nav-link,
.sidebar-dark .nav-item .nav-link:active,
.sidebar-dark .nav-item .nav-link:focus,
.sidebar-dark .nav-item .nav-link:hover {
  color: white !important;
  background-color: #464646 !important;
  border-radius: 0.5rem;
}

.border-left-dashboard {
  border-left: 0.25rem solid #464646 !important;
}

.google-map {
  height: 40vh;
}

.hidden_mapa {
  display: none;
}

.paginacao {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 35px;
  padding-bottom: 30px;
}

.paginacao div span {
  color: #000c0b;
}

.paginacao div .stepper-active {
  color: white;
  background-color: #000c0b;
}

.paginacao div .stepper-before {
  padding: 10px;
  border-top: 1px solid #0f0f0f;
  border-left: 1px solid #0f0f0f;
  border-bottom: 2px solid #0f0f0f;
  border-radius: 5px 0px 0px 5px;
}

.paginacao div .stepper-next {
  padding: 10px;
  border-top: 1px solid #0f0f0f;
  border-right: 1px solid #0f0f0f;
  border-bottom: 2px solid #0f0f0f;
  border-radius: 0px 5px 5px 0px;
}

.paginacao div .stepper {
  padding: 10px;
  margin: 0;
  border: 1px solid #0f0f0f;
  border-bottom: 2px solid #0f0f0f;
  border-radius: 0px;
  font-size: 16px;
}

.container-check-box {
  display: flex;
  justify-content: right;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.check-box {
  display: flex;
  padding-left: 10px;
  gap: 16px;
  text-align: center;
}

.check-box p {
  margin-top: 15px;
}

/* cards modulo */
.container-card-modulo {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.card-modulo {
  width: 235px;
  height: 110px;
  background-color: #fff;
  justify-content: space-between;
  display: flex;
  border-radius: 5px;
  padding: 20px 20px 10px 20px;
}

.card-modulo .qtd-dados {
  font-size: 24px;
  color: black;
  font-weight: 700;
}

.card-modulo .informacao-sobre {
  color: black;
}

.container-informacoes-card-modulo {
  display: flex;
  flex-direction: column;
}

.card-modulo .container-image-card-modulo {
  width: 35px;
  height: 35px;
  background-color: #fff;
  /* border-radius: 100%; */
}

.card-modulo .container-image-card-modulo i {
  color: var(--vermelho-500) !important;
  font-size: 1.5rem;
}

.card-header-filtro-select {
  margin-top: -16px;
  display: flex;
  padding: 20px 20px 0px 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.card-header-filtro-select .btn-select-filtrar {
  border: none;
  background-color: transparent;
}

/* TODO styles de cards de produto */

.editar-imagem-card-produto {
  position: absolute;
  right: 30px;
  top: 30px;
  display: flex;
  gap: 15px;
  background: white;
  box-shadow: 0px 0px 10px 1px #00000050;
  padding: 5px;
  border-radius: 5px;
  cursor: auto;
}

.editar-imagem-card-produto img {
  cursor: pointer;
  width: 25px;
  height: 25px;
}

.icone-editar-imagem:hover,
.icone-excluir-imagem:hover {
  color: black !important;
}

.card-produto {
  box-shadow: 0px 8px 12px rgb(227 220 199 / 50%);
  margin-right: 20px;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e5e5e5;
  width: 16rem;
}

.card-produto-informacoes {
  padding: 10px;
}

.card-produto-acoes {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.79);
  z-index: 10;
  padding: 10px;
}

.texto-vermelho {
  color: #c81417;
}

.texto-underline {
  text-decoration: underline;
}
.cursor-pointer {
  cursor: pointer;
}

.scroll-produtos {
  width: auto;
  display: flex;
  max-width: 100%;
  overflow-x: auto;
  padding: 10px;
}

.produtos-container {
  display: flex;
}
/* Força o Select2 a ter altura igual ao input padrão */
.select2-container .select2-selection--single {
  height: calc(1.5em + 0.75rem + 2px) !important;
  padding: 0.2rem;
  /* border: 1px solid #000 !important; */
  border-radius: 0.375rem;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: normal;
  padding-left: 0;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
  right: 10px;
}

/* .select2-container {
  width: 100% !important;
} */

/* ===== REGRAS UNIVERSAIS DO SIDEBAR ===== */
/* Aplicar em todas as telas */

/* Sidebar Toggle Button - Universal */
#sidebarToggle {
  transition: all 0.3s ease !important;
  border: none !important;
  background: transparent !important;
  color: white !important;
  padding: 6px !important;
  border-radius: 50% !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  margin: 0 auto !important;
}

#sidebarToggle:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

#sidebarToggleIcon {
  transition: transform 0.3s ease !important;
  font-size: 10px !important;
  color: white !important;
}

/* Ocultar pseudo-elemento padrão */
#sidebarToggle::after {
  display: none !important;
}

/* Centralização perfeita */
.sidebar .text-center.d-none.d-md-inline {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

/* Ícones dos módulos - Brancos e Alinhados à Esquerda */
.sidebar .nav-item .nav-link i {
  color: white !important;
  text-align: left !important;
  margin-right: 0.5rem !important;
  display: inline-block !important;
  width: auto !important;
}

/* Sobrescrever CSS específico do sidebar-dark */
.sidebar-dark .nav-item .nav-link i {
  color: white !important;
  margin-right: 0.5rem !important;
}

.sidebar-dark .nav-item .nav-link {
  /* justify-content: flex-start !important; */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estados ativos, hover, focus */
.sidebar-dark .nav-item.active .nav-link,
.sidebar-dark .nav-item .nav-link:active,
.sidebar-dark .nav-item .nav-link:focus,
.sidebar-dark .nav-item .nav-link:hover {
  color: white !important;
  background-color: #464646 !important;
  border-radius: 0.5rem !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

.sidebar-dark .nav-item.active .nav-link i,
.sidebar-dark .nav-item .nav-link:active i,
.sidebar-dark .nav-item .nav-link:focus i,
.sidebar-dark .nav-item .nav-link:hover i {
  color: white !important;
  text-align: left !important;
  margin-right: 0.5rem !important;
}

/* Sidebar colapsado */
.sidebar.toggled {
  width: 5rem !important;
}

.sidebar.toggled .sidebar-brand-text,
.sidebar.toggled .nav-item span,
.sidebar.toggled .sidebar-heading {
  display: none !important;
}

/* Estilos para sidebar colapsado - visibilidade controlada via JavaScript */

.sidebar.toggled .nav-item {
  text-align: center !important;
}

.sidebar.toggled .nav-link {
  padding: 1rem 0.5rem !important;
  text-align: center !important;
  justify-content: center !important;
  width: 2rem !important;
}

.sidebar.toggled .nav-link i {
  margin-right: 0 !important;
  font-size: 1.2rem !important;
  color: white !important;
  text-align: center !important;
}

.sidebar.toggled .sidebar-brand {
  padding: 1rem 0.5rem !important;
  justify-content: center !important;
}

.sidebar.toggled .sidebar-brand-icon {
  margin-right: 0 !important;
}

.sidebar.toggled .sidebar-brand-icon img {
  width: 2rem !important;
  height: auto !important;
}

/* Responsividade */
@media (max-width: 768px) {
  .sidebar.toggled {
    width: 4rem !important;
  }

  .sidebar.toggled .nav-link {
    width: 1.5rem !important;
  }

  .titulo-pagina {
    font-size: 15px !important;
    margin: 0;
  }
}

/* ===== FUNCIONALIDADE DE OCULTAR SIDEBAR ===== */
/* Aplicar quando necessário esconder o sidebar */

.sidebar-hidden .sidebar {
  display: none !important;
}

.sidebar-hidden #content-wrapper {
  margin-left: 0 !important;
  width: 100% !important;
}
