/* Sign Screens - Wrappers */
.body-sign {
	display: table;
	height: 100vh;
	margin: 0 auto;
	max-width: 500px;
	padding: 0 15px;
	width: 100%;
}

#controlesVisualizacion {
    transition: all 0.3s ease;
}

.filtro-tipo.active {
    background-color: #007bff;
    color: white !important;
}

.node-highlight {
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.8));
   transition: all 0.3s ease;
}

.vis-network {
    transform: translateZ(0); /* Activar aceleración por hardware */
    will-change: transform; /* Optimizar para animaciones */
}



/* Estilos para la sección de cámaras */
#imagenesCamaras .card {
    transition: all 0.3s ease;
}

#imagenesCamaras .card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#resultadosCamaras table {
    font-size: 0.9rem;
}

#resultadosCamaras table th {
    white-space: nowrap;
}

.ver-imagen {
    transition: all 0.2s ease;
}

.ver-imagen:hover {
    transform: translateY(-2px);
}

/* Select2 con error */
.is-invalid .select2-selection {
    border-color: #dc3545 !important;
}

/* Contenedor del dropdown */
.select2-container {
    width: 100% !important;
}

/* Ajuste para modales */
.select2-dropdown {
    z-index: 9999 !important;
}

.body-sign .center-sign {
	display: table-cell;
	padding-top: 20px;
	vertical-align: middle;
}

.body-sign .card-sign {
	background: transparent;
}

.body-sign .card-sign .card-title-sign .title {
	background-color: #CCC;
	border-radius: 5px 5px 0 0;
	color: #FFF;
	display: inline-block;
	font-size: 12px;
	font-size: 0.75rem;
	padding: 13px 17px;
	vertical-align: bottom;
}

.body-sign .card-sign .card-body {
	background: #FFF;
	border-top: 5px solid #CCC;
	border-radius: 5px 0 5px 5px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	padding: 33px 33px 15px;
}

/* Sign Screens - Elements */
.body-sign .checkbox-custom {
	margin-top: 8px;
}

.body-sign .line-thru {
	display: block;
	font-size: 12px;
	font-size: 0.75rem;
	position: relative;
}

.body-sign .line-thru span {
	color: #CCC;
	position: relative;
	z-index: 3;
}

.body-sign .line-thru:before {
	background-color: #FFF;
	content: '';
	height: 10px;
	left: 50%;
	position: absolute;
	margin: -5px 0 0 -20px;
	top: 50%;
	width: 40px;
	z-index: 2;
}

.body-sign .line-thru:after {
	border-bottom: 1px solid #DADADA;
	content: '';
	display: block;
	left: 10%;
	position: absolute;
	top: 47%;
	width: 81%;
	z-index: 1;
}

/* Lock Screen */
.body-locked {
	background: url(../img/patterns/noisy_net.png) repeat;
	max-width: none;
	min-height: 400px;
}

.body-locked.body-locked-inline {
	background: none;
	bottom: 0;
	height: 100%;
	left: 0;
	min-height: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 9999;
}

.body-locked .card-sign {
	margin: 0 auto;
	max-width: 400px;
	padding-top: 40px;
}

.body-locked .card-sign .card-body {
	border-radius: 5px;
	position: relative;
}

.body-locked .current-user {
	margin-top: 60px;
	margin-bottom: 35px;
}

.body-locked .current-user .user-image {
	border: 5px solid #CCC;
	border-radius: 150px;
	height: 150px;
	left: 50%;
	position: absolute;
	margin-left: -75px;
	top: -75px;
	width: 150px;
}

.body-locked .current-user .user-name {
	font-size: 32px;
	font-size: 2rem;
}

.body-locked .current-user .user-email {
	font-size: 11.2px;
	font-size: 0.7rem;
}

/* Locked Screen - Responsive Landscape */
@media only screen and (max-width: 767px) and (orientation: landscape) {
	.body-locked .card-sign, .body-locked.body-locked-inline .card-sign {
		padding-top: 0;
	}

	.body-locked .center-sign, .body-locked.body-locked-inline .center-sign {
		padding-top: 0;
	}

	.body-locked .center-sign .current-user, .body-locked.body-locked-inline .center-sign .current-user {
		margin-bottom: 45px;
		margin-left: 100px;
		margin-top: 10px;
	}

	.body-locked .center-sign .current-user .user-image, .body-locked.body-locked-inline .center-sign .current-user .user-image {
		height: 100px;
		left: 35px;
		margin-left: 0;
		margin-top: 0;
		top: 15px;
		width: 100px;
	}
}




.factura-titulo h2, .factura-titulo h3 {
    display: inline-block;
}

.factura-titulo-tabla > tbody > tr > .no-line {
    border-top: none;
}

.factura-titulo-tabla > thead > tr > .no-line {
    border-bottom: none;
}

.factura-titulo-tabla > tbody > tr > .thick-line {
    border-top: 2px solid;
}


.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.panel-default>.panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}
.panel-body {
    padding: 15px;
}


#progressBarContainer {
    width: 100%;
    background-color: #f1f1f1;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

#progressBar {
    width: 0%;
    height: 20px;
    background-color: #00bcd4; /* Celeste */
    text-align: center;
    color: white;
    line-height: 20px;
    transition: width 0.3s ease;
}

.panel-default {
    border-color: #ddd;
}
    /* Contenedor con borde y sombra */
    .talon-container {
        border: 1px solid #ccc;
        border-radius: 8px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
        background-color: #fff;
    }


    /* Estilos para la impresión */
    @media print {
        body * {
            visibility: hidden;
        }
        #talonPago, #talonPago * {
            visibility: visible;
        }
        #talonPago {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
        }
        #btnImprimir, #btnAdjuntar {
            display: none; /* Oculta los botones en la impresión */
        }
    }

@keyframes shake {
	0% { transform: translateX(0); }
	25% { transform: translateX(-5px); }
	50% { transform: translateX(5px); }
	75% { transform: translateX(-5px); }
	100% { transform: translateX(0); }
}
	
.shake {
		animation: shake 0.3s ease-in-out;
}

/* Asegurar que los botones no se encimen */
.acciones-column .btn-group {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
}

/* Priorizar columnas importantes en móviles */
@media (max-width: 768px) {
    .tabulator-col[data-field="id_nomina"],
    .tabulator-col[data-field="empresa_cuit"] {
        display: none !important;
    }
    
    .tabulator-col[data-field="empresa_nombre"] {
        widthGrow: 3;
    }
	.tabulator-col[data-field="fecha_generacion"] {
        widthGrow: 3;
    }
}