body{
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f1f2f7;
  height: 100%;
  width: 100%;
}a{
  color: #777;
  text-decoration: none;
}.padding-top{
  padding-top: 20px;
}.login-page{
  width: 350px;
  margin: 7% auto;
  padding: 0 20px;
  background-color: #f9f9f9;
  border: 1px solid #f2f2f2;
}.login-page .text-center{
  margin-bottom: 10px;
}.box{
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #f2f2f2;
}.page{
  position: relative;
  display: block;
  top: 50px;
  left: 0;
  padding: 35px 15px 20px 270px;
}

.mb-1{
  margin-bottom: 1em;
}

.mb-2{
  margin-bottom: 2em;
}

.mb-3{
  margin-bottom: 3em;
}

.mt-1{
  margin-top: 1em;
}

.mt-2{
  margin-top: 2em;
}

.mt-3{
  margin-top: 3em;
}

.bg-green{
  background-color: #A3C86D;
}
.bg-blue{
  background-color: #7ACBEE;
}
.bg-yellow{
  background-color: #FDD761;
}
.bg-red{
  background-color: #FF7857;
}
.panel-default >.panel-heading{
  background-color: #f5f5f5;
  border-bottom: 2px solid #3498DB;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 15px;
}.panel-box{
  width: 100%;
  height: 100%;
  text-align: center;
  border: none;
}.panel-value{
  width: 60%;
}.panel-icon{
  padding: 30px;
  width: 40%;
  border-radius: 0;
}.panel-icon{
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}.panel-value{
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}.panel-value h2{
  margin-top: 30px;
}
.panel-icon i{
  line-height:65px;
  font-size: 40px;
  color: #fff;
}
#header {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  height: 65px;
  line-height: 65px;
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
   box-shadow: 0 1px 2px rgba(0,0,0,0.1);
} header > .logo {
    color: #fff;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    width: 250px;
    background-color: #3498DB;
}.header-date{
  color: #9b9b9b;
  margin-left: 20px;
}
.info-menu{
  height: 60px;
  margin: 0;
  line-height: 60px;
  padding: 0 15px;
}.info-menu li.profile {
  position: relative;
}.profile a.toggle{
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  color: rgba(150, 150, 158, 1.0);
  position: relative;
  padding: 10px 10px 10px 0;
  margin: 0;
  background: #f9f9f9;
  border-radius: 30px;
}.info-menu li.profile a img{
  width: 30px;
  height: 30px;
}.dropdown-menu{
  margin-top: 4px;
  border-color: #fefefe;
  border-radius: 0;
   box-shadow: 0px 0px 5px rgba(86, 96, 117, 0.15);
  -moz-box-shadow: 0px 0px 5px rgba(86, 96, 117, 0.15);
  -webkit-box-shadow: 0px 0px 5px rgba(86, 96, 117, 0.15);
  }.dropdown-menu li{
    margin: 0;
    padding: 0;
    display: block;
    line-height: 35px;
 }.dropdown-menu li a{
  text-decoration: none;
  display: block;
  font-size: 14px;
  position: relative;
  line-height: 30px;
  width: 100%;
  border-bottom: 1px solid #f4faf9;
}.dropdown-menu li a i{
  margin-right: 5px;
}.dropdown-menu li.last a{
  border-bottom: 0;
}.datepicker{
  text-align: center;
}
.sidebar {
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  padding: 65px 0 0;
  height: 100%;
  width: 250px;
  background: #2a3542;
  border-right: 1px solid #ddd;
  text-align: center;
}.sidebar ul li:hover,.submenu ul li:hover{
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}.sidebar ul{
  list-style: none;
  margin: 0;
  padding: 0;
}.sidebar ul li {
  display: block;
}.sidebar ul li:hover,ul.submenu{
  background-color:#35404d;
}.sidebar ul li a:hover {
  color: white;
}.sidebar ul li a,ul.submenu li a {
  color: #aeb2b7;
  display: block;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  text-align: left;
}.sidebar ul li a span,.sidebar ul li i{
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-shadow: 0 1px rgba(0,0,0, 1);
}.sidebar ul li a i{
  color: #aeb2b7;
  padding: 15px 22px;
  text-align: center;
}ul.submenu{
  display: none;
  position: relative;
}ul.submenu li a:hover{
  background-color:#35404d;
}ul.submenu li a {
  padding-left: 45px;
}ul.submenu li:before{
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  left: 25px;
  top: 0;
  bottom: 0;
  border: 1px dotted #d7d7d7;
  border-width: 0 0 0 1px;
}ul.submenu li a:before{
  content: "";
  display: inline-block;
  position: absolute;
  width: 7px;
  left: 25px;
  top: 18px;
  border-top: 1px dotted #d7d7d7;
}

.sale_report_header{
  padding: 15px 0;
}
table td h6{
  margin: 0 0 0.2em 0;
}
table tfoot tr td:first-child{
  border: 0;
}table tfoot tr td:last-child{
  border-top: 1px solid #ccc;
}table td h6,table tfoot tr td:last-child{
  color: #000;
  _font-size: 1.2em;
  font-weight: normal;
}
.form-control{
  color: #646464;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -moz-transition: all .15s ease-out;
  -webkit-transition: all .15s ease-out;
  transition: all .15s ease-out;
}.form-control:focus{
  background: #f8f8f8;
  border-color: #3498DB;
  outline: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.btn{
  border-radius: 3px;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}.btn-primary {
    color: #fff;
    background-color: #51aded;
    border-color: #3d8fd8
}.btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active{
    color: #fff;
    background-color: #3175b8;
    border-color: #3d8fd8
}.btn-success{
   background-color:#2ecc71
}.btn-success:hover, .btn-success:focus, .btn-success.focus, .btn-success:active, .btn-success.active{
  background-color:#27ae60
}.btn-warning{
  background-color: #e7c13e;
  border-color: #dfba3c;
}.btn-warning:hover, .btn-warning:focus, .btn-warning.focus, .btn-warning:active, .btn-warning.active{
  background-color:#d0ac2c;
  border-color: #dfba3c;
}.btn-danger{
  background-color: #ed5153
}.btn-danger:hover, .btn-danger:focus, .btn-danger.focus, .btn-danger:active, .btn-danger.active{
  background-color:#bb282a
}.input-group-addon{
  background-color: #fcfcfc;
  border: 1px solid #dbdbdb;
  border-radius: 0;
}
.btn-shortcut {
  position: relative;
  display: flex !important;          /* Para alinear icono, texto y shortcut */
  justify-content: space-between; /* Icono+texto a la izquierda, shortcut a la derecha */
  align-items: center;
  min-width: 250px;       /* Ajustá según tu diseño */
}
.btn .shortcut {
  font-size: 0.8em;
  color: #666;
  margin-left: auto;      /* Empuja el shortcut a la derecha */
  opacity: 0.7;
}

input[type=file]{
  text-indent: -99999px;
}td img.img-thumbnail{
  width: 125px;
  height: 125px;
  vertical-align: top;
}.img-avatar_backup{
  width: 50px;
  height: 50px;
}
.img-avatar {
  width: 60px;              /* Tamaño fijo horizontal, puede ajustarse según diseño */
  min-height: 60px;
  max-height: 120px;
  height: auto;             /* Mantiene la proporción original */
  object-fit: contain;      /* Asegura que la imagen se vea completa sin recortes */
  border-radius: 4px;       /* Esquinas suavizadas opcionales */
  box-shadow: 0 1px 3px rgba(0,0,0,0.2); /* Sombra sutil para resaltar */
  background-color: #f9f9f9; /* Fondo claro para imágenes con transparencia */
}
.jumbotron{
  margin-bottom: 0;
}.list-group-item:first-child,.list-group-item:last-child{
  border-radius: 0;
}.profile .jumbotron{
  border-radius: 3px 3px 0 0;
}.profile .jumbotron h3{
  color: white;
}img.img-size-2{
  width: 125px;
  height: 125px;
}


/* ---------------------------------------------------Perfil del producto ---------------------------------------------------- */

.product-profile {
  max-width: 800px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.product-image {
  max-width: 300px;
  border-radius: 8px;
  margin-right: 20px;
}

.product-info {
  flex: 1;
}

.product-info h3 {
  margin-top: 0;
  color: #333;
}

.product-description {
  color: #555;
  margin: 10px 0 20px;
}

.product-details p {
  margin: 5px 0;
  color: #555;
}

.product-details strong {
  color: #333;
}

.product-container {
  max-width: 800px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

h1 {
  text-align: center;
  color: #333;
}

.tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tab-button {
  flex: 1;
  padding: 10px;
  background-color: #f0f0f0;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.tab-button:hover {
  background-color: #ddd;
}

.tab-button:focus {
  background-color: #007BFF;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.field h2 {
  margin-top: 0;
  color: #007BFF;
}

.field p {
  margin: 10px 0 0;
  color: #555;
}

/* ---------------------------------------------------Perfil del producto ---------------------------------------------------- */
/* --------------------------------------------------- dropdown button ---------------------------------------------------- */
.dropbtn {
  /* background-color: #007bff; */ /* Color de fondo azul */
  border: none; /* Sin bordes */
  border-radius: 10%; /* Bordes redondeados */
  /* color: white; */ /* Color del texto */
  padding: 10px 15px; /* Espaciado interno */
  display: flex; /* Flex para centrar contenido */
  align-items: center; /* Centrar verticalmente */
  justify-content: center; /* Centrar horizontalmente */
  cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
  font-size: 12px; /* Tamaño del texto */
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  right: 0;

  /* 👇 límite de altura para mostrar hasta 3 botones aprox */
  max-height: 180px; /* ajustá según el alto de tus <a> */
  overflow-y: auto;  /* activa scroll interno */
}

/* Scrollbar estilizado para dropdown-content */
.dropdown-content::-webkit-scrollbar {
  width: 8px;              /* ancho del scroll */
}

.dropdown-content::-webkit-scrollbar-track {
  background: #f9f9f9;     /* color de fondo del track */
  border-radius: 4px;
}

.dropdown-content::-webkit-scrollbar-thumb {
  background-color: #d2b48c; /* tono arena/beige que combina con #ffe4c4 */
  border-radius: 4px;
  border: 2px solid #f9f9f9; /* borde para que se vea más fino */
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
  background-color: #b8860b; /* un dorado más intenso al pasar el mouse */
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left !important;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
/* .dropdown:hover .dropbtn {
  background-color: #3e8e41;
} */
/* --------------------------------------------------- dropdown button ---------------------------------------------------- */

/* --------------------------------------------------- panel productos ---------------------------------------------------- */

.background-red{
/*   background-color: rgba(255, 0, 0, 0.651) !important;
  color:white !important; */
  background-color: rgba(255, 0, 0, 0.8) !important;
  color: white !important;
}
.background-orange{
  background-color: rgba(255, 215, 0, 0.651) !important;
  color: black !important;  
}
.background-green{
  background-color: rgba(21, 215, 0, 0.651) !important;
  color: black !important;  
}

.text-red {
  color: red;
}

.text-blue {
  color: blue;
}

.is_invalid{
  border-color: red;
}

.input-disabled {
  background-color: #f5f5f5;
  opacity: 0.6;
}

.custom-upload {
  /* background-color: orange; */
  padding: 10px;
  border-radius: 6px;
  display: inline-block;
  width: 100%;
  border: 1px solid #c7c7c7;
}

.custom-upload input[type="file"] {
	display: block !important;
	right: 1px;
	top: 1px;
	height: 34px;
	opacity: 0;
  width: 100%;
	background: none;
	position: absolute;
  overflow: hidden;
  z-index: 2;
  cursor: pointer;
}

/* Opcional: cambiar el texto del botón si el navegador lo permite */
/* .custom-upload input[type="file"]::file-selector-button {
  background-color: orange;
  color: green;
  border: 1px solid green;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
} */

/* input[type=file] {
	display: block !important;
	right: 1px;
	top: 1px;
	height: 34px;
	opacity: 0;
  width: 100%;
	background: none;
	position: absolute;
  overflow: hidden;
  z-index: 2;
} */
/* --------------------------------------------------- panel productos ---------------------------------------------------- */
.cart-icon a{
  position: relative;
}

.badge{
  position: absolute;
  top: -7px;
  right: -12px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 10px;
}

.noti-bubble {
  position: absolute;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85em;
  white-space: nowrap;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------- notificacion bottom ---------------------------------------------------- */
.noti-bottom {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9em;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  animation: fadeInBottom 0.3s ease-out;
  max-width: 90%;
  text-align: center;
}

/* Variantes por tipo */
.noti-success { background: #28a745; color: #fff; }
.noti-error   { background: #dc3545; color: #fff; }
.noti-info    { background: #17a2b8; color: #fff; }
.noti-warning { background: #ffc107; color: #212529; }

@keyframes fadeInBottom {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* --------------------------------------------------- loader ---------------------------------------------------- */
.loaderContainer{
  margin-bottom: 1em;
  margin-top: 1em;
  justify-content: center;
  display: flex;
  align-items: center;
}

.loader{
    display: block;
    position: relative;
    height: 20px;
    width: 140px;
    background-image: 
    linear-gradient(#FFF 20px, transparent 0), 
    linear-gradient(#FFF 20px, transparent 0), 
    linear-gradient(#FFF 20px, transparent 0), 
    linear-gradient(#FFF 20px, transparent 0);
    background-repeat: no-repeat;
    background-size: 20px auto;
    background-position: 0 0, 40px 0, 80px 0, 120px 0;
    animation: pgfill 1s linear infinite;
  }
  
  @keyframes pgfill {
    0% {   background-image: linear-gradient(#FFF 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0); }
    25% {   background-image: linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0); }
    50% {   background-image: linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0); }
    75% {   background-image: linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FFF 20px, transparent 0); }
    100% {   background-image: linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FF3D00 20px, transparent 0), linear-gradient(#FF3D00 20px, transparent 0); }
  }

  /* ---------------------------------------------------/ loader /---------------------------------------------------- */
  /* --------------------------------------------------- badge ---------------------------------------------------- */
  .badge-pulse {
    animation: pulse 0.3s ease;
  }

  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
  }
  /* --------------------------------------------------- / badge / ---------------------------------------------------- */

  /* --------------------------------------------------- badge sales daily ---------------------------------------------------- */
  .badge-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
    color: #fff;
  }

  .badge-pendiente {
    background-color: #f0ad4e; /* amarillo */
  }

  .badge-presupuesto {
    background-color: #71cbff; /* amarillo */
  }  

  .badge-finalizado {
    background-color: #5cb85c; /* verde */
  }

  .badge-efectivo {
    background-color: #5cb85c; /* verde */
  }

  .badge-transferencia {
    background-color: #0275d8; /* azul */
  }

  .badge-tarjeta {
    background-color: #d9534f; /* rojo */
  }

  .badge-cc {
    background-color: #c0bebe; /* rojo */
  }

  .backgorund-correct{
    background-color: #e6ffe6 !important;
  }
  
  .backgorund-danger{
    background-color: #ffe6e6 !important;
  }  
  /* ---------------------------------------------------/ badge sales daily /---------------------------------------------------- */
  
  /* ---------------------------------------------------/ calculadora de vuelta /---------------------------------------------------- */
  .input-lg {
    height: 40px;
    font-size: 1.2em;
  }
  /* ---------------------------------------------------/ calculadora de vuelto /---------------------------------------------------- */

  /* ---------------------------------------------------/ impresion de comprobantes /---------------------------------------------------- */

/*   .comprobante {
    font-family: Arial, sans-serif;
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    background: #fff;
  }

  .comprobante h2 {
    text-align: center;
    margin-bottom: 20px;
  }

  .comprobante table {
    width: 100%;
    border-collapse: collapse;
  }

  .comprobante th, .comprobante td {
    border: 1px solid #ccc;
    padding: 6px 10px;
    text-align: left;
  }

  .comprobante tfoot td {
    background: #f9f9f9;
  } */
   
  .ticket {
    font-family: 'Courier New', monospace;
    font-size: 14px;
  }
  .ticket table {
    width: 100%;
  }
  .ticket h4 {
    margin-bottom: 10px;
  }
  .ticket-header h3 {
  font-size: 20px;
  font-weight: bold;
}
.ticket-header p {
  font-size: 14px;
}
  /* ---------------------------------------------------/ impresion de comprobantes /---------------------------------------------------- */

