
/* POS layout fix */

.venta-left{
    width:100%;
}

.content-wrapper{
    min-height: calc(100vh - 120px);
}

.nuevoProducto{
height:160px;
overflow-y:auto;
overflow-x:hidden;
}

.productoItem.activo{
  
  border: 2px solid #FF8C00;
}

.texto-login{
    color:#000;
    font-size:14px;
    margin-top:10px;
}

.plan-actual{
    color: white;
    font-size: 14px;
    
}

/* Ocultar plan cuando el sidebar está colapsado */
.sidebar-collapse .plan-container {
  display: none !important;
}

.btn-upgrade {
  display: inline-block;
  padding: 6px 10px;
  margin-top: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  background: #1abc9c; /* color llamativo */
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  width: fit-content;
  
  }

/* Hover efecto botón real */
.btn-upgrade:hover {
  background: #16a085;
  transform: scale(1.05);
}

/* Click efecto */
.btn-upgrade:active {
  transform: scale(0.95);
}



/* TEXTO DEL MENU SIEMPRE VISIBLE */
.sidebar-menu li a,
.nav-sidebar .nav-link {
    color: #ffffff !important;
}

/* ICONOS */
.sidebar-menu li a i,
.nav-sidebar .nav-link i {
    color: #ffffff !important;
}

/* SUBMENU (treeview) */
.treeview-menu > li > a {
    color: #ffffff !important;
}

/* HOVER (opcional más pro) */
.sidebar-menu li a:hover,
.nav-sidebar .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #ffffff !important;
}



.sidebar-menu .treeview-menu {
  background-color: #2B4C9B !important;
}


table.dataTable th,
table.dataTable td{
  text-transform: uppercase;
}

#btnIngresar{
    border-radius: 4px;
    width: 100px;
}




#codigoBarrasVenta{
    font-size: 15px;
}


/* =========================================
   BOTONES TABLA VENTAS
========================================= */

.btn-group .btn{
    width: 36px;
    padding: 6px 0;
    text-align: center;
}

.btn-group .btn i{
    margin: 0;
}

#seleccionarCliente{

    height: 40px;

}

#Cliente{
    height: 40px;
}

#UserClient{

height: 25px;
width: 15px;

}

#IVA{

    text-align: center;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    font-size: 25px;
    height: 50px;
}

#nuevoTotalVentaVisual{
    font-size: 46px;
    color:#e74c3c;
    text-align: center;
    font-weight: bold;
    height: 50px;
}


#inputEfectivo{
    font-size: 30px;
    color:#5472c4;
    text-align: center;
    font-weight: bold;
    height: 50px;
    margin-left: -5px;
     
}

#inputCambio{
    font-size: 40px;
    color:#2e7d32;
    text-align: center;
    font-weight: bold;
    height: 50px;
}

.input-group {
  margin-left:10px;
}

.fila-botones{
display:flex;
flex-wrap:wrap;
gap:6px;
margin-bottom:6px;
width: 170px;
}

.fila-botones button{
width:48%;
}


.input-group-addon {
  min-width: 60px;
  
}

#CobrarVenta{
background:#16a34a;
border:none;
color:white;
font-weight:bold;
font-size:25px;
height:45px;
width: 466px;
}

#CorteCajaF7{
background:#53b4f5;
border:none;
}

#CobrarF3{
font-size:20px;
height: auto;
width: 240px;
}

#CancelarESC,
#CorteCajaF7{
font-size:20px;
width: 220px;
height: auto;
}

#TarjetaF4{
font-size:20px;
width: 240px;
height: auto;
}

.grid-botones{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:6px;
}

.grid-botones button{
  width:100%;
}

.grid-botones .cobrar{
  grid-column:1 / span 2; /* ocupa las dos columnas */
  height:45px;
  font-size:20px;
  font-weight:bold;
}




#supervisor{
    font-size: 15px;
    font-weight: bold;
}


#Vendedor{

    font-size: 20px;
}

#Supervisor{
font-size: 20px;
}
#Name{
text-transform: uppercase;
font-size: 15px;
font-weight: bold;
}
#TotalInicial{
font-size: 30px;
}
#totalApertura{
font-size: 30px;
font-weight: bold;  
}

#btn-SalirdelSistema{

background-color:#4169E1;
color: white;
font-size: 17px;
height:37px;
margin-top: -10px;
margin-left: -10px;
width: 65px;

}

#dropdown {
  width: 120px !important;
  min-width: 120px !important;
  background: rgba(255,255,255,0.40);
}

.centrar{
  justify-content: center;
}




   




 
 /* ESTILOS NUEVOS */
/* ALERTAS SWEETALERT2 MAESTRA */
.swal2-popup {
    font-size: 16px !important;      /* Tamaño de letra general */
    padding: 2rem !important;        /* Espaciado interno */
    border-radius: 12px !important;  /* Bordes redondeados */
}

/* Título de la alerta */
.swal2-title {
    font-size: 26px !important;      /* Tamaño del título */
    font-weight: bold;
    color: #222 !important;          /* Color del título */
    text-align: center;
}

/* Texto del mensaje */
.swal2-content {
    font-size: 21px !important;      /* Tamaño del mensaje */
    color: #333 !important;          /* Color del mensaje */
    text-align: center;
}

/* Botón de confirmación */
.swal2-styled.swal2-confirm {
    font-size: 18px !important;       /* Tamaño del texto del botón */
    padding: 11px 11px !important;    /* Altura y ancho del botón */
    min-width: 100px !important;      /* Ancho mínimo */
    border-radius: 8px !important;    /* Bordes redondeados */
    background-color: #0056B3 !important; /* Azul corporativo */
    color: #fff !important;           /* Texto blanco */
    box-shadow: none !important;      /* Sin sombra para limpieza */
}

/* Botón de confirmación */
.swal2-styled.swal2-cancel {
    font-size: 18px !important;       /* Tamaño del texto del botón */
    padding: 11px 11px !important;    /* Altura y ancho del botón */
    min-width: 100px !important;      /* Ancho mínimo */
    border-radius: 8px !important;    /* Bordes redondeados */
    background-color: #d33 !important; /* Azul corporativo */
    color: #fff !important;           /* Texto blanco */
    box-shadow: none !important;      /* Sin sombra para limpieza */
}




/* Iconos de alerta */
.swal2-icon {
    width: 80px !important;
    height: 80px !important;
}

.swal2-icon.swal2-warning {
    color: #ff9800 !important; /* Naranja corporativo */
}

.swal2-icon.swal2-success {
    color: #4caf50 !important; /* Verde corporativo */
}

.swal2-icon.swal2-error {
    color: #f44336 !important; /* Rojo corporativo */

}


.input-precioCompra {
    width: 160px; /* ajusta al tamaño que quieras */
    margin-left:100px;
  }

.input-precioVenta {
    width: 165px; /* ajusta al tamaño que quieras */
      margin-left:100px;
  }

/* =========================================
   BOTÓN DEFAULT – SISTEMA
========================================= */
.btn.btn-default {
    background-color: #f4f6f9;
    border: 1px solid #d2d6de;
    color: #444;
    font-weight: 600;
    border-radius: 3px;
    padding: 6px 14px;
    transition: all 0.2s ease-in-out;
    width: 85px;
    height: 40px;
    font-size: 15px;
}

/* Hover */
.btn.btn-default:hover {
    background-color: #e9ecef;
    border-color: #b5bbc2;
    color: #222;
}



/* Active / Focus */
.btn.btn-default:focus,
.btn.btn-default:active {
    outline: none;
    box-shadow: 0 0 0 2px rgba(60,141,188,0.25);
}

/* Alineación izquierda limpia */
.pull-left {
    float: left;
}

/* Separación cuando hay varios botones */
.btn.pull-left {
    margin-right: 8px;
}

/* Botones de crear venta(descripción y total) */

.productoItem .form-control,
.productoItem .input-group-addon,
.productoItem .btn {
  height: 40px;
}

.productoItem .btn-xs {
  padding: 6px 10px;
}


.nuevoProducto {
  max-height: 350px;   /* ajusta a tu gusto */
  overflow-y: auto;
}


/* Boton F2 de crear venta*/

.resaltar-metodo {
  border: 2px solid #e74c3c !important; /* rojo */
  box-shadow: 0 0 6px rgba(231, 76, 60, 0.6);
}

.fila-activa {
  background-color: #d6eaff !important;
}

.producto-seleccionado{
  outline:2px solid #ff9800;
  background:rgba(255,152,0,.08);
}



.modal-backdrop {
     background: linear-gradient(to bottom, #f4f6f9, #e9edf3);
}

.modal-header {
    background-color: #1e88e5;
    color: white;
}

.total-grande{
  font-size: 32px;
  font-weight: bold;
  text-align: right;
  height: 60px;
  background: #111;
  color: #ee3709;
}



/* ===============================
   POS HELP BAR
=================================*/

.pos-help-bar{
  background:#1f2d3d;
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:18px;
  padding:12px 18px;
  width: 680px;

  border-radius:8px;
  margin-top:12px;

  font-size:12px;
  font-weight:500;

  box-shadow:0 3px 8px rgba(0,0,0,.25);

}

/* ITEM */
.pos-help-item{
  display:flex;
  flex-direction:column;   /* 👈 clave */
  align-items:center;
  gap:4px;
}

/* TECLA */
.pos-key{
  background:#0d6efd;
  padding:4px 10px;
  border-radius:6px;
  font-weight:bold;
  font-size:13px;

  min-width:34px;
  text-align:center;

  box-shadow:inset 0 -2px 0 rgba(0,0,0,.25);
}

/* SEPARADOR */
.pos-divider{
  opacity:.35;
}

.ayuda-pago{
    background:#1f2937;
    color:white;
    padding:15px 20px;
    border-radius:8px;
    font-size:14px;
    width:570px;
    height:auto;
    margin-top: -40px;
    display:flex;
    flex-direction:row;
    justify-content:center;
    gap:5px;
}


/* =========================================
   MODAL COBRO - LAYOUT
========================================= */

.pos-modal .modal-body{
    padding: 30px 40px;
}

.pos-wrapper{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pos-layout{
    display: flex;
    gap: 40px;
}

.pos-left{
    flex: 1;
  }



.pos-right{
    width: auto;
    display: flex;
    justify-content: center;
    width: 380px;
    margin-top: 110px;
}

/* =========================================
   RESUMEN COBRO
========================================= */

.pos-resumen{
    width:100%;
    margin-bottom:30px;
    padding:20px 10px;
    background:#f9fafb;
    border-radius:16px;
    border:1px solid #e5e7eb;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.06),
        0 4px 10px rgba(0,0,0,0.04);
}

/* FILAS */
.resumen-row{
    display:grid;
    grid-template-columns: 220px 1fr;
    align-items:center;
    padding:12px 0;
}

.resumen-row:not(:last-child){
    border-bottom:1px solid #f1f3f5;
}

/* LABEL */
.resumen-label{
    font-weight:600;
    font-size:21px;
}

/* CAJA VISUAL */
.resumen-valor{
    width:260px;               /* ancho fijo limpio */
    height:60px;
    padding:0 15px;
    font-size:24px;
    background:#f2f2f2;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    border-radius:2px;
    justify-self:end;
}

/* INPUT */
.input-interno{
    width:100%;
    text-align:right;
    background:transparent;
    border:none;
    outline:none;
}

/* total grande */
.total{
    font-size: 30px;
    font-weight: 700;
    color: #111827;
}










/* =========================================
   BILLETES Y MONEDAS
========================================= */

.grupo {
    margin-top: 40px;
    width: 100%;
    text-align: center;
    background: #ffffff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
     border: 1px solid #e5e7eb;
}

.grupo:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.titulo {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    position: relative;
    color: black;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 12px;
}

.monedas,
.billetes {
    display: flex;
    justify-content: center;
    gap: 50px;
    cursor:pointer;
    
}

.billete {
    border: none;
    background: transparent;   /* quita fondo gris */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.billete img {
    width: 130px;   /* ancho */
    height: auto;   /* mantiene proporción */
    transition: transform .2s ease, filter .2s ease;
}

.billete:hover img{
    transform: scale(1.08);
    filter: drop-shadow(0 6px 8px rgba(0,0,0,.35));
}

.monedas {
    display: flex;
    gap: 60px;
    align-items: center;
}

.monedas .moneda {
    width: 120px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.monedas .moneda img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 3px 4px rgba(0,0,0,0.3));
    
}

.monedas .moneda:hover img {
    transform: scale(1.08);
    transition: 0.2s ease;
}

.col-xs-8.pull-right{
    float: none !important;
    width: 100%;
    margin-top: 10px;
}



/* =========================================
   MODAL SIZE
========================================= */

#modalCobro .modal-dialog{
    max-width:1400px !important;
    width:96vw;
}

#modalCobro .modal-content{
    width:100%;
}




.resumen-valor{
    position:relative;
}

.resumen-valor::before{
    content:"$";
    position:absolute;
    left:10px;
    top:50%;
    transform:translateY(-50%);
    color:#444;
    font-weight:bold;
    pointer-events:none;
}

/* SELECCIÓN DE BILLETES Y MONEDAS */

.dinero-activo {
  outline: 3px solid #28a745;
  border-radius: 8px;
  transform: scale(1.05);
}

#btnCancelar{

    background-color: #eb2424;
    border-color: #eb2424;
    height: 40px;
    font-size: 16px;
}

#btnCancelarCobro{

    background-color: #eb2424;
    border-color: #eb2424;
    height: 40px;
    font-size: 17px;
    border-radius: 4px;
}

#btnCobro{

    background-color: #0056B3;
    border-color: #0056B3;
    height: 45px;
    font-size: 21px;
    border-radius: 4px;
}

#btnTarjetaModal{

 background-color: #f3bb20;
    border-color: #f3bb20;
    height: 40px;
    font-size: 17px;
    border-radius: 4px;

}

.acciones-derecha{
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

#btnConfirmarTarjeta{

    background-color: #0056B3;
    border-color: #0056B3;
    height: 40px;
    font-size: 17px;
    border-radius: 4px;
}



#btnCancelarTarjeta{

    background-color: #eb2424;
    border-color: #eb2424;
    height: 40px;
    font-size: 17px;
    border-radius: 4px;
    color: white;
    width: 125px;
}

#btnSalirApertura{
    background-color: #eb2424;
    border-color: #eb2424;
    height: 40px;
    font-size: 17px;
    border-radius: 4px;
    color: white;
}

#btnCorte{
    background-color: #159b20;
    border-color: #159b20;
    height: 40px;
    font-size: 17px;
    border-radius: 4px;
    color: white;
}

#btnCancel{
    background-color: #0056B3;
    border-color: #0056B3;
    height: 40px;
    font-size: 17px;
    border-radius: 4px;
    color: white;
    width: 105px;
}

#btnConfirmarCierre{

    background-color: #eb2424;
    border-color: #eb2424;
    height: 40px;
    font-size: 17px;
    border-radius: 4px;
    color: white;
}

#botonSalir{

    background-color: #eb2424;
    border-color: #eb2424;
    height: 45px;
    font-size: 21px;
    border-radius: 4px;
    color: white;
}

/*=============================================
ESTILO MODAL CORTE CAJA
=============================================*/

.modal-header .modal-title{

    text-align: center;
    width: 100%;
    font-size: 25px;
    font-weight: bold;
    padding-top: 15px;
}

.caja-resumen .fila{

    display:flex;
    justify-content:space-between;
    font-size:16px;
    margin-bottom:8px;

}

.caja-resumen .total{

    font-size:20px;
    font-weight:bold;
    color:#3c8dbc;

}

/*=============================================
INPUTS CORTE
=============================================*/

#inputMontoReal{

    font-size:20px;
    text-align:center;

}

#inputDiferencia{
    font-size: 30px;
    color: #d9534f;
    font-weight: bold;
   
}


/*=============================================
ESTILO MODAL APERTURA CAJA
=============================================*/

#modalAbrirCaja .modal-header .modal-title{
    text-align:center;
    width:100%;
    font-size:32px;
    font-weight:bold;
    margin:0;
    margin-top: -20px;
}


/*=============================================
SECCIONES DINERO
=============================================*/

.seccion-dinero{

background:#f7f7f7;
padding:15px;
border-radius:6px;
margin-bottom:15px;

}

.seccion-dinero h4{

font-weight:bold;
margin-bottom:10px;

}

.titulo-dinero{

    text-align:center;
    font-size:24px;
    font-weight:600;
    letter-spacing:1px;
    color:#444;
    margin:25px 0;
    border-bottom:1px solid #e5e5e5;
    padding-bottom:8px;
    

}


/*=============================================
INPUT DINERO
=============================================*/

.input-dinero{

text-align:center;
font-size:18px;
font-weight:bold;
height:45px;

}


/*=============================================
TOTAL APERTURA
=============================================*/

.total-apertura{

font-size:26px;
font-weight:bold;
color:#00a65a;
text-align:center;

}

.img-dinero{

width: 90px;
height:90px;
object-fit:contain;

}

.img-moneda{

width:60px;
height:60px;
object-fit:contain;
border-radius:50%;
margin-bottom:20px;

}

.dinero-item{

display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-align:center;

}

.conteo-apertura{

width:70px;
text-align:center;
margin:auto;

}

#CancelarP{
  background-color: #eb2424;
    border-color: #eb2424;
    height: 40px;
    font-size: 17px;
    border-radius: 4px;
    color: white;
}

#Descripcion{
    font-size: 15px;
}
#Codigo{
    font-size: 15px;
}
#PrecioVenta{
    font-size: 15px;
}

#Historial{
    color: white;
}

#totalTarjeta{
    font-size: 40px;
    color: red;
    font-weight:bold;
}
#pagocontarjeta{
font-size: 18px;
font-weight:bold;
}
#h4TotalCobrar{
font-size: 18px;
font-weight:bold;
}
#btnAutorizarSupervisor{
    font-size: 18px;
    
}

#btnCancelarAutoizacion{
    font-size: 18px;
    color: white;
    
    background-color: #eb2424;
    border-color: #eb2424;
    width: 105px;
}
#usuarioSupervisor{
    font-size: 15px;
    font-weight: bold;
}



















