/**
 * App-wide Styles
 */

*,
*:focus,
*:hover {
  outline: none;
}

.form-control,
.is-focused {
  background-image: linear-gradient(0deg, var(--indigo) 2px, rgba(0, 150, 136, 0) 0), linear-gradient(0deg, rgba(0, 0, 0, .26) 1px, transparent 0) !important;
}

a {
  color: var(--indigo) !important;
}

.dropdown-menu .dropdown-item {
  max-width: none !important;
}

.dropdown-item {
  color: #212529 !important;
}

.btn.btn-raised.btn-primary {
  background-color: var(--indigo) !important;
  border-color: var(--indigo) !important;
}

/* Ventas.js */
.btn.btn-raised.btn-primary.boton-rojo {
  background-color: rgb(242, 93, 99) !important;
  border-color: rgb(173, 173, 173);
  color: black;
}

.btn.btn-raised.btn-primary.boton-rojo:hover {
  background-color: rgb(245, 125, 130) !important;
  border-color: rgb(192, 192, 192);
  color: black;
}

body {
  margin-bottom: 0px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  background-color: rgb(250, 250, 250) !important;
}

.nav-icon {
  height: 32px;
  width: auto;
}

#mainNav {
  margin-bottom: 0px;
  border-radius: 0px 0px 0px 0px;
}

#mainNavCollapsed {
  display: none;
}

@media (max-width: 1000px) {
  #mainNavNormal {
    display: none;
  }

  #mainNavCollapsed {
    display: block;
  }

  #iconos_derecha {
    display: none;
  }
}

#secondaryNav {
  border-radius: 0px 0px 0px 0px;
  margin-bottom: 0px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: #83746C;
}

.navbar-posberry {
  border: 0px;
  background-image: linear-gradient(to bottom, #8581BC 0, #8581BC 100%);
  background-color: #8581BC;
}

.navbar-posberry .navbar-nav>.active>a {
  background-image: linear-gradient(to bottom, #EB6608 0, #EB6608 100%);
}

.navbar-posberry .navbar-nav>li>a {
  color: #FFF !important;
}

.navbar-posberry .navbar-nav>li>a:hover,
.navbar-posberry .navbar-nav>li>a:focus {
  color: #FFF;
}

.navbar-posberry .navbar-nav>.active>a,
.navbar-posberry .navbar-nav>.active>a:hover,
.navbar-posberry .navbar-nav>.active>a:focus {
  color: #FFF;
}

.icono {
  fill: #5F524E;
  /*shape-rendering:geometricPrecision;*/
  text-rendering: geometricPrecision;
  image-rendering: optimizeQuality;
  fill-rule: evenodd;
  clip-rule: evenodd;
  width: auto;
  height: 32px;
}

.icono:hover {
  fill: #EB6608
}

.icono-activo {
  fill: #EB6608;
}

.tnav .navbar .container {
  height: 28px;
}

#tercera_nuevo {
  border-right-color: #564A44;
  border-right-width: thin;
  border-right-style: solid;
  padding: 0px;
}

#tercera_buscar,
#tercera_lista {
  border-right-color: lightgray;
  border-right-width: thin;
  border-right-style: solid;
  padding: 0px;
}

#tercera_buscar {
  padding: 10px;
}

#tercera_lista {
  padding: 10px;
}

#tercera_formulario,
#tercera_formulario1 {
  padding: 10px;
}

#tercera_editor,
#columna_izquierda_tercera {
  padding: 0px;
}

#tercera_nuevo {
  background-color: #564A44;
  padding: 6px;
}

#tercera_header {
  background-color: #EB6608;
  padding: 10px;
}

#tercera_header>h3 {
  margin: 0px;
  color: white;
}

.str0 {
  stroke: #5F524E;
  stroke-width: 25.39
}

.item_tercera:nth-child(odd) {
  background-color: #f9f9f9 !important;
}

.nopadding {
  padding: 0px;
}

.fullheight {
  height: 100vh;
  min-height: 800px;
}

@media (max-width: 991px) {
  .fullheight {
    height: 100%;
    min-height: 0px;
  }
}

.config_menu {
  background-color: #6D5F58;
}

.item_config {
  margin-top: 0px;
  background-color: #6D5F58;
  cursor: pointer;
  padding: 10px 15px 10px 15px;
  color: white;
}

.item_config.active,
.item_config.active:hover {
  background-color: #EB6608;
}

.item_config:hover {
  background-color: #564A44;
}

.afectar-stock {
  background-color: yellow;
}

.ui-grid-row.ui-grid-row-selected>[ui-grid-row]>.ui-grid-cell {
  background-color: #f2883d;
  border-top: 1px solid #EB6608;
  border-bottom: 1px solid #EB6608;
}

.ui-grid-pinned-container.ui-grid-pinned-container-left .ui-grid-cell:last-child {
  padding: 0px;
  padding-top: 8px;
}

.ui-grid-header-cell {
  border-right: none;
}

.ui-grid-row .ui-grid-cell {
  border-top: 1px solid #eee;
}

.ui-grid-row:nth-child(odd):hover .ui-grid-cell {
  background: #a49fe0;
  border-top: 1px solid #58548f;
  border-bottom: 1px solid #58548f;
}

.ui-grid-row:nth-child(even):hover .ui-grid-cell {
  background: #a49fe0;
  border-top: 1px solid #58548f;
  border-bottom: 1px solid #58548f;
}

.ui-grid-row:nth-child(even) .ui-grid-cell {
  background-color: #f7f7f7;
}

.ui-grid-cell {
  color: #333;
  border-right: none;
  padding: 8px 6px;
  /*font-size: 1.1rem;
  line-height: 2.5rem;*/
  text-align: left;
  vertical-align: top;
  cursor: pointer;
  white-space: nowrap;
}

.ui-grid-row,
.ui-grid-cell,
.ui-grid-vertical-bar {
  height: 47px !important;
}

.ui-grid-footer-cell {
  border-right: none;
}

.ui-grid-top-panel {
  font-weight: normal;
  border-radius: calc(.25rem - 1px);
}

.ui-grid-header-cell-label {
  color: #888;
}

.ui-grid {
  font-size: small;
  border-radius: calc(.25rem - 1px);
}

.ui-grid-cell-contents.ui-grid-header-cell-primary-focus {
  padding: 2px;
  padding-left: 10px;
}

.card-body {
  padding: 10px;
}

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

.pagination>li {
  padding: 10px;
}

.pagination .active {
  background-color: #eee;
}

.card {
  margin-top: 10px;
  margin-bottom: 10px;
}

.formly-field .input-group {
  width: 70%;
}

.formly-field .control-label {
  font-weight: bold;
}

.formly-field .input-group-addon {
  border-style: solid;
  border-color: rgb(206, 212, 218);
  border-width: thin;
  background-color: #eee;
  padding: 6px;
}

.formly-field>div>div>select {
  width: 70%;
}

.formly-field>div>div>input {
  width: 70%;
}

.glyphicon-ok:before {
  content: "\f00c";
}

.glyphicon-remove:before {
  content: "\f00d";
}

.glyphicon {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.introjs-overlay {
  position: absolute;
  box-sizing: content-box;
  z-index: 999999;
  background-color: #000;
  opacity: 0;
  background: -moz-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.4) 0, rgba(0, 0, 0, 0.9) 100%);
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(0, 0, 0, 0.4)), color-stop(100%, rgba(0, 0, 0, 0.9)));
  background: -webkit-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.4) 0, rgba(0, 0, 0, 0.9) 100%);
  background: -o-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.4) 0, rgba(0, 0, 0, 0.9) 100%);
  background: -ms-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.4) 0, rgba(0, 0, 0, 0.9) 100%);
  background: radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.4) 0, rgba(0, 0, 0, 0.9) 100%);
  filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#66000000',endColorstr='#e6000000',GradientType=1)";
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.introjs-fixParent {
  z-index: auto !important;
  opacity: 1.0 !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
}

.introjs-showElement,
tr.introjs-showElement>td,
tr.introjs-showElement>th {
  z-index: 9999999 !important;
}

.introjs-disableInteraction {
  z-index: 99999999 !important;
  position: absolute;
  background-color: white;
  opacity: 0;
  filter: alpha(opacity=0);
}

.introjs-relativePosition,
tr.introjs-showElement>td,
tr.introjs-showElement>th {
  position: relative;
}

.introjs-helperLayer {
  box-sizing: content-box;
  position: absolute;
  z-index: 9999998;
  background-color: #FFF;
  background-color: rgba(255, 255, 255, .9);
  border: 1px solid #777;
  border: 1px solid rgba(0, 0, 0, .5);
  border-radius: 4px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .4);
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.introjs-tooltipReferenceLayer {
  box-sizing: content-box;
  position: absolute;
  visibility: hidden;
  z-index: 100000000;
  background-color: transparent;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.introjs-helperLayer *,
.introjs-helperLayer *:before,
.introjs-helperLayer *:after {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  -ms-box-sizing: content-box;
  -o-box-sizing: content-box;
  box-sizing: content-box;
}

.introjs-helperNumberLayer {
  box-sizing: content-box;
  position: absolute;
  visibility: visible;
  top: -16px;
  left: -16px;
  z-index: 9999999999 !important;
  padding: 2px;
  font-family: Arial, verdana, tahoma;
  font-size: 13px;
  font-weight: bold;
  color: white;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
  background: #ff3019;
  /* Old browsers */
  background: -webkit-linear-gradient(top, #ff3019 0%, #cf0404 100%);
  /* Chrome10+,Safari5.1+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff3019), color-stop(100%, #cf0404));
  /* Chrome,Safari4+ */
  background: -moz-linear-gradient(top, #ff3019 0%, #cf0404 100%);
  /* FF3.6+ */
  background: -ms-linear-gradient(top, #ff3019 0%, #cf0404 100%);
  /* IE10+ */
  background: -o-linear-gradient(top, #ff3019 0%, #cf0404 100%);
  /* Opera 11.10+ */
  background: linear-gradient(to bottom, #ff3019 0%, #cf0404 100%);
  /* W3C */
  width: 20px;
  height: 20px;
  line-height: 20px;
  border: 3px solid white;
  border-radius: 50%;
  filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3019', endColorstr='#cf0404', GradientType=0)";
  /* IE6-9 */
  filter: "progid:DXImageTransform.Microsoft.Shadow(direction=135, strength=2, color=ff0000)";
  /* IE10 text shadows */
  box-shadow: 0 2px 5px rgba(0, 0, 0, .4);
}

.introjs-arrow {
  border: 5px solid transparent;
  content: '';
  position: absolute;
}

.introjs-arrow.top {
  top: -10px;
  border-bottom-color: white;
}

.introjs-arrow.top-right {
  top: -10px;
  right: 10px;
  border-bottom-color: white;
}

.introjs-arrow.top-middle {
  top: -10px;
  left: 50%;
  margin-left: -5px;
  border-bottom-color: white;
}

.introjs-arrow.right {
  right: -10px;
  top: 10px;
  border-left-color: white;
}

.introjs-arrow.right-bottom {
  bottom: 10px;
  right: -10px;
  border-left-color: white;
}

.introjs-arrow.bottom {
  bottom: -10px;
  border-top-color: white;
}

.introjs-arrow.bottom-right {
  bottom: -10px;
  right: 10px;
  border-top-color: white;
}

.introjs-arrow.bottom-middle {
  bottom: -10px;
  left: 50%;
  margin-left: -5px;
  border-top-color: white;
}

.introjs-arrow.left {
  left: -10px;
  top: 10px;
  border-right-color: white;
}

.introjs-arrow.left-bottom {
  left: -10px;
  bottom: 10px;
  border-right-color: white;
}

.introjs-tooltip {
  box-sizing: content-box;
  position: absolute;
  visibility: visible;
  padding: 10px;
  background-color: white;
  min-width: 200px;
  max-width: 300px;
  border-radius: 3px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, .4);
  -webkit-transition: opacity 0.1s ease-out;
  -moz-transition: opacity 0.1s ease-out;
  -ms-transition: opacity 0.1s ease-out;
  -o-transition: opacity 0.1s ease-out;
  transition: opacity 0.1s ease-out;
}

.introjs-tooltipbuttons {
  text-align: right;
  white-space: nowrap;
}

/*
   Buttons style by http://nicolasgallagher.com/lab/css3-github-buttons/
   Changed by Afshin Mehrabani
  */
.introjs-button {
  box-sizing: content-box;
  position: relative;
  overflow: visible;
  display: inline-block;
  padding: 0.3em 0.8em;
  border: 1px solid #d4d4d4;
  margin: 0;
  text-decoration: none;
  text-shadow: 1px 1px 0 #fff;
  font: 11px/normal sans-serif;
  color: #333;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  background-color: #ececec;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#ececec));
  background-image: -moz-linear-gradient(#f4f4f4, #ececec);
  background-image: -o-linear-gradient(#f4f4f4, #ececec);
  background-image: linear-gradient(#f4f4f4, #ececec);
  -webkit-background-clip: padding;
  -moz-background-clip: padding;
  -o-background-clip: padding-box;
  /*background-clip: padding-box;*/
  /* commented out due to Opera 11.10 bug */
  -webkit-border-radius: 0.2em;
  -moz-border-radius: 0.2em;
  border-radius: 0.2em;
  /* IE hacks */
  zoom: 1;
  *display: inline;
  margin-top: 10px;
}

.introjs-button:hover {
  border-color: #bcbcbc;
  text-decoration: none;
  box-shadow: 0px 1px 1px #e3e3e3;
}

.introjs-button:focus,
.introjs-button:active {
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ececec), to(#f4f4f4));
  background-image: -moz-linear-gradient(#ececec, #f4f4f4);
  background-image: -o-linear-gradient(#ececec, #f4f4f4);
  background-image: linear-gradient(#ececec, #f4f4f4);
}

/* overrides extra padding on button elements in Firefox */
.introjs-button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.introjs-skipbutton {
  box-sizing: content-box;
  margin-right: 5px;
  color: #7a7a7a;
}

.introjs-prevbutton {
  -webkit-border-radius: 0.2em 0 0 0.2em;
  -moz-border-radius: 0.2em 0 0 0.2em;
  border-radius: 0.2em 0 0 0.2em;
  border-right: none;
}

.introjs-prevbutton.introjs-fullbutton {
  border: 1px solid #d4d4d4;
  -webkit-border-radius: 0.2em;
  -moz-border-radius: 0.2em;
  border-radius: 0.2em;
}

.introjs-nextbutton {
  -webkit-border-radius: 0 0.2em 0.2em 0;
  -moz-border-radius: 0 0.2em 0.2em 0;
  border-radius: 0 0.2em 0.2em 0;
}

.introjs-nextbutton.introjs-fullbutton {
  -webkit-border-radius: 0.2em;
  -moz-border-radius: 0.2em;
  border-radius: 0.2em;
}

.introjs-disabled,
.introjs-disabled:hover,
.introjs-disabled:focus {
  color: #9a9a9a;
  border-color: #d4d4d4;
  box-shadow: none;
  cursor: default;
  background-color: #f4f4f4;
  background-image: none;
  text-decoration: none;
}

.introjs-hidden {
  display: none;
}

.introjs-bullets {
  text-align: center;
}

.introjs-bullets ul {
  box-sizing: content-box;
  clear: both;
  margin: 15px auto 0;
  padding: 0;
  display: inline-block;
}

.introjs-bullets ul li {
  box-sizing: content-box;
  list-style: none;
  float: left;
  margin: 0 2px;
}

.introjs-bullets ul li a {
  box-sizing: content-box;
  display: block;
  width: 6px;
  height: 6px;
  background: #ccc;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
}

.introjs-bullets ul li a:hover {
  background: #999;
}

.introjs-bullets ul li a.active {
  background: #999;
}

.introjs-progress {
  box-sizing: content-box;
  overflow: hidden;
  height: 10px;
  margin: 10px 0 5px 0;
  border-radius: 4px;
  background-color: #ecf0f1
}

.introjs-progressbar {
  box-sizing: content-box;
  float: left;
  width: 0%;
  height: 100%;
  font-size: 10px;
  line-height: 10px;
  text-align: center;
  background-color: #08c;
}

.introjsFloatingElement {
  position: absolute;
  height: 0;
  width: 0;
  left: 50%;
  top: 50%;
}

.introjs-fixedTooltip {
  position: fixed;
}

.introjs-hint {
  box-sizing: content-box;
  position: absolute;
  background: transparent;
  width: 20px;
  height: 15px;
  cursor: pointer;
}

.introjs-hint:focus {
  border: 0;
  outline: 0;
}

.introjs-hidehint {
  display: none;
}

.introjs-fixedhint {
  position: fixed;
}

.introjs-hint:hover>.introjs-hint-pulse {
  border: 5px solid rgba(60, 60, 60, 0.57);
}

.introjs-hint-pulse {
  box-sizing: content-box;
  width: 10px;
  height: 10px;
  border: 5px solid rgba(60, 60, 60, 0.27);
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  background-color: rgba(136, 136, 136, 0.24);
  z-index: 10;
  position: absolute;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.introjs-hint-no-anim .introjs-hint-dot {
  -webkit-animation: none;
  -moz-animation: none;
  animation: none;
}

.introjs-hint-dot {
  box-sizing: content-box;
  border: 10px solid rgba(146, 146, 146, 0.36);
  background: transparent;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  border-radius: 60px;
  height: 50px;
  width: 50px;
  -webkit-animation: introjspulse 3s ease-out;
  -moz-animation: introjspulse 3s ease-out;
  animation: introjspulse 3s ease-out;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  position: absolute;
  top: -25px;
  left: -25px;
  z-index: 1;
  opacity: 0;
}

@-webkit-keyframes introjspulse {
  0% {
    -webkit-transform: scale(0);
    opacity: 0.0;
  }

  25% {
    -webkit-transform: scale(0);
    opacity: 0.1;
  }

  50% {
    -webkit-transform: scale(0.1);
    opacity: 0.3;
  }

  75% {
    -webkit-transform: scale(0.5);
    opacity: 0.5;
  }

  100% {
    -webkit-transform: scale(1);
    opacity: 0.0;
  }
}

@-moz-keyframes introjspulse {
  0% {
    -moz-transform: scale(0);
    opacity: 0.0;
  }

  25% {
    -moz-transform: scale(0);
    opacity: 0.1;
  }

  50% {
    -moz-transform: scale(0.1);
    opacity: 0.3;
  }

  75% {
    -moz-transform: scale(0.5);
    opacity: 0.5;
  }

  100% {
    -moz-transform: scale(1);
    opacity: 0.0;
  }
}

@keyframes introjspulse {
  0% {
    transform: scale(0);
    opacity: 0.0;
  }

  25% {
    transform: scale(0);
    opacity: 0.1;
  }

  50% {
    transform: scale(0.1);
    opacity: 0.3;
  }

  75% {
    transform: scale(0.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 0.0;
  }
}

/* ========================================
   CLASES GLOBALES DE PANELES
   Paneles de colores reutilizables para agrupar secciones
   Usar en productos, familias, clientes, y otros modelos
   ======================================== */

/* Panel Detalles - Azul claro */
.panel-detalles {
  background: linear-gradient(to right, #E3F2FD 0%, #ffffff 100%);
  border-left: 4px solid #2196F3;
}

.panel-detalles .campo-grupo-titulo {
  color: #1976D2;
}

/* Panel Precios - Verde claro */
.panel-precios {
  background: linear-gradient(to right, #E8F5E9 0%, #ffffff 100%);
  border-left: 4px solid #4CAF50;
}

.panel-precios .campo-grupo-titulo {
  color: #388E3C;
}

/* Panel Opciones - Amarillo claro */
.panel-opciones {
  background: linear-gradient(to right, #FFF9C4 0%, #ffffff 100%);
  border-left: 4px solid #FFC107;
}

.panel-opciones .campo-grupo-titulo {
  color: #F57C00;
}

/* Panel Inventario - Cyan claro */
.panel-inventario {
  background: linear-gradient(to right, #E0F7FA 0%, #ffffff 100%);
  border-left: 4px solid #00BCD4;
}

.panel-inventario .campo-grupo-titulo {
  color: #0097A7;
}

/* Panel Impuestos - Rosa claro */
.panel-impuestos {
  background: linear-gradient(to right, #FCE4EC 0%, #ffffff 100%);
  border-left: 4px solid #E91E63;
}

.panel-impuestos .campo-grupo-titulo {
  color: #C2185B;
}

/* Panel Opciones Booleanas - Gris claro */
.panel-opciones-bool {
  background: linear-gradient(to right, #F5F5F5 0%, #ffffff 100%);
  border-left: 4px solid #9E9E9E;
}

.panel-opciones-bool .campo-grupo-titulo {
  color: #616161;
}

/* Panel Adicionales - Naranja claro */
.panel-adicionales {
  background: linear-gradient(to right, #FFF3E0 0%, #ffffff 100%);
  border-left: 4px solid #FF9800;
}

.panel-adicionales .campo-grupo-titulo {
  color: #F57C00;
}

/* Panel Configuración - Morado claro */
.panel-configuracion {
  background: linear-gradient(to right, #F3E5F5 0%, #ffffff 100%);
  border-left: 4px solid #9C27B0;
}

.panel-configuracion .campo-grupo-titulo {
  color: #7B1FA2;
}

/* ========================================
   BOTONES DE ACCIÓN STICKY/FLOTANTES
   Botones siempre visibles en formularios de edición
   ======================================== */

.acciones-producto {
  position: fixed;
  top: 60px;
  right: 20px;
  background: white;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive: en móviles, los botones van abajo */
@media (max-width: 768px) {
  .acciones-producto {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    justify-content: center;
  }
}
.thing-form {
  margin: 20px 0;
}

#banner {
  border-bottom: none;
  margin-top: -20px;
}

#banner h2 {
  font-size: 60px;
  line-height: 1;
  letter-spacing: -1px;
}

.hero-unit {
  position: relative;
  padding: 30px 15px;
  color: #F5F5F5;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  background: #D8D2CF;
}

.navbar-text {
  margin-left: 15px;
}

.signup-form {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.titulo{
  color: #83746C;
}
.registro-label-input {
  display: block;
    font-weight: 700;
    font-size: 11px;
    color: #83746C;
    margin-bottom: 8px;
}
.registro-boton{
  display: inline-block;
  background-color: #EB6608;
  margin: 20px auto;
  border-radius: 100px;
  height: 50px;
  line-height: 50px;
  padding: 0 60px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
  border-style: none;
  color: white;
}
.placeholder-mod::placeholder{
color: #83746C;
font-size: 13px;
}
.thing-form {
  margin: 20px 0;
}

#banner {
  border-bottom: none;
  margin-top: -20px;
}

#banner h2 {
  font-size: 60px;
  line-height: 1;
  letter-spacing: -1px;
}

.hero-unit {
  position: relative;
  padding: 30px 15px;
  color: #F5F5F5;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  background: #D8D2CF;
}

.navbar-text {
  margin-left: 15px;
}

.signup-form {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.titulo{
  color: #83746C;
}
.registro-label-input {
  display: block;
    font-weight: 700;
    font-size: 11px;
    color: #83746C;
    margin-bottom: 8px;
}
.registro-boton{
  display: inline-block;
  background-color: #EB6608;
  margin: 20px auto;
  border-radius: 100px;
  height: 50px;
  line-height: 50px;
  padding: 0 60px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
  border-style: none;
  color: white;
}
.placeholder-mod::placeholder{
color: #83746C;
font-size: 13px;
}
.trash { color:rgb(209, 91, 71); }

.user-list li {
	display: flex;
	border: none;
	border-bottom: 1px lightgray solid;
	margin-bottom: 0;
}
.user-list li:last-child {
	border-bottom: none;
}
.user-list li .user-info {
	flex-grow: 1;
}
.user-list li .trash {
	display: flex;
	align-items: center;
	text-decoration: none;
}



.st-sort-ascent:before{
    content: '\25B2';
  }

  .st-sort-descent:before{
    content: '\25BC';
  }
  
.app-modal-window .modal-dialog {
  width: 500px;
}

body {
  margin: 20px;
}

.formly-field {
  margin-bottom: 5px;  
}

.modal-dialog label {   
    float: left;
    width: 200px; /* change this to whatever you want */
    /* these make it look nicer */
    text-align: right;
    padding-right: 10px;
}

input.number {
    text-align: right;
    padding-right: 15px;
}

.modal-dialog input[type="number"]  {
    text-align: right;
    padding-right: 15px;
}

/*input[type="text"] {
    width: 150px;
    display: block;
    margin-bottom: 10px;
    background-color: yellow;
}*/

/* ===== NUEVA UI CON PANELES DE COLORES ===== */

/* Grupos de campos */
.campo-grupo {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.campo-grupo-titulo {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
}

.campo-grupo-titulo i {
  margin-right: 10px;
  color: #007bff;
}

/* Grid de 2 columnas para campos */
.campo-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

/* Campos de formulario mejorados */
.form-group.campo-mejorado {
  margin-bottom: 0;
}

.form-group.campo-mejorado label {
  font-weight: 500;
  color: #555;
  font-size: 13px;
  margin-bottom: 5px;
}

.form-group.campo-mejorado .form-control {
  border-radius: 6px;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

.form-group.campo-mejorado .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Badge de campo requerido */
.campo-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7em;
  font-weight: bold;
  margin-left: 5px;
  vertical-align: middle;
}

.campo-badge.requerido {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef5350;
}

/* Responsive */
@media (max-width: 768px) {
  .campo-grid-2 {
    grid-template-columns: 1fr;
  }
}


.green {
    background-color: #2dff07 !important;
}

.red {
    background-color: red !important;
}

.modal-content {
   min-width: 800px !important;
    /*max-width: 100% !important;*/
}

.modal-dialog {
    min-width: 800px !important;
    /*max-width: 100% !important;*/
}

.modal-backdrop {
    background-color: rgba(0,0,0,0.75) !important
}

@media screen and (max-width: 700px) {
    .modal-content {
        min-width: 90% !important;
    }
    
    .modal-dialog {
        min-width: 90% !important;
    }
}
.subtitulo{
    margin: 3px;
}

/* ===== NUEVA UI CON PANELES DE COLORES (PROVEEDORES) ===== */

/* Grupos de campos */
.campo-grupo {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.campo-grupo-titulo {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
}

.campo-grupo-titulo i {
  margin-right: 10px;
  color: #007bff;
}

/* Grid de 2 columnas para campos */
.campo-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

/* Campos de formulario mejorados */
.form-group.campo-mejorado {
  margin-bottom: 0;
}

.form-group.campo-mejorado label {
  font-weight: 500;
  color: #555;
  font-size: 13px;
  margin-bottom: 5px;
}

.form-group.campo-mejorado .form-control {
  border-radius: 6px;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

.form-group.campo-mejorado .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Badge de campo requerido */
.campo-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7em;
  font-weight: bold;
  margin-left: 5px;
  vertical-align: middle;
}

.campo-badge.requerido {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef5350;
}

/* Responsive */
@media (max-width: 768px) {
  .campo-grid-2 {
    grid-template-columns: 1fr;
  }
}
#map {
    width: 100%;
    height: 300px;
    margin-top: 10px;
}

.rojo {
    color: red !important;
}

.naranja {
    color: orange !important;
}

.oculto {
    display: none;
}
.tabla-turnos-cabecera-horaInicio{
    padding-left: 50px;
    
}
.tabla-turnos-cabecera-horaFin{
    padding-left: 50px;
}
.tabla-turnos-cabecera-lunes{
    padding-left: 20px;
}
.tabla-turnos-cabecera-martes{
    padding-left: 20px;
}
.tabla-turnos-cabecera-miercoles{
    padding-left: 20px;
}
.tabla-turnos-cabecera-jueves{
    padding-left: 20px;
}
.tabla-turnos-cabecera-viernes{
    padding-left: 20px;
}
.tabla-turnos-cabecera-sabado{
    padding-left: 20px;
}
.tabla-turnos-cabecera-domingo{
    padding-left: 20px;
}
.tabla-turnos-cabecera-editar {
    padding-left: 20px;
}
.tabla-turnos-cuerpo-horaInicio{
    padding-left: 50px;
    padding-top: 3px;
}
.tabla-turnos-cuerpo-horaFin{
    padding-left: 50px;
    padding-top: 3px;
}
.tabla-turnos-cuerpo-lunes{
    padding-left: 20px;
    padding-top: 3px;
}
.tabla-turnos-cuerpo-martes{
    padding-left: 20px;
    padding-top: 3px;
}
.tabla-turnos-cuerpo-miercoles{
    padding-left: 20px;
    padding-top: 3px;
}
.tabla-turnos-cuerpo-jueves{
    padding-left: 20px;
    padding-top: 3px;
}
.tabla-turnos-cuerpo-viernes{
    padding-left: 20px;
    padding-top: 3px;
}
.tabla-turnos-cuerpo-sabado{
    padding-left: 20px;
    padding-top: 3px;
}
.tabla-turnos-cuerpo-domingo{
    padding-left: 20px;
    padding-top: 3px;
}
.tabla-turnos-cuerpo-editar{
    padding-left: 20px;
    padding-top: 3px;
}
.linea{
    background-color: black;
    max-height: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* COMBO CHECKBOX (Dropdown con busqueda y checkboxes) */
/* ═══════════════════════════════════════════════════════════════════════════ */

.combo-checkbox {
    position: relative;
    width: 100%;
}

.combo-checkbox-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 42px;
}

.combo-checkbox-trigger:hover {
    border-color: #2196F3;
}

.combo-checkbox-trigger.open {
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.combo-checkbox-label {
    flex: 1;
    color: #333;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.combo-checkbox-label.placeholder {
    color: #999;
}

.combo-checkbox-count {
    background: #2196F3;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

.combo-checkbox-arrow {
    margin-left: 8px;
    color: #666;
    transition: transform 0.2s ease;
}

.combo-checkbox-trigger.open .combo-checkbox-arrow {
    transform: rotate(180deg);
}

.combo-checkbox-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    max-height: 320px;
    display: flex;
    flex-direction: column;
}

.combo-checkbox-search {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.combo-checkbox-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.combo-checkbox-search input:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.combo-checkbox-search input::placeholder {
    color: #999;
}

.combo-checkbox-actions {
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.combo-checkbox-actions button {
    flex: 1;
    padding: 6px 10px;
    font-size: 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.combo-checkbox-actions button:hover {
    background: #e3f2fd;
    border-color: #2196F3;
    color: #2196F3;
}

.combo-checkbox-list {
    flex: 1;
    overflow-y: auto;
    padding: 6px 0;
    max-height: 200px;
}

.combo-checkbox-item {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.combo-checkbox-item:hover {
    background: #f5f5f5;
}

.combo-checkbox-item.selected {
    background: #e3f2fd;
}

.combo-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: #2196F3;
    cursor: pointer;
}

.combo-checkbox-item-label {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.help-navbar {
    text-align: center;
    vertical-align: middle;
    background-color: #ECECEC;
    border-bottom-style: solid;
    border-bottom-color: silver;
    border-bottom-width: 1px;
}

.help-main {
    width: 1100px;
    max-width: 90%;
    margin: auto;
}

.help-link:link {
    text-decoration: none;
}

.help-cliente {
    margin: 5px 0px 5px 0px;
    background-color: #fbd6b7 !important;
    padding: 10px;
    border-radius: 10px;
}

.help-web {
    margin: 5px 0px 5px 0px;
    background-color: #d2d5ec !important;
    padding: 10px;
    border-radius: 10px;
}

.help-img {
    max-width: 100%;
}


.help-menu { counter-reset: item }
.help-menu li{ display: block }
.help-menu li:before { content: counters(item, ".") " "; counter-increment: item }

.btt-btn {
    cursor: pointer;
    position: fixed;
    bottom: .5em;
    right: .5em;
    padding: .5em;
    text-decoration: none;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 14px;
    outline-style: none;
    /*display: none;*/
 }
 
 .btt-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
 }
 
 .btt-btn:active {
    background-color: rgba(0, 0, 0, 0.8);
 }
 
 #backTT {
    z-index: -9999999;
    position: absolute;
    top: 0;
 }
.thing-form {
    margin: 10px 0;
}

#banner {
    border-bottom: none;
    margin-top: -10px;
}

#banner h3 {
    font-size: 30px;
    line-height: 1;
    letter-spacing: -1px;
}

.hero-unit {
    position: relative;
    padding: 10px 5px;
    color: #F5F5F5;
    text-align: center;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    background: #4393B9;
}

.navbar-text {
    margin-left: 15px;
}

.tabla-hora-monto {
    border: 1px solid black;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 10px;
}

.tabla-hora-monto td,
.tabla-hora-monto th {
    border: 1px solid #ddd;
    padding: 1px;
}

.tabla-hora-monto-color10 {
    background-color: hsla(0, 100%, 5%, 1)
}

.tabla-hora-monto-color9 {
    background-color: hsla(0, 100%, 10%, 1)
}

.tabla-hora-monto-color8 {
    background-color: hsla(0, 100%, 20%, 1)
}

.tabla-hora-monto-color7 {
    background-color: hsla(0, 100%, 30%, 1)
}

.tabla-hora-monto-color6 {
    background-color: hsla(0, 100%, 40%, 1)
}

.tabla-hora-monto-color5 {
    background-color: hsla(0, 100%, 50%, 1)
}

.tabla-hora-monto-color4 {
    background-color: hsla(0, 100%, 60%, 1)
}

.tabla-hora-monto-color3 {
    background-color: hsla(0, 100%, 70%, 1)
}

.tabla-hora-monto-color2 {
    background-color: hsla(0, 100%, 80%, 1)
}

.tabla-hora-monto-color1 {
    background-color: hsla(0, 100%, 90%, 1)
}

.tabla-hora-monto-color0 {
    background-color: hsla(0, 100%, 95%, 1)
}

.tabla-hora-monto-negrita {
    font-weight: bold;
    color: red;
}

.whitesmoke {
    background-color: whitesmoke !important;
}

.green-pill {
    background-color: #45a54e;
    color: white;
    border-radius: 10px;
    padding: 4px 8px;
    text-align: right;
    font-size: 11px;
    float: right;
}

.red-pill {
    background-color: #ff3d57;
    color: white;
    border-radius: 10px;
    padding: 4px 8px;
    text-align: right;
    font-size: 11px;
    float: right;
}

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

.text-muted {
    color: rgba(48,65,86,.54);
}

.mat-card {
    background-color: white;
    margin: .75rem;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 8px 12px rgba(47,60,74,.04),0 2px 6px rgba(47,60,74,.08)!important;
}
.thing-form {
  margin: 20px 0;
}

#banner {
  border-bottom: none;
  margin-top: -20px;
}

#banner h1 {
  font-size: 60px;
  line-height: 1;
  letter-spacing: -1px;
}

.hero-unit {
  position: relative;
  padding: 30px 15px;
  color: #F5F5F5;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  background: #D8D2CF;
}

.navbar-text {
  margin-left: 15px;
}


mark {
    padding: 0px;
}

.hide {
    display: none;
}

.manual-navbar {
    text-align: center;
    vertical-align: middle;
    background-color: #ECECEC;
    border-bottom-style: solid;
    border-bottom-color: silver;
    border-bottom-width: 1px;
}

.manual-main {
    width: 1100px;
    max-width: 90%;
    margin: auto;
}

.manual-link:link {
    text-decoration: none;
}

.manual-cliente {
    margin: 5px 0px 5px 0px;
    background-color: #fbd6b7 !important;
    padding: 10px;
    border-radius: 10px;
}

.manual-web {
    margin: 5px 0px 5px 0px;
    background-color: #d2d5ec !important;
    padding: 10px;
    border-radius: 10px;
}

.manual-img {
    max-width: 100%;
}

.manual-menu {
    counter-reset: item
}

.manual-menu li {
    display: block
}

.manual-menu li:before {
    content: counters(item, ".") " ";
    counter-increment: item
}

.btt-btn {
    cursor: pointer;
    position: fixed;
    bottom: .5em;
    right: .5em;
    padding: .5em;
    text-decoration: none;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 14px;
    outline-style: none;
    /*display: none;*/
}

.btt-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.btt-btn:active {
    background-color: rgba(0, 0, 0, 0.8);
}

#backTT {
    z-index: -9999999;
    position: absolute;
    top: 0;
}

@media print {
    body {
        -webkit-print-color-adjust: exact !important;
    }
}

@media print {
    .no-print,
    .no-print * {
        display: none !important;
    }
}

@media print {
    a[href]:after {
        display: none;
    }
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.notifalta{
    color: red;
}

.notifnormal{
    color: orange;
}

.notifbaja{
    color: skyblue;
}
.st-sort-ascent:before{
    content: '\25B2';
  }

  .st-sort-descent:before{
    content: '\25BC';
  }
  
.app-modal-window .modal-dialog {
  width: 500px;
}

body {
  margin: 20px;
}

.formly-field {
  margin-bottom: 5px;  
}

.modal-dialog label {   
    float: left;
    width: 200px; /* change this to whatever you want */
    /* these make it look nicer */
    text-align: right;
    padding-right: 10px;
}

input.number {
    text-align: right;
    padding-right: 15px;
}

.modal-dialog input[type="number"]  {
    text-align: right;
    padding-right: 15px;
}

.tachado {
  text-decoration:line-through;
}

/*input[type="text"] {
    width: 150px;
    display: block;
    margin-bottom: 10px;
    background-color: yellow;
}*/

/* ===== NUEVA UI MEJORADA PARA PRODUCTOS ===== */

/* Tabs de navegación de secciones */
.producto-tabs {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 20px;
  overflow-x: auto;
  flex-wrap: wrap;
}

.producto-tab {
  padding: 12px 24px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #666;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.producto-tab:hover {
  color: #333;
  background-color: #f5f5f5;
}

.producto-tab.active {
  color: #007bff;
  border-bottom-color: #007bff;
  background-color: #f8f9fa;
}

.producto-tab i {
  margin-right: 8px;
}

/* Contenido de las secciones */
.producto-section {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.producto-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Grupos de campos */
.campo-grupo {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.campo-grupo-titulo {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.campo-grupo-titulo i {
  margin-right: 10px;
  color: #007bff;
}

/* Grid de 2 columnas para campos */
.campo-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

/* Campos de formulario mejorados */
.form-group.campo-mejorado {
  margin-bottom: 0;
}

.form-group.campo-mejorado label {
  font-weight: 500;
  color: #555;
  font-size: 13px;
  margin-bottom: 5px;
}

.form-group.campo-mejorado .form-control {
  border-radius: 6px;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

.form-group.campo-mejorado .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Badges para campos importantes */
.campo-badge {
  display: inline-block;
  background: #007bff;
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
  font-weight: 600;
}

.campo-badge.requerido {
  background: #dc3545;
}

.campo-badge.opcional {
  background: #6c757d;
}

/* Checkboxes mejorados */
.checkbox-grupo {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 10px 0;
}

.checkbox-mejorado {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-mejorado:hover {
  background: #e9ecef;
  border-color: #007bff;
}

.checkbox-mejorado input[type="checkbox"] {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-mejorado label {
  margin: 0;
  cursor: pointer;
  user-select: none;
}

/* NOTA: Clase .acciones-producto movida a app.css como clase global */

/* Sección de códigos de barras */
.codigos-barras-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

/* Sección de precios con highlighting */
.precios-container .form-group {
  position: relative;
}

.precio-principal {
  background: linear-gradient(to right, #f8f9fa, transparent);
  border-left: 4px solid #28a745;
  padding-left: 15px;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .producto-tabs {
    flex-direction: column;
  }

  .producto-tab {
    border-bottom: 1px solid #e0e0e0;
    border-left: 3px solid transparent;
  }

  .producto-tab.active {
    border-left-color: #007bff;
    border-bottom-color: transparent;
  }

  .campo-grid-2 {
    grid-template-columns: 1fr;
  }

  .acciones-producto {
    flex-direction: column;
  }

  .codigos-barras-container {
    grid-template-columns: 1fr;
  }
}

/* Helper classes */
.text-muted-small {
  color: #6c757d;
  font-size: 12px;
  margin-top: 4px;
}

.campo-icono {
  position: relative;
}

.campo-icono i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.campo-icono input {
  padding-left: 35px;
}

/* ===== UI MEJORADA PARA OPCIONALES Y ADICIONALES ===== */

/* Contenedor principal de opcionales/adicionales */
.opcionales-adicionales-container {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.opcionales-adicionales-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #dee2e6;
}

.opcionales-adicionales-titulo {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.opcionales-adicionales-titulo i {
  color: #007bff;
  font-size: 22px;
}

.opcionales-adicionales-contador {
  background: #007bff;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* Grid de cards para productos */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Card individual de producto */
.producto-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.producto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.producto-card.activo {
  border-color: #28a745;
}

.producto-card.inactivo {
  opacity: 0.6;
  filter: grayscale(50%);
}

/* Badge de estado */
.producto-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #28a745;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.producto-card-badge.inactivo {
  background: #6c757d;
}

/* Imagen del producto */
.producto-card-imagen {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.producto-card-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.producto-card-imagen-placeholder {
  color: white;
  font-size: 48px;
  opacity: 0.5;
}

/* Contenido del card */
.producto-card-contenido {
  padding: 15px;
}

.producto-card-nombre {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Control de cantidad */
.producto-card-cantidad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.producto-card-cantidad-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.producto-card-cantidad-controles {
  display: flex;
  align-items: center;
  gap: 8px;
}

.producto-card-cantidad-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #007bff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  font-weight: 600;
}

.producto-card-cantidad-btn:hover {
  background: #0056b3;
  transform: scale(1.1);
}

.producto-card-cantidad-btn:active {
  transform: scale(0.95);
}

.producto-card-cantidad-input {
  width: 60px;
  text-align: center;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  padding: 5px;
  font-weight: 600;
  font-size: 14px;
}

/* Toggle de activación */
.producto-card-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background: #e9ecef;
  border-radius: 8px;
  margin-bottom: 10px;
}

.producto-card-toggle-label {
  font-size: 13px;
  color: #495057;
  font-weight: 500;
}

/* Switch toggle mejorado */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

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

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 26px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .switch-slider {
  background-color: #28a745;
}

input:checked + .switch-slider:before {
  transform: translateX(24px);
}

/* Botón de eliminar */
.producto-card-eliminar {
  width: 100%;
  padding: 8px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.producto-card-eliminar:hover {
  background: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Botón de agregar producto */
.agregar-producto-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.agregar-producto-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.agregar-producto-btn i {
  font-size: 16px;
}

/* Estado vacío */
.productos-vacio {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.productos-vacio-icono {
  font-size: 64px;
  color: #dee2e6;
  margin-bottom: 20px;
}

.productos-vacio-texto {
  font-size: 16px;
  margin-bottom: 10px;
  color: #6c757d;
}

.productos-vacio-subtexto {
  font-size: 14px;
  color: #adb5bd;
}

/* Resumen visual */
.opcionales-resumen {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.opcionales-resumen-item {
  flex: 1;
  min-width: 150px;
  background: white;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #007bff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.opcionales-resumen-item.adicionales {
  border-left-color: #28a745;
}

.opcionales-resumen-label {
  font-size: 12px;
  color: #6c757d;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.opcionales-resumen-valor {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .productos-grid {
    grid-template-columns: 1fr;
  }

  .opcionales-adicionales-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .opcionales-resumen {
    flex-direction: column;
  }
}

/* Animaciones */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.producto-card {
  animation: slideInUp 0.3s ease-out;
}

/* ===== NOTA: Paneles de colores movidos a app.css como clases globales ===== */
/* Las clases panel-detalles, panel-precios, etc. ahora están en app.css */
/* y pueden ser reutilizadas en familias, clientes, y otros modelos */

/* Panel Imágenes - Púrpura claro (específico de productos) */
.panel-imagenes {
  background: linear-gradient(to right, #F3E5F5 0%, #ffffff 100%);
  border-left: 4px solid #9C27B0;
}

.panel-imagenes .campo-grupo-titulo {
  color: #7B1FA2;
}

/* Aplicar estilos base a todos los paneles cuando se usan con campo-grupo */
.campo-grupo.panel-detalles,
.campo-grupo.panel-precios,
.campo-grupo.panel-opciones,
.campo-grupo.panel-inventario,
.campo-grupo.panel-impuestos,
.campo-grupo.panel-opciones-bool,
.campo-grupo.panel-imagenes,
.campo-grupo.panel-adicionales,
.campo-grupo.panel-configuracion {
  border-radius: 12px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.campo-grupo.panel-detalles:hover,
.campo-grupo.panel-precios:hover,
.campo-grupo.panel-opciones:hover,
.campo-grupo.panel-inventario:hover,
.campo-grupo.panel-impuestos:hover,
.campo-grupo.panel-opciones-bool:hover,
.campo-grupo.panel-imagenes:hover,
.campo-grupo.panel-adicionales:hover,
.campo-grupo.panel-configuracion:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.st-sort-ascent:before{
    content: '\25B2';
  }

  .st-sort-descent:before{
    content: '\25BC';
  }
  
.app-modal-window .modal-dialog {
  width: 500px;
}

body {
  margin: 20px;
}

.formly-field {
  margin-bottom: 5px;  
}

.modal-dialog label {   
    float: left;
    width: 200px; /* change this to whatever you want */
    /* these make it look nicer */
    text-align: right;
    padding-right: 10px;
}

input.number {
    text-align: right;
    padding-right: 15px;
}

.modal-dialog input[type="number"]  {
    text-align: right;
    padding-right: 15px;
}

/*input[type="text"] {
    width: 150px;
    display: block;
    margin-bottom: 10px;
    background-color: yellow;
}*/


/**
 * Estilos para el viewer de reportes públicos - POSBerry
 * Brand Colors:
 *   Primary: #8581BC (purple)
 *   Accent: #EB6608 (orange)
 */

/* Variables CSS */
:root {
    --pb-primary: #8581BC;
    --pb-primary-dark: #6b67a3;
    --pb-primary-light: #a9a6d0;
    --pb-primary-bg: #f4f3f9;
    --pb-accent: #EB6608;
    --pb-accent-dark: #c85506;
    --pb-accent-light: #ff8534;
    --pb-text: #2d2d2d;
    --pb-text-secondary: #666666;
    --pb-text-light: #999999;
    --pb-border: #e0e0e0;
    --pb-bg: #f8f9fa;
    --pb-white: #ffffff;
    --pb-success: #28a745;
    --pb-danger: #dc3545;
    --pb-shadow: 0 2px 12px rgba(133, 129, 188, 0.15);
    --pb-shadow-hover: 0 4px 20px rgba(133, 129, 188, 0.25);
    --pb-radius: 12px;
    --pb-radius-sm: 8px;
    --pb-transition: all 0.2s ease;
}

/* Reset y base */
.reporte-publico-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--pb-bg) 0%, var(--pb-primary-bg) 100%);
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.reporte-publico-container * {
    box-sizing: border-box;
}

/* ========================================
   LOADING STATE
   ======================================== */
.loading-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.loading-container .spinner {
    color: var(--pb-primary);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.loading-text {
    margin-top: 20px;
    color: var(--pb-text-secondary);
    font-size: 16px;
    font-weight: 500;
}

/* ========================================
   ERROR STATE
   ======================================== */
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

.error-box {
    background: var(--pb-white);
    padding: 48px 40px;
    border-radius: var(--pb-radius);
    text-align: center;
    box-shadow: var(--pb-shadow);
    max-width: 420px;
    width: 100%;
}

.error-box i {
    color: var(--pb-danger);
}

.error-box h3 {
    margin: 24px 0 12px;
    color: var(--pb-text);
    font-size: 20px;
    font-weight: 600;
}

.error-box p {
    color: var(--pb-text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.error-box .btn-primary {
    background: var(--pb-primary);
    border-color: var(--pb-primary);
    padding: 12px 32px;
    border-radius: var(--pb-radius-sm);
    font-weight: 500;
    transition: var(--pb-transition);
}

.error-box .btn-primary:hover {
    background: var(--pb-primary-dark);
    border-color: var(--pb-primary-dark);
    transform: translateY(-1px);
}

/* ========================================
   PIN PROTECTION
   ======================================== */
.pin-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

.pin-box {
    background: var(--pb-white);
    padding: 48px 40px;
    border-radius: var(--pb-radius);
    text-align: center;
    box-shadow: var(--pb-shadow);
    max-width: 420px;
    width: 100%;
}

.pin-box i.fa-lock {
    color: var(--pb-primary);
}

.pin-box h3 {
    margin: 24px 0 8px;
    color: var(--pb-text);
    font-size: 22px;
    font-weight: 600;
}

.pin-box > p {
    color: var(--pb-text-secondary);
    margin-bottom: 28px;
}

.pin-input {
    text-align: center;
    font-size: 28px;
    letter-spacing: 12px;
    padding: 16px 20px !important;
    border: 2px solid var(--pb-border) !important;
    border-radius: var(--pb-radius-sm) !important;
    margin-bottom: 24px;
    transition: var(--pb-transition);
}

.pin-input:focus {
    border-color: var(--pb-primary) !important;
    box-shadow: 0 0 0 3px rgba(133, 129, 188, 0.15) !important;
    outline: none;
}

.pin-box .btn-primary {
    background: var(--pb-primary);
    border-color: var(--pb-primary);
    padding: 14px 40px;
    border-radius: var(--pb-radius-sm);
    font-weight: 600;
    font-size: 16px;
    transition: var(--pb-transition);
}

.pin-box .btn-primary:hover {
    background: var(--pb-primary-dark);
    border-color: var(--pb-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--pb-shadow-hover);
}

/* ========================================
   REPORT HEADER
   ======================================== */
.reporte-header {
    background: var(--pb-white);
    padding: 28px 32px;
    margin-bottom: 24px;
    border-radius: var(--pb-radius);
    box-shadow: var(--pb-shadow);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.reporte-titulo h1 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: var(--pb-text);
    letter-spacing: -0.5px;
}

.reporte-tipo {
    color: var(--pb-primary);
    font-size: 14px;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reporte-descripcion {
    color: var(--pb-text-secondary);
    font-size: 15px;
    margin: 12px 0 0;
    line-height: 1.5;
}

.reporte-acciones {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.reporte-acciones .btn {
    border-radius: var(--pb-radius-sm);
    padding: 10px 16px;
    font-weight: 500;
    transition: var(--pb-transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.reporte-acciones .btn-export {
    font-size: 14px;
}

.reporte-acciones .btn-default {
    background: var(--pb-white);
    border: 2px solid var(--pb-border);
    color: var(--pb-text);
}

.reporte-acciones .btn-default:hover {
    border-color: var(--pb-primary);
    color: var(--pb-primary);
    background: var(--pb-primary-bg);
}

.reporte-acciones .btn-success {
    background: var(--pb-success);
    border: 2px solid var(--pb-success);
    color: var(--pb-white);
}

.reporte-acciones .btn-success:hover {
    background: #218838;
    border-color: #218838;
}

/* ========================================
   FIXED FILTERS INFO
   ======================================== */
.filtros-fijos {
    background: var(--pb-primary-bg);
    padding: 16px 24px;
    margin-bottom: 24px;
    border-radius: var(--pb-radius);
    border-left: 4px solid var(--pb-primary);
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.filtro-fijo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filtro-fijo label {
    margin: 0;
    font-weight: 600;
    color: var(--pb-primary-dark);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filtro-fijo .badge {
    background: var(--pb-primary);
    font-weight: 500;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 20px;
}

/* ========================================
   FILTERS PANEL - MODERN DESIGN
   ======================================== */
.filtros-editables {
    background: var(--pb-white);
    border-radius: var(--pb-radius);
    box-shadow: var(--pb-shadow);
    margin-bottom: 24px;
    border: none;
    overflow: hidden;
}

.filtros-editables .panel-heading {
    background: var(--pb-white);
    border-bottom: 1px solid var(--pb-border);
    padding: 18px 24px;
    font-weight: 600;
    font-size: 16px;
    color: var(--pb-text);
    display: flex;
    align-items: center;
}

.filtros-editables .panel-heading i {
    margin-right: 10px;
    color: var(--pb-primary);
    font-size: 18px;
}

.filtros-editables .panel-body {
    padding: 24px;
}

/* Date Presets Section */
.date-presets-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pb-border);
}

.date-presets-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pb-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.date-range-display {
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    color: var(--pb-primary);
    font-size: 14px;
}

.date-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.date-preset-btn {
    padding: 10px 18px;
    border: 2px solid var(--pb-border);
    background: var(--pb-white);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pb-text);
    cursor: pointer;
    transition: var(--pb-transition);
}

.date-preset-btn:hover {
    border-color: var(--pb-primary);
    color: var(--pb-primary);
    background: var(--pb-primary-bg);
}

.date-preset-btn.active {
    background: var(--pb-primary);
    border-color: var(--pb-primary);
    color: var(--pb-white);
}

/* Custom Date Range */
.date-range-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    margin-top: 16px;
}

.date-field {
    flex: 1;
    min-width: 140px;
}

.date-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pb-text-secondary);
    margin-bottom: 8px;
}

.date-field input[type="date"] {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--pb-border);
    border-radius: var(--pb-radius-sm);
    font-size: 14px;
    color: var(--pb-text);
    transition: var(--pb-transition);
}

.date-field input[type="date"]:focus,
.date-field input[type="datetime-local"]:focus {
    border-color: var(--pb-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(133, 129, 188, 0.15);
}

/* Datetime-local specific styles */
.date-field input[type="datetime-local"] {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--pb-border);
    border-radius: var(--pb-radius-sm);
    font-size: 14px;
    color: var(--pb-text);
    transition: var(--pb-transition);
    background: var(--pb-white);
    font-family: inherit;
}

.datetime-field {
    min-width: 200px;
}

.datetime-field label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.datetime-field label i {
    color: var(--pb-primary);
    font-size: 11px;
}

.datetime-inputs {
    display: flex;
    gap: 8px;
}

.datetime-inputs input[type="date"] {
    flex: 2;
    padding: 12px 14px;
    border: 2px solid var(--pb-border);
    border-radius: var(--pb-radius-sm);
    font-size: 14px;
    color: var(--pb-text);
    transition: var(--pb-transition);
}

.datetime-inputs input[type="time"] {
    flex: 1;
    padding: 12px 14px;
    border: 2px solid var(--pb-border);
    border-radius: var(--pb-radius-sm);
    font-size: 14px;
    color: var(--pb-text);
    transition: var(--pb-transition);
}

.datetime-inputs input:focus {
    border-color: var(--pb-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(133, 129, 188, 0.15);
}

/* PV Chips Section */
.pv-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pb-border);
}

.pv-section-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pb-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

.pv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pv-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid var(--pb-border);
    background: var(--pb-white);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pb-text);
    cursor: pointer;
    transition: var(--pb-transition);
    user-select: none;
}

.pv-chip:hover {
    border-color: var(--pb-accent);
    color: var(--pb-accent);
}

.pv-chip.selected {
    background: var(--pb-accent);
    border-color: var(--pb-accent);
    color: var(--pb-white);
}

.pv-chip i {
    font-size: 12px;
}

.pv-chip .check-icon {
    display: none;
}

.pv-chip.selected .check-icon {
    display: inline;
}

/* Other Filters */
.other-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.filter-field {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.filter-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pb-text-secondary);
    margin-bottom: 8px;
}

.filter-field select,
.filter-field input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--pb-border);
    border-radius: var(--pb-radius-sm);
    font-size: 14px;
    color: var(--pb-text);
    background: var(--pb-white);
    transition: var(--pb-transition);
}

.filter-field select:focus,
.filter-field input:focus {
    border-color: var(--pb-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(133, 129, 188, 0.15);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
    padding: 12px 0;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--pb-primary);
}

/* Apply Button */
.apply-filters-section {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}

.btn-apply-filters {
    background: var(--pb-accent);
    border: none;
    color: var(--pb-white);
    padding: 14px 32px;
    border-radius: var(--pb-radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pb-transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-apply-filters:hover {
    background: var(--pb-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(235, 102, 8, 0.3);
}

.btn-apply-filters:disabled {
    background: var(--pb-text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-apply-filters i {
    font-size: 14px;
}

/* ========================================
   TOTALS CARDS
   ======================================== */
.totales-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.total-card {
    background: var(--pb-white);
    padding: 24px;
    border-radius: var(--pb-radius);
    box-shadow: var(--pb-shadow);
    text-align: center;
    transition: var(--pb-transition);
}

.total-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--pb-shadow-hover);
}

.total-valor {
    font-size: 28px;
    font-weight: 700;
    color: var(--pb-primary);
    letter-spacing: -1px;
}

.total-label {
    font-size: 12px;
    color: var(--pb-text-secondary);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ========================================
   CHART SECTION
   ======================================== */
.grafico-container {
    margin-bottom: 24px;
}

.grafico-container .panel {
    background: var(--pb-white);
    border: none;
    border-radius: var(--pb-radius);
    box-shadow: var(--pb-shadow);
    overflow: hidden;
}

.grafico-container .panel-heading {
    background: var(--pb-white);
    border-bottom: 1px solid var(--pb-border);
    padding: 18px 24px;
    font-weight: 600;
    font-size: 16px;
    color: var(--pb-text);
}

.grafico-container .panel-heading i {
    margin-right: 10px;
    color: var(--pb-success);
}

.grafico-container .panel-body {
    padding: 24px;
}

.grafico-container canvas {
    max-height: 320px;
}

/* ========================================
   DATA TABLE
   ======================================== */
.tabla-container .panel {
    background: var(--pb-white);
    border: none;
    border-radius: var(--pb-radius);
    box-shadow: var(--pb-shadow);
    overflow: hidden;
}

.tabla-container .panel-heading {
    background: var(--pb-white);
    border-bottom: 1px solid var(--pb-border);
    padding: 18px 24px;
    font-weight: 600;
    font-size: 16px;
    color: var(--pb-text);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tabla-container .panel-heading i {
    color: var(--pb-accent);
}

.tabla-container .badge {
    background: var(--pb-primary);
    font-weight: 500;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 12px;
}

.tabla-container .badge-cache {
    background: var(--pb-success);
}

.tabla-container .panel-body {
    padding: 0;
}

/* Empty state */
.tabla-container .text-center.text-muted {
    padding: 60px 20px;
}

.tabla-container .text-center.text-muted i {
    color: var(--pb-border);
    margin-bottom: 16px;
}

.tabla-container .text-center.text-muted p {
    color: var(--pb-text-secondary);
    font-size: 15px;
}

/* Table styles */
.tabla-container .table {
    margin-bottom: 0;
}

.tabla-container .table th {
    background: var(--pb-bg);
    border-bottom: 2px solid var(--pb-border);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pb-text-secondary);
    padding: 14px 16px;
    white-space: nowrap;
}

.tabla-container .table td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--pb-border);
    color: var(--pb-text);
}

.tabla-container .table tbody tr:hover {
    background: var(--pb-primary-bg);
}

.tabla-container .table tbody tr:last-child td {
    border-bottom: none;
}

/* ========================================
   FOOTER
   ======================================== */
.reporte-footer {
    text-align: center;
    padding: 24px 20px;
    color: var(--pb-text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-meta small {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-brand {
    margin-top: 8px;
}

.footer-brand a {
    text-decoration: none;
    color: var(--pb-text-secondary);
    font-size: 14px;
    transition: var(--pb-transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-brand a:hover {
    color: var(--pb-primary);
}

.footer-brand .brand-text {
    font-weight: 400;
}

.footer-brand .brand-text strong {
    color: var(--pb-primary);
    font-weight: 700;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets */
@media (max-width: 992px) {
    .date-presets {
        gap: 8px;
    }

    .date-preset-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .totales-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .reporte-publico-container {
        padding: 16px;
    }

    .reporte-header {
        padding: 20px;
        flex-direction: column;
    }

    .reporte-titulo h1 {
        font-size: 22px;
    }

    .reporte-acciones {
        width: 100%;
    }

    .reporte-acciones .btn {
        flex: 1;
        justify-content: center;
    }

    .filtros-fijos {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .filtros-editables .panel-body {
        padding: 20px 16px;
    }

    .date-presets {
        flex-direction: column;
    }

    .date-preset-btn {
        width: 100%;
        text-align: center;
    }

    .date-range-custom {
        flex-direction: column;
    }

    .date-field,
    .datetime-field {
        width: 100%;
        min-width: auto;
    }

    .datetime-inputs {
        flex-direction: column;
    }

    .datetime-inputs input[type="date"],
    .datetime-inputs input[type="time"] {
        flex: none;
        width: 100%;
    }

    .pv-chips {
        flex-direction: column;
    }

    .pv-chip {
        width: 100%;
        justify-content: center;
    }

    .other-filters {
        flex-direction: column;
    }

    .filter-field {
        max-width: none;
    }

    .apply-filters-section {
        padding-top: 16px;
    }

    .btn-apply-filters {
        width: 100%;
        justify-content: center;
    }

    .totales-row {
        grid-template-columns: 1fr;
    }

    .total-card {
        padding: 20px;
    }

    .total-valor {
        font-size: 24px;
    }

    .tabla-container .table th,
    .tabla-container .table td {
        padding: 12px;
        font-size: 13px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .reporte-publico-container {
        padding: 12px;
    }

    .reporte-header {
        padding: 16px;
    }

    .reporte-titulo h1 {
        font-size: 20px;
    }

    .error-box,
    .pin-box {
        padding: 32px 24px;
    }

    .pin-input {
        font-size: 24px;
        letter-spacing: 8px;
    }
}

/* ========================================
   FILTERED TOTALS
   ======================================== */
.totales-filtrados {
    background: var(--pb-primary-bg);
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: var(--pb-radius-sm);
    border-left: 4px solid var(--pb-primary);
}

.totales-filtrados small {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* ========================================
   DATA TOOLBAR
   ======================================== */
.datos-toolbar {
    background: var(--pb-white);
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: var(--pb-radius);
    box-shadow: var(--pb-shadow);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* Search Box */
.toolbar-search {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    position: relative;
}

.toolbar-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pb-text-light);
    font-size: 14px;
    pointer-events: none;
}

.toolbar-search .search-input {
    width: 100%;
    padding: 12px 40px 12px 40px;
    border: 2px solid var(--pb-border);
    border-radius: var(--pb-radius-sm);
    font-size: 14px;
    color: var(--pb-text);
    transition: var(--pb-transition);
}

.toolbar-search .search-input:focus {
    border-color: var(--pb-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(133, 129, 188, 0.15);
}

.toolbar-search .search-input::placeholder {
    color: var(--pb-text-light);
}

.toolbar-search .search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 6px 10px;
    color: var(--pb-text-light);
    cursor: pointer;
    transition: var(--pb-transition);
}

.toolbar-search .search-clear:hover {
    color: var(--pb-danger);
}

/* Grouping Selector */
.toolbar-agrupacion {
    display: flex;
    align-items: center;
    gap: 10px;
}

.agrupacion-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pb-text-secondary);
    white-space: nowrap;
    margin: 0;
}

.agrupacion-label i {
    margin-right: 6px;
    color: var(--pb-primary);
}

.agrupacion-select {
    padding: 10px 36px 10px 14px;
    border: 2px solid var(--pb-border);
    border-radius: var(--pb-radius-sm);
    font-size: 14px;
    color: var(--pb-text);
    background: var(--pb-white);
    cursor: pointer;
    transition: var(--pb-transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.agrupacion-select:focus {
    border-color: var(--pb-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(133, 129, 188, 0.15);
}

/* View Toggle */
.toolbar-vista {
    display: flex;
    border: 2px solid var(--pb-border);
    border-radius: var(--pb-radius-sm);
    overflow: hidden;
}

.vista-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--pb-white);
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--pb-text-secondary);
    cursor: pointer;
    transition: var(--pb-transition);
}

.vista-btn:first-child {
    border-right: 2px solid var(--pb-border);
}

.vista-btn:hover {
    background: var(--pb-primary-bg);
    color: var(--pb-primary);
}

.vista-btn.active {
    background: var(--pb-primary);
    color: var(--pb-white);
}

.vista-btn i {
    font-size: 14px;
}

/* ========================================
   INTERACTIVE CHART SECTION
   ======================================== */
.grafico-interactivo {
    margin-bottom: 24px;
}

.grafico-interactivo .panel {
    background: var(--pb-white);
    border: none;
    border-radius: var(--pb-radius);
    box-shadow: var(--pb-shadow);
    overflow: hidden;
}

.grafico-interactivo .panel-heading {
    background: var(--pb-white);
    border-bottom: 1px solid var(--pb-border);
    padding: 16px 24px;
}

.grafico-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.grafico-header > span {
    font-weight: 600;
    font-size: 16px;
    color: var(--pb-text);
}

.grafico-header > span i {
    margin-right: 10px;
    color: var(--pb-success);
}

.chart-type-selector {
    display: flex;
    border: 2px solid var(--pb-border);
    border-radius: var(--pb-radius-sm);
    overflow: hidden;
}

.chart-type-btn {
    padding: 8px 14px;
    background: var(--pb-white);
    border: none;
    border-right: 1px solid var(--pb-border);
    color: var(--pb-text-secondary);
    cursor: pointer;
    transition: var(--pb-transition);
}

.chart-type-btn:last-child {
    border-right: none;
}

.chart-type-btn:hover {
    background: var(--pb-primary-bg);
    color: var(--pb-primary);
}

.chart-type-btn.active {
    background: var(--pb-primary);
    color: var(--pb-white);
}

.chart-type-btn i {
    font-size: 16px;
}

.chart-body {
    padding: 24px;
}

.chart-wrapper {
    position: relative;
    height: 350px;
    max-height: 400px;
}

.chart-wrapper canvas {
    max-height: 100%;
}

/* ========================================
   SORTABLE TABLE HEADERS
   ======================================== */
.tabla-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tabla-datos .th-sortable {
    cursor: pointer;
    user-select: none;
    transition: var(--pb-transition);
    position: relative;
}

.tabla-datos .th-sortable:hover {
    background: var(--pb-primary-bg);
    color: var(--pb-primary);
}

.tabla-datos .th-sortable .th-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tabla-datos .sort-icon {
    font-size: 12px;
    color: var(--pb-text-light);
    transition: var(--pb-transition);
}

.tabla-datos .th-sorted {
    background: var(--pb-primary-bg);
}

.tabla-datos .th-sorted .sort-icon {
    color: var(--pb-primary);
}

/* Numeric columns alignment */
.tabla-datos .td-moneda,
.tabla-datos .td-cantidad {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.tabla-datos .td-moneda {
    font-weight: 600;
    color: var(--pb-success);
}

/* ========================================
   RESPONSIVE - TOOLBAR
   ======================================== */
@media (max-width: 768px) {
    .datos-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-search {
        max-width: none;
    }

    .toolbar-agrupacion {
        flex-direction: column;
        align-items: stretch;
    }

    .agrupacion-select {
        width: 100%;
    }

    .toolbar-vista {
        width: 100%;
    }

    .vista-btn {
        flex: 1;
        justify-content: center;
    }

    .vista-btn-label {
        display: inline;
    }

    .grafico-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .chart-type-selector {
        justify-content: center;
    }

    .chart-wrapper {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .vista-btn-label {
        display: none;
    }

    .vista-btn {
        padding: 10px 20px;
    }
}

/* Print styles */
@media print {
    .reporte-publico-container {
        background: white;
        padding: 0;
    }

    .filtros-editables,
    .reporte-acciones,
    .apply-filters-section,
    .datos-toolbar,
    .chart-type-selector {
        display: none !important;
    }

    .reporte-header,
    .total-card,
    .tabla-container .panel,
    .grafico-container .panel,
    .grafico-interactivo .panel {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ========================================
   COMBO CHECKBOX (Dropdown con búsqueda y checkboxes)
   ======================================== */
.combo-checkbox {
    position: relative;
    width: 100%;
}

.combo-checkbox-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--pb-white);
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius-sm);
    cursor: pointer;
    transition: var(--pb-transition);
    min-height: 42px;
}

.combo-checkbox-trigger:hover {
    border-color: var(--pb-primary-light);
}

.combo-checkbox-trigger.open {
    border-color: var(--pb-primary);
    box-shadow: 0 0 0 3px rgba(133, 129, 188, 0.1);
}

.combo-checkbox-label {
    flex: 1;
    color: var(--pb-text);
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.combo-checkbox-label.placeholder {
    color: var(--pb-text-light);
}

.combo-checkbox-count {
    background: var(--pb-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

.combo-checkbox-arrow {
    margin-left: 8px;
    color: var(--pb-text-secondary);
    transition: transform 0.2s ease;
}

.combo-checkbox-trigger.open .combo-checkbox-arrow {
    transform: rotate(180deg);
}

.combo-checkbox-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--pb-white);
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius-sm);
    box-shadow: var(--pb-shadow-hover);
    z-index: 1000;
    max-height: 320px;
    display: flex;
    flex-direction: column;
}

.combo-checkbox-search {
    padding: 10px;
    border-bottom: 1px solid var(--pb-border);
}

.combo-checkbox-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--pb-border);
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: var(--pb-transition);
}

.combo-checkbox-search input:focus {
    border-color: var(--pb-primary);
    box-shadow: 0 0 0 3px rgba(133, 129, 188, 0.1);
}

.combo-checkbox-search input::placeholder {
    color: var(--pb-text-light);
}

.combo-checkbox-actions {
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--pb-border);
    background: var(--pb-bg);
}

.combo-checkbox-actions button {
    flex: 1;
    padding: 6px 10px;
    font-size: 12px;
    border: 1px solid var(--pb-border);
    background: var(--pb-white);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--pb-transition);
    color: var(--pb-text-secondary);
}

.combo-checkbox-actions button:hover {
    background: var(--pb-primary-bg);
    border-color: var(--pb-primary-light);
    color: var(--pb-primary);
}

.combo-checkbox-list {
    flex: 1;
    overflow-y: auto;
    padding: 6px 0;
}

.combo-checkbox-item {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.combo-checkbox-item:hover {
    background: var(--pb-primary-bg);
}

.combo-checkbox-item.selected {
    background: rgba(133, 129, 188, 0.08);
}

.combo-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: var(--pb-primary);
    cursor: pointer;
}

.combo-checkbox-item-label {
    flex: 1;
    font-size: 14px;
    color: var(--pb-text);
}

.combo-checkbox-empty {
    padding: 20px;
    text-align: center;
    color: var(--pb-text-light);
    font-size: 13px;
}

.combo-checkbox-empty i {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

/* ========================================
   CASHLESS KPIs SECTION
   ======================================== */
.cashless-kpis {
    margin-bottom: 24px;
}

.kpi-section {
    background: var(--pb-white);
    border-radius: var(--pb-radius);
    box-shadow: var(--pb-shadow);
    padding: 20px 24px;
    margin-bottom: 16px;
}

.kpi-section:last-child {
    margin-bottom: 0;
}

.kpi-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--pb-text-secondary);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pb-border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kpi-section-title i {
    color: var(--pb-primary);
}

.kpi-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.kpi-card {
    background: var(--pb-bg);
    padding: 16px 12px;
    border-radius: var(--pb-radius-sm);
    text-align: center;
    transition: var(--pb-transition);
    border: 2px solid transparent;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kpi-card.kpi-primary {
    background: var(--pb-primary-bg);
    border-color: var(--pb-primary-light);
}

.kpi-card.kpi-primary .kpi-valor {
    color: var(--pb-primary);
}

.kpi-card.kpi-success {
    background: #e8f5e9;
    border-color: #a5d6a7;
}

.kpi-card.kpi-success .kpi-valor {
    color: var(--pb-success);
}

.kpi-card.kpi-warning {
    background: #fff3e0;
    border-color: #ffcc80;
}

.kpi-card.kpi-warning .kpi-valor {
    color: #f57c00;
}

.kpi-valor {
    font-size: 22px;
    font-weight: 700;
    color: var(--pb-text);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.kpi-label {
    font-size: 11px;
    color: var(--pb-text-secondary);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Responsive KPIs */
@media (max-width: 768px) {
    .kpi-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .kpi-valor {
        font-size: 18px;
    }

    .kpi-label {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .kpi-section {
        padding: 16px;
    }

    .kpi-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .kpi-card {
        padding: 12px 8px;
    }

    .kpi-valor {
        font-size: 16px;
    }
}

/**
 * Estilos para el modulo de gestion de Reportes Compartidos
 */

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Container Principal */
/* ═══════════════════════════════════════════════════════════════════════════ */

.reportes-compartidos-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Header */
/* ═══════════════════════════════════════════════════════════════════════════ */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    margin: 0 0 5px;
    font-size: 28px;
    color: #333;
}

.page-header h1 i {
    color: #2196F3;
    margin-right: 10px;
}

.page-header .text-muted {
    margin: 0;
}

.header-actions .btn-lg {
    padding: 12px 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Loading y Empty State */
/* ═══════════════════════════════════════════════════════════════════════════ */

.loading-section {
    padding: 60px 20px;
    color: #666;
}

.loading-section i {
    color: #2196F3;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.empty-state i {
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #333;
    margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Lista de Reportes */
/* ═══════════════════════════════════════════════════════════════════════════ */

.reportes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reporte-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: box-shadow 0.2s;
}

.reporte-card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.reporte-card.reporte-inactivo {
    opacity: 0.7;
    background: #fafafa;
}

.reporte-card.reporte-expirado {
    border-left: 4px solid #f44336;
}

/* Header del reporte */
.reporte-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reporte-nombre {
    margin: 0 0 5px;
    font-size: 18px;
    color: #333;
}

.badge-tipo {
    background: #e3f2fd;
    color: #1976d2;
    font-size: 11px;
    font-weight: normal;
    margin-left: 10px;
    padding: 3px 8px;
    border-radius: 3px;
}

.reporte-descripcion {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.reporte-estado .label {
    font-size: 12px;
    padding: 5px 10px;
}

/* Stats */
.reporte-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat i {
    color: #9e9e9e;
    font-size: 14px;
}

.stat-valor {
    font-weight: 600;
    color: #333;
}

.stat-label {
    color: #999;
    font-size: 12px;
}

/* Acciones */
.reporte-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.reporte-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Filtros aplicados */
.reporte-filtros {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Modal Crear Reporte */
/* ═══════════════════════════════════════════════════════════════════════════ */

.modal-crear-reporte .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-crear-reporte .modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-crear-reporte .modal-title i {
    color: #2196F3;
}

/* Wizard Steps */
.wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    padding: 0 20px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
}

.step.active .step-number {
    background: #2196F3;
    color: white;
}

.step.completed .step-number {
    background: #4caf50;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #999;
}

.step.active .step-label {
    color: #2196F3;
    font-weight: 600;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 10px;
    margin-bottom: 20px;
    transition: background 0.3s;
}

.step-connector.active {
    background: #4caf50;
}

/* Wizard Content */
.wizard-content {
    min-height: 300px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.step-subtitle {
    margin-bottom: 20px;
}

/* Tipos de Reporte Grid */
.tipos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.tipo-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tipo-card:hover {
    border-color: #2196F3;
    background: #f5f9ff;
}

.tipo-card.selected {
    border-color: #2196F3;
    background: #e3f2fd;
}

.tipo-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #e3f2fd;
    color: #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.tipo-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #333;
}

.tipo-info p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.tipo-check {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #4caf50;
    font-size: 20px;
}

/* Filtros Form */
.filtros-form {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.filtros-form .form-group {
    margin-bottom: 20px;
}

.filtros-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.filtros-form label i {
    color: #2196F3;
}

.filtros-form select[multiple] {
    min-height: 120px;
}

.checkbox-label {
    font-weight: normal !important;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 8px;
}

/* Config Form */
.config-form .form-group {
    margin-bottom: 20px;
}

.config-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.config-form label i {
    color: #2196F3;
}

.config-form h6 {
    margin: 20px 0 15px;
    color: #666;
}

.config-form h6 i {
    margin-right: 8px;
}

/* Resumen Box */
.resumen-box {
    background: #f5f5f5;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.resumen-box h6 {
    margin: 0 0 10px;
    color: #333;
}

.resumen-box h6 i {
    color: #2196F3;
    margin-right: 8px;
}

.resumen-box ul {
    margin: 0;
    padding-left: 20px;
}

.resumen-box li {
    margin-bottom: 5px;
    color: #555;
}

/* Modal Footer */
.modal-crear-reporte .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Responsive */
/* ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 15px;
    }

    .header-actions {
        width: 100%;
    }

    .header-actions .btn {
        width: 100%;
    }

    .reporte-header {
        flex-direction: column;
        gap: 10px;
    }

    .reporte-stats {
        gap: 15px;
    }

    .stat {
        flex: 1;
        min-width: calc(50% - 10px);
    }

    .wizard-steps {
        flex-wrap: wrap;
    }

    .step-connector {
        width: 40px;
    }

    .tipos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .reportes-compartidos-container {
        padding: 10px;
    }

    .reporte-card {
        padding: 15px;
    }

    .reporte-actions {
        flex-direction: column;
    }

    .reporte-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .reporte-actions .btn-group {
        width: 100%;
    }

    .reporte-actions .btn-group .btn {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* COMBO CHECKBOX (Dropdown con busqueda y checkboxes) */
/* ═══════════════════════════════════════════════════════════════════════════ */

.combo-checkbox {
    position: relative;
    width: 100%;
}

.combo-checkbox-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 42px;
}

.combo-checkbox-trigger:hover {
    border-color: #2196F3;
}

.combo-checkbox-trigger.open {
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.combo-checkbox-label {
    flex: 1;
    color: #333;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.combo-checkbox-label.placeholder {
    color: #999;
}

.combo-checkbox-count {
    background: #2196F3;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

.combo-checkbox-arrow {
    margin-left: 8px;
    color: #666;
    transition: transform 0.2s ease;
}

.combo-checkbox-trigger.open .combo-checkbox-arrow {
    transform: rotate(180deg);
}

.combo-checkbox-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    max-height: 320px;
    display: flex;
    flex-direction: column;
}

.combo-checkbox-search {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.combo-checkbox-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.combo-checkbox-search input:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.combo-checkbox-search input::placeholder {
    color: #999;
}

.combo-checkbox-actions {
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.combo-checkbox-actions button {
    flex: 1;
    padding: 6px 10px;
    font-size: 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.combo-checkbox-actions button:hover {
    background: #e3f2fd;
    border-color: #2196F3;
    color: #2196F3;
}

.combo-checkbox-list {
    flex: 1;
    overflow-y: auto;
    padding: 6px 0;
}

.combo-checkbox-item {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.combo-checkbox-item:hover {
    background: #f5f5f5;
}

.combo-checkbox-item.selected {
    background: #e3f2fd;
}

.combo-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: #2196F3;
    cursor: pointer;
}

.combo-checkbox-item-label {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.combo-checkbox-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.combo-checkbox-empty i {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.st-sort-ascent:before{
    content: '\25B2';
  }

  .st-sort-descent:before{
    content: '\25BC';
  }
  
.app-modal-window .modal-dialog {
  width: 600px;
}

body {
  margin: 20px;
}

.modal-header{
  background-color: #D8D2CF;
}
.modal-dialog label {   
    float: left;
    width: 200px; 
    /* these make it look nicer */
    text-align: right;
    padding-right: 10px;
}

input.number {
    text-align: right;
    padding-right: 15px;
}

.modal-dialog input[type="number"]  {
    text-align: right;
    padding-right: 15px;
}

.inventario-chico {
  display: none;
}

@media (max-width: 1000px) {
  .inventario-grande {
  display: none;
}
.inventario-chico {
  display: flex;
}
}

.table-fixed-width {
  width: auto;
}

.texto-rojo {
  color: red;
}

.borde-rojo {
  border-color: red;
  border: 2px 2px 2px 2px;
  border-style: solid;
}

/*input[type="text"] {
    width: 150px;
    display: block;
    margin-bottom: 10px;
    background-color: yellow;
}*/


[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

html {
    --background: radial-gradient(ellipse, rgb(255, 255, 255) 50%, rgb(173, 191, 205) 110%);
    --text-color-normal: black;
    --text-color-normal2: #656565;
    --panel-background: #f0f0f0;
    --panel-border: #e3e3e3;
    --text-color: rgb(34, 34, 34);
    --list-border-color: #656565;
    --title-background: #158CBA !important;
    --title-border: #127ba3;
}

html[data-theme='Oscuro'] {
    --background: radial-gradient(ellipse, rgb(30, 30, 30) 50%, rgb(21, 29, 34) 110%);
    --text-color-normal: white;
    --text-color-normal2: rgb(200, 200, 200);
    --panel-background: rgb(51, 51, 51);
    --panel-border: rgb(20, 20, 20);
    --text-color: rgb(230, 230, 230);
    --list-border-color: rgb(20, 20, 20);
    --title-background: #09516d !important;
    --title-border: #0a4358;
}

.totales-total {
    color: red;
    font-size: 300%;
    font-weight: bold;
}

.buscador-lista {
    height: 40vh;
    overflow-y: scroll;
}

.buscador-lista-cliente {
    height: 75vh;
    overflow-y: scroll;
}

.codigo-buscador {
    width: 100px;
}

.precio-buscador {
    width: 100px;
}

.producto-buscador {
    width: 600px;
}

.codigo-lista {
    width: 100px;
}

.precio-lista {
    width: 100px;
}

.producto-lista {
    width: 400px;
}

.cantidad-lista {
    width: 100px;
}

.descuento-lista {
    width: 100px;
}

.subtotal-lista {
    width: 150px;
}

.codigo-venta {
    width: 100px;
}

.precio-venta {
    width: 100px;
}

.producto-venta {
    width: 400px;
}

.cantidad-venta {
    width: 100px;
}

.descuento-venta {
    width: 100px;
}

.subtotal-venta {
    width: 100px;
}

.totales-posicion {
    text-align: right;
}

.cabecera {
    color: rgb(232, 79, 14);
    margin: 0px;
}

.boton-cantidad {
    width: 50px;
}

.domicilio-cliente-buscar {
    width: 300px;
}

.razonsocial-cliente-buscar {
    width: 400px;
}

.telefono-cliente-buscar {
    width: 100px;
}

.texto-rojo {
    color: red !important;
    font-weight: bold;
}

.boton-menu {
    width: 120px !important;
    height: 60px !important;
}

.bagu {
    color: var(--text-color);
    background-color: rgb(240, 240, 240);
}

.sin-stock {
    background-color: red;
}

.boton-rojo {
    background-color: rgb(242, 93, 99);
    border-color: rgb(173, 173, 173);
    color: black;
}

.boton-rojo:hover {
    background-color: rgb(245, 125, 130);
    border-color: rgb(192, 192, 192);
    color: black;
}

.boton-rojo:active {
    background-color: red !important;
    border-color: rgb(173, 173, 173) !important;
    color: black !important;
    box-shadow: none !important;
}

.boton-rojo:focus {
    color: black;
    box-shadow: none;
}

.boton-marron {
    background-color: rgb(102, 102, 102);
    border-color: rgb(173, 173, 173);
    color: white;
    text-align: center;
    user-select: none;
}

.boton-marron:hover {
    background-color: rgb(133, 133, 133);
    border-color: rgb(192, 192, 192);
    color: white;
}

.boton-marron:active {
    background-color: red !important;
    border-color: rgb(173, 192, 173);
    color: white !important;
    box-shadow: none !important;
}

.boton-marron:focus {
    color: white;
    box-shadow: none;
}

.fondo-cabecera {
    background-color: white;
    border-bottom-color: rgb(160, 160, 160);
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.fondo-gris {
    background-color: rgb(216, 210, 207);
    /*text-align: center;*/
}

.fondo-gris-cabecera {
    background-color: rgb(87, 87, 87) !important;
}

.fondo-pagar-titulo {
    background-color: rgb(130, 110, 100);
    text-align: center;
    height: 40px;
}

#ventana-principal {
    transition: .2s;
}

#ventana-principal.ng-hide {
    color: transparent;
    background-color: transparent;
    height: 0;
    width: 0;
}

#ventana-pagar {
    transition: .2s;
}

#ventana-pagar.ng-hide {
    color: transparent;
    background-color: transparent;
    height: 0;
    width: 0;
}

#ventana-clientes {
    transition: .2s;
}

#ventana-clientes.ng-hide {
    color: transparent;
    background-color: transparent;
    height: 0;
    width: 0;
}

.ng-hide {
    overflow: hidden;
}

.boton-panel-cliente {
    color: black;
    width: 90px;
    min-width: 90px;
    height: 60px;
    overflow: hidden;
    background-color: orange;
    border: none;
    margin: 2px;
    padding: 0px;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding-top: 6px;
}

.boton-panel-cliente:hover {
    filter: brightness(110%);
}

.boton-panel-cliente:active {
    /*background-color: red;*/
    box-shadow: none !important;
}

.boton-panel-cliente:focus {
    box-shadow: none !important;
}

.boton-panel-cliente-favorito {
    color: white;
    width: 90px;
    min-width: 90px;
    height: 60px;
    overflow: hidden;
    background-color: orange;
    border: none;
    margin: 2px;
    padding: 0px;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding-top: 6px;
}

.boton-panel-cliente-favorito:hover {
    filter: brightness(110%);
}

.boton-panel-cliente-favorito:active {
    /*background-color: red;*/
    box-shadow: none !important;
}

.boton-panel-cliente-favorito:focus {
    box-shadow: none !important;
}

.boton-panel-producto {
    color: black;
    width: 90px;
    min-width: 90px;
    height: 60px;
    overflow: hidden;
    background-color: rgb(166, 202, 240);
    border: none;
    margin: 2px;
    padding: 0px;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding-top: 6px;
}

.boton-panel-producto:hover {
    filter: brightness(110%);
}

.boton-panel-producto:active {
    /*background-color: red;*/
    box-shadow: none !important;
}

.boton-panel-producto:focus {
    box-shadow: none !important;
}

.boton-panel-producto-favorito {
    color: white;
    width: 90px;
    min-width: 90px;
    height: 60px;
    overflow: hidden;
    background-color: rgb(166, 202, 240);
    border: none;
    margin: 2px;
    padding: 0px;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding-top: 6px;
}

.boton-panel-producto-favorito:hover {
    filter: brightness(110%);
}

.boton-panel-producto-favorito:active {
    /*background-color: red;*/
    box-shadow: none !important;
}

.boton-panel-producto-favorito:focus {
    box-shadow: none !important;
}

.boton-panel-mesa {
    color: black;
    width: 100px;
    height: 60px;
    overflow: hidden;
    background-color: #88DD77;
    border: none;
    margin: 2px;
    padding: 0px;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding-top: 6px;
}

.boton-panel-mesa:hover {
    filter: brightness(110%);
}

.boton-panel-mesa:active {
    background-color: #95FDC1;
    box-shadow: none !important;
}

.boton-panel-mesa:focus {
    box-shadow: none !important;
}

.boton-panel-mesa-ocupada {
    color: black;
    width: 100px;
    height: 60px;
    overflow: hidden;
    background-color: #EE5555;
    border: none;
    margin: 2px;
    padding: 0px;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding-top: 6px;
}

.boton-panel-mesa-ocupada:hover {
    filter: brightness(110%);
}

.boton-panel-mesa-ocupada:active {
    background-color: red;
    box-shadow: none !important;
}

.boton-panel-mesa-ocupada:focus {
    box-shadow: none !important;
}

.boton-panel-mesa-porcobrar {
    color: black;
    width: 100px;
    height: 60px;
    overflow: hidden;
    background-color: #FDDA4B;
    border: none;
    margin: 2px;
    padding: 0px;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding-top: 6px;
}

.boton-panel-mesa-porcobrar:hover {
    filter: brightness(110%);
}

.boton-panel-mesa-porcobrar:active {
    background-color: #E8BA02;
    box-shadow: none !important;
}

.boton-panel-mesa-porcobrar:focus {
    box-shadow: none !important;
}

.boton-panel-familia {
    color: black;
    width: 90px;
    min-width: 90px;
    height: 60px;
    overflow: hidden;
    background-color: rgb(207, 202, 225);
    border: none;
    margin: 2px;
    padding: 0px;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding-top: 6px;
}

.boton-panel-familia:hover {
    filter: brightness(110%);
}

.boton-panel-familia:active {
    /*background-color: red;*/
    box-shadow: none !important;
}

.boton-panel-familia:focus {
    box-shadow: none !important;
}

.boton-panel-familia-favorito {
    color: white;
    width: 90px;
    min-width: 90px;
    height: 60px;
    overflow: hidden;
    background-color: rgb(207, 202, 225);
    border: none;
    margin: 2px;
    padding: 0px;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding-top: 6px;
}

.boton-panel-familia-favorito:hover {
    filter: brightness(110%);
}

.boton-panel-familia-favorito:active {
    /*background-color: red;*/
    box-shadow: none !important;
}

.boton-panel-familia-favorito:focus {
    box-shadow: none !important;
}

.botones-panel-lista {
    height: 60vh;
    overflow-y: scroll;
}

.botones-panel-borde {
    border-style: solid;
    border-color: gray;
    border-width: thin;
}

.boton-filtro {
    color: white !important;
    width: 30px;
    height: 30px;
    overflow: hidden;
    background-color: rgb(154, 145, 140);
    border: none;
    margin: 2px;
    padding: 1px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
}

.boton-filtro:hover {
    filter: brightness(110%);
}

.boton-filtro:active {
    /*background-color: red;*/
    box-shadow: none !important;
}

.boton-filtro:focus {
    box-shadow: none !important;
}

.boton-panel-edicion {
    color: black;
    width: 100px;
    height: 40px;
    color: white !important;
    background-color: gray;
    border: 10px;
    margin: 2px;
    display: inline-block;
    border-radius: 3px;
    text-align: center;
    vertical-align: middle;
    user-select: none;
}

.boton-panel-edicion:hover {
    filter: brightness(110%);
}

.boton-panel-edicion:active {
    box-shadow: none !important;
}

.boton-filtro-activo {
    background-color: red;
}

.panel-editar-producto {
    color: white;
    background-color: rgb(47, 137, 233);
    width: 100px;
    height: 30px;
    border-radius: 3px;
    box-shadow: none;
    border: none;
    margin: 1px;
}

.panel-editar-producto:hover {
    filter: brightness(110%);
    border: none !important;
    box-shadow: none;
}

.panel-editar-cliente {
    color: white;
    background-color: orange;
    width: 100px;
    height: 30px;
    border-radius: 3px;
    box-shadow: none;
    border: none;
    margin: 1px;
}

.panel-editar-cliente:hover {
    filter: brightness(110%);
    border: none !important;
    box-shadow: none;
}

.panel-editar-familia {
    color: white;
    background-color: rgb(132, 109, 216);
    width: 100px;
    height: 30px;
    border: none;
    border-radius: 3px;
    box-shadow: none;
    margin: 1px;
}

.panel-editar-familia:hover {
    filter: brightness(110%);
    border: none !important;
    box-shadow: none;
}

.scroll-menu {
    overflow: auto;
    white-space: nowrap;
}

.lista-pedidos {
    height: 30vh;
    overflow-y: scroll;
}

.lista-pedidos-items {
    height: 40vh;
    overflow-y: scroll;
}

.pedidos-tabla-header-fecha {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-header-vendedor {
    min-width: 200px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-header-cliente {
    min-width: 150px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-header-total-neto {
    min-width: 120px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-header-total-descuentos {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-header-total-impuestos {
    min-width: 120px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-header-total-bruto {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-header-condicion-venta {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-header-condicion-pago {
    min-width: 80px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-header-facturar {
    min-width: 80px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-lista-fecha {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-lista-vendedor {
    min-width: 200px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-lista-cliente {
    min-width: 150px;
    margin: 1px;
    text-align: left;
}

.pedidos-tabla-lista-total-neto {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-lista-total-descuento {
    min-width: 140px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-lista-total-impuestos {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-lista-total-bruto {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-lista-condicion-venta {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-lista-condicion-pago {
    min-width: 80px;
    margin: 1px;
    text-align: center;
}

.pedidos-tabla-lista-facturar {
    min-width: 80px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-header-nombre {
    min-width: 250px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-header-cantidad {
    min-width: 200px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-header-precio-unidad {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-header-precio-neto {
    min-width: 200px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-header-descuento {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-header-impuestos {
    min-width: 200px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-header-total {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-lista-nombre {
    min-width: 300px;
    margin: 1px;
    text-align: left;
}

.pedido-tabla-items-lista-cantidad {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-lista-precio-unidad {
    min-width: 200px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-lista-precio-neto {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-lista-descuento {
    min-width: 200px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-lista-impuestos {
    min-width: 100px;
    margin: 1px;
    text-align: center;
}

.pedido-tabla-items-lista-total {
    min-width: 200px;
    margin: 1px;
    text-align: center;
}

.boton-panel-favoritos {
    color: gold;
    width: 100px;
    height: 60px;
    overflow: hidden;
    background-color: wheat;
    border: none;
    margin: 2px;
    padding: 0px;
}

.boton-panel-favoritos:hover {
    filter: brightness(110%);
}

.boton-panel-favoritos:active {
    /*background-color: red;*/
    box-shadow: none !important;
}

.boton-panel-favoritos:focus {
    box-shadow: none !important;
}

.solo-moviles {
    display: none;
}

.no-moviles {
    display: block;
}

/* para pantallas mas pequeñas */

@media only screen and (max-width: 550px) {
    .margen-derecho {
        margin-right: 15px;
    }
    .reduccion {
        height: 30px;
        padding: 2px;
    }
    .reduccion-lista {
        height: 60px;
        padding: 1px;
        overflow: hidden;
    }
    .solo-moviles {
        display: block;
    }
    .no-moviles {
        display: none;
    }
    .botones-panel-lista {
        height: 40vh;
    }
    .texto-reducido {
        font-size: x-small;
    }
    .texto-mediano {
        font-size: x-large;
    }
    .boton-eliminar {
        display: none;
    }
    .codigo-lista {
        width: 40px;
        display: none;
    }
    .precio-lista {
        width: 40px;
        display: none;
    }
    .producto-lista {
        width: 250px;
        padding-left: 20px;
        text-align: left;
        font-size: x-small;
    }
    .cantidad-lista {
        width: 60px;
        padding-left: 10px;
        font-size: x-small;
    }
    .descuento-lista {
        width: 40px;
        display: none;
    }
    .subtotal-lista {
        width: 40px;
        padding-left: 10px;
        font-size: x-small;
    }
    .codigo-venta {
        width: 40px;
        display: none;
    }
    .precio-venta {
        width: 40px;
        display: none;
    }
    .producto-venta {
        width: 200px;
    }
    .cantidad-venta {
        width: 40px;
    }
    .centrar-texto {
        text-align: center;
        padding-top: 16px;
    }
    .descuento-venta {
        width: 40px;
        display: none;
    }
    .subtotal-venta {
        width: 40px;
    }
    .boton-cantidad {
        display: none;
    }
    .boton-menu {
        width: 70px !important;
        height: 30px !important;
        font-size: x-small !important;
        padding: 2px;
    }
    .boton-panel-cliente {
        width: 75px;
        min-width: 75px;
        height: 45px;
        font-size: x-small;
    }
    .boton-panel-familia {
        width: 75px;
        min-width: 75px;
        height: 45px;
        font-size: x-small;
    }
    .boton-panel-producto {
        width: 75px;
        min-width: 75px;
        height: 45px;
        font-size: x-small;
    }
    .boton-panel-cliente-favorito {
        width: 75px;
        min-width: 75px;
        height: 45px;
        font-size: x-small;
    }
    .boton-panel-familia-favorito {
        width: 75px;
        min-width: 75px;
        height: 45px;
        font-size: x-small;
    }
    .boton-panel-producto-favorito {
        width: 75px;
        min-width: 75px;
        height: 45px;
        font-size: x-small;
    }
    .domicilio-cliente-buscar {
        display: none;
    }
    .telefono-cliente-buscar {
        display: none;
    }
    #menu-vendedor {
        display: none;
    }
    .boton-filtro {
        width: 25px;
        height: 25px;
    }
    /* */
}

/* Panel Mesas */

.container-mesas {
    width: 100%;
    height: 50vh;
    overflow-x: scroll;
    overflow-y: scroll;
}

.panel-mesas {
    table-layout: fixed;
    width: 2000px;
    height: 1200px;
}

.panel-mesas>tr {
    height: 5vh;
}

.boton-panel-mesa-vacia {
    text-align: center;
    color: transparent;
}

.boton-panel-mesa-nueva {
    text-align: center;
    border: 1px solid gray;
    margin: 5px;
}

.boton-panel-mesa-nueva:hover {
    background-color: lightgray;
}

.boton-panel-mesa-redondo {
    border-radius: 100px;
}

.navbar-abajo {
    overflow: hidden;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.pure-material-button-contained {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    padding: 0 16px;
    min-width: 64px;
    height: 36px;
    vertical-align: middle;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
    background-color: rgb(var(--pure-material-primary-rgb, 236, 117, 76));
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    font-family: var(--pure-material-font, "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system);
    font-size: 14px;
    font-weight: 500;
    line-height: 36px;
    overflow: hidden;
    outline: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.semi-transparent {
    background-color: rgba(var(--pure-material-primary-rgb, 236, 117, 76, 0.5));
}

.pure-material-button-contained::-moz-focus-inner {
    border: none;
}

/* Overlay */
.pure-material-button-contained::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
    opacity: 0;
    transition: opacity 0.2s;
}

/* Ripple */
.pure-material-button-contained::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    padding: 50%;
    width: 32px; /* Safari */
    height: 32px; /* Safari */
    background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 1s, transform 0.5s;
}

/* Hover, Focus */
.pure-material-button-contained:hover,
.pure-material-button-contained:focus {
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
}

.pure-material-button-contained:hover::before {
    opacity: 0.08;
}

.pure-material-button-contained:focus::before {
    opacity: 0.24;
}

.pure-material-button-contained:hover:focus::before {
    opacity: 0.3;
}

/* Active */
.pure-material-button-contained:active {
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.pure-material-button-contained:active::after {
    opacity: 0.32;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0s;
}

/* Disabled */
.pure-material-button-contained:disabled {
    color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.38);
    background-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.12);
    box-shadow: none;
    cursor: initial;
}

.pure-material-button-contained:disabled::before {
    opacity: 0;
}

.pure-material-button-contained:disabled::after {
    opacity: 0;
}

.mesero-login {
    height: 100vh;
    background: rgb(64,55,51);
    background: linear-gradient(0deg, rgba(64,55,51,1) 0%, rgba(90,83,80,1) 35%, rgba(116,110,108,1) 100%);
}

.mesero-login button {
    margin: 4px;
}

.mesero-login > div {
    width: fit-content;
    margin: auto;
}

.mesero-login img {
    width: 212px;
    margin: 4px;
}

#conectar {
    width: 212px;
}

#password {
    margin: 4px;
    margin-top: 0px;
    width: 212px;
    min-height: 50px;
    background-color: transparent;
    color: white;
    font-size: 30px;
    text-align: center;
    border: 0px solid transparent;
    border-bottom: 2px solid #03DAC5;
}

#borrar {
    width: 138px;
}

footer.footer {
  text-align: center;
  padding: 30px 0;
  margin-top: 70px;
  border-top: 1px solid #E5E5E5;
}

.modal-primary .modal-header,
.modal-info .modal-header,
.modal-success .modal-header,
.modal-warning .modal-header,
.modal-danger .modal-header {
  color: #fff;
  border-radius: 5px 5px 0 0;
}
.modal-primary .modal-header {
  background: #428bca;
}
.modal-info .modal-header {
  background: #5bc0de;
}
.modal-success .modal-header {
  background: #5cb85c;
}
.modal-warning .modal-header {
  background: #f0ad4e;
}
.modal-danger .modal-header {
  background: #d9534f;
}
