@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;
}
.main-sidebar .sidebar-menu > li.m-inicio > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-inicio .treeview-menu i { color: #2563eb !important; }
.main-sidebar .sidebar-menu > li.m-admin > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-admin .treeview-menu i { color: #6b7280 !important; }
.main-sidebar .sidebar-menu > li.m-tienda > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-tienda .treeview-menu i { color: #ea580c !important; }
.main-sidebar .sidebar-menu > li.m-pos > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-pos .treeview-menu i { color: #16a34a !important; }
.main-sidebar .sidebar-menu > li.m-comprobantes > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-comprobantes .treeview-menu i { color: #0891b2 !important; }
.main-sidebar .sidebar-menu > li.m-credito > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-credito .treeview-menu i { color: #7c3aed !important; }
.main-sidebar .sidebar-menu > li.m-ventas > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-ventas .treeview-menu i { color: #0d9488 !important; }
.main-sidebar .sidebar-menu > li.m-resumen > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-resumen .treeview-menu i { color: #0284c7 !important; }
.main-sidebar .sidebar-menu > li.m-guia > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-guia .treeview-menu i { color: #d97706 !important; }
.main-sidebar .sidebar-menu > li.m-cotiza > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-cotiza .treeview-menu i { color: #4f46e5 !important; }
.main-sidebar .sidebar-menu > li.m-caja > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-caja .treeview-menu i { color: #059669 !important; }
.main-sidebar .sidebar-menu > li.m-productos > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-productos .treeview-menu i { color: #db2777 !important; }
.main-sidebar .sidebar-menu > li.m-inventario > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-inventario .treeview-menu i { color: #9333ea !important; }
.main-sidebar .sidebar-menu > li.m-sire > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-sire .treeview-menu i { color: #ca8a04 !important; }
.main-sidebar .sidebar-menu > li.m-reportes > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-reportes .treeview-menu i { color: #c026d3 !important; }
.main-sidebar .sidebar-menu > li.m-proveedores > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-proveedores .treeview-menu i { color: #e11d48 !important; }
.main-sidebar .sidebar-menu > li.m-compras > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-compras .treeview-menu i { color: #c2410c !important; }
.main-sidebar .sidebar-menu > li.m-clientes > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-clientes .treeview-menu i { color: #0369a1 !important; }
.main-sidebar .sidebar-menu > li.m-consulta > a > i:not(.fa-angle-left),
.main-sidebar .sidebar-menu > li.m-consulta .treeview-menu i { color: #475569 !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;
}

.navbar-nav > .user-menu > .dropdown-menu.menu-user {
  width: 248px !important;
  min-width: 248px;
  margin-top: 8px;
  padding: 8px !important;
  border: 1px solid #e7eaf0 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12) !important;
  overflow: hidden;
}
.menu-user .menu-user-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  padding: 8px 8px 10px;
  border-bottom: 1px solid #eef2f6;
  background: transparent;
}
.menu-user .menu-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ede9fe;
  flex: 0 0 36px;
}
.menu-user .menu-user-id {
  min-width: 0;
}
.menu-user .menu-user-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #312e81;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-user .menu-user-rol {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.menu-user li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  padding: 8px !important;
  border-radius: 10px;
  color: #374151 !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  background: transparent !important;
}
.menu-user li a:hover,
.menu-user li a:focus {
  background: #f5f3ff !important;
  color: #312e81 !important;
}
.menu-user .menu-user-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ede9fe;
  color: #5b21f6;
  flex: 0 0 28px;
  font-size: 13px;
}
.menu-user .menu-user-salir {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid #eef2f6;
}
.menu-user .menu-user-salir a,
.menu-user .menu-user-salir a:hover,
.menu-user .menu-user-salir a:focus {
  color: #b91c1c !important;
}
.menu-user .menu-user-salir a:hover,
.menu-user .menu-user-salir a:focus {
  background: #fef2f2 !important;
}
.menu-user .menu-user-salir .menu-user-ico {
  background: #fee2e2;
  color: #ef4444;
}
.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;
  }
  .skin-blue .main-header .navbar .menu-user li a {
    color: #374151 !important;
  }
  .skin-blue .main-header .navbar .menu-user li.menu-user-salir a {
    color: #b91c1c !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 .dash-extra-list,
.dash-charts-equal .dash-extra-devol,
.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: #3B9EFF;
  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; }
}

.dash-chart-title-alert {
  color: #ef4444 !important;
}
.dash-chart-title-alert i {
  color: #ef4444 !important;
}
.dash-extra-card .dash-chart-title {
  color: #64748b;
}
.dash-extra-card .dash-chart-title i {
  color: #64748b;
}
.dash-extra-card .dash-pie-legend li {
  color: #334155;
  font-weight: 500;
}
.dash-extra-card .dash-pie-legend-amt {
  margin-left: 6px;
  color: #0f172a;
  font-weight: 700;
}
.dash-extra-card .dash-pie-dot {
  width: 11px;
  height: 11px;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.06);
}
.dash-extra-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 180px;
  padding: 4px 2px 2px;
}
.dash-extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid #e8edf2;
}
.dash-extra-row:last-child {
  border-bottom: 0;
}
.dash-chart-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dash-extra-more {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: #c0392b;
  text-decoration: none;
  white-space: nowrap;
}
.dash-extra-more:hover {
  color: #922b21;
  text-decoration: underline;
}
.dash-extra-more-foot {
  display: block;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #e8edf2;
  font-size: 12px;
  font-weight: 700;
  color: #c0392b;
  text-align: center;
  text-decoration: none;
}
.dash-extra-more-foot:hover {
  color: #922b21;
  text-decoration: underline;
}
.dash-extra-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-extra-value {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.dash-extra-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 160px;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}
.dash-extra-empty-ok {
  color: #15803d;
  min-height: 80px;
  justify-content: flex-start;
  padding: 8px 4px 4px;
}
.dash-extra-empty-ok i {
  color: #22c55e;
}
.dash-extra-devol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  padding: 8px 2px 4px;
}
.dash-extra-devol-total {
  font-size: 15px;
  color: #0f172a;
  font-weight: 700;
}
.dash-extra-devol-total strong {
  font-weight: 700;
}
.dash-extra-ok-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  color: #0d9488;
  line-height: 1.35;
}
.dash-extra-ok-msg i {
  color: #14b8a6;
  font-size: 15px;
  flex-shrink: 0;
}
.dash-extra-devol-detail {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dash-extra-devol-detail li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e8edf2;
  font-size: 13px;
  color: #475569;
}
.dash-extra-devol-detail li strong {
  color: #0f172a;
}
.chart-responsive-extras {
  width: 100%;
}

.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(4, 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-ico-util { color: #16a34a; background: #ecfdf5; }
.dash-quick-monto {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 800;
  color: #16a34a;
  line-height: 1.2;
}
.dash-quick-util .dash-quick-body small {
  color: #6b7c8a;
}
.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: 1199px) {
  .dash-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@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; }
}

/* NotiYape toast (pagos Yape nuevos) */
.notiyape-toast {
  position: fixed;
  top: 58px;
  right: 18px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 380px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #00c2cb;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-family: "Source Sans Pro", sans-serif;
}
.notiyape-toast-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.notiyape-toast-body {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.25;
}
.notiyape-toast-title {
  font-weight: 700;
  font-size: 14px;
}
.notiyape-toast-msg {
  margin-top: 2px;
  font-size: 13px;
  opacity: 0.95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notiyape-toast-close {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  padding: 0 2px;
  opacity: 0.9;
  cursor: pointer;
}
.notiyape-toast-close:hover {
  opacity: 1;
}
@media (max-width: 768px) {
  .notiyape-toast {
    left: 12px;
    right: 12px;
    max-width: none;
  }
}

.panel-medio > .box.rounded.cat-card {
  background: #ffffff !important;
  border: 1px solid #e7eaf0 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  margin-bottom: 18px;
}
.cat-card .box-header:before,
.cat-card .box-header:after {
  display: none !important;
  content: none !important;
}
.cat-card .box-header {
  background: #ffffff !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  padding: 14px 18px !important;
  border-bottom: 1px solid #eceff3 !important;
  border-radius: 16px 16px 0 0;
}
.cat-card .box-header .box-title {
  color: #312e81 !important;
  margin: 0 !important;
  float: none;
  width: auto !important;
  text-align: left !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
}
.cat-card .box-header .btn-nueva-categoria {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  margin: 0;
  float: none !important;
  background: #5b21f6 !important;
  background-image: none !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 700;
  padding: 8px 14px !important;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.cat-card .btn-nueva-categoria:hover,
.cat-card .btn-nueva-categoria:focus {
  background: #4c1d95 !important;
  color: #fff !important;
}
.cat-card .box-body.table-user {
  display: block !important;
  background: #ffffff !important;
  padding: 14px 18px 10px !important;
  border-radius: 0 0 16px 16px;
}
.cat-card .dataTables_wrapper { width: 100%; }
.cat-card table.tabla-categorias { width: 100% !important; }
.cat-card .dataTables_length,
.cat-card .dataTables_filter {
  color: #6b7280;
  font-weight: 700;
}
.cat-card .dataTables_length { position: static !important; }
.cat-card .dataTables_filter {
  float: right !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  text-align: right;
}
.cat-card .dataTables_filter input,
.cat-card .dataTables_length select {
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  height: 36px;
  box-shadow: none !important;
  color: #111827 !important;
}
.cat-card .dataTables_filter input:focus,
.cat-card .dataTables_length select:focus {
  border-color: #4f46e5 !important;
  background: #fff !important;
  outline: none;
}
.tabla-categorias thead th,
.tabla-categorias tbody td {
  text-align: center !important;
  vertical-align: middle;
  border: 0 !important;
  background: #ffffff;
}
.tabla-categorias thead th {
  color: #6366f1 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
.tabla-categorias tbody td {
  color: #111827;
  font-weight: 600;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
.tabla-categorias tbody tr:hover td { background: #f8fafc !important; }
.tabla-categorias .btn-group {
  display: inline-flex;
  gap: 6px;
}
.tabla-categorias .btn {
  border: 0 !important;
  border-radius: 10px !important;
  width: 36px;
  height: 34px;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .1);
}
.tabla-categorias .btn-warning {
  background: #f59e0b !important;
  color: #fff !important;
}
.tabla-categorias .btn-danger {
  background: #ef4444 !important;
  color: #fff !important;
}
.cat-card .dataTables_paginate .paginate_button {
  border-radius: 8px !important;
}
.modal-moderno .modal-content,
.modal-moderno .modal-content {
  background: #fff !important;
  border: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}
.modal-moderno .modal-header,
.modal-moderno .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 14px 18px !important;
}
.modal-moderno .modal-title,
.modal-moderno .modal-title {
  font-weight: 800;
  color: #fff !important;
}
.modal-moderno .modal-header .close,
.modal-moderno .modal-header .close {
  color: #fff !important;
  opacity: .9;
  text-shadow: none;
}
.modal-moderno .input-group-addon,
.modal-moderno .input-group-addon {
  background: #fff !important;
  color: #4f46e5 !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 12px 0 0 12px !important;
}
.modal-moderno .form-control,
.modal-moderno .form-control {
  height: 42px;
  border: 1px solid #e5e7eb !important;
  border-radius: 0 12px 12px 0 !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  color: #111827 !important;
}
.modal-moderno .form-control:focus,
.modal-moderno .form-control:focus {
  border-color: #4f46e5 !important;
  background: #fff !important;
}
.modal-moderno .modal-footer,
.modal-moderno .modal-footer {
  border-top: 1px solid #eef2f6 !important;
  background: #fff !important;
}
.modal-moderno .modal-footer .btn,
.modal-moderno .modal-footer .btn {
  border: 0 !important;
  border-radius: 10px !important;
  font-weight: 700;
  padding: 8px 14px !important;
}
.modal-moderno .modal-footer .btn-danger,
.modal-moderno .modal-footer .btn-danger {
  background: #ef4444 !important;
  color: #fff !important;
}
.modal-moderno .modal-footer .btn-primary,
.modal-moderno .modal-footer .btn-primary {
  background: #5b21f6 !important;
  color: #fff !important;
  text-transform: uppercase;
}
#modalAgregarProducto .modal-header,
#modalEditarProducto .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  border: 0 !important;
  padding: 14px 18px !important;
}
#modalAgregarProducto .modal-title,
#modalEditarProducto .modal-title {
  color: #fff !important;
  font-weight: 800;
}
#modalAgregarProducto .form-control,
#modalEditarProducto .form-control,
#modalAgregarProducto .select2-selection--single,
#modalEditarProducto .select2-selection--single {
  border-radius: 12px !important;
  height: 42px !important;
  border-color: #e5e7eb !important;
  background: #f8fafc !important;
}
#modalAgregarProducto .select2-selection__rendered,
#modalEditarProducto .select2-selection__rendered {
  line-height: 40px !important;
}
#modalAgregarProducto .select2-selection__arrow,
#modalEditarProducto .select2-selection__arrow {
  height: 40px !important;
}
#modalAgregarProducto .ref-chip,
#modalEditarProducto .ref-chip {
  border-color: #c7d2fe;
  color: #4f46e5;
  font-weight: 700;
}
#modalAgregarProducto .btnRapidoCatalogo,
#modalEditarProducto .btnRapidoCatalogo {
  height: 42px;
  border-radius: 10px !important;
  background: #5b21f6 !important;
  border-color: #5b21f6 !important;
}
#modalAgregarProducto .input-group > .form-control,
#modalEditarProducto .input-group > .form-control {
  border-radius: 0 !important;
}
#modalAgregarProducto .input-group-addon.btn-camara-barcode,
#modalEditarProducto .input-group-addon.btn-camara-barcode {
  border-radius: 12px 0 0 12px !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  color: #4f46e5 !important;
}
#modalAgregarProducto .bar-code-btn {
  background: #5b21f6 !important;
  background-color: #5b21f6 !important;
  border: 0 !important;
  border-radius: 0 12px 12px 0 !important;
  color: #fff !important;
  width: 44px;
}
#modalAgregarProducto .bar-code-btn i {
  color: #fff !important;
}
.modal-catalogo-rapido {
  z-index: 20000 !important;
}
.modal-catalogo-rapido .modal-dialog {
  width: 420px;
  max-width: 92%;
  margin-top: 18vh;
}
.modal-catalogo-rapido.modal-moderno .form-control {
  border-radius: 12px !important;
}
.modal-catalogo-rapido .modal-body label {
  color: #312e81;
  font-weight: 700;
}
#modalAgregarProducto .series-productos .input-group,
.series-productos-agregar .input-group {
  display: flex !important;
  align-items: stretch;
  width: 100%;
}
#modalAgregarProducto .series-productos .form-control,
.series-productos-agregar .form-control {
  flex: 1 1 auto;
  width: 1% !important;
  height: 42px !important;
  border-radius: 12px 0 0 12px !important;
}
#modalAgregarProducto .btn-add-serie,
#modalAgregarProducto .btn-remove-serie,
.btn-add-serie-agregar,
.btn-remove-serie-agregar {
  position: static !important;
  flex: 0 0 42px;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 12px 12px 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
}
#modalAgregarProducto .btn-add-serie,
.btn-add-serie-agregar {
  background: #5b21f6 !important;
}
#modalAgregarProducto .btn-remove-serie,
.btn-remove-serie-agregar {
  background: #ef4444 !important;
}
#modalAgregarProducto .toggle-on.btn-primary {
  background-color: #5b21f6 !important;
  border-color: #5b21f6 !important;
}
#modalEditarProductoSeries .modal-header,
#modalPresentaciones .modal-header,
#modalImportarProductos .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalEditarProductoSeries .modal-title,
#modalPresentaciones .modal-title,
#modalImportarProductos .modal-title,
#modalEditarProductoSeries .close,
#modalPresentaciones .close,
#modalImportarProductos .close {
  color: #fff !important;
}
#modalImportarProductos .modal-dialog {
  width: 640px;
  max-width: 94%;
}
@media (max-width: 767px) {
  #modalImportarProductos .modal-footer {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  #modalImportarProductos .modal-footer .btn {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    white-space: normal;
  }
}
@media (max-width: 767px) {
  #modalPresentaciones .pres-table-wrap {
    overflow: visible !important;
  }
  #modalPresentaciones .tabla-presentaciones {
    width: 100% !important;
    min-width: 0 !important;
  }
  #modalPresentaciones .tabla-presentaciones > thead {
    display: none;
  }
  #modalPresentaciones .tabla-presentaciones,
  #modalPresentaciones .tabla-presentaciones > tbody,
  #modalPresentaciones .tabla-presentaciones > tbody > tr,
  #modalPresentaciones .tabla-presentaciones > tbody > tr > td {
    display: block;
    width: 100% !important;
    white-space: normal;
    box-sizing: border-box;
  }
  #modalPresentaciones .tabla-presentaciones > tbody > tr {
    border-bottom: 1px solid #eef2f7;
    padding: 6px 0;
  }
  #modalPresentaciones .tabla-presentaciones > tbody > tr > td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 0;
    padding: 8px 14px !important;
    text-align: right;
  }
  #modalPresentaciones .tabla-presentaciones > tbody > tr > td[data-label]:before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #64748b;
    text-align: left;
  }
  #modalPresentaciones .tabla-presentaciones > tbody > tr > td[colspan] {
    display: block;
    text-align: center;
  }
  #modalPresentaciones .tabla-presentaciones > tbody > tr > td[colspan]:before {
    content: none;
  }
}
#modalEditarProductoSeries .nav-tabs {
  border: 0;
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
#modalEditarProductoSeries .nav-tabs > li {
  float: none;
  margin: 0;
}
#modalEditarProductoSeries .nav-tabs > li > a {
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  color: #312e81 !important;
  font-weight: 700;
  margin: 0;
}
#modalEditarProductoSeries .nav-tabs > li.active > a,
#modalEditarProductoSeries .nav-tabs > li.active > a:hover,
#modalEditarProductoSeries .nav-tabs > li.active > a:focus {
  background: #5b21f6 !important;
  color: #fff !important;
  border-color: #5b21f6 !important;
}
#modalPresentaciones .btn-agregar-presentacion {
  background: #5b21f6 !important;
}
.swal-barcode {
  border-radius: 16px !important;
  padding: 0 0 18px !important;
  overflow: hidden;
}
.swal-barcode .swal2-title {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%);
  color: #fff !important;
  font-weight: 800;
  margin: 0 0 16px;
  padding: 14px 18px;
  width: 100%;
}
.barcodehtml .btn-primary,
.swal-barcode .btn-primary {
  background: #5b21f6 !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-weight: 700;
}
.importar-archivo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
}
.importar-archivo input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.importar-archivo span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #5b21f6;
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
  white-space: nowrap;
}
.importar-archivo-nombre {
  font-style: normal;
  color: #6b7280;
  font-weight: 600;
}
#modalComboPromocional .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalComboPromocional .modal-title,
#modalComboPromocional .close {
  color: #fff !important;
}
#modalComboPromocional .modal-dialog {
  width: 95%;
  max-width: 1100px;
}
#modalComboPromocional .form-control,
#modalComboPromocional textarea.form-control {
  border-radius: 12px !important;
}
#modalComboPromocional .input-group .form-control {
  border-radius: 0 12px 12px 0 !important;
}
#modalComboPromocional .input-group .input-group-addon:first-child {
  border-radius: 12px 0 0 12px !important;
}
#modalComboPromocional .bar-code-btn-combo {
  background: #5b21f6 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 12px 12px 0 !important;
  cursor: pointer;
}
@media (max-width: 767px) {
  .cat-card .box-header {
    flex-wrap: wrap !important;
  }
  .cat-card .box-header .box-title {
    flex: 1 1 100%;
    width: 100% !important;
  }
  .cat-card .box-header .btn-nueva-categoria {
    width: 100%;
    justify-content: center;
    margin: 8px 0 0;
  }
  .cat-card .dataTables_length,
  .cat-card .dataTables_filter {
    float: none !important;
    width: 100%;
    margin: 0 0 8px;
  }
}

.productos-card .box-title {
  color: #312e81 !important;
  font-weight: 800 !important;
}
.productos-card .productos-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
}
.productos-card .btn-prod-sec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #312e81;
  font-weight: 700;
}
.productos-card .productos-extra .btn-reporte-vencimiento {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  height: 34px;
  border-radius: 8px !important;
  font-weight: 700;
  padding: 0 12px !important;
}
.productos-card .productos-extra .badge {
  background: #fff;
  border-radius: 999px;
  padding: 2px 7px;
  margin-left: 4px;
}
.productos-card .productos-etiqueta {
  color: #6b7280;
  font-weight: 700;
  font-size: 13px;
  margin: 0;
}
.productos-card .productos-barra-izq {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.productos-card .productos-buscar {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
}
.productos-card .productos-buscar i {
  position: absolute;
  left: 12px;
  color: #6366f1;
  font-size: 13px;
  pointer-events: none;
}
.productos-card .btn-reporte-vencimiento[data-tipo="vencidos"] .badge {
  color: #d32f2f;
}
.productos-card .btn-reporte-vencimiento[data-tipo="por_vencer"] .badge {
  color: #ff9800;
}
.productos-card .contenedor-busqueda {
  padding: 0 0 12px !important;
}
.productos-card .contenedor-busqueda .input-group-search {
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: #f8fafc;
  border: 1px solid #e7eaf0;
  border-radius: 14px;
  padding: 8px 10px;
}
.productos-card .contenedor-busqueda .input-group-search .input-search {
  margin: 0 0 0 auto !important;
  width: auto;
  max-width: 100%;
}
.productos-card .productos-buscar input {
  width: 260px !important;
  padding: 0 12px 0 34px !important;
  text-transform: none !important;
  background-image: none !important;
}
.productos-card .select2-container {
  width: 240px !important;
  max-width: 100%;
}
.productos-card .contenedor-busqueda .input-search input,
.productos-card .input-group-search .btn-select,
.productos-card .bootstrap-select > .dropdown-toggle,
.productos-card .select2-container .select2-selection--single {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.productos-card .bootstrap-select > .dropdown-toggle {
  display: flex !important;
  align-items: center;
  padding: 0 28px 0 12px !important;
  line-height: 34px !important;
}
.productos-card .bootstrap-select .filter-option {
  line-height: 34px !important;
}
.productos-card .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 34px !important;
}
.productos-card .select2-container .select2-selection--single .select2-selection__arrow {
  height: 34px !important;
}
.productos-card .tabla-categorias .btn-stock {
  width: auto !important;
  min-width: 42px;
  height: 30px;
  padding: 0 10px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
.productos-card .activarpro,
.productos-card .desactivarpro {
  border: 0 !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  font-weight: 700;
  min-width: 78px;
}
.productos-card .activarpro {
  background: #16a34a !important;
  color: #fff !important;
}
.productos-card .desactivarpro {
  background: #ef4444 !important;
  color: #fff !important;
}
.productos-card .img-thumbnail {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 2px;
  background: #fff;
}
.productos-card .option-menu-producto {
  border-radius: 10px;
  border: 0;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
  background-color: #eef2ff;
}
@media (max-width: 767px) {
  .productos-card .productos-extra .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .productos-card .contenedor-busqueda .input-group-search .input-search,
  .productos-card .productos-buscar,
  .productos-card .productos-buscar input {
    margin-left: 0 !important;
    width: 100% !important;
  }
}
.inventario-card .contenedor-busqueda .input-group-search {
  padding-right: 0 !important;
}
.inventario-card .inventario-fecha {
  position: relative;
  display: flex;
  align-items: center;
}
.inventario-card .inventario-fecha i {
  position: absolute;
  left: 12px;
  color: #6366f1;
  z-index: 2;
}
.inventario-card .inventario-fecha input {
  width: 148px !important;
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 0 12px 0 34px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.inventario-card .btn-rd-inventarios {
  position: static !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: auto !important;
  margin: 0 auto 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.inventario-card .btn-rd-inventarios .btn {
  width: 40px;
  height: 36px;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.inventario-card .btn-pdf {
  background: #ef4444 !important;
}
.inventario-card .btn-excel {
  background: #16a34a !important;
}
.inventario-card .btn-print {
  background: #5b21f6 !important;
}
.inventario-card .btn-rd-inventarios .btn i {
  color: #fff !important;
}
#modalAgregarAjusteInventario .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalAgregarAjusteInventario .modal-title,
#modalAgregarAjusteInventario .close {
  color: #fff !important;
}
#modalAgregarAjusteInventario .form-control,
#modalAgregarAjusteInventario .select2-container .select2-selection--single {
  border-radius: 12px !important;
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  background: #f8fafc !important;
}
#modalAgregarAjusteInventario .info-box {
  background: #eef2ff !important;
  color: #312e81 !important;
  border-radius: 12px;
  box-shadow: none;
}
#modalAgregarAjusteInventario .info-box-icon {
  background: #5b21f6 !important;
  color: #fff !important;
}
#modalAgregarAjusteInventario .info-box-number,
#modalAgregarAjusteInventario .info-box-text,
#modalAgregarAjusteInventario .progress-description {
  color: #312e81 !important;
}
@media (max-width: 767px) {
  .inventario-card .inventario-fecha {
    flex: 1 1 100%;
  }
  .inventario-card .inventario-fecha input {
    width: 100% !important;
  }
}
.kardex-card .busca-pro-kardex,
.kardex-card .input-search.kardex-producto {
  margin: 0 0 0 auto !important;
  width: 280px !important;
  height: auto !important;
  position: relative !important;
}
.kardex-card .contenedor-busqueda .input-group-search .input-search span.select2-container {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  display: block !important;
  width: 280px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  background-image: none !important;
  color: #111827 !important;
}
.kardex-card .contenedor-busqueda .input-group-search .input-search span.selection {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  display: block !important;
  width: 100% !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
}
.kardex-card .contenedor-busqueda .input-group-search .input-search span.select2-selection {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 28px 0 12px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  background-image: none !important;
  color: #111827 !important;
  box-shadow: none !important;
}
.kardex-card .contenedor-busqueda .input-group-search .input-search span.select2-selection__rendered {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  display: block !important;
  width: auto !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 28px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: #111827 !important;
  line-height: 34px !important;
}
.kardex-card .contenedor-busqueda .input-group-search .input-search span.dropdown-wrapper {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
  background-image: none !important;
}
.kardex-card .contenedor-busqueda .input-group-search .input-search span.select2-selection__arrow {
  position: absolute !important;
  right: 8px !important;
  left: auto !important;
  top: 0 !important;
  width: 20px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
}
.kardex-card .tabla-categorias thead th.kardex-banda,
.kardex-card .tabla-categorias thead th.kardex-banda-sub,
.kardex-card .tabla-categorias thead th.kardex-banda-unidades {
  color: #fff !important;
  letter-spacing: .08em !important;
}
.kardex-card .tabla-categorias thead th.kardex-banda {
  background: #3949ab !important;
}
.kardex-card .tabla-categorias thead th.kardex-banda-sub {
  background: #1e88e5 !important;
}
.kardex-card .tabla-categorias thead th.kardex-banda-unidades {
  background: #66bb6a !important;
}
.str-kpis .str-card,
.ce-kpis .ce-card {
  border-radius: 16px;
  border-color: #e7eaf0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}
.str-kpis .str-card-value,
.ce-kpis .ce-card-value {
  color: #312e81;
}
.stock-card .productos-barra-izq > .form-control {
  width: 180px !important;
  max-width: 100%;
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  flex: 0 0 auto;
}
.stock-card .btn-str-filtrar,
.stock-card .btn-str-limpiar,
.historial-card .btn-str-filtrar,
.historial-card .btn-str-limpiar {
  height: 36px;
  border: 0 !important;
  border-radius: 10px !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stock-card .btn-str-filtrar,
.historial-card .btn-str-filtrar {
  background: #5b21f6 !important;
  color: #fff !important;
  padding: 0 14px !important;
}
.stock-card .btn-str-limpiar,
.historial-card .btn-str-limpiar {
  width: 36px;
  justify-content: center;
  background: #fff !important;
  color: #312e81 !important;
  border: 1px solid #e5e7eb !important;
  padding: 0 !important;
}
.capital-card .box-header .ce-total-wrap {
  margin: 0;
  text-align: right;
}
.capital-card .box-header .ce-total-label {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.capital-card .box-header .ce-total-value {
  font-size: 20px;
  font-weight: 800;
  color: #312e81;
  line-height: 1.1;
}
.capital-card .ce-date {
  width: 160px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.capital-card .ce-date-icon {
  width: 36px;
  flex-basis: 36px;
  color: #6366f1;
  border-right-color: #e5e7eb;
}
@media (max-width: 767px) {
  .stock-card .productos-barra-izq > .form-control,
  .kardex-card .busca-pro-kardex,
  .kardex-card .kardex-producto .select2-container,
  .capital-card .ce-date {
    width: 100% !important;
  }
}
.reportes-card .contenedor-btn-reportes {
  position: static !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: auto !important;
  margin: 4px auto 12px !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
}
.reportes-card .reporte-ventas-excel,
.reportes-card .reporte-compras-excel {
  display: inline-flex;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.reportes-card .contenedor-btn-reportes .btn {
  width: 40px;
  height: 36px;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none !important;
}
.reportes-card .btn-pdf { background: #ef4444 !important; }
.reportes-card .btn-excel { background: #16a34a !important; }
.reportes-card .btn-print { background: #5b21f6 !important; }
.reportes-card .contenedor-btn-reportes .btn i { color: #fff !important; }
.reportes-card .contenedor-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 0 10px !important;
  margin: 0;
}
.reportes-card .contenedor-radios label {
  margin: 0 !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-weight: 700;
}
.reportes-card .result-report {
  background: #f8fafc !important;
  color: #6b7280 !important;
  border-radius: 10px;
  padding: 12px !important;
  font-weight: 700;
}
@media (max-width: 767px) {
  .stock-card .table-responsive,
  .capital-card .table-responsive {
    overflow: auto !important;
    max-height: 70vh;
    -webkit-overflow-scrolling: touch;
  }
  .stock-card table.tabla-stock-tiempo-real.tabla-categorias {
    width: 860px !important;
    min-width: 860px !important;
    table-layout: auto !important;
  }
  .capital-card table.tabla-capital-estancado.tabla-categorias {
    width: 960px !important;
    min-width: 960px !important;
    table-layout: auto !important;
  }
  .historial-card .table-responsive {
    overflow: auto !important;
    max-height: 70vh;
    -webkit-overflow-scrolling: touch;
  }
  .historial-card table.tabla-historial-ventas.tabla-categorias {
    width: 1100px !important;
    min-width: 1100px !important;
    table-layout: auto !important;
  }
  .historial-card .historial-buscar,
  .historial-card .historial-buscar input,
  .historial-card #hvEstado {
    width: 100% !important;
  }
}
.hv-kpis .hv-card {
  border-radius: 16px !important;
  border: 1px solid #e7eaf0 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
}
.hv-kpis .hv-card-value {
  color: #312e81 !important;
}
.hv-kpis .hv-card-value.hv-debt {
  color: #d35400 !important;
}
.historial-card .historial-titulo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.historial-card .historial-nota {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}
.historial-card .historial-buscar {
  width: 280px;
  max-width: 100%;
}
.historial-card .historial-buscar input {
  width: 100% !important;
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  padding: 0 12px 0 34px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.historial-card #hvEstado {
  width: 150px !important;
  max-width: 100%;
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  flex: 0 0 auto;
}
.historial-card .btn-hv-cobrar {
  height: 36px;
  border: 0 !important;
  border-radius: 10px !important;
  background: #f59e0b !important;
  color: #fff !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px !important;
}
.rg-kpis .rg-card {
  border-radius: 16px !important;
  border: 1px solid #e7eaf0 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
}
.rg-kpis .rg-card-value {
  color: #312e81 !important;
}
.rg-kpis .rg-card-value.rg-debt {
  color: #d35400 !important;
}
.gastos-card .box-header .rg-total-wrap {
  margin: 0;
  text-align: right;
}
.gastos-card .box-header .rg-total-label {
  font-size: 11px !important;
  font-weight: 700;
  color: #6b7280 !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.gastos-card .box-header .rg-total-value {
  font-size: 20px !important;
  font-weight: 800;
  color: #312e81 !important;
  line-height: 1.1;
}
.gastos-card .productos-barra-izq .select2-container {
  width: 150px !important;
  min-width: 0 !important;
  flex: 0 0 150px;
}
.gastos-card .select2-container .select2-selection--single {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
}
.gastos-card .select2-container .select2-selection__rendered {
  line-height: 34px !important;
  color: #111827 !important;
  padding-left: 12px !important;
}
.gastos-card .tabla-reporte-gastos thead th {
  background: transparent !important;
  color: #6366f1 !important;
}
.gastos-card .result-report {
  background: #f8fafc !important;
  color: #6b7280 !important;
  border-radius: 10px;
  padding: 12px !important;
  font-weight: 700;
}
@media (max-width: 767px) {
  .gastos-card .table-responsive {
    overflow: auto !important;
    max-height: 70vh;
    -webkit-overflow-scrolling: touch;
  }
  .gastos-card table.tabla-reporte-gastos.tabla-categorias {
    width: 980px !important;
    min-width: 980px !important;
    table-layout: auto !important;
  }
  .gastos-card .productos-barra-izq .select2-container {
    width: 100% !important;
    flex: 1 1 100%;
  }
}
@media (min-width: 768px) {
  .gastos-card .contenedor-busqueda .input-group-search,
  .gastos-card .productos-barra-izq {
    flex-wrap: nowrap !important;
  }
  .gastos-card .productos-barra-izq {
    flex: 1 1 auto;
    min-width: 0;
  }
  .gastos-card .inventario-fecha input {
    width: 128px !important;
  }
  .gastos-card .contenedor-busqueda .input-group-search .input-search {
    margin: 0 !important;
    flex: 1 1 160px;
    min-width: 140px;
    width: auto !important;
  }
  .gastos-card .productos-buscar,
  .gastos-card .productos-buscar input {
    width: 100% !important;
  }
}
.utilidad-card .box-header .ru-total-wrap {
  margin: 0;
  text-align: right;
}
.utilidad-card .box-header .ru-total-label {
  font-size: 11px !important;
  font-weight: 700;
  color: #6b7280 !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.utilidad-card .box-header .ru-total-value {
  font-size: 20px !important;
  font-weight: 800;
  color: #16a34a !important;
  line-height: 1.1;
}
.utilidad-card .ru-al {
  color: #6b7280;
  font-weight: 700;
  font-size: 13px;
}
.utilidad-card .btn-ru-buscar {
  width: 36px;
  height: 36px;
  border: 0 !important;
  border-radius: 10px !important;
  background: #5b21f6 !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  flex: 0 0 36px;
}
.utilidad-card .tabla-reporte-utilidad thead th {
  background: transparent !important;
  color: #6366f1 !important;
  border: 0 !important;
}
@media (max-width: 767px) {
  .utilidad-card .table-responsive {
    overflow: auto !important;
    max-height: 70vh;
    -webkit-overflow-scrolling: touch;
  }
  .utilidad-card table.tabla-reporte-utilidad.tabla-categorias {
    width: 860px !important;
    min-width: 860px !important;
  }
}
@media (min-width: 768px) {
  .utilidad-card .contenedor-busqueda .input-group-search,
  .utilidad-card .productos-barra-izq {
    flex-wrap: nowrap !important;
  }
  .utilidad-card .productos-barra-izq {
    flex: 1 1 auto;
    min-width: 0;
  }
  .utilidad-card .inventario-fecha input {
    width: 128px !important;
  }
  .utilidad-card .contenedor-busqueda .input-group-search .input-search {
    margin: 0 !important;
    flex: 1 1 180px;
    min-width: 160px;
    width: auto !important;
  }
  .utilidad-card .productos-buscar,
  .utilidad-card .productos-buscar input {
    width: 100% !important;
  }
}
.medios-card .box-header .rmp-total-wrap {
  margin: 0;
  text-align: right;
}
.medios-card .box-header .rmp-total-label {
  font-size: 11px !important;
  font-weight: 700;
  color: #6b7280 !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.medios-card .box-header .rmp-total-value {
  font-size: 20px !important;
  font-weight: 800;
  color: #2563eb !important;
  line-height: 1.1;
}
.medios-card .productos-barra-izq .select2-container {
  width: 220px !important;
  min-width: 0 !important;
  flex: 0 0 220px;
}
.medios-card .select2-container .select2-selection--single {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
}
.medios-card .select2-container .select2-selection__rendered {
  line-height: 34px !important;
  color: #111827 !important;
  padding-left: 12px !important;
}
.medios-card .tabla-reporte-medios-pago thead th {
  background: transparent !important;
  color: #6366f1 !important;
  border: 0 !important;
}
@media (max-width: 767px) {
  .medios-card .table-responsive {
    overflow: auto !important;
    max-height: 70vh;
    -webkit-overflow-scrolling: touch;
  }
  .medios-card table.tabla-reporte-medios-pago.tabla-categorias {
    width: 640px !important;
    min-width: 640px !important;
  }
  .medios-card .productos-barra-izq .select2-container {
    width: 100% !important;
    flex: 1 1 100%;
  }
}
@media (min-width: 768px) {
  .medios-card .contenedor-busqueda .input-group-search,
  .medios-card .productos-barra-izq {
    flex-wrap: nowrap !important;
  }
  .medios-card .productos-barra-izq {
    flex: 1 1 auto;
    min-width: 0;
  }
  .medios-card .inventario-fecha input {
    width: 128px !important;
  }
  .medios-card .contenedor-busqueda .input-group-search .input-search {
    margin: 0 !important;
    flex: 1 1 160px;
    min-width: 140px;
    width: auto !important;
  }
  .medios-card .productos-buscar,
  .medios-card .productos-buscar input {
    width: 100% !important;
  }
}
#modalAgregarProveedor .modal-header,
#modalEditarProveedor .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalAgregarProveedor .modal-title,
#modalEditarProveedor .modal-title,
#modalAgregarProveedor .close,
#modalEditarProveedor .close {
  color: #fff !important;
}
#modalAgregarProveedor .form-control,
#modalEditarProveedor .form-control {
  border-radius: 12px !important;
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: none !important;
}
#modalAgregarProveedor .select2-container,
#modalEditarProveedor .select2-container {
  width: 100% !important;
}
#modalAgregarProveedor .select2-container .select2-selection--single,
#modalEditarProveedor .select2-container .select2-selection--single {
  height: 42px !important;
  border-radius: 12px !important;
  border: 1px solid #e5e7eb !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}
#modalAgregarProveedor .select2-container .select2-selection__rendered,
#modalEditarProveedor .select2-container .select2-selection__rendered {
  line-height: 40px !important;
  color: #6b7280 !important;
  padding-left: 12px !important;
}
#modalAgregarProveedor .select2-container .select2-selection__arrow,
#modalEditarProveedor .select2-container .select2-selection__arrow {
  height: 40px !important;
}
.compra-card .box-success,
.compra-card form .box {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.compra-card > .box-body .box-header {
  display: none !important;
  border: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}
.compra-card .compra-sucursal {
  width: 280px;
  max-width: 100%;
}
.compra-card .compra-sucursal .select2-container {
  width: 280px !important;
  max-width: 100%;
}
.compra-card .compra-sucursal .select2-selection--single {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
}
.compra-card .compra-sucursal .select2-selection__rendered {
  line-height: 34px !important;
  color: #111827 !important;
}
.compra-card legend {
  color: #312e81 !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: .06em !important;
  border: 0 !important;
  margin: 6px 0 12px !important;
}
.compra-card .formCompra .form-control,
.compra-card .formCompra select.form-control,
.compra-card .formCompra #fechaDoc,
.compra-card .formCompra #serieDoc,
.compra-card .formCompra #correlativoDoc,
.compra-card .formCompra #descuentoGlobalC,
.compra-card .formCompra select {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0 10px 10px 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
.compra-card .formCompra #docIdentidad {
  border-radius: 10px 0 0 10px !important;
}
.compra-card .formCompra #comentario {
  height: 110px !important;
  min-height: 110px !important;
  padding: 12px 14px !important;
  line-height: 1.45 !important;
  resize: vertical;
}
.compra-card .input-group:has(#comentario) .input-group-addon {
  height: 110px !important;
  vertical-align: top !important;
  padding-top: 14px !important;
}
.compra-card .formCompra .input-group-addon {
  background: #fff !important;
  background-image: none !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
  color: #6366f1 !important;
}
.compra-card .formCompra #docIdentidad ~ span {
  background: #5b21f6 !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 10px 10px 0 !important;
}
.compra-card .formCompra .input-group-adddon .form-control {
  border-radius: 10px !important;
}
.compra-card .btn-agregar-carrito,
.compra-card .btnproser {
  background: #5b21f6 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  height: 36px;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
}
.compra-card .tabla-items thead,
.compra-card .tabla-items thead th {
  background: transparent !important;
  color: #6366f1 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}
.compra-card .tabla-totales thead th {
  color: #312e81 !important;
  font-weight: 800 !important;
  border: 0 !important;
  background: transparent !important;
}
.compra-card .totales input,
.compra-card #descuentoGlobalC {
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  height: 36px !important;
  background: #fff !important;
}
.compra-card .btnGuardarCompra {
  background: #5b21f6 !important;
  background-image: none !important;
  border-radius: 10px !important;
  color: #fff !important;
}
.compra-card .btnEliminarCarro {
  background: #ef4444 !important;
  background-image: none !important;
  border-radius: 10px !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .compra-card .compra-sucursal,
  .compra-card .compra-sucursal .select2-container {
    width: 100% !important;
  }
  .compra-card .table-responsive {
    overflow: auto !important;
  }
  .compra-card .tabla-items {
    min-width: 860px;
  }
}
#modalProductosVenta.modal-item-compra .modal-content {
  border-radius: 16px !important;
  overflow: hidden;
}
#modalProductosVenta.modal-item-compra .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 14px 18px !important;
  border-radius: 16px 16px 0 0 !important;
}
#modalProductosVenta.modal-item-compra .modal-title,
#modalProductosVenta.modal-item-compra .close {
  color: #fff !important;
}
#modalProductosVenta.modal-item-compra .box {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  margin-bottom: 8px;
}
#modalProductosVenta.modal-item-compra .input-group-addonn {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6366f1;
}
#modalProductosVenta.modal-item-compra .form-control {
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  color: #111827 !important;
}
#modalProductosVenta.modal-item-compra #valor_unitario {
  background: #eef2f6 !important;
}
#modalProductosVenta.modal-item-compra #btnAddItem {
  width: 46px;
  height: 46px;
  border: 0 !important;
  border-radius: 12px !important;
  background: #5b21f6 !important;
  background-image: none !important;
  color: #fff !important;
  padding: 0 !important;
}
#modalProductosVenta.modal-item-compra .modal-footer {
  border-top: 1px solid #eef2f6 !important;
  background: #fff !important;
}
#modalProductosVenta.modal-item-compra .modal-footer .btn-danger {
  background: #ef4444 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700;
}
#modalAgregarCliente .modal-header,
#modalEditarCliente .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalAgregarCliente .modal-title,
#modalEditarCliente .modal-title,
#modalAgregarCliente .close,
#modalEditarCliente .close {
  color: #fff !important;
}
#modalAgregarCliente .form-control,
#modalEditarCliente .form-control {
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}
#modalAgregarCliente .input-group .form-control,
#modalEditarCliente .input-group .form-control {
  border-radius: 0 12px 12px 0 !important;
}
#modalAgregarCliente .input-group-addon,
#modalEditarCliente .input-group-addon {
  background: #fff !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 12px 0 0 12px !important;
}
#modalAgregarCliente .modal-footer .btn-primary,
#modalEditarCliente .modal-footer .btn-primary {
  background: #5b21f6 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalAgregarCliente .modal-footer .btn-danger,
#modalEditarCliente .modal-footer .btn-danger {
  background: #ef4444 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
.clientes-card .contenedor-busqueda .input-group-search {
  padding-right: 0 !important;
}
.consulta-card #formConsulta input,
.consulta-card #formConsulta select {
  height: 40px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0 10px 10px 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
}
.consulta-card #formConsulta .input-group-addon {
  background: #fff !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
}
.consulta-card #btnConsulta {
  background: #5b21f6 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  height: 40px;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
}
.consulta-card #resultConsulta {
  color: #312e81;
  font-size: 16px !important;
  font-weight: 700;
}
.empresa-card .box-header {
  position: relative;
  justify-content: center !important;
  align-items: flex-start;
}
.empresa-card .img-contenedor-logo {
  width: auto !important;
  flex: 0 0 auto;
  margin: 0 auto;
}
.empresa-card .box-tools {
  position: absolute !important;
  top: 16px;
  right: 18px;
  float: none !important;
}
.empresa-card .previsualizar {
  border-radius: 16px !important;
  border: 1px solid #e7eaf0 !important;
  background: #fff !important;
  padding: 8px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}
.empresa-card .eliminar-logo {
  background: #ef4444 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
.empresa-card .box-body .box {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.empresa-card legend {
  color: #312e81 !important;
  border: 0 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
}
.empresa-card .number-guiar {
  background: #5b21f6 !important;
  border-radius: 50% !important;
}
.empresa-card #formEmpresa input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.empresa-card #formEmpresa select,
.empresa-card #formEmpresa textarea {
  height: 40px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0 10px 10px 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 14px !important;
}
.empresa-card #formEmpresa .input-group-addon {
  background: #fff !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
  height: 40px !important;
}
.empresa-card #formEmpresa .btn-primary,
.empresa-card #actualizarBaseD,
.empresa-card #backup {
  background: #5b21f6 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.swal2-popup.swal-empresa {
  border-radius: 16px !important;
  padding: 22px 20px 16px !important;
}
.swal2-popup.swal-empresa .swal2-title {
  color: #312e81 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}
.swal2-popup.swal-empresa .swal2-html-container {
  color: #4b5563 !important;
  font-size: 14px !important;
}
.swal2-popup.swal-empresa .swal2-icon.swal2-info {
  border-color: #5b21f6 !important;
  color: #5b21f6 !important;
}
.swal2-popup.swal-empresa .swal2-confirm {
  background: #5b21f6 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.swal2-popup.swal-empresa .swal2-cancel {
  background: #ef4444 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.swal2-popup.swal-empresa .swal2-footer {
  border-top: 1px solid #eef2f6 !important;
  color: #6b7280 !important;
  font-size: 13px !important;
}
.swal2-popup.swal-empresa .swal2-html-container a,
.swal2-popup.swal-empresa .swal2-footer a {
  color: #5b21f6 !important;
  font-weight: 800;
  text-decoration: none;
}
.swal2-popup.swal-rol {
  border-radius: 16px !important;
  padding: 22px 20px 16px !important;
}
.swal2-popup.swal-rol .swal2-title {
  color: #312e81 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}
.swal2-popup.swal-rol .swal2-html-container {
  color: #4b5563 !important;
  font-size: 14px !important;
}
.swal2-popup.swal-rol .swal2-icon.swal2-question {
  border-color: #5b21f6 !important;
  color: #5b21f6 !important;
}
.swal2-popup.swal-rol .swal2-icon.swal2-success {
  border-color: #16a34a !important;
  color: #16a34a !important;
}
.swal2-popup.swal-rol .swal-rol-eliminar,
.swal2-popup.swal-rol .swal-rol-aceptar,
.swal2-popup.swal-rol .swal-rol-cancelar {
  border: 0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.swal2-popup.swal-rol .swal-rol-eliminar {
  background: #ef4444 !important;
  color: #fff !important;
}
.swal2-popup.swal-rol .swal-rol-cancelar {
  background: #eef2ff !important;
  color: #312e81 !important;
}
.swal2-popup.swal-rol .swal-rol-aceptar {
  background: #5b21f6 !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .clientes-card .table-responsive {
    overflow: auto !important;
  }
  .clientes-card table.tabla-clientes {
    min-width: 980px;
  }
}
#modalAgregarSucursal .modal-header,
#modalEditarSucursal .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalAgregarSucursal .modal-title,
#modalEditarSucursal .modal-title,
#modalAgregarSucursal .close,
#modalEditarSucursal .close {
  color: #fff !important;
}
#modalAgregarSucursal .form-control,
#modalEditarSucursal .form-control {
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}
@media (max-width: 767px) {
  #modalAgregarSucursal .modal-body [class*="col-"] > .form-control,
  #modalEditarSucursal .modal-body [class*="col-"] > .form-control {
    margin-bottom: 15px !important;
  }
}
#modalAgregarSucursal .modal-body .box,
#modalEditarSucursal .modal-body .box {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
#modalAgregarSucursal .select2-container,
#modalEditarSucursal .select2-container {
  width: 100% !important;
}
#modalAgregarSucursal .select2-container .select2-selection--single,
#modalEditarSucursal .select2-container .select2-selection--single {
  height: 42px !important;
  border-radius: 12px !important;
  border: 1px solid #e5e7eb !important;
  background: #f8fafc !important;
}
#modalAgregarSucursal .select2-container .select2-selection__rendered,
#modalEditarSucursal .select2-container .select2-selection__rendered {
  line-height: 40px !important;
  color: #6b7280 !important;
  padding-left: 12px !important;
}
#modalAgregarSucursal .select2-container .select2-selection__arrow,
#modalEditarSucursal .select2-container .select2-selection__arrow {
  height: 40px !important;
}
#modalAgregarSucursal .modal-footer .btn-primary,
#modalEditarSucursal .modal-footer .btn-primary {
  background: #5b21f6 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalAgregarSucursal .modal-footer .btn-danger,
#modalEditarSucursal .modal-footer .btn-danger {
  background: #ef4444 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalAgregarSucursal .advertencia-sucursal,
#modalEditarSucursal .advertencia-sucursal {
  color: #6366f1 !important;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 12px;
  text-align: center;
}
#modalAgregarSucursal .info-series,
#modalEditarSucursal .info-series {
  background: #ef4444 !important;
  color: #ffffff !important;
  border: 1px solid #dc2626 !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  line-height: 1.45;
  margin-top: 16px !important;
}
#modalAgregarSucursal .series-sucursales,
#modalEditarSucursal .series-sucursales {
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px 8px;
}
#modalAgregarSucursal .series-sucursales thead,
#modalEditarSucursal .series-sucursales thead,
#modalAgregarSucursal .series-sucursales thead th,
#modalEditarSucursal .series-sucursales thead th {
  background: transparent !important;
  background-color: transparent !important;
  color: #6366f1 !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-align: center;
}
#modalAgregarSucursal .series-sucursales tbody td,
#modalEditarSucursal .series-sucursales tbody td {
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  vertical-align: middle;
  border: 0 !important;
}
#modalAgregarSucursal .series-sucursales input,
#modalEditarSucursal .series-sucursales input {
  width: 78px !important;
  height: 36px !important;
  margin: 4px auto !important;
  padding: 0 8px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  text-align: center;
  font-weight: 700 !important;
  color: #111827 !important;
}
#modalAgregarUsuario .modal-header,
#modalEditarUsuario .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalAgregarUsuario .modal-title,
#modalEditarUsuario .modal-title,
#modalAgregarUsuario .close,
#modalEditarUsuario .close {
  color: #fff !important;
}
#modalAgregarUsuario .form-control,
#modalEditarUsuario .form-control {
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
}
#modalAgregarUsuario .previsualizar,
#modalEditarUsuario .previsualizar {
  border-radius: 16px !important;
  border: 1px solid #e7eaf0 !important;
  background: #f8fafc !important;
}
#modalAgregarUsuario .modal-footer .btn-primary,
#modalEditarUsuario .modal-footer .btn-primary {
  background: #5b21f6 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalAgregarUsuario .modal-footer .btn-danger,
#modalEditarUsuario .modal-footer .btn-danger {
  background: #ef4444 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .usuarios-card .dataTables_wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .usuarios-card table.tabla-categorias {
    width: 980px !important;
    min-width: 980px !important;
    table-layout: auto !important;
  }
  .usuarios-card table.tabla-categorias th,
  .usuarios-card table.tabla-categorias td {
    display: table-cell !important;
    width: auto !important;
  }
}
.usuarios-card .modo-contenedor-selva {
  width: auto !important;
  display: inline-flex !important;
}
.usuarios-card .toggle.btn {
  width: 100px !important;
  min-width: 100px !important;
  height: 26px !important;
  min-height: 26px !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.usuarios-card .toggle .btn {
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 26px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.usuarios-card .toggle .toggle-on,
.usuarios-card .toggle .toggle-off {
  width: auto !important;
  height: 26px !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.usuarios-card .toggle .toggle-on {
  padding-right: 26px !important;
}
.usuarios-card .toggle .toggle-off {
  padding-left: 26px !important;
}
.usuarios-card .toggle .toggle-handle {
  position: absolute !important;
  top: 3px !important;
  left: calc(50% - 23px) !important;
  right: auto !important;
  width: 20px !important;
  height: 20px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}
.usuarios-card .toggle.off .toggle-handle {
  left: calc(50% + 3px) !important;
}
.usuarios-card .toggle.btn-primary,
.usuarios-card .toggle-on.btn-primary {
  background: #5b21f6 !important;
}
.usuarios-card .toggle-off.btn-danger {
  background: #ef4444 !important;
}
.usuarios-card .toggle-handle {
  background: #fff !important;
  border-radius: 999px !important;
}
.roles-card .tabla-categorias .btn {
  width: auto !important;
  height: auto !important;
  min-height: 32px;
  padding: 6px 14px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}
.roles-card .tabla-categorias td .btn + .btn {
  margin-left: 6px !important;
}
.roles-card .btn-agregar-accesos {
  background: #5b21f6 !important;
  color: #fff !important;
}
#modalAgregarRol .modal-header,
#modalAgregarAccesoRol .modal-header,
#modalAgregarEditarRol .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalAgregarRol .modal-title,
#modalAgregarAccesoRol .modal-title,
#modalAgregarEditarRol .modal-title,
#modalAgregarRol .close,
#modalAgregarAccesoRol .close,
#modalAgregarEditarRol .close {
  color: #fff !important;
}
#modalAgregarRol .form-control {
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
}
#modalAgregarRol .modal-footer .btn-primary,
#modalAgregarAccesoRol .modal-footer .btn-primary,
#modalAgregarEditarRol .modal-footer .btn-primary {
  background: #5b21f6 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalAgregarRol .modal-footer .btn-danger,
#modalAgregarAccesoRol .modal-footer .btn-danger,
#modalAgregarEditarRol .modal-footer .btn-danger {
  background: #ef4444 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalAgregarAccesoRol .contenedor-roles-ch,
#modalAgregarEditarRol .contenedor-roles-ch {
  display: flex !important;
  flex-flow: row wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 8px !important;
}
#modalAgregarAccesoRol .contenedor-roles-ch label,
#modalAgregarEditarRol .contenedor-roles-ch label {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  background: #f8fafc !important;
  color: #312e81 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  line-height: 1.2 !important;
}
#modalAgregarAccesoRol .contenedor-roles-ch label:has(input:checked),
#modalAgregarEditarRol .contenedor-roles-ch label:has(input:checked) {
  background: #5b21f6 !important;
  color: #fff !important;
  border-color: #5b21f6 !important;
}
#modalAgregarAccesoRol .contenedor-roles-ch label input,
#modalAgregarEditarRol .contenedor-roles-ch label input {
  width: 15px !important;
  height: 15px !important;
  min-height: 0 !important;
  margin: 0 6px 0 0 !important;
  padding: 0 !important;
  border-radius: 4px !important;
  accent-color: #5b21f6;
  flex: 0 0 auto;
}
#modalAgregarAccesoRol .contenedor-roles-ch label:has(input:checked) input,
#modalAgregarEditarRol .contenedor-roles-ch label:has(input:checked) input {
  accent-color: #fff;
}
@media (max-width: 767px) {
  .roles-card .contenido-roles,
  .roles-card .dataTables_wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .roles-card table.tabla-categorias {
    min-width: 640px;
  }
}
.unidades-card .modo-contenedor-unidad {
  width: auto !important;
  margin: 0 auto !important;
}
.unidades-card .modo-contenedor-unidad label {
  width: 46px !important;
  height: 26px !important;
  padding: 0 !important;
  line-height: 26px !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
}
.unidades-card .unidadsi {
  background: #5b21f6 !important;
  border-color: #5b21f6 !important;
}
.unidades-card .unidadno {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
}
.unidades-card .alterno2 {
  background: #e5e7eb !important;
  color: #6b7280 !important;
  border-color: #e5e7eb !important;
}
@media (max-width: 767px) {
  .unidades-card .dataTables_wrapper,
  .unidades-card .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .unidades-card table.tabla-categorias {
    min-width: 640px;
  }
  .unidades-card table.tabla-categorias th,
  .unidades-card table.tabla-categorias td {
    display: table-cell !important;
    width: auto !important;
  }
}
#modalAgregarUnidad .modal-header,
#modalEditarUnidad .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalAgregarUnidad .modal-title,
#modalEditarUnidad .modal-title,
#modalAgregarUnidad .close,
#modalEditarUnidad .close {
  color: #fff !important;
}
#modalAgregarUnidad .form-control,
#modalEditarUnidad .form-control {
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0 12px 12px 0 !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
}
#modalAgregarUnidad .modal-footer .btn-primary,
#modalEditarUnidad .modal-footer .btn-primary {
  background: #5b21f6 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalAgregarUnidad .modal-footer .btn-danger,
#modalEditarUnidad .modal-footer .btn-danger {
  background: #ef4444 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
.cuentas-card .img-cuenta-banco-tabla {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 2px;
}
@media (max-width: 767px) {
  .cuentas-card .dataTables_wrapper,
  .cuentas-card .box-body.table-user {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .cuentas-card table.tabla-categorias {
    width: 1100px !important;
    min-width: 1100px !important;
  }
  .cuentas-card table.tabla-categorias th,
  .cuentas-card table.tabla-categorias td {
    display: table-cell !important;
    width: auto !important;
  }
}
#modalAgregarBanco .modal-header,
#modalEditarCuentaBanco .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalAgregarBanco .modal-title,
#modalEditarCuentaBanco .modal-title,
#modalAgregarBanco .close,
#modalEditarCuentaBanco .close {
  color: #fff !important;
}
#modalAgregarBanco .form-control,
#modalEditarCuentaBanco .form-control {
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
}
#modalAgregarBanco .modal-footer .btn-primary,
#modalEditarCuentaBanco .modal-footer .btn-primary {
  background: #5b21f6 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalAgregarBanco .modal-footer .btn-danger,
#modalEditarCuentaBanco .modal-footer .btn-danger {
  background: #ef4444 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
.medios-pago-card .tabla-categorias .btnCambiarEstado {
  width: auto !important;
  height: auto !important;
  min-height: 32px;
  padding: 6px 14px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}
.medios-pago-card .tabla-categorias .btnCambiarEstado.btn-success {
  background: #16a34a !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .medios-pago-card .dataTables_wrapper,
  .medios-pago-card .box-body.table-user {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .medios-pago-card table.tabla-categorias {
    width: 760px !important;
    min-width: 760px !important;
  }
  .medios-pago-card table.tabla-categorias th,
  .medios-pago-card table.tabla-categorias td {
    display: table-cell !important;
    width: auto !important;
  }
}
#modalEditarMedioPago .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalEditarMedioPago .modal-title,
#modalEditarMedioPago .close {
  color: #fff !important;
}
#modalEditarMedioPago .form-control {
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
}
#modalEditarMedioPago .modal-footer .btn-primary {
  background: #5b21f6 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalEditarMedioPago .modal-footer .btn-danger {
  background: #ef4444 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
.cajas-card .tabla-categorias .btn-estado-tabla {
  width: auto !important;
  height: auto !important;
  min-height: 32px;
  padding: 6px 14px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}
.cajas-card .tabla-categorias .btn-estado-tabla.btn-success {
  background: #16a34a !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .cajas-card .dataTables_wrapper,
  .cajas-card .table-cajas {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .cajas-card table.tabla-categorias {
    width: 640px !important;
    min-width: 640px !important;
  }
  .cajas-card table.tabla-categorias th,
  .cajas-card table.tabla-categorias td {
    display: table-cell !important;
    width: auto !important;
  }
}
#modalAgregarCaja .modal-header,
#modalEditarCaja .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalAgregarCaja .modal-title,
#modalEditarCaja .modal-title,
#modalAgregarCaja .close,
#modalEditarCaja .close {
  color: #fff !important;
}
#modalAgregarCaja .form-control,
#modalEditarCaja .form-control {
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
}
#modalAgregarCaja .modal-footer .btn-primary,
#modalEditarCaja .modal-footer .btn-primary {
  background: #5b21f6 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalAgregarCaja .modal-footer .btn-danger,
#modalEditarCaja .modal-footer .btn-danger {
  background: #ef4444 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
.arqueo-card .fechas-reportes {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  overflow-x: auto;
}
.datepicker-dropdown {
  z-index: 2000 !important;
}
.arqueo-card .fechas-reportes .bootstrap-select {
  width: 78px !important;
  flex: 0 0 auto;
}
.arqueo-card .contenedor-busqueda {
  display: none !important;
}
.arqueo-card .fechas-reportes .col-md-3 {
  width: auto !important;
  float: none;
  padding: 0;
}
.arqueo-card .fechas-reportes .input-group {
  display: flex !important;
  align-items: center;
}
.arqueo-card .fechas-reportes .input-group-addon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  padding: 0 !important;
  line-height: 1 !important;
  background: #fff !important;
  color: #6366f1 !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
}
.arqueo-card .fechas-reportes .input-group-addon i {
  line-height: 1;
  margin: 0;
}
.arqueo-card .fechas-reportes input {
  height: 36px !important;
  width: 150px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0 10px 10px 0 !important;
  background: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.arqueo-card .btn-select,
.arqueo-card .fechas-reportes select#selectnum {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: none !important;
}
.arqueo-card .btn-rd-inventarios {
  position: static !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: auto !important;
  margin: 0 auto 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.arqueo-card .btn-rd-inventarios .btn {
  width: 40px !important;
  height: 36px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
.arqueo-card .btn-pdf { background: #ef4444 !important; }
.arqueo-card .btn-print { background: #5b21f6 !important; }
.arqueo-card .btn-rd-inventarios .btn i { color: #fff !important; }
.arqueo-card .tabla-categorias .btn-estado-tabla {
  width: auto !important;
  height: auto !important;
  min-height: 32px;
  padding: 6px 14px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}
.arqueo-card .tabla-categorias .btn-estado-tabla.btn-success {
  background: #16a34a !important;
  color: #fff !important;
}
.arqueo-card .result-report {
  background: #f8fafc !important;
  color: #6b7280 !important;
  border-radius: 10px;
  padding: 12px !important;
  font-weight: 700;
}
@media (max-width: 767px) {
  .arqueo-card .table-responsive,
  .arqueo-card .dataTables_wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .arqueo-card table.tabla-categorias {
    width: 1100px !important;
    min-width: 1100px !important;
  }
  .arqueo-card table.tabla-categorias th,
  .arqueo-card table.tabla-categorias td {
    display: table-cell !important;
    width: auto !important;
  }
  .arqueo-card .fechas-reportes {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }
  .arqueo-card .fechas-reportes .col-md-3,
  .arqueo-card .fechas-reportes .input-group,
  .arqueo-card .fechas-reportes .bootstrap-select,
  .arqueo-card .fechas-reportes select#selectnum {
    width: 100% !important;
  }
  .arqueo-card .fechas-reportes .input-group {
    display: flex !important;
  }
  .arqueo-card .fechas-reportes input {
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
  }
}
#modalAperturaCaja .modal-header,
#modalCierreCaja .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalAperturaCaja .modal-title,
#modalCierreCaja .modal-title,
#modalAperturaCaja .close,
#modalCierreCaja .close {
  color: #fff !important;
}
#modalAperturaCaja .form-control,
#modalCierreCaja .form-control {
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
}
#modalAperturaCaja .modal-footer .btn-primary,
#modalCierreCaja .modal-footer .btn-primary {
  background: #5b21f6 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalAperturaCaja .modal-footer .btn-danger,
#modalCierreCaja .modal-footer .btn-danger {
  background: #ef4444 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalImpresionesCierre .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalImpresionesCierre .modal-title,
#modalImpresionesCierre .close {
  color: #fff !important;
}
#modalImpresionesCierre .modal-dialog {
  width: 420px;
  max-width: 95%;
}
#modalImpresionesCierre .modal-body {
  text-align: center;
  padding: 18px 22px 8px !important;
}
#modalImpresionesCierre .cierre-impresion-texto {
  color: #4b5563;
  margin: 0 0 14px;
  line-height: 1.45;
}
#modalImpresionesCierre .cierre-impresion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0 4px;
}
#modalImpresionesCierre .btn-print-ticket-cierre {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
  padding: 10px 8px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #5b21f6 !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}
#modalImpresionesCierre .btn-print-ticket-cierre i {
  font-size: 22px;
}
#modalImpresionesCierre .modal-footer {
  border-top: 0 !important;
  padding: 8px 18px 18px !important;
}
#modalImpresionesCierre .modal-footer .btn-primary {
  width: 100%;
  background: #5b21f6 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700;
  padding: 10px !important;
  text-transform: uppercase;
}
.gastos-admin-card .fechas-reportes {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.gastos-admin-card .fechas-reportes .col-md-3 {
  width: auto !important;
  float: none;
  padding: 0;
}
.gastos-admin-card .fechas-reportes .input-group {
  display: flex !important;
  align-items: center;
}
.gastos-admin-card .fechas-reportes .input-group-addon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  padding: 0 !important;
  line-height: 1 !important;
  background: #fff !important;
  color: #6366f1 !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
}
.gastos-admin-card .fechas-reportes input {
  height: 36px !important;
  width: 150px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0 10px 10px 0 !important;
  background: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.gastos-admin-card .contenedor-busqueda {
  padding: 0 0 12px !important;
  width: 100%;
}
.gastos-admin-card .contenedor-busqueda .input-group-search {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100% !important;
}
.gastos-admin-card .contenedor-busqueda .bootstrap-select {
  width: 78px !important;
  flex: 0 0 auto;
}
.gastos-admin-card .btn-select,
.gastos-admin-card #selectnum {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.gastos-admin-card .contenedor-busqueda .input-search {
  flex: 1 1 auto;
  margin: 0 !important;
  width: auto !important;
}
.gastos-admin-card .contenedor-busqueda .input-search input {
  height: 36px !important;
  width: 100% !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.gastos-admin-card .btn-rd-inventarios {
  position: static !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: auto !important;
  margin: 0 auto 12px !important;
  padding: 0 !important;
  background: transparent !important;
}
.gastos-admin-card .btn-rd-inventarios .btn {
  width: 40px !important;
  height: 36px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
.gastos-admin-card .btn-pdf { background: #ef4444 !important; }
.gastos-admin-card .btn-print { background: #5b21f6 !important; }
.gastos-admin-card .btn-rd-inventarios .btn i { color: #fff !important; }
.gastos-admin-card .result-report {
  background: #f8fafc !important;
  color: #6b7280 !important;
  border-radius: 10px;
  padding: 12px !important;
  font-weight: 700;
}
@media (max-width: 767px) {
  .gastos-admin-card .fechas-reportes,
  .gastos-admin-card .contenedor-busqueda .input-group-search {
    flex-direction: column;
    align-items: stretch;
  }
  .gastos-admin-card .fechas-reportes .col-md-3,
  .gastos-admin-card .fechas-reportes .input-group,
  .gastos-admin-card .contenedor-busqueda .bootstrap-select,
  .gastos-admin-card #selectnum,
  .gastos-admin-card .contenedor-busqueda .input-search {
    width: 100% !important;
  }
  .gastos-admin-card .fechas-reportes input {
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
  }
  .gastos-admin-card .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .gastos-admin-card table.tabla-categorias {
    width: 860px !important;
    min-width: 860px !important;
  }
  .gastos-admin-card table.tabla-categorias th,
  .gastos-admin-card table.tabla-categorias td {
    display: table-cell !important;
    width: auto !important;
  }
}
#modalGastos .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalGastos .modal-title,
#modalGastos .close {
  color: #fff !important;
}
#modalGastos .form-control {
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
}
#modalGastos textarea.form-control {
  height: auto !important;
  min-height: 90px;
}
#modalGastos .modal-footer .btn-primary {
  background: #5b21f6 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#modalGastos .modal-footer .btn-danger {
  background: #ef4444 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
.gastos-admin-card .tabla-categorias tbody td:last-child {
  text-align: center !important;
}
.gastos-admin-card .tabla-categorias tbody td:last-child .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  vertical-align: middle;
}
.gastos-admin-card .tabla-categorias tbody td:last-child .btn i {
  line-height: 1;
  margin: 0;
}
.historial-cierres-card .hc-subtitulo {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}
.historial-cierres-card .hc-filtros {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}
.historial-cierres-card .hc-campo {
  flex: 1 1 0;
  min-width: 0;
}
.historial-cierres-card .hc-campo-cantidad {
  flex: 0 0 auto;
}
.historial-cierres-card .hc-campo-cantidad select {
  width: 78px !important;
}
.historial-cierres-card .hc-campo label {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}
.historial-cierres-card .hc-filtros .input-group {
  display: flex !important;
  align-items: center;
  width: 100%;
}
.historial-cierres-card .hc-filtros .input-group-addon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  padding: 0 !important;
  line-height: 1 !important;
  background: #fff !important;
  color: #6366f1 !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
}
.historial-cierres-card .hc-filtros .input-group-addon i {
  line-height: 1;
  margin: 0;
}
.historial-cierres-card .hc-filtros input,
.historial-cierres-card .hc-filtros select {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.historial-cierres-card .hc-filtros input {
  width: auto !important;
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 0 10px 10px 0 !important;
}
.historial-cierres-card .hc-filtros select {
  width: 100% !important;
  border-radius: 10px !important;
}
.historial-cierres-card .hc-sesion {
  color: #4f46e5;
  font-weight: 800;
}
.historial-cierres-card .hc-cajero i,
.historial-cierres-card .hc-fecha i {
  color: #6366f1;
  margin-right: 6px;
}
.historial-cierres-card .hc-fechas {
  line-height: 1.35;
}
.historial-cierres-card .hc-fecha {
  font-weight: 700;
}
.historial-cierres-card .hc-hora {
  color: #6b7280;
  font-size: 12px;
}
.historial-cierres-card .hc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.historial-cierres-card .hc-badge-ok {
  background: #ecfdf3;
  color: #16a34a;
}
.historial-cierres-card .hc-badge-dif {
  background: #fef2f2;
  color: #ef4444;
}
.historial-cierres-card .btn-hc-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-weight: 700;
}
.historial-cierres-card .btn-hc-pdf i {
  color: #ef4444;
  margin: 0;
}
.historial-cierres-card .result-report {
  background: #f8fafc !important;
  color: #6b7280 !important;
  border-radius: 10px;
  padding: 12px !important;
  font-weight: 700;
}
@media (max-width: 767px) {
  .historial-cierres-card .hc-filtros {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }
  .historial-cierres-card .hc-campo,
  .historial-cierres-card .hc-campo-cantidad,
  .historial-cierres-card .hc-campo-cantidad select {
    width: 100% !important;
  }
  .historial-cierres-card .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .historial-cierres-card table.tabla-categorias {
    width: 980px !important;
    min-width: 980px !important;
  }
  .historial-cierres-card table.tabla-categorias th,
  .historial-cierres-card table.tabla-categorias td {
    display: table-cell !important;
    width: auto !important;
  }
}
.cotizaciones-card .contenedor-busqueda {
  padding: 0 0 12px !important;
}
.cotizaciones-card .contenedor-busqueda .input-group-search {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100% !important;
}
.cotizaciones-card #selectnum {
  width: 78px !important;
  flex: 0 0 78px;
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.cotizaciones-card #selectSucursal,
.cotizaciones-card .select2-container {
  width: 280px !important;
  flex: 0 1 280px;
}
.cotizaciones-card .select2-container--default .select2-selection--single {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  display: flex;
  align-items: center;
}
.cotizaciones-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px !important;
  color: #111827;
  font-weight: 600;
}
.cotizaciones-card .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 34px !important;
}
.cotizaciones-card .contenedor-busqueda .input-search {
  flex: 1 1 auto;
  margin: 0 !important;
  width: auto !important;
}
.cotizaciones-card .contenedor-busqueda .input-search input {
  height: 36px !important;
  width: 100% !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.cotizaciones-card .tabla-categorias thead,
.cotizaciones-card .tabla-categorias thead th {
  background: #fff !important;
  background-image: none !important;
  color: #6366f1 !important;
}
.cotizaciones-card .tabla-categorias .btn-warning {
  width: auto !important;
  height: auto !important;
  min-height: 32px;
  padding: 6px 12px !important;
  background: #f59e0b !important;
  color: #fff !important;
}
.cotizaciones-card .btn-contenedor-cotizaciones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cotizaciones-card .btn-contenedor-cotizaciones button {
  width: auto !important;
  min-width: 130px;
  height: 32px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #5b21f6 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
.cotizaciones-card .contenedor-print-comprobantes #printA4,
.cotizaciones-card .contenedor-print-comprobantes .senda4 {
  width: 36px !important;
  height: 34px !important;
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
  background-color: #fff !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .08);
}
@media (max-width: 767px) {
  .cotizaciones-card .contenedor-busqueda .input-group-search {
    flex-direction: column;
    align-items: stretch;
  }
  .cotizaciones-card #selectnum,
  .cotizaciones-card #selectSucursal,
  .cotizaciones-card .select2-container,
  .cotizaciones-card .contenedor-busqueda .input-search,
  .cotizaciones-card .contenedor-busqueda .input-search input {
    width: 100% !important;
    flex: 1 1 auto;
  }
  .cotizaciones-card .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .cotizaciones-card table.tabla-categorias {
    width: 1100px !important;
    min-width: 1100px !important;
  }
  .cotizaciones-card table.tabla-categorias th,
  .cotizaciones-card table.tabla-categorias td {
    display: table-cell !important;
    width: auto !important;
  }
}
.daterangepicker {
  border: 1px solid #e7eaf0 !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .12) !important;
  padding: 12px !important;
  color: #111827 !important;
}
.daterangepicker:before,
.daterangepicker:after {
  display: none !important;
}
.daterangepicker .ranges {
  margin: 0 8px 0 0 !important;
}
.daterangepicker .ranges ul {
  width: 168px !important;
}
.daterangepicker .ranges li {
  background: #f8fafc !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  color: #4f46e5 !important;
  font-weight: 700 !important;
  padding: 8px 12px !important;
  margin-bottom: 6px !important;
}
.daterangepicker .ranges li:hover,
.daterangepicker .ranges li.active {
  background: #5b21f6 !important;
  border-color: #5b21f6 !important;
  color: #fff !important;
}
.daterangepicker .applyBtn,
.daterangepicker .applyBtn.btn-success {
  background: #5b21f6 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.daterangepicker .cancelBtn {
  background: #eef2ff !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #312e81 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.daterangepicker td.active,
.daterangepicker td.active:hover {
  background: #5b21f6 !important;
  border-color: transparent !important;
  color: #fff !important;
}
.daterangepicker td.in-range {
  background: #eef2ff !important;
  color: #312e81 !important;
}
.daterangepicker td.available:hover,
.daterangepicker th.available:hover {
  background: #eef2ff !important;
  color: #4f46e5 !important;
}
.daterangepicker th.month {
  color: #312e81 !important;
  font-weight: 800 !important;
}
.daterangepicker .calendar-table {
  border: 0 !important;
  background: #fff !important;
}
.daterangepicker .input-mini {
  height: 36px !important;
  line-height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  color: #111827 !important;
  font-weight: 600 !important;
}
.daterangepicker .input-mini.active {
  border-color: #5b21f6 !important;
}
.cotizacion-card {
  overflow: visible !important;
}
.cotizacion-card .box-success,
.cotizacion-card form .box {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.cotizacion-card .cotizacion-sucursal {
  width: 280px;
  max-width: 100%;
  margin: 0 !important;
}
.cotizacion-card .cotizacion-sucursal .select2-container {
  width: 280px !important;
  max-width: 100%;
}
.cotizacion-card .cotizacion-sucursal .select2-selection--single {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
}
.cotizacion-card .cotizacion-sucursal .select2-selection__rendered {
  line-height: 34px !important;
  color: #111827 !important;
}
.cotizacion-card legend {
  color: #312e81 !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: .06em !important;
  border: 0 !important;
  margin: 6px 0 12px !important;
}
.cotizacion-card .formVenta .form-control,
.cotizacion-card .formVenta select.form-control {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0 10px 10px 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
.cotizacion-card .formVenta .input-group-addon {
  display: table-cell;
  background: #fff !important;
  background-image: none !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
  color: #6366f1 !important;
  width: 40px;
  text-align: center;
}
.cotizacion-card .formVenta .input-group:has(#docIdentidad) {
  display: flex !important;
  width: 100% !important;
}
.cotizacion-card .formVenta #docIdentidad {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0;
  border-radius: 10px 0 0 10px !important;
}
.cotizacion-card .formVenta #docIdentidad ~ span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px !important;
  background: #5b21f6 !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 10px 10px 0 !important;
}
.cotizacion-card .formVenta .input-group-adddon .form-control {
  border-radius: 10px !important;
}
.cotizacion-card .cotizacion-textos {
  clear: both;
  margin: 8px 0 16px;
}
.cotizacion-card .cotizacion-textos label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #312e81;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}
.cotizacion-card .cotizacion-textos label i {
  color: #6366f1;
}
.cotizacion-card .cotizacion-textos textarea.form-control {
  height: auto !important;
  min-height: 120px;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  line-height: 1.5 !important;
  resize: vertical;
  text-transform: none !important;
}
#modalProductosVenta.modal-item-cotizacion .modal-content {
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18) !important;
  overflow: hidden;
}
#modalProductosVenta.modal-item-cotizacion .modal-body {
  background: #fff !important;
  padding: 16px 18px 8px !important;
}
#modalProductosVenta.modal-item-cotizacion .form-control,
#modalProductosVenta.modal-item-cotizacion .pre-css,
#modalProductosVenta.modal-item-cotizacion .number {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
#modalProductosVenta.modal-item-cotizacion .number {
  width: 72px !important;
  padding: 0 !important;
  text-align: center !important;
}
#modalProductosVenta.modal-item-cotizacion .tablaVentas thead,
#modalProductosVenta.modal-item-cotizacion .tablaVentas thead th {
  background: #fff !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  text-align: center !important;
}
#modalProductosVenta.modal-item-cotizacion .tablaVentas td {
  border: 0 !important;
  vertical-align: middle !important;
  text-align: center;
}
#modalProductosVenta.modal-item-cotizacion .btn-stock {
  width: auto !important;
  min-width: 42px;
  height: 28px !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #4f46e5 !important;
  color: #fff !important;
  font-weight: 800 !important;
}
#modalProductosVenta.modal-item-cotizacion .body-productos-ventas .agregarProducto,
#modalProductosVenta.modal-item-cotizacion .btn-grupos .agregarProducto {
  width: 36px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #5b21f6 !important;
  background-image: none !important;
  color: #fff !important;
}
#modalProductosVenta.modal-item-cotizacion .body-productos-ventas .btn-close,
#modalProductosVenta.modal-item-cotizacion .btn-grupos .btn-close {
  width: 36px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #ef4444 !important;
  background-image: none !important;
  color: #fff !important;
}
#modalProductosVenta.modal-item-cotizacion .super-contenedor-precios {
  background: #fff !important;
  border: 1px solid #e7eaf0 !important;
  border-radius: 16px !important;
  padding: 8px 8px 16px !important;
}
#modalProductosVenta.modal-item-cotizacion .desc-productos h3 {
  color: #312e81 !important;
  font-weight: 800 !important;
}
#modalProductosVenta.modal-item-cotizacion .contenedor-precios label {
  color: #6366f1 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  margin: 8px 0 4px !important;
}
#modalProductosVenta.modal-item-cotizacion .modo-contenedor-icbper label.alterno {
  color: #334155 !important;
}
#modalProductosVenta.modal-item-cotizacion .modo-contenedor-icbper label.icbno,
#modalProductosVenta.modal-item-cotizacion .modo-contenedor-icbper label.icbsi {
  color: #fff !important;
}
#modalProductosVenta.modal-item-cotizacion .modal-footer {
  border-top: 0 !important;
  background: #fff !important;
  text-align: center;
}
#modalProductosVenta.modal-item-cotizacion .modal-footer .btn-danger {
  background: #ef4444 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  padding: 8px 18px !important;
}
.cotizacion-card .btn-agregar-carrito,
.cotizacion-card .btnproser {
  background: #5b21f6 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  height: 36px;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase;
}
.cotizacion-card .tabla-items thead,
.cotizacion-card .tabla-items thead th {
  background: transparent !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}
.cotizacion-card .tabla-totales thead th {
  color: #312e81 !important;
  font-weight: 800 !important;
  border: 0 !important;
  background: transparent !important;
}
.cotizacion-card .btnGuardarVenta {
  background: #5b21f6 !important;
  background-image: none !important;
  border-radius: 12px !important;
  color: #fff !important;
}
.cotizacion-card .btnEliminarCarro {
  background: #ef4444 !important;
  background-image: none !important;
  border-radius: 12px !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .cotizacion-card .box-header {
    flex-wrap: wrap;
  }
  .cotizacion-card .cotizacion-sucursal,
  .cotizacion-card .cotizacion-sucursal .select2-container {
    width: 100% !important;
  }
  .cotizacion-card .table-responsive {
    overflow: auto !important;
  }
  .cotizacion-card .tabla-items {
    min-width: 860px;
  }
}
.nc-card {
  overflow: visible !important;
}
.nc-card .box-success,
.nc-card form .box {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.nc-card .nc-sucursal {
  width: 280px;
  max-width: 100%;
  margin: 0 !important;
}
.nc-card .nc-sucursal .select2-container {
  width: 280px !important;
  max-width: 100%;
}
.nc-card .nc-sucursal .select2-selection--single {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
}
.nc-card .nc-sucursal .select2-selection__rendered {
  line-height: 34px !important;
  color: #111827 !important;
}
.nc-card legend {
  color: #312e81 !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: .06em !important;
  border: 0 !important;
  margin: 6px 0 12px !important;
}
.nc-card .formVenta .form-control,
.nc-card .formVenta select.form-control {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0 10px 10px 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
.nc-card .formVenta textarea#comentario {
  height: auto !important;
  min-height: 118px !important;
  padding-top: 10px !important;
  resize: vertical;
  flex: 1 1 auto;
}
.nc-card .formVenta .input-group:has(#comentario) {
  display: flex !important;
  align-items: stretch;
  width: 100% !important;
}
.nc-card .formVenta .input-group:has(#comentario) .input-group-addon {
  display: flex !important;
  align-items: center;
  height: auto !important;
}
.nc-card .formVenta .input-group-addon {
  background: #fff !important;
  background-image: none !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
  color: #6366f1 !important;
}
.nc-card .formVenta .input-group:has(#serieNumero),
.nc-card .formVenta .input-group:has(#docIdentidad) {
  display: flex !important;
  width: 100% !important;
}
.nc-card .formVenta #serieNumero,
.nc-card .formVenta #docIdentidad {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0;
  border-radius: 10px 0 0 10px !important;
}
.nc-card .formVenta #serieNumero ~ .buscarSerie,
.nc-card .formVenta #docIdentidad ~ span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px !important;
  height: 36px !important;
  background: #5b21f6 !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 10px 10px 0 !important;
}
.nc-card .formVenta .input-group-adddon .form-control {
  border-radius: 10px !important;
}
.nc-card .btn-agregar-carrito,
.nc-card .btnproser {
  background: #5b21f6 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  height: 36px;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
}
.nc-card .mostrar-cuotas {
  background: #5b21f6 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  height: 36px !important;
  padding: 0 14px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}
.nc-card .vuelto-abrir-grupo {
  display: flex !important;
  width: 100%;
}
.nc-card .vuelto-abrir-grupo .btn-abrir-vuelto {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px 0 0 10px !important;
  background: #5b21f6 !important;
  color: #fff !important;
  cursor: pointer;
  font-size: 15px !important;
}
.nc-card .vuelto-abrir-grupo #monto_pagado {
  flex: 1;
  height: 40px !important;
  border: 1px solid #e5e7eb !important;
  border-left: 0 !important;
  border-radius: 0 10px 10px 0 !important;
  box-shadow: none !important;
}
#modalCalcularVuelto .modal-vuelto-dialog {
  width: 420px;
  max-width: calc(100% - 24px);
  margin: 40px auto;
}
#modalCalcularVuelto .modal-vuelto {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
}
#modalCalcularVuelto .vuelto-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #5b21f6;
  color: #fff;
}
#modalCalcularVuelto .vuelto-head-titulo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
}
#modalCalcularVuelto .vuelto-head-titulo i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .18);
  font-size: 13px;
}
#modalCalcularVuelto .vuelto-cerrar {
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 28px;
}
#modalCalcularVuelto .vuelto-body {
  padding: 16px;
}
#modalCalcularVuelto .vuelto-total-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #e7eaf0;
  border-radius: 14px;
  background: #fff;
}
#modalCalcularVuelto .vuelto-total-card small,
#modalCalcularVuelto .vuelto-body > label,
#modalCalcularVuelto .vuelto-entregar small {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
#modalCalcularVuelto .vuelto-total-card strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}
#modalCalcularVuelto .vuelto-metodo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #ede9fe;
  color: #5b21f6;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
#modalCalcularVuelto .vuelto-body > label {
  margin: 0 0 8px;
}
#modalCalcularVuelto .vuelto-input {
  display: flex;
  align-items: center;
  height: 48px;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
#modalCalcularVuelto .vuelto-input span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 100%;
  background: #f1f5f9;
  color: #334155;
  font-weight: 800;
}
#modalCalcularVuelto .vuelto-input input {
  flex: 1;
  height: 100%;
  margin: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 20px;
  font-weight: 700;
  box-shadow: none;
}
#modalCalcularVuelto .vuelto-billetes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
#modalCalcularVuelto .vuelto-billete {
  height: 42px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}
#modalCalcularVuelto .vuelto-billete.vuelto-exacto {
  background: #ede9fe;
  color: #5b21f6;
  border-color: #ddd6fe;
}
#modalCalcularVuelto .vuelto-entregar {
  padding: 16px;
  border-radius: 14px;
  background: #16a34a;
  color: #fff;
  text-align: center;
}
#modalCalcularVuelto .vuelto-entregar small {
  color: rgba(255, 255, 255, .9);
}
#modalCalcularVuelto .vuelto-entregar strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}
#modalCalcularVuelto .vuelto-entregar.falta {
  background: #ef4444;
}
#modalCalcularVuelto .vuelto-foot {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
}
#modalCalcularVuelto .vuelto-limpiar,
#modalCalcularVuelto .vuelto-listo {
  flex: 1;
  height: 44px;
  margin: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
#modalCalcularVuelto .vuelto-limpiar {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #475569;
}
#modalCalcularVuelto .vuelto-listo {
  border: 0;
  background: #5b21f6;
  color: #fff;
}
.nc-card .formVenta .grupo-metodopago {
  width: 100% !important;
  max-width: none !important;
}
.nc-card .columna-pago-izq .form-control,
.nc-card .columna-pago-izq textarea,
.nc-card .columna-pago-izq .input-group {
  width: 100% !important;
  max-width: none !important;
}
.nc-card .panel-pago-mixto {
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
  padding: 14px 14px 6px;
  background: #fff !important;
  border: 1px solid #e7eaf0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  box-sizing: border-box;
  overflow: hidden;
}
.nc-card .panel-pago-mixto > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.nc-card .panel-pago-mixto .pago-mixto-hint {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 600;
}
.nc-card .panel-pago-mixto label {
  color: #6366f1 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nc-card .panel-pago-mixto .form-control {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.nc-card .panel-pago-mixto #mixto_suma {
  background: #f5f3ff !important;
  color: #5b21f6 !important;
  font-weight: 800 !important;
}
.nc-card .columna-pago-der .montos-pago-resumen {
  position: static !important;
  z-index: auto !important;
  width: calc(100% - 150px);
  max-width: 420px;
  margin-top: 12px !important;
  margin-left: 150px !important;
  margin-right: 0 !important;
  padding-top: 4px;
  padding-left: 0;
  clear: both;
  box-sizing: border-box;
}
.nc-card .montos-pago-resumen #monto_pagado,
.nc-card .montos-pago-resumen #total_vuelto {
  height: 36px !important;
  font-size: 13px !important;
}
.nc-card .vuelto-abrir-grupo .btn-abrir-vuelto {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
}
@media (max-width: 767px) {
  .nc-card .fila-descuento-resumen > .columna-pago-izq,
  .nc-card .fila-descuento-resumen > .columna-pago-der {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .nc-card .formVenta textarea#comentario {
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .nc-card .columna-pago-der .montos-pago-resumen {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .nc-card .montos-pago-resumen > [class*="col-"] {
    width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .nc-card .montos-pago-resumen #total_vuelto {
    border-radius: 10px !important;
  }
}
.nc-card .tabla-items thead,
.nc-card .tabla-items thead th,
.nc-card .tabla-descuentos thead th {
  background: transparent !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}
.nc-card .tabla-totales thead th {
  color: #312e81 !important;
  font-weight: 800 !important;
  border: 0 !important;
  background: transparent !important;
}
.nc-card .btnGuardarNC,
.nc-card .btnGuardarND,
.nc-card .btnGuardarVenta {
  background: #5b21f6 !important;
  background-image: none !important;
  border-radius: 12px !important;
  color: #fff !important;
}
.nc-card .btnEliminarCarro {
  background: #ef4444 !important;
  background-image: none !important;
  border-radius: 12px !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .nc-card .box-header {
    flex-wrap: wrap;
  }
  .nc-card .nc-sucursal,
  .nc-card .nc-sucursal .select2-container {
    width: 100% !important;
  }
  .nc-card .table-responsive {
    overflow: auto !important;
  }
  .nc-card .tabla-items {
    min-width: 860px;
  }
}
#modalProductosVenta.modal-item-nc .modal-content {
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18) !important;
  overflow: hidden;
}
#modalProductosVenta.modal-item-nc .modal-body {
  background: #fff !important;
  padding: 16px 18px 8px !important;
}
#modalProductosVenta.modal-item-nc .form-control,
#modalProductosVenta.modal-item-nc .pre-css,
#modalProductosVenta.modal-item-nc .number,
#modalProductosVenta.modal-item-nc #selectnum,
#modalProductosVenta.modal-item-nc #categorias,
#modalProductosVenta.modal-item-nc #searchProductoV {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
#modalProductosVenta.modal-item-nc .number {
  width: 72px !important;
  padding: 0 !important;
  text-align: center !important;
}
#modalProductosVenta.modal-item-nc .tablaVentas thead,
#modalProductosVenta.modal-item-nc .tablaVentas thead th {
  background: #fff !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  text-align: center !important;
}
#modalProductosVenta.modal-item-nc .tablaVentas td {
  border: 0 !important;
  vertical-align: middle !important;
  text-align: center;
}
#modalProductosVenta.modal-item-nc .body-productos-ventas .btn-stock {
  width: auto !important;
  min-width: 42px;
  height: 28px !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #4f46e5 !important;
  background-image: none !important;
  color: #fff !important;
  font-weight: 800 !important;
}
#modalProductosVenta.modal-item-nc .body-productos-ventas .agregarProducto,
#modalProductosVenta.modal-item-nc .btn-grupos .agregarProducto {
  width: 36px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #5b21f6 !important;
  background-image: none !important;
  color: #fff !important;
}
#modalProductosVenta.modal-item-nc .body-productos-ventas .btn-close,
#modalProductosVenta.modal-item-nc .btn-grupos .btn-close {
  width: 36px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #ef4444 !important;
  background-image: none !important;
  color: #fff !important;
}
#modalProductosVenta.modal-item-nc .pagination > li > a,
#modalProductosVenta.modal-item-nc .pagination > li > span {
  border: 0 !important;
  border-radius: 8px !important;
  color: #312e81 !important;
  margin: 0 2px;
}
#modalProductosVenta.modal-item-nc .pagination > .active > a,
#modalProductosVenta.modal-item-nc .pagination > .active > span {
  background: #5b21f6 !important;
  color: #fff !important;
}
#modalProductosVenta.modal-item-nc .super-contenedor-precios {
  background: #fff !important;
  border: 1px solid #e7eaf0 !important;
  border-radius: 16px !important;
  padding: 8px 8px 16px !important;
}
#modalProductosVenta.modal-item-nc .desc-productos h3 {
  color: #312e81 !important;
  font-weight: 800 !important;
}
#modalProductosVenta.modal-item-nc .contenedor-precios label {
  color: #6366f1 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  margin: 8px 0 4px !important;
}
#modalProductosVenta.modal-item-nc .btn-precio-pos {
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
#modalProductosVenta.modal-item-nc .btn-precio-normal {
  background: #5b21f6 !important;
}
#modalProductosVenta.modal-item-nc .btn-precio-mayor {
  background: #4f46e5 !important;
}
#modalProductosVenta.modal-item-nc .btn-precio-2 {
  background: #6366f1 !important;
}
#modalProductosVenta.modal-item-nc .btn-precio-3 {
  background: #7c3aed !important;
}
#modalProductosVenta.modal-item-venta .btn-precio-normal {
  background: #2e9d3a !important;
}
#modalProductosVenta.modal-item-venta .btn-precio-mayor {
  background: #2b4fd6 !important;
}
#modalProductosVenta.modal-item-venta .btn-precio-2 {
  background: #1a8ca8 !important;
}
#modalProductosVenta.modal-item-venta .btn-precio-3 {
  background: #e07b1a !important;
}
#modalProductosVenta.modal-item-nc .modo-contenedor-icbper label.alterno {
  color: #334155 !important;
}
#modalProductosVenta.modal-item-nc .modo-contenedor-icbper label.icbno,
#modalProductosVenta.modal-item-nc .modo-contenedor-icbper label.icbsi {
  color: #fff !important;
}
#modalProductosVenta.modal-item-nc .modal-footer {
  border-top: 0 !important;
  background: #fff !important;
  text-align: center;
}
#modalProductosVenta.modal-item-nc .modal-footer .btn-danger {
  background: #ef4444 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  padding: 8px 18px !important;
}
.guia-card {
  overflow: visible !important;
}
.guia-card .box-success,
.guia-card form .box {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.guia-card .guia-sucursal {
  width: 280px;
  max-width: 100%;
  margin: 0 !important;
}
.guia-card .guia-sucursal .select2-container {
  width: 280px !important;
  max-width: 100%;
}
.guia-card .guia-sucursal .select2-selection--single {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
}
.guia-card .guia-sucursal .select2-selection__rendered {
  line-height: 34px !important;
  color: #111827 !important;
}
.guia-card legend {
  color: #312e81 !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: .06em !important;
  border: 0 !important;
  margin: 6px 0 12px !important;
}
.guia-card .number-guiar {
  background: #5b21f6 !important;
  border-radius: 50% !important;
}
.guia-card .number-guiar h3 {
  color: #fff !important;
}
.guia-card .formGuia label {
  color: #312e81 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
}
.guia-card .formGuia .toggle-group label,
.guia-card .formGuia .toggle-group label i {
  color: #111 !important;
}
.guia-card #formGuia .form-control,
.guia-card #formGuia select.form-control,
.guia-card #formGuiaTransportista .form-control,
.guia-card #formGuiaTransportista select.form-control {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
.guia-card #formGuia .input-group-addon,
.guia-card #formGuiaTransportista .input-group-addon {
  background: #fff !important;
  background-image: none !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
  color: #6366f1 !important;
  width: 40px;
  text-align: center;
}
.guia-card #formGuia .input-group-addon + .form-control,
.guia-card #formGuia #tipocomp,
.guia-card #formGuia #tipoDoc,
.guia-card #formGuia #serie,
.guia-card #formGuia #fechaEmision,
.guia-card #formGuiaTransportista .input-group-addon + .form-control,
.guia-card #formGuiaTransportista #tipocomp,
.guia-card #formGuiaTransportista #serie,
.guia-card #formGuiaTransportista #fechaEmision {
  border-radius: 0 10px 10px 0 !important;
}
.guia-card #formGuia .input-group:has(#docIdentidad),
.guia-card #formGuia .input-group:has(#docTransporte),
.guia-card #formGuiaTransportista .input-group:has(#docIdentidadRemitente),
.guia-card #formGuiaTransportista .input-group:has(#docIdentidadDestinatario),
.guia-card #formGuiaTransportista .input-group:has(#docTransporte) {
  display: flex !important;
  width: 100% !important;
}
.guia-card #formGuia #docIdentidad,
.guia-card #formGuia #docTransporte,
.guia-card #formGuiaTransportista #docIdentidadRemitente,
.guia-card #formGuiaTransportista #docIdentidadDestinatario,
.guia-card #formGuiaTransportista #docTransporte {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0;
  border-radius: 10px 0 0 10px !important;
}
.guia-card #formGuia #docIdentidad ~ span,
.guia-card #formGuia #docTransporte ~ span,
.guia-card #formGuia .buscarRuc,
.guia-card #formGuia .buscarDniRuc,
.guia-card #formGuiaTransportista #docIdentidadRemitente ~ span,
.guia-card #formGuiaTransportista #docIdentidadDestinatario ~ span,
.guia-card #formGuiaTransportista #docTransporte ~ span,
.guia-card #formGuiaTransportista .buscarRemitente,
.guia-card #formGuiaTransportista .buscarDestinatario,
.guia-card #formGuiaTransportista .buscarDniRuc {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px !important;
  height: 36px !important;
  background: #5b21f6 !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 10px 10px 0 !important;
}
.guia-card #formGuia textarea.form-control,
.guia-card #formGuiaTransportista textarea.form-control {
  height: auto !important;
  min-height: 110px;
  padding: 12px 14px !important;
  border-radius: 0 12px 12px 0 !important;
  line-height: 1.5 !important;
  resize: vertical;
}
.guia-card .btn-agregar-carrito {
  background: #5b21f6 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  height: 36px;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase;
}
.guia-card .tabla-items thead,
.guia-card .tabla-items thead th,
.guia-card .tablaSeries thead,
.guia-card .tablaSeries thead th {
  background: transparent !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}
.guia-card .btnGuardarGuia,
.guia-card .btnGuardarGuiaTransportista {
  background: #5b21f6 !important;
  background-image: none !important;
  border-radius: 12px !important;
  color: #fff !important;
}
.guia-card .btnEliminarCarro,
.guia-card .btnEliminarCarroTransportista {
  background: #ef4444 !important;
  background-image: none !important;
  border-radius: 12px !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .guia-card .box-header {
    flex-wrap: wrap;
  }
  .guia-card .guia-sucursal,
  .guia-card .guia-sucursal .select2-container {
    width: 100% !important;
  }
  .guia-card .table-responsive {
    overflow: auto !important;
  }
  .guia-card .tabla-items {
    min-width: 720px;
  }
}
#modalProductosGuia.modal-item-guia .modal-content {
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18) !important;
  overflow: hidden;
}
#modalProductosGuia.modal-item-guia .modal-body {
  background: #fff !important;
  padding: 16px 18px 8px !important;
}
#modalProductosGuia.modal-item-guia .contenedor-busqueda .input-group-search {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
#modalProductosGuia.modal-item-guia #selectnum {
  width: 78px !important;
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-weight: 700 !important;
}
#modalProductosGuia.modal-item-guia .input-search {
  flex: 1;
  margin: 0 !important;
}
#modalProductosGuia.modal-item-guia .input-search input {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  background-image: url(../img/search.png) !important;
  background-repeat: no-repeat !important;
  background-position: 99% center !important;
  background-size: 18px !important;
  box-shadow: none !important;
}
#modalProductosGuia.modal-item-guia .tablaGuia thead,
#modalProductosGuia.modal-item-guia .tablaGuia thead th {
  background: #fff !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  text-align: center !important;
}
#modalProductosGuia.modal-item-guia .tablaGuia td {
  border: 0 !important;
  vertical-align: middle !important;
  text-align: center;
}
#modalProductosGuia.modal-item-guia .tablaGuia input {
  width: 72px !important;
  height: 36px !important;
  padding: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  text-align: center !important;
  background: #fff !important;
}
#modalProductosGuia.modal-item-guia .agregarProductoGuia {
  width: 36px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #5b21f6 !important;
  background-image: none !important;
  color: #fff !important;
}
#modalProductosGuia.modal-item-guia .pagination > li > a,
#modalProductosGuia.modal-item-guia .pagination > li > span {
  border: 0 !important;
  border-radius: 8px !important;
  color: #312e81 !important;
  margin: 0 2px;
}
#modalProductosGuia.modal-item-guia .pagination > .active > a,
#modalProductosGuia.modal-item-guia .pagination > .active > span {
  background: #5b21f6 !important;
  color: #fff !important;
}
#modalProductosGuia.modal-item-guia .modal-footer {
  border-top: 0 !important;
  background: #fff !important;
  text-align: center;
}
#modalProductosGuia.modal-item-guia .modal-footer .btn-danger {
  background: #ef4444 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  padding: 8px 18px !important;
}
.swal2-popup.swal-guia {
  border-radius: 16px !important;
  padding: 22px 20px 16px !important;
}
.swal2-popup.swal-guia .swal2-title {
  color: #312e81 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}
.swal2-popup.swal-guia .swal2-html-container {
  color: #4b5563 !important;
  font-size: 14px !important;
}
.swal2-popup.swal-guia .swal2-icon.swal2-question {
  border-color: #c7d2fe !important;
  color: #6366f1 !important;
}
.swal2-popup.swal-guia .swal2-icon.swal2-success {
  border-color: #86efac !important;
  color: #16a34a !important;
}
.swal2-popup.swal-guia .swal-guia-guardar,
.swal2-popup.swal-guia .swal-guia-cancelar {
  border: 0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  padding: 8px 16px !important;
}
.swal2-popup.swal-guia .swal-guia-guardar {
  background: #5b21f6 !important;
  color: #fff !important;
}
.swal2-popup.swal-guia .swal-guia-cancelar {
  background: #ef4444 !important;
  color: #fff !important;
}
.swal2-popup.swal-serie {
  width: 440px !important;
  max-width: calc(100% - 24px);
  border-radius: 16px !important;
  padding: 22px 20px 16px !important;
}
.swal2-popup.swal-serie .swal2-title {
  color: #312e81 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
}
.swal2-popup.swal-serie .serie-producto {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 14px;
}
.swal2-popup.swal-serie .serie-producto b {
  color: #312e81;
}
.swal2-popup.swal-serie #swalBuscarSerie {
  height: 40px !important;
  margin: 0 0 12px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
.swal2-popup.swal-serie #swalListaSeries {
  max-height: 240px;
  overflow: auto;
  text-align: left;
}
.swal2-popup.swal-serie .serie-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid #e7eaf0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.swal2-popup.swal-serie .serie-opt span {
  color: #1e1b4b;
  font-weight: 700;
}
.swal2-popup.swal-serie .serie-opt input {
  accent-color: #5b21f6;
  margin: 0;
}
.swal2-popup.swal-serie .serie-opt-activa {
  border-color: #5b21f6;
  background: #f5f3ff;
}
.swal2-popup.swal-serie .swal2-actions {
  gap: 10px;
  width: 100%;
}
.swal2-popup.swal-serie .swal-serie-agregar,
.swal2-popup.swal-serie .swal-serie-cancelar {
  min-width: 140px;
  height: 40px;
  margin: 0 !important;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 767px) {
  .swal2-popup.swal-serie .swal2-actions {
    flex-direction: column;
    gap: 6px;
  }
  .swal2-popup.swal-serie .swal-serie-agregar,
  .swal2-popup.swal-serie .swal-serie-cancelar {
    width: 100%;
    margin: 0 !important;
  }
}
.swal2-popup.swal-serie .swal-serie-agregar {
  background: #5b21f6;
  color: #fff;
}
.swal2-popup.swal-serie .swal-serie-cancelar {
  background: #ef4444;
  color: #fff;
}
.swal2-popup.swal-servicio .servicio-label {
  display: block;
  margin: 0 0 8px;
  color: #6366f1;
  font-size: 13px;
  font-weight: 800;
}
.swal2-popup.swal-servicio #swalDetalleServicio {
  height: 42px !important;
  margin: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
.swal2-popup.swal-venta {
  width: 460px !important;
  max-width: calc(100% - 24px);
  border-radius: 16px !important;
  padding: 22px 20px 16px !important;
}
.swal2-popup.swal-venta .swal2-title {
  color: #312e81 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}
.swal2-popup.swal-venta .swal2-html-container {
  color: #4b5563 !important;
  font-size: 15px !important;
}
.swal2-popup.swal-venta .swal2-icon.swal2-question,
.swal2-popup.swal-venta .swal2-icon.swal2-warning {
  border-color: #c7d2fe !important;
  color: #6366f1 !important;
}
.swal2-popup.swal-venta .swal2-icon.swal2-success {
  border-color: #86efac !important;
  color: #16a34a !important;
}
.swal2-popup.swal-venta .swal2-icon.swal2-error {
  border-color: #fecaca !important;
}
.swal2-popup.swal-venta .swal2-icon.swal2-error [class^=swal2-x-mark-line] {
  background-color: #ef4444 !important;
}
.swal2-popup.swal-venta .swal2-actions {
  gap: 10px;
  width: 100%;
  justify-content: center;
}
.swal2-popup.swal-venta .swal-venta-ok,
.swal2-popup.swal-venta .swal-venta-cancelar {
  min-width: 140px;
  height: 40px;
  margin: 0 !important;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.swal2-popup.swal-venta .swal-venta-ok {
  background: #5b21f6;
  color: #fff;
}
.swal2-popup.swal-venta .swal-venta-cancelar {
  background: #ef4444;
  color: #fff;
}
@media (max-width: 767px) {
  .swal2-popup.swal-venta .swal2-actions {
    flex-direction: column;
    gap: 6px;
  }
  .swal2-popup.swal-venta .swal-venta-ok,
  .swal2-popup.swal-venta .swal-venta-cancelar {
    width: 100%;
    margin: 0 !important;
  }
}
.swal2-popup.swal-venta .btnsuccess {
  background: #16a34a !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: .03em;
  padding: 12px 16px !important;
  margin: 8px 0 14px !important;
}
.swal2-popup.swal-venta .contenedor-print #printA4,
.swal2-popup.swal-venta .contenedor-print #printT {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  border: 1px solid #e7eaf0 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .08) !important;
}
.swal2-popup.swal-guia #successCO {
  text-align: center;
}
.swal2-popup.swal-guia .bajadacomp,
.swal2-popup.swal-guia .bajadacompNota {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 220px !important;
  height: 42px !important;
  margin: 8px auto 0 !important;
  padding: 0 36px 0 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background-color: #5b21f6 !important;
  background-image: url(../img/svg/xml_cdr.svg) !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 22px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  box-shadow: none !important;
}
.swal2-popup.swal-guia .bajadacomp:hover,
.swal2-popup.swal-guia .bajadacompNota:hover {
  background-color: #4c1d95 !important;
  color: #fff !important;
}
.swal2-popup.swal-guia .swal2-html-container label,
.swal2-popup.swal-guia .swal2-html-container strong {
  color: #312e81 !important;
}
.swal2-popup.swal-guia #medioPagoCobro {
  width: 100% !important;
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #111827 !important;
  font-weight: 600 !important;
}
.swal2-popup.swal-guia .swal2-icon.swal2-warning,
.swal2-popup.swal-guia .swal2-icon.swal2-info {
  border-color: #c7d2fe !important;
  color: #6366f1 !important;
}
.swal2-popup.swal-guia .input-group {
  display: flex !important;
  width: 100% !important;
  align-items: stretch;
}
.swal2-popup.swal-guia .input-group-addon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  background: #fff !important;
  background-image: none !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
  color: #6366f1 !important;
}
.swal2-popup.swal-guia #sendemail {
  flex: 1 1 auto;
  width: auto !important;
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0 10px 10px 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.swal2-popup.swal-guia .reenvio-reporte {
  width: 42px !important;
  height: 42px !important;
  margin-top: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #5b21f6 !important;
  background-image: none !important;
  color: #fff !important;
}
.swal2-popup.swal-guia .contenedor-envio-ws {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}
.swal2-popup.swal-guia .contenedor-envio-ws .iti {
  width: 100% !important;
}
.swal2-popup.swal-guia .contenedor-envio-ws #numberws,
.swal2-popup.swal-guia .contenedor-envio-ws .iti input {
  width: 100% !important;
  height: 42px !important;
  margin: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
.swal2-popup.swal-guia .contenedor-envio-ws .btn-enviar-ws {
  align-self: center;
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #16a34a !important;
  background-image: none !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 36px !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .08);
}
.swal2-popup.swal-guia .respuesta-envio-ws {
  width: 100% !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  background: #ef4444 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  box-sizing: border-box;
}
.swal2-popup.swal-guia .btnsuccess {
  background: #16a34a !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
  padding: 12px 16px !important;
}
.swal2-popup.swal-guia .contenedor-print #printA4 {
  border-radius: 50% !important;
  border: 1px solid #e7eaf0 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .08) !important;
}
.guias-card .contenedor-busqueda {
  padding: 0 0 12px !important;
}
.guias-card .contenedor-estados-sunat {
  background: transparent !important;
  color: #312e81;
  font-weight: 700;
  margin-bottom: 8px;
}
.guias-card .contenedor-busqueda .input-group-search {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100% !important;
}
.guias-card #selectnum {
  width: 78px !important;
  flex: 0 0 78px;
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.guias-card #selectSucursal,
.guias-card .select2-container {
  width: 280px !important;
  flex: 0 1 280px;
}
.guias-card .select2-container--default .select2-selection--single {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  display: flex;
  align-items: center;
}
.guias-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px !important;
  color: #111827 !important;
  font-weight: 600;
}
.guias-card .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 34px !important;
}
.guias-card .contenedor-busqueda .input-search {
  flex: 1 1 auto;
  margin: 0 !important;
  width: auto !important;
}
.guias-card .contenedor-busqueda .input-search input {
  height: 36px !important;
  width: 100% !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.guias-card .tablaGuias thead,
.guias-card .tablaGuias thead th {
  background: #fff !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-align: center !important;
}
.guias-card .tablaGuias td {
  border: 0 !important;
  vertical-align: middle !important;
  text-align: center;
}
.guias-card .contenedor-print-comprobantes #printA4,
.guias-card .contenedor-print-comprobantes #xml,
.guias-card .contenedor-print-comprobantes #cdr,
.guias-card .contenedor-print-comprobantes .s-success,
.guias-card .contenedor-print-comprobantes .s-rechazo,
.guias-card .contenedor-print-comprobantes .anulado,
.guias-card .contenedor-print-comprobantes .s-getcdr {
  width: 36px !important;
  height: 34px !important;
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
  background-color: #fff !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .08);
}
.guias-card .pagination > li > a,
.guias-card .pagination > li > span {
  border: 0 !important;
  border-radius: 8px !important;
  color: #312e81 !important;
  margin: 0 2px;
}
.guias-card .pagination > .active > a,
.guias-card .pagination > .active > span {
  background: #5b21f6 !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .guias-card .contenedor-busqueda .input-group-search {
    flex-direction: column;
    align-items: stretch;
  }
  .guias-card #selectnum,
  .guias-card #selectSucursal,
  .guias-card .select2-container,
  .guias-card .contenedor-busqueda .input-search,
  .guias-card .contenedor-busqueda .input-search input {
    width: 100% !important;
    flex: 1 1 auto;
  }
  .guias-card .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .guias-card table.tablaGuias {
    width: 980px !important;
    min-width: 980px !important;
  }
  .guias-card table.tablaGuias th,
  .guias-card table.tablaGuias td {
    display: table-cell !important;
  }
}
.guias-retorno-card .btn-retornar-almacen,
.guias-retorno-card .btn-retornarnado {
  width: auto !important;
  min-width: 150px;
  height: 34px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background-image: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
}
.guias-retorno-card .btn-retornar-almacen {
  background: #5b21f6 !important;
}
.guias-retorno-card .btn-retornarnado {
  background: #16a34a !important;
}
.resumen-card .contenedor-busqueda {
  padding: 0 0 12px !important;
}
.resumen-card .contenedor-busqueda .input-group-search {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100% !important;
}
.resumen-card #selectnumR {
  width: 78px !important;
  flex: 0 0 78px;
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.resumen-card #selectSucursal,
.resumen-card .select2-container {
  width: 280px !important;
  flex: 0 1 280px;
}
.resumen-card .select2-container--default .select2-selection--single {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  display: flex;
  align-items: center;
}
.resumen-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px !important;
  color: #111827 !important;
  font-weight: 600;
}
.resumen-card .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 34px !important;
}
.resumen-card .contenedor-busqueda .input-search {
  flex: 1 1 auto;
  margin: 0 !important;
  width: auto !important;
}
.resumen-card .contenedor-busqueda .input-search input {
  height: 36px !important;
  width: 100% !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.resumen-card .tablaResumen thead,
.resumen-card .tablaResumen thead th {
  background: #fff !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  text-align: center !important;
}
.resumen-card .tablaResumen td {
  border: 0 !important;
  vertical-align: middle !important;
  text-align: center;
}
#modalAgregarResumen.modal-resumen .modal-content,
#modalBoletas.modal-resumen .modal-content {
  border: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18) !important;
}
#modalAgregarResumen.modal-resumen .modal-header,
#modalBoletas.modal-resumen .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalAgregarResumen.modal-resumen .modal-title,
#modalAgregarResumen.modal-resumen .close,
#modalBoletas.modal-resumen .modal-title,
#modalBoletas.modal-resumen .close {
  color: #fff !important;
  opacity: 1;
}
#modalAgregarResumen.modal-resumen .select2-container {
  width: 100% !important;
}
#modalAgregarResumen.modal-resumen .select2-selection--single,
#modalAgregarResumen.modal-resumen #fechaResumen {
  height: 42px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
}
#modalAgregarResumen.modal-resumen .input-group-addon {
  background: #fff !important;
  background-image: none !important;
  border: 1px solid #e5e7eb !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
  color: #6366f1 !important;
  width: 42px;
  text-align: center;
}
#modalAgregarResumen.modal-resumen #fechaResumen {
  border-radius: 0 10px 10px 0 !important;
  width: 100% !important;
}
#modalAgregarResumen.modal-resumen .table thead th,
#modalBoletas.modal-resumen .table thead th {
  background: #fff !important;
  color: #6366f1 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  text-align: center !important;
}
#modalAgregarResumen.modal-resumen .modal-footer,
#modalBoletas.modal-resumen .modal-footer {
  border-top: 0 !important;
  background: #fff !important;
}
#modalAgregarResumen.modal-resumen .modal-footer .btn-danger,
#modalBoletas.modal-resumen .modal-footer .btn-danger {
  background: #ef4444 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}
#modalAgregarResumen.modal-resumen #btnEnvioResumen {
  background: #5b21f6 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .resumen-card .contenedor-busqueda .input-group-search {
    flex-direction: column;
    align-items: stretch;
  }
  .resumen-card #selectnumR,
  .resumen-card #selectSucursal,
  .resumen-card .select2-container,
  .resumen-card .contenedor-busqueda .input-search,
  .resumen-card .contenedor-busqueda .input-search input {
    width: 100% !important;
    flex: 1 1 auto;
  }
  .resumen-card .table-responsive {
    overflow-x: auto !important;
  }
  .resumen-card table.tablaResumen {
    min-width: 980px;
  }
  .resumen-card table.tablaResumen th,
  .resumen-card table.tablaResumen td {
    display: table-cell !important;
  }
}
.credito-card .contenedor-busqueda {
  padding: 0 0 12px !important;
}
.credito-card .contenedor-busqueda .input-group-search {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100% !important;
}
.credito-card .contenedor-busqueda .bootstrap-select {
  width: 78px !important;
  flex: 0 0 78px;
}
.credito-card .btn-select,
.credito-card #selectnum,
.credito-card .bootstrap-select > .dropdown-toggle {
  width: 78px !important;
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  background-image: none !important;
  color: #111827 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.credito-card #selectSucursal,
.credito-card .select2-container {
  width: 280px !important;
  flex: 0 1 280px;
}
.credito-card .select2-container--default .select2-selection--single {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  display: flex;
  align-items: center;
}
.credito-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px !important;
  color: #111827 !important;
  font-weight: 600;
}
.credito-card .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 34px !important;
}
.credito-card .contenedor-busqueda .input-search {
  flex: 1 1 auto;
  margin: 0 !important;
  width: auto !important;
}
.credito-card .contenedor-busqueda .input-search input {
  height: 36px !important;
  width: 100% !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.credito-card .tabla-clientes-credito thead,
.credito-card .tabla-clientes-credito thead th {
  background: #fff !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  text-align: center !important;
}
.credito-card .tabla-clientes-credito td {
  border: 0 !important;
  vertical-align: middle !important;
  text-align: center;
}
.credito-card .btnVerCuotas {
  width: 36px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #5b21f6 !important;
  background-image: none !important;
  color: #fff !important;
}
.credito-card .pagination > li > a,
.credito-card .pagination > li > span {
  border: 0 !important;
  border-radius: 8px !important;
  color: #312e81 !important;
  margin: 0 2px;
}
.credito-card .pagination > .active > a,
.credito-card .pagination > .active > span {
  background: #5b21f6 !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .credito-card .contenedor-busqueda .input-group-search {
    flex-direction: column;
    align-items: stretch;
  }
  .credito-card .contenedor-busqueda .bootstrap-select,
  .credito-card #selectnum,
  .credito-card #selectSucursal,
  .credito-card .select2-container,
  .credito-card .contenedor-busqueda .input-search,
  .credito-card .contenedor-busqueda .input-search input {
    width: 100% !important;
    flex: 1 1 auto;
  }
  .credito-card .table-responsive {
    overflow-x: auto !important;
  }
  .credito-card table.tabla-clientes-credito {
    min-width: 1100px;
  }
  .credito-card table.tabla-clientes-credito th,
  .credito-card table.tabla-clientes-credito td {
    display: table-cell !important;
  }
}
#modalDetalleCuotas.modal-cuotas .modal-content {
  border: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18) !important;
}
#modalDetalleCuotas.modal-cuotas .modal-header {
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  background-image: linear-gradient(120deg, #312e81 0%, #4f46e5 70%) !important;
  color: #fff !important;
  border: 0 !important;
}
#modalDetalleCuotas.modal-cuotas .modal-title,
#modalDetalleCuotas.modal-cuotas .close {
  color: #fff !important;
  opacity: 1;
}
#modalDetalleCuotas.modal-cuotas .modal-body {
  padding: 6px 16px 4px !important;
}
#modalDetalleCuotas.modal-cuotas .table-responsive {
  border: 0 !important;
  overflow-x: auto;
}
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas {
  width: 100% !important;
  margin: 0 !important;
  table-layout: fixed;
}
#modalDetalleCuotas.modal-cuotas .table thead th {
  background: #fff !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 0 !important;
  border-bottom: 1px solid #e7eaf0 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  text-align: center !important;
  padding: 10px 4px !important;
  white-space: nowrap;
}
#modalDetalleCuotas.modal-cuotas .table td {
  border: 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: middle !important;
  text-align: center !important;
  padding: 10px 4px !important;
  color: #1f2937 !important;
  font-size: 13px !important;
  font-weight: 600;
  white-space: nowrap;
}
#modalDetalleCuotas.modal-cuotas .table tbody tr:hover td {
  background: #f8fafc !important;
}
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas th:nth-child(1),
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas td:nth-child(1) { width: 36px; }
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas th:nth-child(2),
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas td:nth-child(2) { width: 18%; }
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas th:nth-child(4),
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas td:nth-child(4),
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas th:nth-child(7),
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas td:nth-child(7) { width: 12%; }
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas th:nth-child(5),
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas td:nth-child(5) { width: 64px; }
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas th:nth-child(8),
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas td:nth-child(8) { width: 100px; }
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas th:nth-child(9),
#modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas td:nth-child(9) { width: 72px; }
#modalDetalleCuotas.modal-cuotas .modal-footer {
  border-top: 0 !important;
  background: #fff !important;
}
#modalDetalleCuotas.modal-cuotas .modal-footer .btn-danger {
  background: #ef4444 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}
#modalDetalleCuotas.modal-cuotas .btnReimprimirComprobante,
#modalDetalleCuotas.modal-cuotas .btnRealizarCobro {
  width: 36px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  background-image: none !important;
}
#modalDetalleCuotas.modal-cuotas .btnReimprimirComprobante {
  background: #5b21f6 !important;
}
#modalDetalleCuotas.modal-cuotas .btnRealizarCobro {
  background: #16a34a !important;
}
#modalDetalleCuotas.modal-cuotas .label {
  display: inline-block;
  min-width: 78px;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
}
#modalDetalleCuotas.modal-cuotas .label-success {
  background: #dcfce7 !important;
  color: #166534 !important;
}
#modalDetalleCuotas.modal-cuotas .label-warning {
  background: #ffedd5 !important;
  color: #9a3412 !important;
}
@media (max-width: 767px) {
  #modalDetalleCuotas.modal-cuotas .modal-dialog {
    width: auto !important;
    margin: 10px !important;
  }
  #modalDetalleCuotas.modal-cuotas .modal-body {
    max-height: 62vh;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  #modalDetalleCuotas.modal-cuotas .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  #modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas {
    width: 860px !important;
    min-width: 860px !important;
  }
  #modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas th,
  #modalDetalleCuotas.modal-cuotas .tabla-detalle-cuotas td {
    display: table-cell !important;
  }
}
.ventas-card .ventas-titulo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.ventas-card .btn-succes-envia {
  margin: 0 !important;
  height: auto !important;
  background: #5b21f6 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  letter-spacing: .02em;
}
.ventas-card .btn-succes-envia:hover {
  background: #4c1d95 !important;
  color: #fff !important;
}
.ventas-card .contenedor-busqueda {
  padding: 0 0 12px !important;
}
.ventas-card .contenedor-estados-sunat {
  background: transparent !important;
  color: #312e81;
  font-weight: 700;
  margin-bottom: 8px;
}
.ventas-card .contenedor-busqueda .input-group-search {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100% !important;
}
.ventas-card .contenedor-busqueda .bootstrap-select {
  width: 78px !important;
  flex: 0 0 78px;
}
.ventas-card .btn-select,
.ventas-card #selectnum,
.ventas-card .bootstrap-select > .dropdown-toggle {
  width: 78px !important;
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  background-image: none !important;
  color: #111827 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.ventas-card #selectSucursal,
.ventas-card .select2-container {
  width: 280px !important;
  flex: 0 1 280px;
}
.ventas-card .select2-container--default .select2-selection--single {
  height: 36px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  display: flex;
  align-items: center;
}
.ventas-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px !important;
  color: #111827 !important;
  font-weight: 600;
}
.ventas-card .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 34px !important;
}
.ventas-card .contenedor-busqueda .input-search {
  flex: 1 1 auto;
  margin: 0 !important;
  width: auto !important;
}
.ventas-card .contenedor-busqueda .input-search input {
  height: 36px !important;
  width: 100% !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.ventas-card .tablaVentas thead,
.ventas-card .tablaVentas thead th {
  background: #fff !important;
  background-image: none !important;
  color: #6366f1 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  text-align: center !important;
}
.ventas-card .tablaVentas td {
  border: 0 !important;
  vertical-align: middle !important;
  text-align: center;
}
.ventas-card .contenedor-print-comprobantes #printA4,
.ventas-card .contenedor-print-comprobantes #printT,
.ventas-card .contenedor-print-comprobantes #xml,
.ventas-card .contenedor-print-comprobantes #cdr,
.ventas-card .contenedor-print-comprobantes .s-success,
.ventas-card .contenedor-print-comprobantes .s-rechazo,
.ventas-card .contenedor-print-comprobantes .anulado,
.ventas-card .contenedor-print-comprobantes .senda4,
.ventas-card .contenedor-print-comprobantes .sendwsa4,
.ventas-card .contenedor-print-comprobantes .sendCa4 {
  width: 36px !important;
  height: 36px !important;
  vertical-align: middle !important;
}
.ventas-card .contenedor-print-comprobantes .s-success,
.ventas-card .contenedor-print-comprobantes .s-rechazo,
.ventas-card .contenedor-print-comprobantes .anulado {
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
  background-color: #fff !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .08);
}
.ventas-card .contenedor-print-comprobantes #printA4,
.ventas-card .contenedor-print-comprobantes #printT,
.ventas-card .contenedor-print-comprobantes #xml,
.ventas-card .contenedor-print-comprobantes #cdr,
.ventas-card .contenedor-print-comprobantes .senda4,
.ventas-card .contenedor-print-comprobantes .sendwsa4,
.ventas-card .contenedor-print-comprobantes .sendCa4 {
  border: none !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.ventas-card .contenedor-print-comprobantes li.option-menu {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
.ventas-card .contenedor-print-comprobantes .navbar,
.ventas-card .contenedor-print-comprobantes .navbar-custom-menu {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.ventas-card .contenedor-print-comprobantes a.option-menu {
  display: inline-block !important;
  width: 36px !important;
  height: 36px !important;
  margin: 2px !important;
  padding: 0 !important;
  vertical-align: middle !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  background-position: center !important;
  background-size: 18px 18px !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .08);
}
.ventas-card .pagination > li > a,
.ventas-card .pagination > li > span {
  border: 0 !important;
  border-radius: 8px !important;
  color: #312e81 !important;
  margin: 0 2px;
}
.ventas-card .pagination > .active > a,
.ventas-card .pagination > .active > span {
  background: #5b21f6 !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .ventas-card .ventas-titulo {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .ventas-card .ventas-titulo .btn-succes-envia,
  .ventas-card .box-header > .btn-nueva-categoria {
    width: 100% !important;
    justify-content: center;
  }
  .ventas-card .contenedor-busqueda .input-group-search {
    flex-direction: column;
    align-items: stretch;
  }
  .ventas-card .contenedor-busqueda .bootstrap-select,
  .ventas-card #selectnum,
  .ventas-card #selectSucursal,
  .ventas-card .select2-container,
  .ventas-card .contenedor-busqueda .input-search,
  .ventas-card .contenedor-busqueda .input-search input {
    width: 100% !important;
    flex: 1 1 auto;
  }
  .ventas-card .table-responsive {
    overflow-x: auto !important;
  }
  .ventas-card table.tablaVentas {
    min-width: 1100px;
  }
  .ventas-card table.tablaVentas th,
  .ventas-card table.tablaVentas td {
    display: table-cell !important;
  }
}
