
.btn-detalle, .btn-talonarios, .btn-descargar-pdf, .btn-descargar-excel {
    margin: 2px;
    padding: 4px 8px;
    font-size: 12px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

/* Estilos para la señal de tráfico */
.traffic-signal {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: #E74C3C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px #fff, 0 0 0 10px #C0392B;
}

.signal-label {
    position: absolute;
    top: 15px;
    width: 100%;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
}

.traffic-signal strong {
    color: white;
    font-size: 2.5em;
    z-index: 1;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .traffic-signal {
        width: 80px;
        height: 80px;
    }
    
    .traffic-signal strong {
        font-size: 2em;
    }
}

.tabulator-loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #ff0000;
    background-color: var(--bs-nav-tabs-link-active-bg);
    border-color: var(--bs-nav-tabs-link-active-border-color);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para el modal de patente */
#modalPatente .modal-dialog {
    max-width: 90vw;
}

#modalImagenCompleta {
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Cursor pointer para indicar que la imagen es clickeable */
#imagenPatente {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

#imagenPatente:hover {
    opacity: 0.8;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    #modalPatente .modal-dialog {
        max-width: 95vw;
        margin: 1rem;
    }
    
    #modalImagenCompleta {
        max-height: 60vh;
    }
}


        .ftp-toggle {
            background-color: #f5f5f5;
            border-radius: 8px;
            padding: 10px 15px;
            margin: 10px 0;
            cursor: pointer;
        }
        .ftp-toggle:hover {
            background-color: #eeeeee;
        }
        .ftp-toggle i {
            transition: transform 0.3s ease;
        }
        .ftp-toggle.collapsed i {
            transform: rotate(180deg);
        }

.btn-detalle { background-color: #007bff; color: white; }
.btn-talonarios { background-color: #6c757d; color: white; }
.btn-descargar-pdf { background-color: #dc3545; color: white; }
.btn-descargar-excel { background-color: #28a745; color: white; }

.btn-detalle:hover { background-color: #0056b3; }
.btn-talonarios:hover { background-color: #545b62; }
.btn-descargar-pdf:hover { background-color: #c82333; }
.btn-descargar-excel:hover { background-color: #1e7e34; }


/* Sign Screens - Wrappers */
.body-sign {
	display: table;
	height: 100vh;
	margin: 0 auto;
	max-width: 500px;
	padding: 0 15px;
	width: 100%;
}

.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;
    }
}