@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Wix+Madefor+Text:ital,wght@0,400..800;1,400..800&display=swap');
body {
  background-color: #fff !important;
}
.super-contenedor {
  background-color: rgb(245, 245, 245) !important;
}
.panel-medio-principal {
  position: relative !important;
  background-color: rgb(245, 245, 245) !important;
}
.panel-medio {
  margin-top: 8px !important;
  background-color: rgb(245, 245, 245) !important;
}
.ini-box-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ini-box-tools .btn-group {
  margin-left: 0;
}
.panel-medio .box-header {
  padding-left: 30px !important;
  font-size: 1.3em !important;
  border-bottom: 1px solid rgb(224, 224, 224);
}
.panel-medio .box-header .box-title {
  font-size: 1.1em !important;
  text-transform: uppercase !important;
  font-weight: 300 !important;
}
.main-sidebar {
  background-color: rgb(255, 255, 255) !important;
}
.main-sidebar .sidebar {
  background-color: white;
  color: black !important;
  box-shadow: 1px 0 0 rgb(243, 243, 243) !important;
  padding: 0 !important;
  /* top: 50px !important; */
}

.cabecera-m {
  /* background-image: linear-gradient(105.3deg, rgb(60, 15, 196)87.2%, rgb(75, 26, 224) 57.2%) !important; */
  background-image: linear-gradient(
    105.3deg,
    rgb(20, 16, 129) 85.8%,
    rgb(55, 19, 164) 10.2%
    
  );

}

.cabecera-m .logo {
  /* background:  rgb(69, 79, 160) !important; */
  /* background-image: linear-gradient(105.3deg, rgb(75, 26, 224) 22.2%, rgb(60, 15, 196) 92.2%) !important; */
  background-image: linear-gradient(
    105.3deg,
    rgb(61, 22, 180) 10.2%,
    rgb(20, 16, 129) 62.2%
  );
  
}

/* SIDEBAR-MENU */
.main-sidebar .sidebar p,
.main-sidebar .sidebar span {
  color: black !important;
}
.main-sidebar .sidebar i {
  color: rgb(20, 16, 129) !important;
}
.user-panel2 {
  display: flex !important;
  width: 100% !important;
  flex-flow: column !important;
  justify-content: center !important;
  align-items: center !important;
  align-content: center !important;
  margin: 0;
  padding: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
/* .user-panel2 .image{
    position:  relative !important;
    width: 100% !important;
    text-align: center;
    padding: 2px;

} */
/* .user-panel2  img{
    position:  relative !important;
    width: 120px !important;
   border-left-color: rgb(111, 111, 255) !important;
   border: 2px solid white;

} */
.user-panel2 .info {
  width: 100% !important;
  text-align: center;
  padding: 0px;
  margin-top: 5px;
}

.dashboard-header button {
  /* background-image: linear-gradient(
    105.3deg,
    rgb(81, 31, 230) 62.2%,
    rgb(101, 51, 255) 62.2%
  ); */
  /* background-image: linear-gradient(
    105.3deg,
    rgb(255, 255, 255) 62.2%,
    rgb(255, 255, 255) 62.2%
  ); */
  background-color: #00000000;
  outline: 0;
  border-style: none;
  border-radius: 8px;
  margin-left: 20px !important;
  font-size: 1em !important;
  color: rgb(97, 97, 97);
  padding: 0.6em 0.9em 0.6em 0.9em !important;
  text-transform: uppercase;
}
.img-user-b {
  position: relative !important;
  width: 35px !important;
  height: 35px !important;
  /* border-left-color: rgb(111, 111, 255) !important;
   border: 2px solid white; */
  box-shadow: 1px 0 0 0 white !important;
}
.sidebar-menu {
  height: auto !important;
  font-weight: 500 !important;
  color: #333 !important;
  letter-spacing: 0.5px !important;
  background-color: rgb(255, 255, 255) !important;
  white-space: nowrap !important;
  overflow-y: auto !important;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.sidebar-menu::-webkit-scrollbar {
  width:5px; /* Tamaño del scroll en vertical */
}

.sidebar-menu::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 3px;
}.sidebar-menu::-webkit-scrollbar-thumb:hover {
  background: #dcdcdc;
  border-radius: 3px;
}

.sidebar-collapse .treeview a {
  width: 100% !important;
}

.sidebar-collapse .treeview-menu {
  width: 235px !important;
}
.sidebar-menu li > a {
  color: rgb(245, 245, 245) !important;
  background-color: rgb(255, 255, 255) !important;
  font-size: 13px;
  padding-left: 8px !important;
  letter-spacing: normal !important;
}
.sidebar-menu li > a:hover {
  background-color: rgb(245, 245, 245) !important;
}
.sidebar-menu > li:hover {
  background-color: rgb(230, 230, 230) !important;
}
.sidebar-menu .treeview > ul {
  background-color: rgb(255, 255, 255) !important;
  color: #000;
}
/* .sidebar-menu .treeview > ul:hover {
    background-color:rgb(230, 230, 230) !important;
} */
.sidebar-menu .treeview .treeview-menu > li {
  padding: 0.4em !important;
  background-color: rgb(248, 248, 248) !important;
  letter-spacing: normal !important;
}
.sidebar-menu .treeview .treeview-menu li > a {
  color: #000 !important;
  background-color: rgb(231, 231, 231, 0) !important;
}
.sidebar-menu .treeview .treeview-menu li > a:hover {
  color: #000;
}
.sidebar-menu .treeview .treeview-menu > li:hover {
  background-color: rgb(233, 233, 233) !important;
}
.sidebar-menu .menu-ini-p a {
  padding: 1em;
  background-color: rgb(255, 255, 255) !important;
}
.rounded {
  box-shadow: 1px 0 0 white !important;
  border-radius: 15px 15px !important;
  border-style: none;
}
.dashboard-header {
  background-color: rgb(255, 255, 255) !important;
  border-radius: 5px !important;
  margin-top: 10px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.dashboard-header button i {
  margin-right: 6px !important;
}
.boton-user {
  /* background-image: linear-gradient(
    105.3deg,
    rgb(20, 16, 129) 85.8%,
    rgb(55, 19, 164) 10.2%
  ); */
  background-color: rgb(245, 245, 245) !important;
  /* border-radius: 2em; */
  color: #000000 !important;
  outline: 0;
  border-style: none;
  width: 100% !important;
  font-size: 0.9em !important;
  letter-spacing: 1px;
}
.icon-user {
  color: #fff !important;
  background-color: #fff !important;
  padding: 4px !important;
  border-radius: 2em !important;
  margin-right: 4px !important;
}
.tabla-items thead  {
  border: 0 !important;
  /* background-image: linear-gradient(105.3deg, rgb(60, 15, 196)87.2%, rgb(75, 26, 224) 57.2%) !important;
  background-image: linear-gradient(105.3deg, rgb(27, 27, 145) 85.8%, rgb(28, 55, 162) 10.2%) !important; */
  background-color: #f4f4f4 !important;
  color: #000 !important;
}
.tablaVentas thead,
.tablaGuias thead,
.tablaCotizaciones thead {
  /* background-image: linear-gradient(105.3deg, rgb(27, 27, 145) 85.8%, rgb(28, 55, 162) 10.2%) !important; */
  background-repeat: no-repeat;
  background-color: #f4f4f4 !important;
  color: #000 !important;
}
/* .btn-radius:link {
  background-color: #21d4fd;
  background-image: linear-gradient(19deg, #21d4fd 0%, #b721ff 100%) !important;
}
.btn-radius:visited {
  background-color: #21d4fd;
  background-image: linear-gradient(19deg, #21d4fd 0%, #b721ff 100%) !important;
}
.btn-radius:hover {
  background-color: #21d4fd;
  background-image: linear-gradient(
    105.3deg,
    rgb(97, 109, 201) 21.8%,
    rgb(118, 156, 253) 100.2%
  ) !important;
}
.btn-radius:active {
  background-color: #21d4fd;
  background-image: linear-gradient(19deg, #21d4fd 0%, #b721ff 100%) !important;
} */
/* FIN BOTON-RADIUS */

/* Estilos específicos para botones de reporte de vencimiento */
.btn-radius.btn-reporte-vencimiento {
  background-color: #d32f2f !important;
  background-image: none !important;
  color: white !important;
  border: none !important;
  border-left: none !important;
}

.btn-radius.btn-reporte-vencimiento[data-tipo="vencidos"] {
  background-color: #d32f2f !important;
  background-image: none !important;
  border-left: none !important;
}

.btn-radius.btn-reporte-vencimiento[data-tipo="por_vencer"] {
  background-color: #ff9800 !important;
  background-image: none !important;
  border-left: none !important;
}

.btn-radius.btn-reporte-vencimiento:hover {
  background-color: #b71c1c !important;
  background-image: none !important;
  border-left: none !important;
}

.btn-radius.btn-reporte-vencimiento[data-tipo="por_vencer"]:hover {
  background-color: #f57c00 !important;
  background-image: none !important;
  border-left: none !important;
}

/* DATA TABLE */
.dataTables_length label,
.dataTables_filter label {
  font-size: 1.1em;
  font-weight: bold !important;
}
.box-body .table-user {
  display: flex !important;
  flex-flow: row wrap !important;
}
.dataTables_length {
  position: absolute;
}
.dataTables_filter {
  position: relative !important;
  float: right;
}

.table th {
  text-transform: uppercase;
  color: rgb(73, 73, 73);
  font-weight: 700 !important;
  font-size: 0.9em !important;
  letter-spacing: 0.8px !important;
  text-align: center !important;
}
.table td {
  border-style: none !important;
}
.input-group-search .btn.dropdown-toggle {
  border-style: none !important;
  border: 1px solid rgb(190, 190, 190) !important;
  border-radius: 5px !important;
  color: rgb(0, 0, 0) !important;
}

.table input[type="search"] {
  border-radius: 5px 0 0em 5px !important;
  font-size: 1.1em !important;
  font-weight: 500 !important;
  outline: 0;
  line-height: center !important;
  padding: 0.2em !important;
  letter-spacing: 1px;
  border: 1px solid rgb(190, 190, 190);
  padding-left: 10px !important;
  margin-left: 5px !important;
  height: 35px;
  border-right: 0;
}
.table .icon-search {
  border-radius: 0em 5px 5px 0em !important;
  background-image: linear-gradient(
    105.3deg,
    rgb(81, 31, 230) 62.2%,
    rgb(101, 51, 255) 62.2%
  ) !important;
  height: 35px;
  color: rgb(255, 255, 255);
  border: 1px solid rgb(190, 190, 190) !important;
}
/* FIN DATA TABLE */

/* PAGINACIÓN */
/* .dataTables_paginate{
     position: relative !important;
     width  : 100% !important;
    text-align: center !important;
    background-color: red;
    margin: 0 auto;
} */
/*.dataTables_paginate > a{

    padding: 10px;
    background-color: #ffffff;
    border-radius: 1em;
    color: #000;
    border: 1px solid #dfdfdf !important;
    cursor: pointer;
}
.dataTables_paginate span > a{
    width: 20px !important;
    height: 20px !important;
    padding: 10px;
    background-color: #ffffff;
    border-radius: .5em;
    color: #000;
    border: 1px solid #dfdfdf !important;
    cursor: pointer;
}

.dataTables_paginate span > a:link{
    background-color: #ffffff;

}
.dataTables_paginate span > a:visited{
    background-color: #ff5050;

}
.dataTables_paginate span > a:hover{
    background-color: #f1f1f1;

}
.dataTables_paginate span > a:active{
    background-color: #ff4848;

} */
/* FIN PAGINACIÓN */
/* BOTONES WEB */

.btn-un {
  background-image: linear-gradient(
    to right,
    #e52d27 0%,
    #b31217 51%,
    #e52d27 100%
  );
}
.btn-un {
  margin: 10px;
  padding: 15px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
}

.btn-un:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.btn-dos {
  background-image: linear-gradient(
    to right,
    #4776e6 0%,
    #8e54e9 51%,
    #4776e6 100%
  );
}
.btn-dos {
  margin: 10px;
  padding: 15px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
}

.btn-dos:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.btn-tres {
  background-image: linear-gradient(
    to right,
    #4cb8c4 0%,
    #3cd3ad 51%,
    #4cb8c4 100%
  );
}
.btn-tres {
  margin: 10px;
  padding: 15px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
}

.btn-tres:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.btn-cuatro {
  background-image: linear-gradient(
    to right,
    #fe8c00 0%,
    #f83600 51%,
    #fe8c00 100%
  );
}
.btn-cuatro {
  margin: 10px;
  padding: 15px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
}

.btn-cuatro:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

/* FIN BOTONES WEB */
.mg-menu {
  padding-left: 10px !important;
}
.bg-menu {
  color: rgb(255, 56, 56) !important;
}

.log-cont {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
}
.log-cont .login-box,
.log-cont .register-box {
  position: relative !important;
  margin: 0% auto !important;
  padding: 0% !important;
  top: 0 !important;
}

.logo-empresa {
  position: relative;
  width: 100%;
  height: auto !important;
  text-align: center;
  flex-flow: column !important;
  justify-content: center !important;
  align-items: center !important;
  margin-bottom: 28px;
}
.logo-empresa img {
  width: 170px !important;
}

/* RECAPTCHA */

.g-recaptcha {
  position: relative !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  transform: scale(0.9);
  -webkit-transform: scale(0.9);
  margin: 5px !important;
  border-radius: 15px !important;
}

/* LINK RECUPRERAR CONTRASEÑA */
.link-recuperar {
  padding-top: 10px;
  width: 100%;
  text-align: center;
}
/* VERIFICA SUNAT LOGO */
.verifica-sunat {
  padding-top: 10px;
  width: 100%;
  text-align: center;
}
.verifica-sunat img {
  width: 120px;
  text-align: center;
}
/* RESULT LOGIN DIV */
#resultLogin {
  width: 100%;
  text-align: center;
}
.pagination > li > a,
.pagination > li > span {
  border-radius: 5px !important;
  margin: 0 2px;
}
/* RELOAD */
#reload,
#reloadFull2 {
  position: absolute;
  display: none !important;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  display: flex !important;
  flex-flow: row wrap !important;
  justify-content: center !important;
  align-content: center !important;
  background-color: rgba(255, 9, 9, 0) !important;
  z-index: inherit !important;
}

#reload img {
  width: 80px !important;
  height: 80px !important;
  background-color: rgba(80, 27, 27, 0);
  border-radius: 100% !important;
}
.btn-menup {
  height: 50px !important;
  background-color: transparent !important;
  margin-left: 10px !important;
  outline: 0 !important;
  border-style: none !important;
}
/* #reload{
    position: relative;
    width: 100%;
  text-align: center;
    background-color: rgba(255, 9, 9, 0) !important;
}
#reload img{
width: 50px;
height: 50px;
} */
.swal2-modal {
  width: 500px !important ;
  height: auto !important ;
  font-size: 1em !important;
  border-radius: 15px !important;
}
.btns-dash {
  position: relative !important;
  height: auto !important;
  display: flex !important;
  flex-flow: row wrap !important;
  justify-content: flex-end !important;
  margin: 0px !important;
}

.btns-dash #contenedor-menur {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  width: 100%;
}

.btns-dash #contenedor-menur a:nth-child(1) {
  background: #4a5ecc00;

  color: #3a3a3a !important;
  margin: 0 !important;
}
.btns-dash #contenedor-menur a:nth-child(2) {
  background: rgba(99, 117, 252, 0) !important;
  color: #3a3a3a !important;
}
.btns-dash #contenedor-menur a:nth-child(3) {
  background: rgba(111, 104, 175, 0);
  color: #3a3a3a !important;
}
.btns-dash #contenedor-menur a {
  outline: 0 !important;
  border-style: none !important;
  border-radius: 25px;
  /* background-color: rgb(0, 119, 255) !important; */
  padding: 12px !important;
  color: #000 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600 !important;
  font-size: 0.8em;
  border-right: 8px solid #4347ca !important;
  /* border-left: 8px solid #4347ca !important; */
}
/* .btns-dash a:hover{
background-color: rgb(248, 244, 244) !important
} */
.btns-dash a i {
  color: rgb(74, 74, 74) !important;
  margin-right: 2px !important;
}

.menu-user li a {
  padding-top: 8px;
  padding-bottom: 8px;
}
.btns-dash .btn-menur {
  display: none !important;
  border-style: none !important;
  outline: 0 !important;
  padding: 0 !important;
  padding: 4px !important;
  background: rgb(255, 255, 255) !important;
  color: black !important;
}
#checkm {
  display: none !important;
}

@media (max-width: 767px) {
  .skin-blue .main-header .navbar .dropdown-menu li a {
    color: #666666 !important;
  }
  .contenedor-widget {
    justify-content: space-between;
  }
  .btns-dash {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
  }
  .btns-dash .btn-menur {
    display: inline !important;
  }
  #contenedor-menur {
    position: absolute !important;
    width: 100% !important;
    top: 0px;
    left: 0;
    transform: translateX(-102%);
    transition: all 0.3s;
  }
  #contenedor-menur a {
    width: 100% !important;
  }
  #checkm:checked ~ #contenedor-menur {
    position: relative !important;
    transform: translateX(0%) !important;
  }
}
/* BOTÓNES MODALES FOOTER  */
/* .modal-footer button, .modal-footer label{
    outline: 0 !important;
    border-radius: 5px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
  } */

.table-responsive {
  overflow-x: inherit;
}

/* WIDGRTS — Dashboard KPI moderno */
.contenedor-widget {
  position: relative;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  margin: 0 -8px 8px;
}
.dash-kpi-grid {
  justify-content: flex-start;
}
.dash-kpi-grid > [class*="col-"] {
  padding: 8px;
}
.dash-kpi {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  min-height: 96px;
  box-shadow: 0 4px 16px rgba(15, 23, 32, 0.05);
  border: 1px solid #eef2f6;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.dash-kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
}
.dash-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.dash-kpi-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.dash-kpi-label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 4px;
}
.dash-kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.dash-kpi-detail {
  margin-top: 4px;
  font-size: 12px;
  color: #94a3b8;
}
.dash-kpi-neto::before { background: #3b82f6; }
.dash-kpi-neto .dash-kpi-icon { background: #eff6ff; color: #3b82f6; }
.dash-kpi-fa::before { background: #475569; }
.dash-kpi-fa .dash-kpi-icon { background: #f1f5f9; color: #475569; }
.dash-kpi-bo::before { background: #f59e0b; }
.dash-kpi-bo .dash-kpi-icon { background: #fffbeb; color: #f59e0b; }
.dash-kpi-nv::before { background: #64748b; }
.dash-kpi-nv .dash-kpi-icon { background: #f8fafc; color: #64748b; }
.dash-kpi-nd::before { background: #22c55e; }
.dash-kpi-nd .dash-kpi-icon { background: #f0fdf4; color: #16a34a; }
.dash-kpi-nc::before { background: #ef4444; }
.dash-kpi-nc .dash-kpi-icon { background: #fef2f2; color: #ef4444; }

/* Charts dashboard */
.dash-inicio-body {
  background: transparent !important;
}
.dash-charts {
  padding: 4px 8px 16px;
}
.dash-evolucion-wrap {
  position: relative;
  width: 100%;
  height: 240px;
}
.dash-evolucion-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}
.dash-charts .row {
  margin-left: -8px;
  margin-right: -8px;
}
.dash-charts [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 16px;
}
.dash-chart-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 18px rgba(15, 23, 32, 0.05);
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
}
.dash-chart-card > .dash-chart-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.dash-charts-equal {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.dash-charts-equal > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.dash-charts-equal .dash-chart-card {
  width: 100%;
  height: 100%;
}
.dash-charts-equal .dash-hbar,
.dash-charts-equal .dash-pie-wrap,
.dash-charts-equal .dash-evolucion-wrap,
.dash-charts-equal .chart-responsive-ventas,
.dash-charts-equal .chart-responsive-mas-vendidos {
  flex: 1 1 auto;
}
.dash-charts-equal .dash-pie-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-charts-equal .dash-pie-legend,
.dash-charts-equal .dash-pie-legend-productos {
  margin-top: auto;
}
.dash-chart-head {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 10px;
}
.dash-chart-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.dash-chart-title i {
  margin-right: 8px;
  color: #94a3b8;
}
.dash-chart-body {
  position: relative;
}
.dash-pie-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1 1 auto;
}
.dash-pie-canvas {
  position: relative;
  height: 220px;
  margin: 8px 0 12px;
  width: 100%;
}
.chart-responsive-compradores,
.chart-responsive-vendedores {
  height: 100%;
}
.dash-pie-legend {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dash-pie-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #64748b;
  padding: 5px 0;
  border: 0;
}
.dash-pie-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dash-pie-wrap-comprobantes .dash-pie-legend {
  margin-top: auto;
  padding: 14px 8px 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 28px;
}
.dash-pie-wrap-comprobantes .dash-pie-legend li {
  display: inline-flex;
  padding: 0;
  white-space: nowrap;
  gap: 8px;
}
.dash-pie-legend-productos {
  margin-top: auto;
  padding: 10px 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}
.dash-pie-legend-productos li {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  max-width: 100%;
}
.dash-pie-legend-productos li span + * ,
.dash-pie-legend-productos li {
  text-align: center;
}

/* Top 5 clientes — barras horizontales (estilo imagen 2) */
.dash-hbar {
  padding: 4px 4px 2px;
}
.dash-hbar-empty {
  color: #94a3b8;
  font-size: 13px;
  padding: 48px 10px;
  text-align: center;
}
.dash-hbar-body {
  display: grid;
  grid-template-columns: minmax(140px, 34%) 1fr;
  gap: 12px;
  align-items: stretch;
  min-height: 180px;
}
.dash-hbar-ylabels {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 8px 0;
}
.dash-hbar-ylabel {
  font-size: 12px;
  color: #8e9fb1;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: .01em;
}
.dash-hbar-plot {
  position: relative;
  min-height: 180px;
  padding: 8px 0;
}
.dash-hbar-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.dash-hbar-grid span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e8edf2;
  transform: translateX(-0.5px);
}
.dash-hbar-bars {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.dash-hbar-barline {
  display: flex;
  align-items: center;
  height: 28px;
  cursor: pointer;
}
.dash-hbar-bar {
  height: 16px;
  min-width: 16px;
  background: #75d0ff;
  border-radius: 0 999px 999px 0;
  box-shadow: none;
  transition: width .4s ease, filter .15s ease;
}
.dash-hbar-barline:hover .dash-hbar-bar {
  filter: brightness(0.95);
}
.dash-hbar-axis {
  display: grid;
  grid-template-columns: minmax(140px, 34%) 1fr;
  gap: 12px;
  margin-top: 2px;
}
.dash-hbar-axis-spacer { display: block; }
.dash-hbar-ticks {
  position: relative;
  height: 22px;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #e8edf2;
  font-size: 11px;
  color: #8e9fb1;
}
.dash-hbar-ticks span {
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-weight: 400;
}
.dash-hbar-ticks span:first-child {
  transform: translateX(0);
}
.dash-hbar-ticks span:last-child {
  transform: translateX(-100%);
}
.dash-hbar-tip {
  position: fixed;
  z-index: 99999;
  min-width: 160px;
  max-width: 280px;
  padding: 10px 14px;
  background: #282c3f;
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(15, 23, 32, 0.22);
  pointer-events: none;
  font-size: 12px;
  line-height: 1.35;
}
.dash-hbar-tip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  margin-top: -6px;
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #282c3f;
}
.dash-hbar-tip-name {
  display: block;
  font-weight: 700;
  margin-bottom: 3px;
  color: #fff;
}
.dash-hbar-tip-total {
  display: block;
  color: #e8eaef;
  font-weight: 400;
}
@media (max-width: 767px) {
  .dash-hbar-body,
  .dash-hbar-axis {
    grid-template-columns: minmax(96px, 32%) 1fr;
  }
  .dash-hbar-ylabel { font-size: 10px; }
  .dash-hbar-bar { height: 14px; }
}

.panel-medio > .box.rounded {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.panel-medio .box-header-calendar {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef2f6 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 32, 0.04);
  margin-bottom: 12px;
  padding: 12px 16px !important;
}
.ini-box-tools .btn-rango-fechas,
.btn-rango-fechas.btn-calendar {
  border-radius: 10px !important;
  background-color: #4f6bed !important;
  border: 0 !important;
  padding: 7px 14px !important;
  font-weight: 600;
}
.contenedor-widget .info-box {
  background-color: #fdfdfd;
  border-radius: 25px !important;
  min-height: 65px !important;
  border: 0.5px solid rgb(239, 239, 239);
}
.contenedor-widget .info-box-icon {
  position: absolute;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 75px !important;
  height: 75px !important;
  padding: 0 !important;
  bottom: 9px;
  left: 5px;
}

.contenedor-widget .bg-fa {
  outline: 0 !important;
  border-style: none !important;
  background: rgb(99, 117, 252);
  color: #fff !important;
}
.contenedor-widget .bg-bo {
  outline: 0 !important;
  border-style: none !important;
  background: rgb(111, 104, 175);
  color: #fff !important;
}
.contenedor-widget .bg-nv {
  outline: 0 !important;
  border-style: none !important;
  background: rgb(113, 122, 251);
  color: #fff !important;
}
.contenedor-widget .bg-nc {
  outline: 0 !important;
  border-style: none !important;
  background: rgb(111, 104, 175);
  color: #fff !important;
}
.contenedor-widget .bg-nd {
  outline: 0 !important;
  border-style: none !important;
  background: rgb(88, 98, 208);
  color: #fff !important;
}
.contenedor-widget .bg-tn {
  outline: 0 !important;
  border-style: none !important;
  background: rgb(111, 104, 175);
  color: #fff !important;
}
.contenedor-widget .bg-fa,
.contenedor-widget .bg-bo,
.contenedor-widget .bg-nc,
.contenedor-widget .bg-nd,
.contenedor-widget .bg-nv,
.contenedor-widget .bg-tn {
  background-image: url("../img/recibo.png");
  background-size: 1.1em 1.1em !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 60% !important;
}
.contenedor_icbper {
  width: 100%;
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  align-content: center;
}
/* MODO PRODUCCION BOTÓN */
.modo-contenedor {
  width: 180px;
  display: flex;
  flex-flow: row;
  justify-content: center;
  margin: 0px;
}
.modo-contenedor-email {
  width: 100px;
  display: flex;
  flex-flow: row;
  justify-content: center;
  margin: 0px;
}
.modo-contenedor-icbper {
  width: 100px;
  display: flex;
  flex-flow: row;
  justify-content: center;
  margin: 0px !important;
}
.modo-contenedor-unidad {
  width: 100px;
  display: flex;
  flex-flow: row;
  justify-content: center;
  margin: 0px;
}
.modo-contenedor input,
.modo-contenedor-email input,
.modo-contenedor-icbper input,
.modo-contenedor-unidad input {
  display: none !important;
}
.modo-contenedor label {
  font-size: 0.6em !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  padding: 8px;
  margin: 0px;
  width: 90px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  border: 1px solid rgb(240, 240, 240);
}
.modo-contenedor-email label {
  font-size: 0.8em !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  padding: 5px;
  margin: 0px;
  width: 90px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  border: 1px solid rgb(240, 240, 240);
}
.modo-contenedor-icbper label {
  font-size: 0.8em !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  padding: 5px;
  margin: 0px;
  width: 90px;
  height: 30px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  border: 1px solid rgb(240, 240, 240);
}
.modo-contenedor-unidad label {
  font-size: 0.8em !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  padding: 5px;
  margin: 0px;
  width: 90px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  border: 1px solid rgb(240, 240, 240);
}
#emailtext, .wtstext {
  font-size: 1em !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}
.modo-contenedor #sim,
.modo-contenedor-email #sie,
.modo-contenedor-icbper .s,
.modo-contenedor-unidad .siu {
  /* background-color: rgb(93, 170, 99); */
  border-radius: 15px 0px 0px 15px;
}
.modo-contenedor #nom,
.modo-contenedor-email #noe,
.modo-contenedor-icbper .n,
.modo-contenedor-unidad .nou {
  /* background-color: rgb(209, 209, 209);  */
  border-radius: 0px 15px 15px 0px;
}
.btn-modo-sistema {
  padding: 2px;
  border-radius: 0px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 6px;
  vertical-align: middle;
}
.btn-estado-caja {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid #e3e7ec;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none !important;
  vertical-align: middle;
  line-height: 1.2;
}
.btn-estado-caja .dot-caja {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.btn-estado-caja.caja-on {
  color: #1f9d55;
}
.btn-estado-caja.caja-on .dot-caja {
  background: #1f9d55;
}
.btn-estado-caja.caja-off {
  color: #c0392b;
}
.btn-estado-caja.caja-off .dot-caja {
  background: #c0392b;
}
.btn-estado-caja:hover {
  opacity: .9;
}
.prod {
  background-color: rgb(78, 110, 255) !important;
  border-radius: 15px 0px 0px 15px;
  border: 1px solid rgb(240, 240, 240) !important;
}
.emailsi {
  background-color: rgb(78, 110, 255) !important;
  border-radius: 15px 0px 0px 15px;
  border: 1px solid rgb(240, 240, 240) !important;
}
.emailno {
  background-color: rgb(253, 89, 89) !important;
  border-radius: 0px 15px 15px 0px;
  border: 1px solid rgb(240, 240, 240) !important;
}
.icbsi {
  background-color: rgb(78, 110, 255) !important;
  border-radius: 15px 0px 0px 15px;
  border: 1px solid rgb(240, 240, 240) !important;
}
.icbno {
  background-color: rgb(253, 89, 89) !important;
  border-radius: 0px 15px 15px 0px;
  border: 1px solid rgb(240, 240, 240) !important;
}
.unidadsi {
  background-color: rgb(78, 110, 255) !important;
  border-radius: 15px 0px 0px 15px;
  border: 1px solid rgb(240, 240, 240) !important;
}
.unidadno {
  background-color: rgb(253, 89, 89) !important;
  border-radius: 0px 15px 15px 0px;
  border: 1px solid rgb(240, 240, 240) !important;
}

.prueba {
  background-color: rgb(253, 89, 89) !important;
  border-radius: 15px 0px 0px 15px;
  border: 1px solid rgb(240, 240, 240) !important;
}
.btnprueba {
  color: white;
  outline: 0 !important;
  border-style: none !important;
  background-color: rgb(253, 89, 89) !important;
  border-radius: 18px;
}
.alterno {
  background-color: rgb(243, 243, 243) !important;
  border-radius: 0px 15px 15px 0px;
  color: #000 !important;
  border: 1px solid rgb(240, 240, 240) !important;
}
.alterno2 {
  background-color: rgb(228, 228, 228) !important;
  border-radius: 0px 15px 15px 0px;
  color: #000 !important;
  border: 1px solid rgb(240, 240, 240) !important;
}
/* FIN BOTONES MODO| */

/* DIV COMPROBAR CONEXIÓN A INTERNET */
.connection {
  position: fixed;
  bottom: 0%;
  right: 0%;
  padding: 10px;
  background-color: #f0f0f0;
  z-index: 10000;
  color: #000;
  border-radius: 0px 15px 15px 0px;
}
.contenedor-selva {
  width: 100%;
  position: relative;
  display: flex;
  flex-flow: row;
  background-color: rgb(253, 253, 253);
  justify-content: center;
  /* border: 1px solid rgba(98, 101, 255, 0.555); */
  padding: 10px;
  border-radius: 15px;
}

.tablaVentas .super-contenedor-precios {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: row wrap !important;
  top: 0;
  left: 0;
  background-color: rgb(255, 255, 255);
  justify-content: center;
  align-content: center;
  z-index: 999999 !important;
  padding: 10px !important;
  box-sizing: border-box;
  border-radius: 15px !important;
}
.tablaVentas .contenedor-precios {
  position: relative;
  display: flex;
  flex-flow: column;
  margin: 10px;
  width: 45%;
}
.tablaVentas .desc-productos {
  position: relative;
  width: 100% !important;
  text-align: center;
  background-color: rgb(255, 255, 255);
  padding: 5px;
  white-space: normal;
  border-radius: 15px 15px 0px 0px;
}

.tablaVentas .number {
  outline: 0 !important;
  border-style: none !important;
  border-radius: 5px !important;
  border: 1px solid rgb(179, 179, 179) !important;
  padding: 1px !important;
  font-size: 1.2em !important;
  padding-left: 15px !important;
  width: 80px;
  text-align: center;
}
.tablaVentas .contenedor-precios .pre-css {
  margin: 0px !important;
}
.tablaVentas .btn-prod {
  width: 10px !important;
}
.tablaVentas .contenedor-precios label {
  margin: 0px !important;
  text-transform: uppercase;
  margin-left: 15px;
  letter-spacing: 2px !important;
}
.tablaVentas .contenedor-precios .pre-css {
  outline: 0 !important;
  border-style: none !important;
  margin: 5px !important;
  border-radius: 5px !important;
  border: 1px solid rgb(127, 136, 255) !important;
  padding: 3px !important;
  font-size: 1.3em !important;
  padding-left: 15px !important;
  width: 100%;
  height: 40px !important;
}
.tablaVentas .btn-grupos {
  position: relative !important;
  text-align: center;
}
@media (max-width: 520px) {
  .super-contenedor-precios {
    position: relative;
    flex-flow: column !important;
    overflow-y: scroll !important;
  }
  .tablaVentas .contenedor-precios {
    width: 100%;
  }
}
.tabla-items tbody tr td {
  text-align: center;
  font-size: 1.1em;
  padding: 2px !important;
  background-color: rgb(255, 255, 255) !important;
}

.tbl-t th {
  font-weight: 700 !important;
  font-size: 0.9em !important;
  letter-spacing: 0.8px !important;
  text-align: center !important;
}
/* ESTADOS SUNAT============ */

.contenedor-estados-sunat {
  display: flex;
  flex-flow: row wrap;
  background-color: rgb(255, 255, 255);
}
.contenedor-estados-sunat div {
  position: relative;
  padding: 2px;
  padding-left: 23px;
  margin: 5px;
}
.contenedor-estados-sunat label {
  position: absolute;
  top: 2px;
  left: 0;
  padding: 5px;
  width: 1.3em;
  height: 1.3em;
}
.contenedor-estados-sunat .sunat-estado {
  font-weight: 600;
}
.contenedor-estados-sunat .estadosunat {
  background-image: url(../img/sunat_logo.png) !important;
  background-size: 1.3em 1.3em !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.contenedor-estados-sunat .aceptado {
  background-image: url(../img/success.png) !important;
  background-size: 1.3em 1.3em !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.contenedor-estados-sunat .rechazado {
  background-image: url(../img/svg/rechazo.svg) !important;
  background-size: 1.3em 1.3em !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.contenedor-estados-sunat .baja {
  background-image: url(../img/cruz.png) !important;
  background-size: 1.3em 1.3em !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.contenedor-estados-sunat .noenviado {
  background-image: url(../img/svg/get_cdr.svg) !important;
  background-size: 1.3em 1.3em !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

#formSalidaEntrada .info-box {
  background-color: rgb(116, 101, 252) !important;
  border-radius: 5px !important;
}


.tabla-kardex tbody td {
  font-size: 1.15em !important;
  font-family: "Courier New", Courier, monospace;
  color: #1c1c1c !important;
}



/* ===== DASHBOARD COMMAND CENTER ===== */
.dash-command-wrap {
  margin-top: 6px;
  margin-bottom: 4px;
}
.dash-command {
  margin: 8px 0 14px;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: #ffffff;
  color: #1f2d3d;
  border: 1px solid #e6ebf0;
  box-shadow: 0 4px 16px rgba(15, 23, 32, 0.06);
  overflow: hidden;
  position: relative;
  animation: dashIn .45s ease both;
}
.dash-command::after {
  display: none;
}
@keyframes dashIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.dash-command-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.dash-command-kicker {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0e7490;
  font-weight: 700;
}
.dash-command-title {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f2740;
}
.dash-command-time {
  font-size: 12px;
  color: #7a8794;
  white-space: nowrap;
}
.dash-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}
.dash-quick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e6ebf0;
  color: #1f2d3d !important;
  text-decoration: none !important;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.dash-quick:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: #b6e2e0;
  box-shadow: 0 8px 18px rgba(14, 116, 144, 0.1);
}
.dash-quick-pos {
  background: #0e7490;
  border-color: #0e7490;
  color: #fff !important;
}
.dash-quick-pos:hover {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff !important;
}
.dash-quick-pos .dash-quick-body small {
  color: rgba(255,255,255,.85);
}
.dash-quick-pos .dash-quick-icon {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.dash-quick-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef5f8;
  color: #0e7490;
  font-size: 18px;
  flex: 0 0 auto;
}
.dash-ico-stock { color: #d97706; background: #fff7ed; }
.dash-ico-hist { color: #2563eb; background: #eff6ff; }
.dash-quick-body {
  flex: 1 1 auto;
  min-width: 0;
}
.dash-quick-body strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.dash-quick-body small {
  display: block;
  margin-top: 2px;
  color: #6b7c8a;
  font-size: 11px;
}
.dash-quick-arrow {
  opacity: .45;
  color: #64748b;
  transition: transform .2s ease, opacity .2s ease;
}
.dash-quick-pos .dash-quick-arrow { color: #fff; opacity: .8; }
.dash-quick:hover .dash-quick-arrow {
  opacity: 1;
  transform: translateX(3px);
}
.dash-caja-bar {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e6ebf0;
  color: #163041;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.dash-caja-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
}
.dash-caja-bar.is-open::before { background: #16a34a; }
.dash-caja-bar.is-closed::before { background: #dc2626; }
.dash-caja-left {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 6px;
}
.dash-caja-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.dash-caja-bar.is-open .dash-caja-dot {
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22,163,74,.55);
  animation: dashPulse 1.6s infinite;
}
.dash-caja-bar.is-closed .dash-caja-dot { background: #dc2626; }
@keyframes dashPulse {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); }
  70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
.dash-caja-left strong {
  display: block;
  font-size: 14px;
  color: #0f2740;
}
.dash-caja-left small {
  color: #6b7c8a;
  font-size: 11px;
}
.dash-caja-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 10px;
  font-size: 12px;
  color: #334155;
  padding-right: 4px;
}
.dash-caja-right em {
  font-style: normal;
  color: #64748b;
  font-weight: 600;
}
.dash-caja-right .sep { color: #cbd5e1; }
.dash-caja-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #0e7490;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}
.dash-caja-cta:hover { background: #0f766e; }
@media (max-width: 991px) {
  .dash-quick-grid { grid-template-columns: 1fr; }
  .dash-caja-bar { flex-direction: column; align-items: flex-start; }
  .dash-caja-right { justify-content: flex-start; }
  .dash-command-head { flex-direction: column; align-items: flex-start; }
}
