html {
  height: 100%;
  overflow-x: hidden;
}
body {
  min-height: 100%;
  font-style: none;
  overflow-x: hidden;
  background: radial-gradient(circle at top, #f1f5f9 0%, #e2e8f0 35%, #cbd5f5 100%) !important;
  background-color: transparent !important;
}

.content-wrapper{
  background: transparent !important;
}
.in-transfer {
  color: red;
  font-weight: bold;
}

.hover-none:hover{
  background-color: transparent;
  color: inherit !important;
}


.sidebar-brand .brand-text{
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
  display: block !important;
  text-align: left;
  color: #f8fafc;
  text-transform: uppercase;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-panel{
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  transition: all 0.2s ease;
  min-height: auto;
}
.brand-link{
  line-height: 1.9;
}

.sidebar .user-panel .info{
margin-top: 10px;
padding-top: 10px;
}

.sidebar-user-avatar{
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: none;
  box-shadow: none;
}

.sidebar{
	overflow: hidden;
}


.nav-sidebar .nav-item > .nav-link{
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f1f5f9;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-sidebar .nav-item > .nav-link p{
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: inherit;
}

.nav-sidebar .nav-item > .nav-link i{
  min-width: 22px;
  text-align: center;
  font-size: 1.15rem;
  color: #94a3b8;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-sidebar .nav-item > .nav-link:hover,
.nav-sidebar .nav-item > .nav-link.active{
  background: rgba(59, 130, 246, 0.12);
  color: #e0f2fe;
}

.nav-sidebar .nav-item > .nav-link:hover i,
.nav-sidebar .nav-item > .nav-link.active i{
  color: #38bdf8;
  transform: translateX(3px);
}

.btnTituloCol{
	border: none;
	background-color: transparent;
	/*width: 100%;*/
	text-align: left;
	font-weight: bold;
	font-size: 14px;
	color: #495057;
	
	/*outline-color: red;*/
	outline: none;
}
.btnTituloCol:active{
	outline: none;
}

.btnTituloCol .icone{
	visibility: hidden;
}
.btnTituloCol:hover .icone{
	visibility: visible;
}


.tableListagens tbody tr{
 cursor: pointer;
}
.tableListagens tbody tr:hover{
	background-color:#DCDCDC;
	/*color: red;*/
}


#radios-colors {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 50px;
}

#radios-colors:after {
  content: "";
  clear: both;
}

#radios-colors .color {
  /*border: 1px solid #ccc;*/
  box-sizing: border-box;
  float: left;
  height: 30px;
  position: relative;
  width: 30px;
  border-radius: 30px 30px 30px 30px;
}

#radios-colors .color + .color {
  margin-left: 5px;
}

#radios-colors .color label {
  background: #fff no-repeat center center;
  bottom: 1px;
  cursor: pointer;
  display: block;
  font-size: 0;
  left: 1px;
  /*position: absolute;*/
  right: 0px;
  text-indent: 100%;
  top: 0px;
  white-space: nowrap;
  border-radius: 30px 30px 30px 30px;
  height: 30px;
  border: 1px solid #DCDCDC;

}


#radios-colors .color input{
 position: absolute; display: none;
 opacity: 0;
}

#radios-colors input:checked + label:after {
  background-image: url("../img/check.png");
  background-size: 20px 20px;
  background-repeat: no-repeat;
  /*background-color: red;*/
  bottom: -5px;
  content: "";
  display: inline-block;
  height: 30px;
  position: absolute;
  right: -5px;
  width: 30px;
}

#radios-colors .color1 label {
  background-color: #FFF;
}
#radios-colors .color1{
  /*border-color: red;*/
}
#radios-colors .color2 label {
  background-color: #f4de14;
}
#radios-colors .color2{
  border-color: #f4de14;
}
#radios-colors .color3 label {
  background-color: #f4deb4;
}
#radios-colors .color3{
  border-color: #f4deb4;
}
#radios-colors .color4 label {
  background-color: #54bee4;
}
#radios-colors .color4{
  border-color: #54bee4;
}
#radios-colors .color5 label {
  background-color: #d40271;
}
#radios-colors .color5{
  border-color: #d40271;
}
#radios-colors .color6 label {
  background-color: #fc4e04;
}
#radios-colors .color6{
  border-color: #fc4e04;
}
#radios-colors .color7 label {
  background-color: #cce224;
}
#radios-colors .color7{
  border-color: #cce224;
}


.coloracaoGrid{
  position: absolute; width: 20px;height: 20px;border-radius: 20px 20px 20px 20px; border: 1px solid #DCDCDC;
}
.coloracao1{
  background-color: #FFF;
}
.coloracao2{
  background-color: #f4de14;
}
.coloracao3{
  background-color: #f4deb4;
}
.coloracao4{
  background-color: #54bee4;
}
.coloracao5{
  background-color: #d40271;
}
.coloracao6{
  background-color: #fc4e04;
}
.coloracao7{
  background-color: #cce224;
}


.modal-backdrop {
  width: 100% !important;
  height: 100% !important;
}


.meuTextoCortado{
  white-space: nowrap; max-width: 200px; overflow: hidden; text-overflow: ellipsis; padding-top: 17px;
}


.table .textoCortado{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 0;
}

.logs {
  max-height: 150px; 
  overflow-y: auto; 
  border: 1px solid #ccc; 
  padding: 10px;
}


.produto-container{
  margin-left: 10px;
 
}

.marca-group{
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 50px;
}

.selecionar-todos{
  margin-left: 10px;
}

.produto-item{
  display: flex; 
  align-items: center;
  width: 300px;
  margin-top: 5px;
  margin-right: 5px;
  padding: 10px;
  background-color: #FFF;
}

.produto-item label{
  margin-left: 5px;
}

/* Telefones em paisagem e abaixo */
/*@media (max-width: 480px) { */
     /* estilos aqui */
 /*}*/

/* Telefones em paisagem a tablet em retrato */
@media (max-width: 767px) {
  /* Garantir que o header fique fixo e visível */
  .main-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040 !important;
    width: 100% !important;
  }

  /* Ajustar conteúdo para não ficar atrás do header */
  .content-wrapper {
    margin-top: 57px;
  }

  /* Corrigir dropdowns do navbar para mobile */
  .navbar-nav .dropdown-menu {
    position: fixed !important;
    right: 10px !important;
    left: auto !important;
    max-width: calc(100vw - 20px);
    z-index: 1050 !important;
    transform: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: none;
  }

  /* Garantir que dropdown apareça quando ativo */
  .navbar-nav .dropdown.show .dropdown-menu,
  .navbar-nav .dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Garantir que dropdown do usuário apareça */
  .navbar-nav .nav-item.dropdown .dropdown-menu {
    margin-top: 0;
    top: 45px !important;
  }

  /* Links dentro do dropdown mais fáceis de clicar */
  .navbar-nav .dropdown-menu .dropdown-item {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Ajustar select de troca de vendedor */
  .navbar-nav select.nav-link {
    max-width: 150px;
    font-size: 12px;
    padding: 5px;
  }

  /* Melhorar visibilidade dos ícones do navbar */
  .navbar-nav .nav-link {
    padding: 0.5rem !important;
  }

  .navbar-nav .nav-link i {
    font-size: 1.2rem;
  }

  /* Garantir que backdrop não bloqueie cliques */
  .dropdown-backdrop {
    display: none !important;
  }

  /* Ajustar cards coloridos (small-box) para mobile */
  .small-box .inner h3,
  .small-box .inner h4 {
    font-size: 1.5rem !important;
    margin-bottom: 5px;
  }

  .small-box .inner p {
    font-size: 0.75rem !important;
    line-height: 1.2;
  }

  .small-box .icon {
    font-size: 50px !important;
  }

  .small-box .icon i {
    top: 5px !important;
  }

  /* Ajustar padding dos cards */
  .small-box > .inner {
    padding: 8px 10px;
  }

  /* Ajustar altura mínima dos cards */
  .small-box {
    min-height: 90px !important;
  }

}

.stock-dropdown-card{
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.stock-dropdown-table{
  width: 100%;
  table-layout: fixed;
  font-size: 0.85rem;
}

.stock-dropdown-table thead th,
.stock-dropdown-table tbody td{
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
}

.stock-dropdown-table tbody td:first-child .stock-dropdown-link{
  white-space: normal;
}

.stock-dropdown-table thead th:first-child,
.stock-dropdown-table tbody td:first-child{
  width: 65%;
}

.stock-dropdown-table thead th:nth-child(2),
.stock-dropdown-table tbody td:nth-child(2),
.stock-dropdown-table thead th:nth-child(3),
.stock-dropdown-table tbody td:nth-child(3){
  width: 17.5%;
}

.stock-dropdown-table thead th{
  border-top: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 600;
  color: #475569;
}

.stock-dropdown-table tbody tr td{
  border-color: rgba(15, 23, 42, 0.05);
  vertical-align: middle;
}

.stock-dropdown-table tbody tr:hover{
  background: rgba(59,130,246,0.08);
}

.stock-dropdown-link{
  color: #0f172a;
  transition: color 0.2s ease;
}

.stock-dropdown-link:hover{
  color: #2563eb;
}

.custom-scroll::-webkit-scrollbar{
  width: 6px;
}

.custom-scroll::-webkit-scrollbar-thumb{
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}

.page-title{
  gap: 10px;
  font-weight: 600;
  color: #0f172a;
  font-size: 1.2rem;
}

.page-title-icon{
  font-size: 1rem;
  color: inherit;
}

/* Tablet em retrato a paisagem e desktop */
/*@media (min-width: 768px) and (max-width: 979px) {*/
     /* estilos aqui */
/*}*/

/* Desktop grande */
@media (min-width: 1200px) {
    body{
     zoom: 0.9;
    }
}

