/* Xenios: componentes existentes, tema compartido y acceso. */
:root {
    --login-accent: #ec6528;
}

@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/fonts/bricolage-grotesque/bricolage-grotesque-800.ttf") format("truetype");
}

.msj-temporal {
    min-width: 100%;
    margin-top: 15px;
}

.spaceBotton{
    padding-bottom: 100px;
}

.login-body {
    background: #FFF url(/img/bgl.jpg) no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.button-ingresar {
    padding-bottom: 10px;
}

.btn-aceptar {
    min-width: 50px;
}

.btn-cancelar {
    min-width: 50px;
}

a.btn.btn-warning {
    color: #FFF !important;
}

.custom-modal {
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    background: #f8f9fa; /* Fondo suave */
}

.text-white {
    color: white;
    margin-left: 8px;
}

.modal-header-details {
    background-color: #007bff; /* Azul Bootstrap */
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 8px
}

.modal-content {
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.modal-header-delete {
    background-color: #dc3545; /* Rojo Bootstrap */
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 8px
}

.modal-footer {
    border-top: none;
}

.modal-header-pasword {
    background-color: #28a745;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 8px
}
/* Contenedor del encabezado */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* Estilo de la barra de búsqueda */
.search-container {
    width: 250px;
}

.drop-zone {
    width: 300px;
    height: 300px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    color: #aaa;
    cursor: pointer;
}

.drop-zone img {
    max-width: 100%;
    max-height: 100%;
    display: none;
}

.drop-zone img.rrhh-visible,
.drop-zone img.profile-visible {
    display: block;
}

.drop-zone.dragover {
    border-color: #333;
    background-color: #f0f0f0;
    color: #333;
}
/* Botones ubicados abajo */
.controls {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}
/*botones de foto*/
.btnPhoto {
    background-color: #fff;
    border: 0 solid #e2e8f0;
    border-radius: 1rem;
    box-sizing: border-box;
    color: #0d172a;
    cursor: pointer;
    display: inline-block;
    font-family: "Basier circle",-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    padding: 0.75rem 1.5rem;
    text-align: center;
    text-decoration: none #0d172a solid;
    text-decoration-thickness: auto;
    transition: all .1s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0px 1px 2px rgba(166, 175, 195, 0.25);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.btnPhoto:hover {
    background-color: #1e293b;
    color: #fff;
}

@media (min-width: 850px) {
    .btnPhoto {
        font-size: 1.1rem;
        padding: 1.1rem 2.2rem;
    }
}

.btnPhoto.delete {
    background-color: #dc3545;
}

.btnPhoto.delete:hover {
    background-color: #a71d2a;
}

.imagen {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn2 {
    padding: 2px 10px;
    margin: 10px 4px;
    color: #0d172a;
    font-family: sans-serif;
    text-transform: uppercase;
    text-align: left;
    position: relative;
    text-decoration: none;
    display: inline-block;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000;
    -webkit-transform: scaleY(.3);
    transform: scaleY(.3);
    opacity: 0;
    transition: all .3s;
}

.btn2:hover {
    color: #6098FF;
}

.btn2:hover::before {
    opacity: 1;
    background-color: #fff;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    transition: -webkit-transform .6s cubic-bezier(.08, .35, .13, 1.02), opacity .4s;
    transition: transform .6s cubic-bezier(.08, .35, .13, 1.02), opacity;
}

.btn2.align-left {
    float: left;
}

.btn2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000;
    transform: scaleY(0.3);
    opacity: 0;
    transition: all 0.3s;
}

.btn2:hover {
    color: #6098FF;
    background-color: #e2e6ea;
}

.btn2:hover::before {
    opacity: 1;
    background-color: #fff;
    transform: scaleY(1);
    transition: transform 0.6s cubic-bezier(0.08, 0.35, 0.13, 1.02), opacity 0.4s;
}

.btn2.align-left {
    float: left;
}

.btn2:hover {
    color: #6098FF;
}

.btn2:hover::before {
    opacity: 1;
    background-color: #fff;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    transition: -webkit-transform .6s cubic-bezier(.08, .35, .13, 1.02), opacity .4s;
    transition: transform .6s cubic-bezier(.08, .35, .13, 1.02), opacity
}

.sepBottom {
    padding-bottom: 25px !important;
    padding-top: 20px !important;
}

.form-group {
    margin-bottom: 1em;
}

input[type="text"], textarea {
    width: 100%;
    padding: 0.5em;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.submit-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.5em 1em;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1em;
}

.submit-btn:disabled {
    background-color: #aaa;
}

.imgPersonal {
    max-width: 100%;
    display: none;
}

.error {
    font-weight: 100 !important;
}

/* DATATABLE */
div.dataTables_wrapper div.dataTables_info {
    padding-top: 0 !important;
    color: #007bff;
}

/* Datatable Pagos */
/*#datalist .excel-only {
    display: none;
}

.pagos-table-responsive {
    overflow-x: auto;
}

#datalist {
    width: 100% !important;
    min-width: 980px;
    table-layout: fixed;
}

    #datalist th,
    #datalist td {
        padding: .4rem .35rem;
        vertical-align: middle;
    }

        #datalist th:nth-child(1),
        #datalist td:nth-child(1) {
            width: 110px;
            white-space: nowrap;
        }

        #datalist th:nth-child(2),
        #datalist td:nth-child(2) {
            width: 132px;
            white-space: nowrap;
        }

        #datalist th:nth-child(3),
        #datalist td:nth-child(3) {
            width: auto;
            white-space: normal;
            word-break: normal;
        }

        #datalist th:nth-child(9),
        #datalist td:nth-child(9) {
            width: 135px;
            text-align: right;
            white-space: nowrap;
        }

        #datalist th:nth-child(11),
        #datalist td:nth-child(11) {
            width: 118px;
            white-space: nowrap;
        }

        #datalist th:nth-child(12),
        #datalist td:nth-child(12) {
            width: 145px;
            white-space: nowrap;
        }

        #datalist th:nth-child(13),
        #datalist td:nth-child(13) {
            width: 210px;
            white-space: nowrap;
        }

            #datalist td:nth-child(13) .btn-group {
                display: inline-flex;
                flex-wrap: nowrap;
                gap: .25rem;
            }

.pagos-status-switch-field .bootstrap-switch {
    width: 166px !important;
}

    .pagos-status-switch-field .bootstrap-switch .bootstrap-switch-container {
        width: 300px !important;
    }

    .pagos-status-switch-field .bootstrap-switch .bootstrap-switch-handle-on,
    .pagos-status-switch-field .bootstrap-switch .bootstrap-switch-handle-off {
        width: 136px !important;
        min-width: 136px;
    }

    .pagos-status-switch-field .bootstrap-switch .bootstrap-switch-label {
        width: 30px !important;
        min-width: 30px;
    }

    .pagos-status-switch-field .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container {
        margin-left: -136px !important;
    }

    .pagos-status-switch-field .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container {
        margin-left: 0 !important;
    }*/



/*#datalist .excel-only {
    display: none;
}

.pagos-table-responsive {
    overflow-x: auto;
    width: 100%;
}

#datalist {
    width: 100% !important;
    min-width: 980px;
    table-layout: fixed;
}

.pagos-table-responsive .dataTables_wrapper,
.pagos-table-responsive .dataTables_wrapper .row {
    width: 100%;
}

#datalist th,
#datalist td {
    padding: .4rem .35rem;
    vertical-align: middle;
}

#datalist th {
    text-align: center !important;
}

    #datalist th:nth-child(1),
    #datalist td:nth-child(1) {
        width: 9% !important;
        white-space: nowrap;
    }

    #datalist th:nth-child(2),
    #datalist td:nth-child(2) {
        width: 12% !important;
        white-space: nowrap;
    }

    #datalist th:nth-child(3),
    #datalist td:nth-child(3) {
        width: 28% !important;
        white-space: normal;
        word-break: normal;
    }

#datalist td:nth-child(9) {
    width: 13% !important;
    text-align: right;
    white-space: nowrap;
}

#datalist th:nth-child(9) {
    width: 13% !important;
    white-space: nowrap;
}

#datalist th:nth-child(11),
#datalist td:nth-child(11) {
    width: 11% !important;
    white-space: nowrap;
}

#datalist th:nth-child(12),
#datalist td:nth-child(12) {
    width: 14% !important;
    white-space: nowrap;
}

#datalist th:nth-child(13),
#datalist td:nth-child(13) {
    width: 20% !important;
    white-space: nowrap;
}

    #datalist td:nth-child(13) .btn-group {
        display: inline-flex;
        flex-wrap: nowrap;
        gap: .25rem;
    }

.pagos-status-switch-field .bootstrap-switch {
    width: 202px !important;
}

    .pagos-status-switch-field .bootstrap-switch .bootstrap-switch-container {
        width: 372px !important;
    }

    .pagos-status-switch-field .bootstrap-switch .bootstrap-switch-handle-on,
    .pagos-status-switch-field .bootstrap-switch .bootstrap-switch-handle-off {
        width: 170px !important;
        min-width: 170px;
    }

    .pagos-status-switch-field .bootstrap-switch .bootstrap-switch-label {
        width: 32px !important;
        min-width: 32px;
    }

    .pagos-status-switch-field .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container {
        margin-left: -170px !important;
    }

    .pagos-status-switch-field .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container {
        margin-left: 0 !important;
    }*/



/* / Datatable Pagos */


/* Drag and Drop */
.upload-drop-zone {
    border: 2px dashed #ddd;
    padding: 30px;
    text-align: center;
    color: #999;
    margin-top: 20px;
    cursor: pointer;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
}

.certifLegajo{
    max-width: 100%;
    margin-left: 5px;
}

#loadCertif{
    max-width: 40%;
}

#msjCertif {
    margin-left: 5px;
    color: #28a745; /* success */
}

#dropzone {
    margin-bottom: 20px;
}

.upload-drop-zone.dragover {
    border-color: #000;
    background-color: #f0f0f0;
    color: #333;
}

#progress-container {
    width: 400px;
    height: 20px;
    border-radius: 5px;
    display: none;
    margin-top: 20px;
    margin-left: 50px;
    margin-bottom: 20px;
    padding-left: 15px;
}

#progress-bar {
    height: 100%;
    width: 80%;
    background-color: green;
    border-radius: 15px;
    transition: width 0.3s ease;
}
/* / Drag and Drop */
/*Modal details*/
modal-Body-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.modal-body-details.Elements {
    flex: 1 1 calc(33.333% - 1rem); /* 3 elementos por fila */
    box-sizing: border-box;
    background-color: #f0f0f0;
    padding: 1rem;
    border: 1px solid #ccc;
}

.modal-content.filename-modal {
    border: 2px solid #ffc107;
    background-color: #f8f9fa; /* fondo claro */
}

.modal-header-filename {
    background-color: #ffc107;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tit-home{
    padding-bottom:80px;
}
.modal-header-filename i {
    font-size: 1.3rem;
}

.btn-filename {
    background-color: #ffc107;
    border: none;
}

    .btn-filename:hover {
        background-color: #ffc107;
    }

.displaynone {
    display: none !important;
}

.displayNoneDefault{
    display: none;
}

.opacity {
    opacity: 1;
}

.displayblock {
    display: block !important;
}

.sMarginFooter{
    margin-left:0 !important;
    padding: 20px 80px 20px 80px;
}

.top-spacing {
    margin-top: 5rem;
}
.botom-spacing{
    margin-bottom: 1.5rem;
}
/* Estilo para el switch cuando el mouse está encima */
.custom-control-input:focus ~ .custom-control-label,
.custom-control-input:hover ~ .custom-control-label,
.custom-control-label:hover {
    color: #007bff;
    transition: color 0.2s;
}
.oculto {
    display: none;
    margin-left: 10px;
}

.ocultoSS {
    display: none;
}

.ListContentPersonal {
    margin-left: 10px;
}

.btn-agregar-personal {
    margin-left: 10px;
    white-space: nowrap;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    flex-shrink: 0;
}

.spaceBetween{
    margin-right:25px;
}

.spaceLeft{
    margin-left:10px;
}

.listStyle {
    list-style-type: none;
    padding-left: 0;
}

.text-danger{
    color: red;
    font-weight:bold;
}

/* Ancho Ultima Actualizacion */
.lastUpdate {
    min-width:180px;
}

.fildImporte {
    min-width: 180px;
}

/* Ancho Nro CUIT */
.cuit-width {
    min-width: 120px;
}

.info-box .progress-description, .info-box .info-box-text{
    overflow:visible !important;
}
/* DETALLE DE LIQUIDACION */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 2px solid #667eea;
    font-weight: 600;
    color: #333;
    padding: 1rem 1.5rem;
}

.table-container {
    overflow-x: auto;
}

.btn-action {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.totales-card {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
    color: white;
    border-radius: 10px;
    padding: 1.5rem;
}

.total-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.total-item:last-child {
    border-bottom: none;
    font-size: 1.25rem;
    font-weight: bold;
    padding-top: 1rem;
}

.badge-custom {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.input-group-sm {
    font-size: 0.9rem;
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.table thead {
    background-color: #667eea;
    color: white;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 5.5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.col-min-money {
    min-width: 100px;
    max-width: 100px;
}

.col-min-lastUpdate {
    min-width: 130px;
    max-width: 130px;
}
/* / DETALLE DE LIQUIDACION */

/* REPORTES */
/* Contenedor de desplazamiento horizontal para la tabla de asistencia */
.asistencia-scroll {
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 600px;
    position: relative;
}

/* Estilos de tabla para la primera columna fija */
.asistencia-table {
    border-collapse: separate;
    border-spacing: 0; 
}

/* Fila de encabezado con fechas - FIJA VERTICALMENTE */
.asistencia-table thead tr:first-child {
    position: sticky;
    top: 0;
    z-index: 9;
    background-color: #00008B;
}

/* Segunda fila de encabezado (Ent/Sal) - FIJA VERTICALMENTE */
.asistencia-table thead tr:nth-child(2) {
    position: sticky;
    top: 60px;
    z-index: 8;
    background-color: #2F4F4F;
}

/* Asegura que el encabezado esté por encima de las celdas del cuerpo */
.asistencia-table th.sticky-col,
.asistencia-table td.sticky-col {
    position: sticky;
    left: 0;
    background-color: #667eea;
    z-index: 8;
    min-width: 400px;
}

/* La celda de encabezado necesita un índice z mayor para que se sitúe por encima de todas */
.asistencia-table thead th.sticky-col {
    z-index: 10;
}

/* Sombra para separar la columna fija de la parte desplazable */
.asistencia-table td.sticky-col {
    box-shadow: 2px 0 5px -2px rgba(0,0,0,0.2);
}

/* Sombra para encabezado fijo */
.asistencia-table thead th.sticky-col {
    box-shadow: 2px 0 5px -2px rgba(0,0,0,0.2);
}

.bg-weekend {
    background-color: #667eea;
    font-weight:bold;
}

.width-asistencia{
    width: 80px;
    font-size:small;
}

.bg-ausente{
    background-color:red;
    color:white;
}

.bg-pendiente {
    background-color: #6c757d;
    color: white;
}

.bg-vacaciones {
    background-color: #ffc107;
    color: white;
}

.bg-tdcampo {
    background-color: #2b9c21;
    color: white;
}

.bg-noinforma{
    background-color: #9d9d9d;
    color: black;
}

.bg-baja {
    background-color: #000000;
    color: white;
}

.bg-feriado {
    background-color: #a7fa1b;
    color: black;
}

.bg-empleados {
    background-color:#4f63c9 !important;
    color: #ffffff;
}

.cursor {
    cursor: pointer;
}

.fichadaManual {
    background-color:#28a745 !important;
    color: red !important;
    border: 3px solid red !important;
}

.btn-width{
    min-width: 150px;
}

.bg-auth-salida {
    border: 3px solid #ffc107 !important;
    color: #ffc107 !important;
}

.auth-salida-alert {
    display: grid;
    grid-template-columns: 2rem 1fr;
    column-gap: .75rem;
    align-items: center;
    max-width: 800px;
}

.auth-salida-alert-icon {
    font-size: 1.25rem;
    line-height: 1;
    text-align: center;
}

.auth-salida-alert-text ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.user-menu .user-footer .btn-flat {
    min-width: 96px;
    transition: color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.user-menu .user-footer .btn-flat:hover,
.user-menu .user-footer .btn-flat:focus,
.user-menu .user-footer .btn-flat:focus-visible,
.user-menu .user-footer .btn-flat:active {
    color: var(--xenios-accent) !important;
    border-color: var(--xenios-accent) !important;
    outline-color: var(--xenios-accent);
    box-shadow: var(--xenios-focus);
}

/* / REPORTES */

.NuevoComprobante {
    background-color: #48f10d;
}

.btn-entrega-materiales-lo {
    color: #2f7d32 !important;
    border: 2px solid #2f7d32;
}

.btn-entrega-materiales-lo:hover,
.btn-entrega-materiales-lo:focus {
    color: #1b5e20 !important;
    background-color: #e8f5e9 !important;
    border-color: #1b5e20;
}

.btn-entrega-materiales-lo.active {
    color: #ffffff !important;
    background-color: #2e7d32 !important;
    border: 2px solid #ffffff;
}

.btn-Solicitud-materiales-lo {
    color: #00bfff !important;
    border: 2px solid #00bfff;
    padding: 0.5rem 1rem;
}

.btn-Solicitud-materiales-lo.active {
    color: #343a40 !important;
    background-color: rgba(0, 191, 255, 0.8) !important;
    border: 2px solid #343a40;
    padding: 0.5rem 1rem;
}

.btn-baja-materiales-lo {
    color: #b71c1c !important;
    border: 2px solid #b71c1c;
}

.btn-baja-materiales-lo:hover,
.btn-baja-materiales-lo:focus {
    color: #7f0000 !important;
    background-color: #fdecea !important;
    border-color: #7f0000;
}

.btn-baja-materiales-lo.active {
    color: #ffffff !important;
    background-color: #b71c1c !important;
    border: 2px solid #ffffff;
}

.current-section-breadcrumb {
    color: #343a40 !important;
    font-weight: 700;
    text-transform: uppercase;
}

.current-section-separator {
    color: #6c757d;
    font-weight: 400;
    margin-right: .5rem;
}

.main-sidebar .nav-section > .secondary-nav-source,
.main-sidebar .nav-section > .nav-link .right {
    display: none !important;
}

.secondary-nav-section {
    background-color: #f4f6f9 !important;
    margin-top: 0;
    padding-top: 0;
}

.secondary-nav-top-spacer {
    background-color: #f4f6f9;
    height: .5rem;
}

.secondary-nav-card {
    margin-bottom: .75rem;
    margin-top: 0;
}

.secondary-nav-card .card-body {
    padding: .45rem .6rem;
}

.secondary-nav {
    margin-bottom: 0;
    padding: 0;
}

.secondary-nav .container-fluid {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
}

.secondary-nav-menu {
    gap: .45rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

.secondary-nav-item {
    position: relative;
}

.secondary-nav-link {
    align-items: center;
    border: 2px solid #6c757d;
    border-radius: .25rem;
    box-sizing: border-box;
    color: #6c757d;
    display: inline-flex;
    font-size: 1.15rem;
    height: 50px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, color .15s ease-in-out;
    width: 50px;
}

.secondary-nav-dropdown > .secondary-nav-link {
    border-style: dashed;
}

.secondary-nav-dropdown > .secondary-nav-link[aria-expanded="true"] {
    background-color: #f1f3f5;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.secondary-submenu-caret {
    min-width: 0;
    text-align: center;
}

.secondary-nav-label {
    display: none;
}

.secondary-nav-link i {
    margin: 0;
}

.secondary-nav-link:not(.active):hover,
.secondary-nav-link:not(.active):focus {
    background-color: #f1f3f5;
    color: #495057;
}

.secondary-nav .secondary-nav-menu .secondary-nav-link:hover,
.secondary-nav .secondary-nav-menu .secondary-nav-link:focus {
    border-color: currentColor !important;
}

.secondary-nav-link.btn-entrega-materiales-lo {
    border: 2px solid #2f7d32;
    color: #2f7d32 !important;
}

.secondary-nav-link.btn-entrega-materiales-lo:not(.active):hover,
.secondary-nav-link.btn-entrega-materiales-lo:not(.active):focus {
    background-color: #e8f5e9;
    color: #2f7d32 !important;
}

.secondary-nav-link.btn-entrega-materiales-lo.active {
    color: #ffffff !important;
}

.secondary-nav-link.btn-baja-materiales-lo {
    border: 2px solid #b71c1c;
    color: #b71c1c !important;
}

.secondary-nav-link.btn-baja-materiales-lo:not(.active):hover,
.secondary-nav-link.btn-baja-materiales-lo:not(.active):focus {
    background-color: #fdecea;
    color: #b71c1c !important;
}

.secondary-nav-link.btn-baja-materiales-lo.active {
    color: #ffffff !important;
}

.secondary-nav-link.active:not(.btn-entrega-materiales-lo):not(.btn-baja-materiales-lo) {
    color: #ffffff;
    background-color: #007bff;
    border-color: #007bff;
}

.secondary-submenu {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0 .25rem .25rem .25rem;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .12);
    display: flex;
    flex-direction: column;
    gap: .35rem;
    left: 0;
    min-width: 130px;
    padding: .45rem;
    position: absolute;
    top: 100%;
    z-index: 1030;
}

.secondary-submenu-link {
    border: 1px solid #6c757d;
    border-radius: .25rem;
    color: #6c757d;
    display: block;
    line-height: 1.5;
    padding: .375rem .75rem;
    text-align: left;
    white-space: nowrap;
}

.secondary-submenu-link:hover,
.secondary-submenu-link:focus {
    background-color: #f1f3f5;
    color: #495057;
    text-decoration: none;
}

@media (max-width: 768px) {
    .secondary-nav .container-fluid {
        align-items: flex-start;
        flex-direction: column;
    }

    .secondary-nav-menu {
        width: 100%;
    }
}

.section-landing {
    align-items: center;
    color: #6c757d;
    display: flex;
    gap: .5rem;
    min-height: 120px;
}

.section-landing i {
    font-size: 1.25rem;
}

/* / Articulo*/
/* Tooltip */
.tooltip-lg .tooltip-inner {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0.75rem 0.9rem;
    background-color: #0d6efd; 
    color: #fff;
    border-radius: .5rem;
    box-shadow: 0 6px 18px rgba(13,110,253,0.25);
    max-width: 340px; 
    text-align: left;
}

.tooltip-lg .tooltip-arrow::before {
    background-color: #0d6efd;
}

.tooltip-icon {
    font-size: 1.6rem; 
    color: #0d6efd;
    margin-left: .6rem;
    cursor: pointer;
    position: relative;
    display: inline-block;
    transition: transform .18s ease, color .18s ease;
    vertical-align: middle;
    animation: pulse-tooltip 2.5s infinite;
}

.tooltip-icon:hover {
    transform: scale(1.12);
    color: #0b5ed7;
}

@keyframes pulse-tooltip {
    0% {
        box-shadow: 0 0 0 0 rgba(13,110,253,0.12);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(13,110,253,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(13,110,253,0);
    }
}
/*btn para inventario s/n, vencimiento y talle*/
/* Esto asegura que la X se vea como un botón clickeable */
.close {
    cursor: pointer;
    background: transparent;
    border: 0;
    float: right;
    font-weight: 700;
    line-height: 1;
    opacity: .5;
}

    .close:hover {
        opacity: 1; /* Se oscurece al pasar el mouse */
    }

/* Ajuste para que tooltip no se corte en contenedores estrechos */
.tooltip {
    white-space: normal;
}
/* / Tooltip */

/* Visualizar Passwd */
.btn-outline-green {
    color: #198754;
    border-color: #198754;
    background-color: transparent;
}

.btn-outline-green:hover,
.btn-outline-green:focus,
.btn-outline-green:active {
    color: #fff;
    border-color: #157347;
    background-color: #198754;
}

.btn-outline-green:disabled {
    color: #198754;
    background-color: transparent;
    opacity: .65;
}

.pwd-wrapper {
    position: relative;
}

.pwd-wrapper input {
    padding-right: 40px;
}

.pwd-generator-group {
    display: flex;
    align-items: stretch;
}

.pwd-generator-group .pwd-generate-btn {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    flex: 0 0 auto;
}

.pwd-generator-group input {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.pwd-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
}
/* / Visualizar Passwd */

/* Visualizar Password Login */
.card-primary.card-outline {
    border: 6px solid transparent;
    border-radius: 12px;
    background: linear-gradient(white, white) padding-box, linear-gradient(135deg, #007bff, #00d4ff) border-box;
}

.pwd-login-wrapper {
    position: relative;
    flex: 1 1 auto; /* ocupa todo el espacio disponible, igual que un form-control */
    width: 1%; /* necesario para que flex funcione bien en Bootstrap */
    min-width: 0;
}

.pwd-login input {
    padding-right: 40px;
}

.pwd-login-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}
/* / Visualizar Password Login */

.userSpace {
    padding-left: 15px;
    cursor: pointer;
}

.usuario-update-icon,
.js-usuario-update {
    cursor: pointer;
}

.audit-user-click-tooltip {
    position: absolute;
    z-index: 9999;
    max-width: 280px;
    padding: 6px 9px;
    border-radius: 4px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .22);
    pointer-events: none;
    white-space: nowrap;
}

.txtAreaRestrict {
    resize:none;
}

.hand{
    cursor:pointer;
}

.Baja option {
    color: #dc3545 !important;
}

.Baja .select2-selection__rendered {
    color: #dc3545 !important;
}

/*Layout BajaInventario*/
.nav-baja {
    color: #dc3545 !important; /* Rojo intenso */
}

.nav-baja:hover {
    background-color: rgba(220, 53, 69, 0.1); /* Un fondo suave al pasar el mouse */
    color: #a71d2a !important;
}

    .nav-baja i {
        margin-right: 5px;
    }

/* Modales Req Colors */

.modal-header-Devolucion {
    background-color: #ffc107;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 8px
}

/*Selector S/N */
/* Mejora los tags de Select2 para que no sean tan grises y aburridos */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    background-color: #0dcaf0 !important; /* Color Info de Bootstrap */
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    font-size: 0.85rem !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove {
    color: white !important;
    border-right: 1px solid rgba(255,255,255,0.3) !important;
    margin-right: 5px !important;
}
/*Alerta Text (baja inventario)*/
/* Creamos la animación de agrandar y achicar */
@keyframes latido-fuego {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
    /* Se agranda un 15% */
    100% {
        transform: scale(1);
    }
}

/* Creamos la clase para aplicársela al texto */
.texto-latido-fuego {
    color: #ff2a00 !important; /* Rojo fuego */
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block; /* CLAVE: Sin esto, el "scale" no funciona en textos */
    animation: latido-fuego 1.5s infinite ease-in-out; /* Se repite infinito cada 1.5 segundos */
}

/* Animación de pulso cuando falta completar */
.input-group > .select2-container--bootstrap-5 {
    position: relative;
    flex: 1 1 auto;
    width: 1% !important;
}

.input-group > .select2-container--bootstrap-5 .select2-selection {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/*SNTags Style Requerimiento*/
.TrashTagSN {
    cursor: pointer;
    font-size: 0.8rem;
    padding-left: 10px;
}
/* Dashboard */
.info-box-number{
    font-size:30px;
    line-height: 1 !important;
}

        #snTagsContainer .badge i {
            opacity: 0.8; /* Un poco más tenue de entrada */
        }
.nav-baja i {
    margin-right: 5px;
}

/* Dashboard */
.info-box-number{
    font-size:30px;
    line-height: 1 !important;
}

.box-info-green {
    background-color:#00800047;
}

.box-info-info {
    background-color: #0d6efd47;
}

.box-info-danger {
    background-color: #dc354547;
}

.sysadmin-info-number {
    font-size: 24px;
}

.sysadmin-metric {
    align-items: center;
    background-color: #fff5f5;
    border: 1px solid #f1b0b7;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    min-height: 42px;
    padding: 8px 10px;
}

.sysadmin-metric span {
    color: #6c757d;
    font-size: 12px;
}

.sysadmin-metric strong {
    color: #212529;
    font-size: 16px;
}

.sysadmin-metric-compact {
    flex-direction: column;
    justify-content: center;
    min-height: 58px;
    text-align: center;
}

.sysadmin-chart-wrap {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    height: 180px;
    margin-top: 4px;
    overflow: hidden;
    width: 100%;
}

.sysadmin-usage-chart-wrap {
    height: 140px;
    margin-top: 8px;
}

.sysadmin-chart-title {
    color: #343a40;
    font-size: 13px;
    font-weight: 600;
    margin: 8px 0 4px;
    text-align: center;
}

.sysadmin-chart-wrap canvas {
    display: block;
    height: 100%;
    width: 100%;
}

.sysadmin-chart-legend {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 8px 0 4px;
}

.sysadmin-chart-legend span {
    align-items: center;
    color: #495057;
    display: inline-flex;
    font-size: 12px;
    gap: 5px;
}

.sysadmin-chart-legend i {
    border-radius: 50%;
    display: inline-block;
    height: 9px;
    width: 9px;
}

.sysadmin-section-separator {
    border-top: 1px solid #f1b0b7;
    margin: 8px 0 12px;
}

.sysadmin-legend-cpu {
    background-color: #dc3545;
}

.sysadmin-legend-memory {
    background-color: #0d6efd;
}

.sysadmin-load-normal {
    color: #198754;
}

.sysadmin-load-media {
    color: #fd7e14;
}

.sysadmin-load-alta {
    color: #dc3545;
}

.sysadmin-usage-up {
    color: #198754 !important;
}

.sysadmin-usage-down {
    color: #dc3545 !important;
}
/* / Dashboard */

/* Notificaciones */
/*@keyframes campanaShake {
    0% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(-15deg);
    }

    75% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(0);
    }
}

.campana-activa {
    animation: campanaShake 0.6s ease;
}
*/
/*.badge-notify {
    animation: pulse 1s infinite;
}*/

/*@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}*/

/*.toast-notificacion {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #343a40;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}*/

/* VERSION PRO */
#listaNotificaciones .notificacion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#listaNotificaciones .notificacion-item:last-child {
    border-bottom: none;
}

.notificacion-item {
    cursor: pointer;
    transition: background 0.2s;
}

.notificacion-item:hover {
    background: #f4f6f9;
}

.notificacion-no-leida {
    background: #e9f3ff;
    font-weight: 600;
}

.badge-notify {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

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

.toast-notificacion {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #343a40;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.toast-notificacion.show {
    opacity: 1;
    transform: translateY(0);
}
/* / VERSION PRO */

/* CAMPANA EFFECTO */
@keyframes bell-ring {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(12deg);
    }

    40% {
        transform: rotate(-12deg);
    }

    50% {
        transform: rotate(8deg);
    }

    60% {
        transform: rotate(-8deg);
    }

    70% {
        transform: rotate(4deg);
    }

    80% {
        transform: rotate(-4deg);
    }

    90% {
        transform: rotate(2deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.bell-ringing {
    display: inline-block;
    transform-origin: top center;
    animation: bell-ring 0.8s ease-in-out;
}
/* /CAMPANA EFFECTO */

/* / Notificaciones */

/* Modal encabezado aprobacion*/
.modal-header-aprobacion {
    background-color: #41464b;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 8px
}

/* AUTH SALIDA LISTADO */
.bg-pending {
    background-color: rgba(255, 36, 36, 1) !important;
    color: #fff !important;
}
.bg-pending:hover {
    background-color: rgba(255, 36, 36, 1) !important;
    color: #fff !important;
}

.lastUpdateStatus {
    background-color: #ffc107;
    color: #000;
    margin-left:15px;
}

/* Reporte Horas Trabajadas */
.rht-filters {
    margin-bottom: 20px;
}

.horas-trabajadas-table-wrap {
    width: 100%;
    max-width: 100%;
}

.horas-trabajadas-table-wrap .dataTables_wrapper {
    width: 100%;
    max-width: 100%;
}

.rht-table,
.horas-trabajadas-table-wrap table.dataTable {
    width: 100% !important;
}

.horas-trabajadas-table-wrap table.dataTable td,
.horas-trabajadas-table-wrap table.dataTable th {
    white-space: normal;
    word-break: break-word;
}

.horas-trabajadas-table-wrap table.dataTable thead th {
    font-size: .78rem;
    line-height: 1.15;
    padding: .45rem .35rem;
}

.rht-col-foto,
.rht-col-legajo {
    width: 5%;
}

.rht-col-nombre {
    width: 10%;
}

.rht-col-horas {
    width: 7%;
}

.rht-col-metrica {
    width: 6%;
}

.rht-col-extra {
    width: 8%;
}

.rht-employee-photo {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.rht-table.table-striped tbody tr.rht-incomplete-row,
.rht-table.table-striped tbody tr.rht-incomplete-row.odd,
.rht-table.table-striped tbody tr.rht-incomplete-row.even,
.rht-table.table-striped tbody tr.rht-incomplete-row > td {
    background-color: #ffcccc;
    color: #cc0000;
    font-weight: bold;
}

.rht-dismissed-cell {
    background-color: #dc3545;
    color: #ffffff;
    border-right-color: #dc3545;
}
/* Las bajas con horas conservan todas sus columnas y prevalecen sobre el rayado de la tabla. */
.rht-table.table-striped tbody tr.rht-dismissed-row,
.rht-table.table-striped tbody tr.rht-dismissed-row > td {
    background-color: #dc3545;
    color: #ffffff;
}

.rht-dismissed-date {
    margin-top: 3px;
    font-weight: 600;
}
/* /Reporte Horas Trabajadas */

/* GANTT */
.gantt-access-modal .modal-content {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
    overflow: hidden;
}

.gantt-access-modal .modal-header {
    align-items: center;
    background: linear-gradient(135deg, #1f2937, #334155);
    border-bottom: 0;
    color: #fff;
    gap: .8rem;
    padding: 1.1rem 1.25rem;
}

.gantt-access-modal__icon {
    align-items: center;
    background: rgba(255, 255, 255, .14);
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 auto;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.gantt-access-modal .modal-title {
    font-weight: 700;
    letter-spacing: 0;
    margin: 0;
}

.gantt-access-modal .modal-body {
    color: #334155;
    font-size: 1rem;
    line-height: 1.55;
    padding: 1.4rem 1.5rem .8rem;
}

.gantt-access-modal .modal-footer {
    border-top: 0;
    padding: .8rem 1.5rem 1.4rem;
}
/* / GANTT */

/* LAYOUT */
.db-unavailable-modal .modal-content {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
    overflow: hidden;
}

.db-unavailable-modal .modal-header {
    align-items: center;
    border-bottom: 1px solid #e9edf3;
    padding: 1.25rem 1.5rem;
}

.db-unavailable-modal .db-modal-icon {
    align-items: center;
    background: #fff4e5;
    border-radius: 50%;
    color: #b45309;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.25rem;
    height: 46px;
    justify-content: center;
    margin-right: .85rem;
    width: 46px;
}

.db-unavailable-modal .modal-title {
    color: #111827;
    font-weight: 700;
    line-height: 1.2;
}

.db-unavailable-modal .modal-body {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5;
    padding: 1.35rem 1.5rem;
}

.db-unavailable-modal .modal-footer {
    border-top: 0;
    padding: 0 1.5rem 1.5rem;
}

.notification-counter-hidden {
    display: none;
}

.notification-list {
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
}

.brand-image-raei {
    opacity: .8;
}
/* / LAYOUT */

/* PROGRAM */
.db-error-page {
    background: #eef2f7;
    display: grid;
    font-family: "Source Sans Pro", Arial, sans-serif;
    min-height: 100vh;
    place-items: center;
}

.db-error-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 55px rgba(15, 23, 42, .18);
    overflow: hidden;
    width: min(92vw, 520px);
}

.db-error-header {
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    gap: 14px;
    padding: 22px 26px;
}

.db-error-icon {
    background: #fff4e5;
    border-radius: 50%;
    color: #b45309;
    display: grid;
    font-size: 22px;
    height: 48px;
    place-items: center;
    width: 48px;
}

.db-error-title {
    color: #111827;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.db-error-body {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.45;
    padding: 22px 26px 26px;
}

.db-error-actions {
    display: flex;
    justify-content: flex-end;
    padding: 0 26px 26px;
}
/* / PROGRAM */

/* LOGIN */
.pwd-eye-hidden {
    display: none;
}

.pwd-eye,
.pwd-eye svg {
    cursor: pointer;
}
/* / LOGIN */

/* REPORTES */
.cc-summary {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    min-height: 112px;
    padding: 14px 16px;
}

.cc-summary-clientes {
    border-left: 4px solid #17a2b8;
}

.cc-summary-proveedores {
    border-left: 4px solid #ffc107;
}

.cc-summary-general {
    border-left: 4px solid #28a745;
}

.cc-summary-label {
    color: #6c757d;
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cc-summary-value {
    color: #212529;
    font-size: 1.55rem;
    font-weight: 700;
    margin-top: 6px;
}

.cc-summary-detail {
    color: #6c757d;
    font-size: .9rem;
    margin-top: 4px;
}

.cc-company-row {
    background: #fff;
    cursor: pointer;
}

.cc-company-row:hover {
    background: #f4f8fb;
}

.cc-toggle-cell {
    width: 42px;
}

.cc-company-row.cc-open .cc-toggle-icon {
    transform: rotate(90deg);
}

.cc-toggle-icon {
    transition: transform .15s ease-in-out;
}

.cc-detail-row > td {
    background: #f8fafc;
    padding: 0;
}

.cc-detail-panel {
    border-left: 4px solid #6c757d;
    padding: 14px;
}

.cc-detail-title {
    color: #1f2d3d;
    font-weight: 700;
    margin-bottom: 10px;
}

.cc-detail-table {
    min-width: 980px;
    table-layout: fixed;
}

.cc-detail-table thead th {
    background: #eef3f8;
    color: #243447;
}

.cc-detail-table th,
.cc-detail-table td {
    vertical-align: middle;
}

.cc-detail-col-fecha,
.cc-detail-col-vencimiento {
    width: 120px;
}

.cc-detail-col-comprobante {
    width: auto;
}

.cc-detail-col-importe {
    width: 170px;
}

.cc-detail-comprobante {
    overflow-wrap: anywhere;
    white-space: normal;
}

.cc-vencido {
    background-color: #fff5f5;
}

.asistencia-personal-col {
    background-color: #00008b;
    color: #fff;
    min-width: 400px;
    vertical-align: middle;
}

.asistencia-day-col {
    background-color: #00008b;
    color: #fff;
}

.asistencia-time-col {
    width: 60px;
}
/* / REPORTES */

/* SOLICITUDES */
.solicitudes-hidden {
    display: none;
}

.solicitudes-tags-container {
    min-height: 5px;
}

.solicitudes-clickable-icon {
    cursor: pointer;
}

.solicitudes-firma-img {
    max-height: 75px;
    width: auto;
}

.solicitudes-warning-sm {
    font-size: .8rem;
}

.solicitudes-firma-frame {
    height: 85px;
    max-width: 180px;
    width: 100%;
}

.solicitudes-fecha-col {
    width: 170px;
}
/* / SOLICITUDES */

/* CENTRO DE OPERACIONES */
.authsalida-file-input {
    display: none;
}

.authsalida-warning-status {
    background-color: #ffc107;
    color: #000;
}

.centro-operaciones-clickable-icon {
    cursor: pointer;
}

.articulo-aprobacion-img {
    max-height: 60px;
    max-width: 60px;
}
/* / CENTRO DE OPERACIONES */

/* CENTRO DE OPERACIONES - NOVEDADES */
.novedades-admin-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.novedades-panel {
    border: 1px solid #d8e2ef;
    border-radius: 6px;
    padding: 1rem;
    background-color: #fff;
}

.novedades-panel h5 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.novedades-textarea {
    min-height: 140px;
    width: 100%;
    resize: none;
    overflow-y: auto;
}

.novedad-detail-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    border-bottom: 1px solid #e3e8ef;
    margin-bottom: .75rem;
    padding-bottom: .75rem;
}

.novedad-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    color: #6c757d;
    font-size: .9rem;
    margin-bottom: .75rem;
}

.novedad-detail-meta i {
    margin-right: .35rem;
}

.novedad-detail-label {
    color: #495057;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .2rem;
    text-transform: uppercase;
}

.novedad-detail-header h5 {
    margin: .25rem 0 0;
    font-weight: 700;
}

.novedad-detail-date,
.novedad-detail-sender {
    color: #6c757d;
    font-size: .9rem;
}

.novedad-detail-body {
    border: 1px solid #d8e2ef;
    border-radius: 6px;
    background-color: #f8fafc;
    padding: .85rem;
    margin: .75rem 0 1rem;
}

.novedad-detail-subtitle {
    font-weight: 700;
    margin-bottom: 0;
}

.novedad-reading-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.novedad-recipient-search-wrap {
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    overflow: hidden;
    width: min(320px, 100%);
}

.novedad-recipient-search-wrap i {
    align-items: center;
    color: #6c757d;
    display: contents;
    height: 100%;
    justify-content: center;
}

.novedad-recipient-search {
    border: 0;
    box-shadow: none;
    padding-left: .25rem;
}

.novedad-recipient-search:focus {
    border: 0;
    box-shadow: none;
}

.novedad-recipient-search-wrap:focus-within {
    border-color: #80bdff;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.novedad-recipient-empty {
    display: none;
    border: 1px dashed #d8e2ef;
    border-radius: 6px;
    color: #6c757d;
    margin-bottom: .5rem;
    padding: .75rem;
    text-align: center;
}

.novedad-recipient-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .65rem .75rem;
    border: 1px solid #e3e8ef;
    border-radius: 6px;
    margin-bottom: .5rem;
    background-color: #fff;
}

.novedad-recipient-row:hover {
    background-color: #eef6ff;
    border-color: #9cc7ff;
}

.novedad-recipient-row > div:first-child span {
    display: block;
    color: #6c757d;
    font-size: .88rem;
}

.novedad-reading-badge {
    align-items: center;
    display: inline-flex !important;
    gap: .35rem;
    justify-content: center;
    min-width: 105px;
    padding: .4rem .55rem;
}

.novedades-modal-close {
    align-items: center;
    background-color: rgba(255, 255, 255, .18);
    border-radius: 50%;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    line-height: 1;
    margin-left: auto;
    margin-right: .75rem;
    opacity: 1;
    padding: 0;
    text-shadow: none;
    width: 30px;
}

.novedades-modal-close:hover {
    background-color: rgba(255, 255, 255, .3);
    color: #fff;
    opacity: 1;
}
/* / CENTRO DE OPERACIONES - NOVEDADES */

/* PANOL */
.panol-hidden {
    display: none;
}

.panol-visible {
    display: block;
}

.panol-tags-container {
    min-height: 5px;
}

.panol-stock-image-col {
    width: 80px;
}

.panol-thumb-sm {
    max-height: 60px;
    max-width: 60px;
}

.panol-stock-thumb {
    max-height: 50px;
    max-width: 50px;
    object-fit: cover;
}

.panol-option-nuevo {
    background: #48f10d !important;
}

.panol-spaced-column {
    margin-bottom: 5px;
    margin-top: 5px;
}

.panol-cantidad-col {
    width: 120px;
}
/* / PANOL */

/* REQUERIMIENTOS */
.requerimientos-clickable-icon {
    cursor: pointer;
}

.requerimientos-firma-img {
    max-height: 75px;
    width: auto;
}

.requerimientos-firma-img-lg {
    max-height: 120px;
    width: auto;
}

.requerimientos-warning-sm {
    font-size: .8rem;
}

.requerimientos-collapsible-hidden {
    display: none;
}

.requerimientos-firma-frame {
    height: 85px;
    max-width: 180px;
    width: 100%;
}

.requerimientos-readonly-field {
    background-color: #e9ecef;
    pointer-events: none;
}

.requerimientos-td-200 {
    width: 200px;
}

.requerimientos-td-150 {
    width: 150px;
}

.requerimientos-th-fecha-lg {
    width: 170px;
}

.requerimientos-th-fecha {
    width: 130px;
}

.requerimientos-th-accion {
    width: 120px;
}

.requerimientos-detalle-container {
    font-size: .95rem;
}

.signature-pad-container {
    background: #ffffff;
    border: 2px dashed #b8c2cc;
    border-radius: 8px;
    overflow: hidden;
    padding: .35rem;
}

.signature-pad-canvas {
    background: #ffffff;
    cursor: crosshair;
    display: block;
    height: 300px;
    touch-action: none;
    user-select: none;
    width: 100%;
}

.signature-pad-canvas:focus {
    box-shadow: 0 0 0 .2rem rgba(23, 162, 184, .2);
    outline: 0;
}

.signature-pad-active {
    cursor: none;
}

.signature-modal-open {
    overflow: hidden;
    user-select: none;
}

.signature-capture-overlay {
    background: transparent;
    bottom: 0;
    cursor: crosshair;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    touch-action: none;
    user-select: none;
    z-index: 1045;
}
/* / REQUERIMIENTOS */

/*burbuja que marca cantidad animacion*/
.burbuja-notificacion {
    font-size: 0.65rem;
    font-family: Arial, sans-serif !important;
    font-style: normal !important;
    font-weight: bold !important;
    font-size: 0.65rem;
    padding: 0.25em 0.45em;
    z-index: 99;
    animation: latido-alerta-centro 1.5s infinite;
    margin-top: 5px;
    top: 65%
}

@keyframes latido-alerta-centro {
    0% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    50% {
        transform: translateX(-50%) scale(1.10); /* Crece un 15% */
        box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); /* Efecto de resplandor */
    }

    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}
/*burbuja que marca cantidad*/
/*burbuja para Padre*/
@keyframes animacionParpadeo {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

.burbuja-padre-parpadeante {
    animation: animacionParpadeo 1.2s infinite;
    font-family: Arial, sans-serif !important;
    font-weight: bold;
    font-size: 0.7rem;
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
}
/*burbuja para Padre*/

/* RRHH */
.rrhh-hidden {
    display: none;
}

.rrhh-visible {
    display: block;
}

.rrhh-personal-actions {
    gap: 10px;
}

.rrhh-legajo-badge {
    background-color: #007bff;
}

.rrhh-legajo-badge strong {
    color: #000;
}

.rrhh-personal-photo-wrapper {
    margin-bottom: 15px;
    text-align: center;
}

.rrhh-personal-photo-modal {
    border: 1px solid #ccc;
    border-radius: 8px;
    max-height: 150px;
    max-width: 150px;
}
/* / RRHH */

/* HOME */
.home-card-body-visible {
    display: block;
}

.home-info-text-small {
    font-size: 10px;
}
/* / HOME */

/* PROFILE */
.profile-hidden {
    display: none;
}

.profile-visible {
    display: block;
}
/* / PROFILE */

/* IMGUP */
.imgup-preview-host {
    position: relative;
}

.imgup-replace-btn {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    bottom: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
    color: #111827;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: 14px;
    transition: all .2s ease;
    width: 42px;
    z-index: 2;
}

.imgup-replace-btn:hover {
    background: #f8fafc;
    border-color: #0d6efd;
    color: #0d6efd;
    transform: translateY(-1px);
}

.imgup-modal .modal-content {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .28);
}

.imgup-modal .modal-header {
    align-items: center;
    border-bottom: 1px solid #edf1f7;
}

.imgup-crop-shell {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.imgup-crop-stage {
    background: #111827;
    border-radius: 10px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85);
    cursor: grab;
    max-height: 420px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.imgup-crop-stage:active {
    cursor: grabbing;
}

.imgup-crop-image {
    left: 0;
    max-width: none;
    position: absolute;
    top: 0;
    transform-origin: 0 0;
    user-select: none;
    -webkit-user-drag: none;
}

.imgup-zoom-row {
    align-items: center;
    display: flex;
    gap: 12px;
}

.imgup-zoom-row i {
    color: #6c757d;
}

.imgup-help {
    display: block;
    margin-top: 6px;
}
/* / IMGUP */

/* LIQUIDACION */
.liquidacion-observaciones {
    font-size: 11px;
    margin-top: 20px;
}

.liquidacion-list-personal {
    margin-right: 8px;
}

.liquidacion-porcentaje-visible {
    display: block;
}

.liquidacion-porcentaje-hidden {
    display: none;
}
/* / LIQUIDACION */

/* ADMINISTRACION/COMPROBANTES/FACTURAS */
.estado-pagos-clickable {
    cursor: pointer;
}

.badge-outline-warning {
    background-color: #ffffff;
    border: 1px solid #ffc107;
    color: #b58100;
}

.usuario-update-icon {
    cursor: help;
}

.nroRecibo{
    max-width: 130px;
}

.pago-detalle-card {
    background-color: #f8f9fa;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pago-detalle-card:hover {
    background-color: #eef6ff;
    border-color: #7db7f0 !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12), 0 0.5rem 1.2rem rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.estado-cobros-clickable {
    cursor: pointer;
}

.importe-total-group .input-group-text {
    border-color: #b8c2cc;
}

.importe-total-icon {
    background-color: #eef3f8;
    color: #2f5d7c;
}

.importe-total-input {
    background-color: #f8fafc;
    border-color: #b8c2cc;
    color: #1f2937;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.importe-total-card {
    background: #eaf4ff;
    border: 1px solid #9ed0ff;
    border-radius: 5px;
    padding: .55rem .75rem;
}

.importe-total-card span {
    display: block;
    color: #5d6b7c;
    font-size: .78rem;
    margin-bottom: .2rem;
}

.importe-total-card .importe-total-input {
    background: transparent;
    border: 0;
    color: #1d3557;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0;
    height: auto;
}

/* Administracion */
.importe-moneda-ext-card {
    background: #eefaf4;
    border: 1px solid #9bd8b8;
    border-radius: 5px;
    padding: .55rem .75rem;
}

.importe-moneda-ext-card .importe-moneda-ext-input {
    background: transparent;
    border: 0;
    color: #176340;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0;
    height: auto;
}

.ajustes-card {
    background: #fff3cd;
    border: 1px solid #e0ad2f;
    border-radius: 5px;
    padding: .55rem .75rem;
}

.ajustes-card .ajustes-input {
    background: transparent;
    border: 0;
    color: #664d03;
    font-size: 1.1rem;
    font-weight: 700;
    height: auto;
    padding: 0;
}

.ajustes-card:focus-within {
    border-color: #b58105;
    box-shadow: 0 0 0 .2rem rgba(255, 193, 7, .25);
}

.ajustes-card .ajustes-input:focus {
    background: transparent;
    box-shadow: none;
    color: #4d3a02;
}

.cotizacion-moneda-ext {
    min-width: 0;
}

.administracion-hidden-initial {
    display: none;
}

.facturas-selector + .select2-container {
    width: 100% !important;
}

.payment-fields {
    display: none;
    border-left: 3px solid #d7dee8;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.pago-registro-header {
    border-color: #bdd4f4 !important;
    box-shadow: 0 0 0 1px rgba(189, 212, 244, .55);
}

.pago-files-wrapper {
    flex-direction: column;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.pago-file-chip {
    background: #f8fbff;
    border: 1px solid #bdd4f4;
    border-radius: 8px;
    padding: .4rem;
    min-width: 118px;
}

.pago-files-panel {
    max-width: 70%;
}

.file-audit-info {
    background: #eef4ff;
    border: 1px solid #bdd4f4;
    border-radius: 6px;
    display: block;
    margin-top: .35rem;
    padding: .25rem .4rem;
}

.detail-documents-list {
    display: grid;
    gap: .55rem;
    margin-bottom: .85rem;
}

.detail-document-card {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e1e8f0;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    min-height: 68px;
    padding: .55rem .75rem;
}

.detail-document-info {
    min-width: 0;
    padding-right: .75rem;
}

.detail-document-info strong,
.detail-document-description {
    display: block;
}

.detail-document-info strong {
    color: #243447;
    font-size: .9rem;
    line-height: 1.25;
}

.detail-document-description {
    color: #6c757d;
    font-size: .8rem;
    margin-top: .15rem;
}

.detail-document-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
}

.detail-document-empty {
    align-items: flex-start;
}

.detail-document-upload {
    background: #f8fafc;
}

.detail-document-upload-compact {
    align-items: flex-end;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
}

.detail-document-upload-compact .detail-document-info {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    padding-right: 0;
    width: auto;
}

.detail-document-upload-compact .detail-document-actions {
    justify-content: flex-end;
    margin-top: .45rem;
    width: auto;
}

.detail-upload-circle {
    align-items: center;
    border-color: #6c757d;
    border-radius: 50%;
    color: #6c757d;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 0;
    width: 38px;
}

.pago-file-upload-btn {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.total-aplicado-box .input-group-text {
    background: #eef4ff;
    color: #1f5fbf;
    border-color: #bdd4f4;
}

.total-aplicado-input {
    background: #f8fbff;
    border-color: #bdd4f4;
    color: #1d3557;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: right;
}

.total-aplicado-input.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
    color: #a71d2a;
}

.comprobante-detail-header {
    border-bottom: 1px solid #e6ebf2;
    padding-bottom: .75rem;
    margin-bottom: 1rem;
}

.comprobante-detail-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2d3d;
    margin: 0;
}

.comprobante-detail-subtitle {
    color: #6c757d;
    margin-top: .2rem;
}

.detail-section-title {
    font-size: .78rem;
    font-weight: 700;
    color: #607085;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: .85rem 0 .45rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.detail-item {
    background: #f8fafc;
    border: 1px solid #e7edf4;
    border-radius: .45rem;
    padding: .65rem .75rem;
}

.detail-item span {
    display: block;
    color: #6c757d;
    font-size: .78rem;
    margin-bottom: .2rem;
}

.detail-item strong {
    color: #243447;
    font-weight: 700;
}

.detail-total {
    background: #eef6ff;
    border-color: #b9dcff;
}

.detail-associated {
    background: #eef6ff !important;
    border-color: #b9dcff !important;
}

.associated-invoice-card {
    background: #f8fafc;
    border: 1px solid #dce6f1;
    border-radius: .45rem;
    padding: .65rem .75rem;
    margin-bottom: .85rem;
}

.associated-invoice-card span {
    display: block;
    color: #607085;
    font-size: .78rem;
    margin-bottom: .2rem;
}

.associated-invoice-card strong {
    color: #243447;
    font-weight: 800;
}

.associated-invoice-card-warning {
    background: #fff8e6;
    border-color: #ffe0a3;
}

.management-filter-switch + .bootstrap-switch {
    display: block;
    max-width: 230px;
}

.retenciones-iibb-filter-card {
    border-top: 3px solid #007bff;
}

.retenciones-iibb-report-card .card-header {
    background: #f8fafc;
    border-bottom: 1px solid #dce6f1;
}

.retenciones-iibb-table {
    font-size: .92rem;
}

.retenciones-iibb-table thead th {
    background: #d9d9d9;
    color: #111827;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.retenciones-iibb-table tbody td {
    vertical-align: middle;
}

.retenciones-iibb-table tfoot th {
    background: #fce4d6;
    color: #111827;
    font-weight: 800;
}

.detail-timeline {
    border: 1px solid #e7edf4;
    border-radius: .45rem;
    background: #fbfdff;
    padding: .8rem .9rem;
}

.detail-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    gap: .65rem;
    padding-bottom: .85rem;
}

.detail-timeline-item:last-child {
    padding-bottom: 0;
}

.detail-timeline-item::before {
    content: "";
    position: absolute;
    left: .35rem;
    top: .85rem;
    bottom: 0;
    width: 2px;
    background: #dbe5f0;
}

.detail-timeline-item:last-child::before {
    display: none;
}

.detail-timeline-marker {
    width: .75rem;
    height: .75rem;
    border-radius: 50%;
    background: #6c757d;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #dbe5f0;
    margin-top: .2rem;
    z-index: 1;
}

.detail-timeline-ok .detail-timeline-marker {
    background: #0d6efd;
}

.detail-timeline-done .detail-timeline-marker {
    background: #28a745;
}

.detail-timeline-danger .detail-timeline-marker {
    background: #dc3545;
}

.detail-timeline-content {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: .45rem;
    padding: .65rem .75rem;
}

.detail-timeline-head {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    color: #243447;
}

.detail-timeline-head span {
    color: #6c757d;
    font-size: .8rem;
    white-space: nowrap;
}

.detail-timeline-text {
    color: #495867;
    margin-top: .25rem;
}

.detail-timeline-user {
    color: #6c757d;
    font-size: .78rem;
    margin-top: .35rem;
}

.imputacion-ban-icon {
    top: -4px;
    right: -6px;
    font-size: .8em;
}

@media (max-width: 576px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-document-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-document-info {
        padding-right: 0;
    }

    .detail-document-actions {
        justify-content: flex-start;
        margin-top: .55rem;
        width: 100%;
    }
}

/* / ADMINISTRACION/COMPROBANTES/FACTURAS */

/* REPORTES/RETENCIONES PERIODO */
.retenciones-periodo-tax-grid {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.retenciones-periodo-tax-item {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e6f3;
    border-left: 4px solid #17a2b8;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(31, 45, 61, .06);
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem 1rem;
}

.retenciones-periodo-tax-item span {
    color: #5d6d7e;
    font-size: .9rem;
    font-weight: 600;
}

.retenciones-periodo-tax-item strong {
    color: #1f2d3d;
    font-size: 1.05rem;
    white-space: nowrap;
}
/* / REPORTES/RETENCIONES PERIODO */

/*Selector de solicitud envio*/
.radio-oculto {
    display: none !important;
}

/* Estilo base de la tarjeta apagada */
.tarjeta-destino {
    transition: all 0.2s ease-in-out;
    border: 2px solid #dee2e6;
    cursor: pointer;
    background-color: #ffffff;
    margin-bottom: 1rem;
}

    /* Efecto al pasar el mouse */
    .tarjeta-destino:hover {
        border-color: #adb5bd;
        background-color: #f8f9fa;
    }

    /* Estilo fuerte cuando la tarjeta está seleccionada */
    .tarjeta-destino.opcion-seleccionada {
        border-color: #ffc107 !important; /* Amarillo Warning */
        background-color: #fffdf5 !important; /* Fondo sutilmente cálido */
        transform: scale(1.02); /* Lo agranda un 2% */
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.25); /* Sombra amarilla */
    }

/* MANTENIMIENTO */
.maintenance-page {
    align-items: center;
    background: linear-gradient(rgba(6, 21, 48, .34), rgba(6, 21, 48, .48)), url("/img/maintenance-bg.png") center center / cover no-repeat fixed;
    color: #1f2d3d;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.maintenance-card {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(215, 228, 238, .92);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(2, 11, 28, .28);
    max-width: 760px;
    padding: 2.5rem 2.75rem;
    text-align: center;
    width: 100%;
}

.maintenance-active {
    overflow: hidden;
}

.maintenance-overlay {
    align-items: center;
    background: linear-gradient(rgba(6, 21, 48, .34), rgba(6, 21, 48, .48)), url("/img/maintenance-bg.png") center center / cover no-repeat fixed;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 1rem;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.maintenance-overlay-card {
    margin: 0;
}

.maintenance-logo {
    display: block;
    height: auto;
    margin: 0 0 1.25rem;
    max-height: 86px;
    max-width: 220px;
    object-fit: contain;
}

.maintenance-visual {
    height: 190px;
    margin: 0 auto 1.15rem;
    position: relative;
    width: 280px;
}

.maintenance-gear {
    align-items: center;
    color: #12326b;
    display: flex;
    justify-content: center;
    position: absolute;
    text-shadow: 0 8px 22px rgba(18, 50, 107, .18);
}

.maintenance-gear i {
    display: block;
}

.maintenance-gear-large {
    font-size: 8.25rem;
    left: 10px;
    top: 38px;
}

.maintenance-gear-medium {
    animation: maintenanceSpinReverse 3s linear infinite;
    font-size: 5.7rem;
    right: 24px;
    top: 12px;
}

.maintenance-gear-small {
    animation: maintenanceSpin 2.8s linear infinite;
    bottom: 12px;
    font-size: 5rem;
    right: 4px;
}

.maintenance-gear-large {
    animation: maintenanceSpin 4s linear infinite;
}

.maintenance-title {
    color: #12326b;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.maintenance-message {
    color: #3d4f63;
    font-size: 1.25rem;
    line-height: 1.55;
    margin: 0;
    text-align:left;
}

@keyframes maintenanceSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes maintenanceSpinReverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@media (max-width: 576px) {
    .maintenance-card {
        padding: 2rem 1.35rem;
    }

    .maintenance-logo {
        max-height: 70px;
        max-width: 190px;
    }

    .maintenance-visual {
        height: 150px;
        width: 220px;
    }

    .maintenance-gear-large {
        font-size: 6.5rem;
        top: 32px;
    }

    .maintenance-gear-medium {
        font-size: 4.5rem;
        right: 18px;
    }

    .maintenance-gear-small {
        font-size: 4rem;
    }

    .maintenance-title {
        font-size: 1.9rem;
    }

    .maintenance-message {
        font-size: 1.1rem;
    }
}
/* / MANTENIMIENTO */

/* GESTION/LECTORES SCA */
.lector-sca-status {
    border-radius: 50%;
    display: inline-block;
    height: 18px;
    vertical-align: middle;
    width: 18px;
}

.lector-sca-status-pending {
    background: #adb5bd;
    box-shadow: 0 0 0 4px rgba(173, 181, 189, .16);
}

.lector-sca-status-online {
    background: #28a745;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, .18);
}

.lector-sca-status-offline {
    background: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, .18);
}
/* / GESTION/LECTORES SCA */

.facturas-selector-container .select2-selection__choice {
    align-items: center;
    display: inline-flex;
    gap: .35rem;
    padding-left: .35rem !important;
}

.facturas-selector-container .select2-selection__choice__remove {
    align-items: center;
    background: #dc3545 !important;
    border: 0 !important;
    border-radius: 50%;
    color: #fff !important;
    display: inline-flex;
    font-size: 0;
    font-weight: 700;
    height: 1.1rem;
    justify-content: center;
    line-height: 1;
    margin: 0 .25rem 0 0 !important;
    order: 2;
    overflow: hidden;
    padding: 0 !important;
    position: relative !important;
    transform: none !important;
    width: 1.1rem;
}

.facturas-selector-container .select2-selection__choice__remove::before {
    content: "\f1f8";
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome;
    font-size: .65rem;
    font-weight: 900;
    left: 50%;
    line-height: 1;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.facturas-selector-container .select2-selection__choice__remove:hover {
    background: #b02a37 !important;
    color: #fff !important;
}

.factura-seleccionada-link {
    cursor: pointer;
    order: 1;
}

.factura-seleccionada-sin-archivo {
    cursor: default;
    order: 1;
}

.management-status-switch-field .bootstrap-switch {
    width: 202px !important;
}

.management-status-switch-field .bootstrap-switch .bootstrap-switch-container {
    width: 372px !important;
}

.management-status-switch-field .bootstrap-switch .bootstrap-switch-handle-on,
.management-status-switch-field .bootstrap-switch .bootstrap-switch-handle-off {
    min-width: 170px;
    width: 170px !important;
}

.management-status-switch-field .bootstrap-switch .bootstrap-switch-label {
    min-width: 32px;
    width: 32px !important;
}

.management-status-switch-field .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container {
    margin-left: -170px !important;
}

.management-status-switch-field .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container {
    margin-left: 0 !important;
}
    /*Estilos Entrega Materiales (Logistica)*/
/* --- Selector Compacto (Tamaño nativo Bootstrap con diseño píldora) --- */
.ux-select-group {
    border-radius: 2rem;
    border: 1px solid #ced4da; /* Borde finito igual al nativo de Bootstrap */
    background-color: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center; /* Centra todo verticalmente */
}

    .ux-select-group:hover {
        border-color: #86b7fe;
        transform: translateY(-1px); /* Elevación más sutil */
        box-shadow: 0 4px 8px rgba(13, 110, 253, 0.1);
    }

    .ux-select-group:focus-within {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

    /* Ícono lateral */
    .ux-select-group .input-group-text {
        background: transparent;
        border: none;
        padding-left: 1rem;
        padding-right: 0.25rem; /* Lo acercamos más al texto */
        color: #6c757d;
    }

    /* Dejamos que Bootstrap maneje la altura y el texto */
    .ux-select-group .form-select {
        border: none;
        background-color: transparent;
        box-shadow: none; /* Apagamos el brillo feo interno */
    }

.ux-select-compact {
    max-width: 300px;
}
/* Animación del ícono al hacer clic */
@keyframes iconPop {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15) rotate(-10deg);
        color: #0d6efd;
    }
}

.ux-select-group:focus-within .input-group-text i {
    animation: iconPop 0.4s ease forwards;
    color: #0d6efd;
}
/* Textarea un poco más compacto también */
.ux-textarea {
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    padding: 0.5rem 0.75rem;
}

    .ux-textarea:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }

/* NOTA DE TRASLADO */
.nota-traslado-status-switch-field .bootstrap-switch {
    width: 150px !important;
}

.nota-traslado-status-switch-field .bootstrap-switch .bootstrap-switch-container {
    width: 270px !important;
}

.nota-traslado-status-switch-field .bootstrap-switch .bootstrap-switch-handle-on,
.nota-traslado-status-switch-field .bootstrap-switch .bootstrap-switch-handle-off {
    width: 120px !important;
    min-width: 120px;
}

.nota-traslado-status-switch-field .bootstrap-switch .bootstrap-switch-label {
    width: 30px !important;
    min-width: 30px;
}

.nota-traslado-status-switch-field .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container {
    margin-left: -120px !important;
}

.nota-traslado-status-switch-field .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container {
    margin-left: 0 !important;
}

/* / NOTA DE TRASLADO */

/* VALIDACION DE MOTIVOS DE HORAS EXTRAS */
.he-validacion-toolbar {
    background: #f8fafc;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 18px;
}

.he-validacion-toolbar .form-group {
    margin-bottom: 0;
}

.he-validacion-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.he-validacion-summary-item {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
}

.he-validacion-summary-item span {
    display: block;
    color: #5c6773;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.he-validacion-summary-item strong {
    font-size: 22px;
    color: #111827;
}

.he-validacion-table th {
    background: #1f2a44;
    color: #fff;
    vertical-align: middle;
}

.he-validacion-table td {
    vertical-align: middle;
}

.he-validacion-table .form-control {
    min-width: 180px;
}

.he-validacion-loading {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2050;
    background: rgba(255, 255, 255, .75);
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #1f2a44;
}

.he-validacion-loading.show {
    display: flex;
}
/* / VALIDACION DE MOTIVOS DE HORAS EXTRAS */

/* GESTION DE PAGOS */
.saldo-favor-warning {
    align-items: center;
    display: flex;
    gap: .75rem;
    margin: .75rem 0 0;
    text-align: left;
}

.saldo-favor-warning-icon {
    animation: saldoFavorWarningBeat 1s ease-in-out infinite;
    font-size: 1.35rem;
    line-height: 1;
}

@keyframes saldoFavorWarningBeat {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }
}
/* / GESTION DE PAGOS */

#generarPagoTable .generar-pago-seleccion { width: 46px; }
#generarPagoTable .js-pago-row, #generarPagoTable .js-pago-check { cursor: pointer; }
#generarPagoTable .js-pago-row.is-selected td { background: #e8f4ff !important; }
#generarPagoTable .js-pago-row.is-disabled td:first-child { background: #fff3cd; }
#generarPagoTable .generar-pago-instrumento.is-inactive { background: #e9ecef; color: #6c757d; }
#generarPagoTable .js-medio-pago { min-width: 145px; }
#generarPagoTable .js-caracter-echeq { min-width: 235px; }
.generar-pago-cbu-option { line-height: 1.15; white-space: normal; }
.generar-pago-cbu-bank { display: block; font-weight: 600; }
.generar-pago-cbu-number { display: block; color: #6c757d; font-size: .85rem; word-break: break-all; }
#generarPagoTable .generar-pago-instrumento { min-width: 260px; }
#generarPagoTable .select2-selection--single { height: auto; min-height: 46px; }
#generarPagoTable .select2-selection__rendered { line-height: 1.2; padding-top: 5px; padding-bottom: 5px; white-space: normal; }
#generarPagoTable .select2-selection__arrow { height: 100%; }

/* ABM DE USUARIOS */
.a2f-control-usuario {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.a2f-control-usuario > .bootstrap-switch {
    flex-shrink: 0;
}

.a2f-vinculado {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
/* / ABM DE USUARIOS */

.login-bloqueo-badge {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 8px 12px;
    line-height: 1.5;
    text-align: left;
}


/* Indicador global de carga */

        .global-report-loading-modal {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(15, 23, 42, .35);
        }

        .global-report-loading-modal.is-visible {
            display: flex;
        }

        .global-report-loading-dialog {
            min-width: 180px;
            padding: 24px 28px;
            border-radius: 8px;
            background: #ffffff;
            box-shadow: 0 18px 45px rgba(15, 23, 42, .24);
            text-align: center;
        }

        .global-report-loading-spinner {
            width: 42px;
            height: 42px;
            margin: 0 auto 14px;
            border: 4px solid #d7dde8;
            border-top-color: #2563eb;
            border-radius: 50%;
            animation: global-report-loading-spin .8s linear infinite;
        }

        .global-report-loading-text {
            color: #1f2937;
            font-size: 16px;
            font-weight: 600;
        }

        @keyframes global-report-loading-spin {
            to {
                transform: rotate(360deg);
            }
        }


.xenios-login-page {
    --login-accent: #ec6528;
    --login-ink: #222833;
    --login-muted: #7b818c;
    margin: 0;
    background: #fff;
    color: var(--login-ink);
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.xenios-login-page *, .xenios-login-page *::before, .xenios-login-page *::after { box-sizing: border-box; }
.login-shell { display: grid; grid-template-columns: 58% 42%; min-height: 100vh; min-height: 100svh; }
.login-access { display: flex; flex-direction: column; padding: 38px 52px 26px; }
.login-wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 700; letter-spacing: -1px; }
.login-content { width: 100%; max-width: 438px; margin: auto; padding: 48px 0 36px; }
.login-intro { text-align: center; margin-bottom: 31px; }
.login-eyebrow { display: block; margin-bottom: 13px; color: var(--login-accent); font-size: 10px; font-weight: 700; letter-spacing: 2.5px; }
.login-intro h1 { margin: 0 0 10px; font-size: clamp(28px, 2.4vw, 36px); font-weight: 650; letter-spacing: -1.2px; line-height: 1.2; }
.login-intro p { margin: 0; color: var(--login-muted); font-size: 15px; line-height: 1.6; }
.login-form-card { border: 1px solid #eadfd8; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 28px #36200b05; }
.login-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 21px 25px 20px; border-bottom: 1px solid #eee7e2; background: #fffdfb; }
.login-card-heading h2 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.25px; }
.login-card-heading p { margin: 0; color: var(--login-muted); font-size: 13px; }
.login-card-heading > svg { width: 24px; height: 24px; flex: 0 0 24px; color: var(--login-accent); stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.login-form { padding: 25px; }
.login-field + .login-field { margin-top: 21px; }
.login-field label { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 600; color: #505763; }
.login-input-wrap { position: relative; }
.login-input-wrap input { display: block; width: 100%; height: 51px; padding: 0 48px 0 15px; border: 1px solid #dfe2e7; border-radius: 9px; outline: none; background: #fff; color: var(--login-ink); font: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.login-input-wrap input::placeholder { color: #a0a4ad; }
.login-input-wrap input:focus { border-color: var(--login-accent); box-shadow: 0 0 0 3px #f56b2a14; }
.login-input-wrap input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset; -webkit-text-fill-color: var(--login-ink); }
.login-field-icon { position: absolute; right: 15px; top: 16px; width: 19px; height: 19px; color: #a2a8b2; stroke: currentColor; stroke-width: 1.6; pointer-events: none; }
.login-password-toggle { position: absolute; right: 4px; top: 4px; display: grid; place-items: center; width: 43px; height: 43px; border: 0; border-radius: 6px; background: transparent; color: #808794; cursor: pointer; }
.login-password-toggle:hover { color: var(--login-accent); background: #fff4ee; }
.login-password-toggle:focus-visible, .login-submit:focus-visible, .login-recovery a:focus-visible { outline: 3px solid #f79869; outline-offset: 3px; }
.login-password-toggle svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.pwd-eye-hidden { display: none; }
.login-recovery { display: flex; justify-content: flex-end; margin: 15px 0 26px; }
.login-recovery a { color: var(--login-accent); font-size: 12px; font-weight: 500; text-decoration: none; }
.login-recovery a:hover { color: #bc4814; text-decoration: underline; }
.login-submit { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; height: 50px; padding: 0 20px; border: 1px solid transparent; border-radius: 9px; background: var(--login-accent); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, box-shadow .15s; }
.login-submit:hover { background: #d95219; box-shadow: 0 5px 12px #ec652825; }
.login-submit svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-access-note { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 24px 0 0; color: #959aa4; font-size: 11px; }
.login-access-note svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.login-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #969ca5; font-size: 11px; }
.login-version { border: 1px solid #eceef1; border-radius: 5px; padding: 4px 8px; color: #8a909b; font-size: 10px; }
.login-brand { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; overflow: hidden; isolation: isolate; background: linear-gradient(145deg, #ff8a43 0%, #f7732c 43%, #ec591a 100%); color: #fff; padding: 96px 42px; text-align: center; }
.login-brand-kicker { position: absolute; top: 49px; left: 24px; right: 24px; font-size: 10px; font-weight: 600; letter-spacing: 2.8px; color: #ffffffc4; }
.login-brand-content { width: 100%; position: relative; z-index: 1; }
.login-brand-logo { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 23px 31px 26px; border: 1px solid #ffffffb3; border-radius: 21px; background: #fff; box-shadow: 0 12px 40px #8e29081a; }
.login-brand-logo span { color: #ed692b; font-size: clamp(42px, 4.3vw, 70px); font-weight: 750; line-height: 1; letter-spacing: -3.5px; }
.login-brand-logo img { width: 53px; height: 53px; }
.login-brand-content h2 { margin: 33px 0 16px; font-size: clamp(29px, 3vw, 46px); font-weight: 300; line-height: 1.2; letter-spacing: -1.5px; }
.login-brand-content p { max-width: 300px; margin: 0 auto; color: #ffffffd9; font-size: 14px; font-weight: 400; line-height: 1.7; }
.login-brand-rule { display: block; width: 36px; height: 3px; border-radius: 3px; margin: 29px auto 0; background: #ffffff78; }
.login-brand-footer { position: absolute; bottom: 36px; left: 20px; right: 20px; color: #ffffffa8; font-size: 11px; }
.login-brand-orbit { position: absolute; z-index: -1; width: 600px; height: 600px; border: 1px solid #ffffff12; border-radius: 50%; pointer-events: none; }
.login-brand-orbit-one { top: -300px; right: -260px; box-shadow: 0 0 0 80px #ffffff05, 0 0 0 160px #ffffff03; }
.login-brand-orbit-two { bottom: -360px; left: -290px; width: 740px; height: 740px; box-shadow: 0 0 0 85px #ffffff05; }
.login-alert, .login-notice { margin-bottom: 20px; border: 1px solid #f4c6c6; border-radius: 8px; padding: 12px 14px; background: #fff5f5; color: #a12f35; font-size: 12px; line-height: 1.6; }
.login-notice { border-color: #f1d4a6; background: #fff9ed; color: #87601f; }
.xenios-login-page .db-unavailable-modal .modal-content { border: 0; border-radius: 16px; }
.xenios-login-page .db-modal-icon { color: var(--login-accent); margin-right: 12px; }
.xenios-login-page .btn-primary { border-color: var(--login-accent); background: var(--login-accent); }

@media (min-width: 1600px) {
    .login-content { max-width: 466px; }
    .login-form { padding: 29px; }
    .login-card-heading { padding: 23px 29px; }
}
@media (max-width: 1000px) {
    .login-access { padding-right: 32px; padding-left: 32px; }
    .login-brand { padding-right: 25px; padding-left: 25px; }
    .login-brand-logo { gap: 9px; padding: 20px 24px; }
    .login-brand-logo img { width: 40px; height: 40px; }
}
@media (max-width: 760px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-access { min-height: 100vh; min-height: 100svh; padding: 24px 22px 20px; }
    .login-content { max-width: 420px; padding: 40px 0 32px; }
    .login-brand { display: none; }
    .login-wordmark { font-size: 23px; }
    .login-intro { margin-bottom: 27px; }
    .login-intro h1 { font-size: 29px; }
    .login-card-heading, .login-form { padding: 21px; }
    .login-form-card { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .login-submit, .login-input-wrap input { transition: none; }
}

/* ========================================================================== 
   Identidad Xenios. Mantener los ajustes compartidos en esta seccion.
   Los colores de exito, advertencia y error conservan su significado funcional.
   ========================================================================== */
:root {
    --xenios-accent: #ec6528;
    --xenios-accent-hover: #d95219;
    --xenios-accent-ink: #b84615;
    --xenios-accent-soft: #fff1e8;
    --xenios-ink: #222833;
    --xenios-muted: #7b818c;
    --xenios-canvas: #faf8f6;
    --xenios-surface: #fff;
    --xenios-border: #eadfd8;
    --xenios-heading: #fffdfb;
    --xenios-radius: 16px;
    --xenios-shadow: 0 8px 28px #36200b05;
    --xenios-focus: 0 0 0 3px #ec652825;
}
.xenios-login-page {
    --login-accent: var(--xenios-accent);
    --login-ink: var(--xenios-ink);
    --login-muted: var(--xenios-muted);
}
.xenios-app {
    background: var(--xenios-canvas);
    color: var(--xenios-ink);
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.xenios-app a { color: var(--xenios-accent-ink); }
.xenios-app a:hover { color: #92360e; }
.xenios-app a:focus-visible, .xenios-app button:focus-visible {
    outline: 3px solid #f79869;
    outline-offset: 3px;
}
.xenios-app .text-primary { color: var(--xenios-accent-ink) !important; }
.xenios-app .bg-primary, .xenios-app .badge-primary { background-color: var(--xenios-accent) !important; }
.xenios-app .border-primary { border-color: var(--xenios-accent) !important; }

/* Navegacion principal: superficies claras y acentos del acceso. */
.xenios-app .main-header {
    border-bottom: 1px solid var(--xenios-border);
    background: var(--xenios-surface);
    box-shadow: none;
}
.xenios-app .main-header .navbar-nav > .nav-item > .nav-link { color: #626975; }
.xenios-app .main-header .navbar-nav > .nav-item > .nav-link:hover { color: var(--xenios-accent-ink); }
.xenios-app .current-section-breadcrumb { color: var(--xenios-ink) !important; font-weight: 600; text-transform: none; }
.xenios-app .main-sidebar {
    border-right: 1px solid var(--xenios-border);
    background: var(--xenios-surface);
    box-shadow: none !important;
}
.xenios-app .brand-link {
    min-height: 57px;
    border-bottom: 1px solid var(--xenios-border);
    color: var(--xenios-ink);
    font-size: 25px;
    letter-spacing: -1px;
}
.xenios-app .brand-link .brand-text { font-weight: 700; }
.xenios-app .brand-link .xenios-brand-mark { width: 33px; height: 33px; margin-top: 4px; opacity: 1; border-radius: 0; box-shadow: none; }
.xenios-app .main-sidebar .sidebar { padding-top: 14px; }
.xenios-app .main-sidebar .nav-sidebar > .nav-item > .nav-link {
    margin-bottom: 6px;
    padding: 12px 14px;
    border-radius: 9px;
    color: #626975;
    font-size: 14px;
}
.xenios-app .main-sidebar .nav-sidebar > .nav-item > .nav-link:hover,
.xenios-app .main-sidebar .nav-sidebar > .menu-open > .nav-link {
    background: #fff8f2;
    color: var(--xenios-accent-ink);
}
.xenios-app .main-sidebar .nav-sidebar > .nav-item > .nav-link.active {
    background: var(--xenios-accent-soft);
    color: var(--xenios-accent-ink);
    box-shadow: inset 3px 0 var(--xenios-accent);
    font-weight: 600;
}
.xenios-app .content-wrapper { background: var(--xenios-canvas); padding-top: 20px; }
.xenios-app .content-wrapper > .content { padding-right: 24px; padding-left: 24px; }
.xenios-app .secondary-nav-section { background: var(--xenios-canvas) !important; }
.xenios-app .secondary-nav-top-spacer { background: transparent; height: 0; }
.xenios-app .secondary-nav-card .card-body { padding: 12px 16px; }
.xenios-app .secondary-nav-link { border-width: 1px; border-color: var(--xenios-border); border-radius: 9px; color: #626975; }
.xenios-app .secondary-nav-link:not(.active):not(.btn-entrega-materiales-lo):not(.btn-baja-materiales-lo):hover { background: var(--xenios-accent-soft); color: var(--xenios-accent-ink); }
.xenios-app .secondary-nav-link.active:not(.btn-entrega-materiales-lo):not(.btn-baja-materiales-lo) {
    background: var(--xenios-accent); border-color: var(--xenios-accent); color: #fff;
}
.xenios-app .secondary-submenu { padding: 8px; border-color: var(--xenios-border); border-radius: 10px; box-shadow: 0 10px 30px #36200b12; }
.xenios-app .secondary-submenu-link { border-color: var(--xenios-border); border-radius: 7px; color: #626975; }
.xenios-app .secondary-submenu-link:hover { background: var(--xenios-accent-soft); color: var(--xenios-accent-ink); }
.xenios-app .main-footer { border-top: 1px solid var(--xenios-border); background: var(--xenios-surface); color: var(--xenios-muted); font-size: 12px; }

/* Tarjetas, encabezados y paneles. No recortar tablas ni menus desplegables. */
.xenios-app .card {
    border: 1px solid var(--xenios-border);
    border-radius: var(--xenios-radius);
    background: var(--xenios-surface);
    box-shadow: var(--xenios-shadow);
}
.xenios-app .card > .card-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--xenios-border);
    border-radius: 15px 15px 0 0;
    background: var(--xenios-heading);
    color: var(--xenios-ink);
    font-weight: 600;
}
.xenios-app .card > .card-header .card-title { font-weight: 600; letter-spacing: -.25px; }
.xenios-app .card > .card-header .btn-tool { color: var(--xenios-muted); }
.xenios-app .card > .card-header .btn-tool:hover { color: var(--xenios-accent-ink); }
.xenios-app .card.card-outline { border-top: 3px solid var(--xenios-accent); }
.xenios-app .card.card-success.card-outline { border-top-color: #28a745; }
.xenios-app .card.card-danger.card-outline { border-top-color: #dc3545; }
.xenios-app .card.card-warning.card-outline { border-top-color: #ffc107; }
.xenios-app .card-footer { border-top: 1px solid var(--xenios-border); background: var(--xenios-heading); border-radius: 0 0 15px 15px; }
.xenios-app h1, .xenios-app h2, .xenios-app h3 { letter-spacing: -.5px; }
.xenios-app .tit-home { margin: 0 0 24px; padding: 20px 12px; }
.xenios-app .tit-home h1 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 600; line-height: 1.4; }
.xenios-app .info-box { border: 1px solid var(--xenios-border); border-radius: 12px; background: var(--xenios-surface); box-shadow: none; }
.xenios-app .info-box .info-box-icon { border-radius: 9px; box-shadow: none !important; }
.xenios-app .info-box-text { color: #626975; }
.xenios-app .info-box-number { color: var(--xenios-ink); font-weight: 650; }
.xenios-app .totales-card { background: linear-gradient(135deg, #ff8a43, #ec591a); border-radius: var(--xenios-radius); }

/* Controles: conservar tamanos compactos usados en grillas y formularios. */
.xenios-app .btn { border-radius: 8px; font-weight: 500; }
.xenios-app .btn-primary {
    background: var(--xenios-accent); border-color: var(--xenios-accent); color: #fff;
}
.xenios-app .btn-primary:hover,
.xenios-app .btn-primary:not(:disabled):not(.disabled):active,
.xenios-app .btn-primary:not(:disabled):not(.disabled).active,
.xenios-app .show > .btn-primary.dropdown-toggle { background: var(--xenios-accent-hover); border-color: var(--xenios-accent-hover); color: #fff; }
.xenios-app .btn-primary:focus, .xenios-app .btn-outline-primary:focus { box-shadow: var(--xenios-focus); }
.xenios-app .btn-primary:disabled, .xenios-app .btn-primary.disabled { background: var(--xenios-accent); border-color: var(--xenios-accent); opacity: .55; }
.xenios-app .btn-outline-primary { color: var(--xenios-accent-ink); border-color: var(--xenios-accent); }
.xenios-app .btn-outline-primary:hover,
.xenios-app .btn-outline-primary:not(:disabled):not(.disabled):active,
.xenios-app .btn-outline-primary:not(:disabled):not(.disabled).active { color: #fff; background: var(--xenios-accent-hover); border-color: var(--xenios-accent-hover); }
.xenios-app .btn-default { background: #fff; border-color: var(--xenios-border); color: #505763; }
.xenios-app .btn-default:hover { background: var(--xenios-heading); border-color: #d9c8bc; }
.xenios-app label:not(.form-check-label):not(.custom-control-label) { color: #505763; font-weight: 600; font-size: 13px; }
.xenios-app .form-control, .xenios-app .custom-select,
.xenios-app .select2-container--bootstrap4 .select2-selection {
    border-color: #dfe2e7; border-radius: 9px; background-color: #fff; color: var(--xenios-ink);
}
.xenios-app .form-control:focus, .xenios-app .custom-select:focus,
.xenios-app .select2-container--bootstrap4.select2-container--focus .select2-selection {
    border-color: var(--xenios-accent); box-shadow: var(--xenios-focus);
}
.xenios-app .form-control:disabled, .xenios-app .form-control[readonly] { background-color: #f4f3f1; }
.xenios-app .form-control.is-invalid { border-color: #dc3545; }
.xenios-app .form-control.is-valid { border-color: #28a745; }
.xenios-app .input-group-text { border-color: #dfe2e7; border-radius: 9px; background: var(--xenios-heading); color: var(--xenios-muted); }
.xenios-app .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--xenios-accent); border-color: var(--xenios-accent); }
.xenios-app input[type="checkbox"], .xenios-app input[type="radio"] { accent-color: var(--xenios-accent); }
.xenios-app .select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] { background-color: var(--xenios-accent); }
.xenios-app .nav-pills .nav-link.active { background-color: var(--xenios-accent); color: #fff; }
.xenios-app .nav-tabs .nav-link { color: #626975; }
.xenios-app .nav-tabs .nav-link.active { color: var(--xenios-accent-ink); border-top: 2px solid var(--xenios-accent); }

/* Tablas: mantener desplazamiento horizontal y encabezados fijos existentes. */
.xenios-app .table { color: var(--xenios-ink); }
.xenios-app .table thead { background: #fff6ef; color: #505763; }
.xenios-app .table thead:not(.thead-dark) th { border-bottom-color: var(--xenios-border); }
.xenios-app .table td, .xenios-app .table th { border-color: #eee7e2; vertical-align: middle; }
.xenios-app .table-striped tbody tr:nth-of-type(odd) { background-color: #fcfaf8; }
.xenios-app .table-hover tbody tr:hover { background-color: var(--xenios-accent-soft); }
.xenios-app .table-responsive { overflow-x: auto; }
.xenios-app .page-link { color: var(--xenios-accent-ink); border-color: var(--xenios-border); }
.xenios-app .page-item.active .page-link { background: var(--xenios-accent); border-color: var(--xenios-accent); color: #fff; }
.xenios-app .page-link:focus { box-shadow: var(--xenios-focus); }
.xenios-app .page-item.disabled .page-link { color: var(--xenios-muted); }

/* Dialogos y menus. Las acciones destructivas mantienen su color de alerta. */
.xenios-app .dropdown-menu { border: 1px solid var(--xenios-border); border-radius: 12px; box-shadow: 0 12px 36px #36200b12; }
.xenios-app .dropdown-item { color: #505763; }
.xenios-app .dropdown-item:hover, .xenios-app .dropdown-item:focus { background: var(--xenios-accent-soft); color: var(--xenios-accent-ink); }
.xenios-app .dropdown-item.active, .xenios-app .dropdown-item:active { background: var(--xenios-accent); color: #fff; }
.xenios-app .navbar-nav > .user-menu > .dropdown-menu > .user-header { background: linear-gradient(145deg, #ff8a43, #ec591a) !important; }
.xenios-app .modal-content, .xenios-app .custom-modal, .xenios-app .swal2-popup {
    border: 1px solid var(--xenios-border); border-radius: var(--xenios-radius); background: #fff; box-shadow: 0 24px 70px #36200b24;
}
.xenios-app .modal-header { border-bottom: 1px solid var(--xenios-border); border-radius: 15px 15px 0 0; background: var(--xenios-heading); }
.xenios-app .modal-header-details { background: var(--xenios-accent); color: #fff; }
.xenios-app .modal-header-delete { background: #dc3545; color: #fff; }
.xenios-app .modal-header-pasword { background: #28a745; color: #fff; }
.xenios-app .modal-footer { border-top: 1px solid var(--xenios-border); background: var(--xenios-heading); border-radius: 0 0 15px 15px; }
.xenios-app .swal2-styled.swal2-confirm { background: var(--xenios-accent); border-radius: 8px; }
.xenios-app .global-report-loading-dialog { border: 1px solid var(--xenios-border); border-radius: var(--xenios-radius); }
.xenios-app .global-report-loading-spinner { border-color: var(--xenios-accent-soft); border-top-color: var(--xenios-accent); }
.xenios-app .pace .pace-progress { background: var(--xenios-accent); }
.xenios-app.a2f-pagina { background: var(--xenios-canvas); }
.xenios-app .segundo-factor { border-color: var(--xenios-border); border-radius: var(--xenios-radius); box-shadow: var(--xenios-shadow); padding: 32px; }
.xenios-app .segundo-factor .logo { width: 54px; height: 54px; }
.xenios-app .segundo-factor h1 { text-align: center; font-weight: 600; }
.xenios-app .segundo-factor p { color: var(--xenios-muted); font-size: 14px; line-height: 1.6; }
.xenios-public-page .main-footer { margin-left: 0; }

@media (max-width: 767.98px) {
    .xenios-app .content-wrapper { padding-top: 12px; }
    .xenios-app .content-wrapper > .content { padding-right: 12px; padding-left: 12px; }
    .xenios-app .card > .card-header { padding: 16px; }
    .xenios-app .card-body { padding: 16px; }
    .xenios-app .tit-home { padding: 12px 0; }
    .xenios-app .header-container { flex-wrap: wrap; gap: 12px; }
    .xenios-app .search-container { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .xenios-app .btn, .xenios-app .form-control, .xenios-app .secondary-nav-link { transition: none; }
}
@media print {
    .xenios-app, .xenios-app .content-wrapper { background: #fff; }
    .xenios-app .card { box-shadow: none; }
}
.xenios-public-page .top-spacing { margin-top: 0; padding: 56px 16px; }
.xenios-public-page .form-box { width: 100%; max-width: 480px; padding: 30px; border: 1px solid var(--xenios-border); border-radius: var(--xenios-radius); background: var(--xenios-surface); box-shadow: var(--xenios-shadow); }
.xenios-public-page .form-box h2 { font-size: 26px; font-weight: 600; }
.xenios-public-page .form-box p { font-size: 14px; line-height: 1.6; }
.xenios-public-page .form-box .xenios-recovery-mark { width: 54px; height: 54px; }
@media (max-width: 575.98px) {
    .xenios-public-page .top-spacing { padding: 24px 0; }
    .xenios-public-page .form-box { padding: 22px; }
    .xenios-public-page .main-footer { padding: 16px; }
}
.xenios-app .bg-gradient-primary {
    background: linear-gradient(145deg, #ff8a43, #ec591a) !important;
    color: #fff;
}
.xenios-app .btn.bg-gradient-primary:hover,
.xenios-app .btn.bg-gradient-primary:not(:disabled):not(.disabled):active {
    background: var(--xenios-accent-hover) !important;
    color: #fff;
}
.xenios-app .btn.bg-gradient-primary:focus { box-shadow: var(--xenios-focus); }
.xenios-app .btn2 { border-color: var(--xenios-border); border-radius: 8px; font-family: inherit; text-transform: none; background: #fff; }
.xenios-app .btn2:hover { background: var(--xenios-accent-soft); color: var(--xenios-accent-ink); }
.xenios-app .main-sidebar .nav-sidebar > .nav-item > .nav-link { width: auto; }
.xenios-app .main-sidebar { border-right: 0; box-shadow: inset -1px 0 var(--xenios-border) !important; }
.xenios-app .content h1 { font-size: clamp(26px, 2.2vw, 34px); font-weight: 600; }
.xenios-app .select2-container--default .select2-selection--single,
.xenios-app .select2-container--default .select2-selection--multiple {
    border-color: #dfe2e7; border-radius: 9px; background: #fff; color: var(--xenios-ink);
}
.xenios-app .select2-container--default.select2-container--focus .select2-selection,
.xenios-app .select2-container--default.select2-container--open .select2-selection {
    border-color: var(--xenios-accent); box-shadow: var(--xenios-focus);
}
.xenios-app .select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: var(--xenios-accent); }
.xenios-app.db-error-page, .xenios-app.maintenance-page { background: var(--xenios-canvas); }
.xenios-app .db-error-card, .xenios-app .maintenance-card { border: 1px solid var(--xenios-border); border-radius: var(--xenios-radius); box-shadow: var(--xenios-shadow); }
.xenios-app .db-error-header { background: var(--xenios-heading); border-bottom-color: var(--xenios-border); }
.xenios-app .maintenance-gear { color: var(--xenios-accent); }
.xenios-app .maintenance-logo { width: 64px; height: 64px; object-fit: contain; }

/* Nombre de marca: misma tipografia y peso que www.xenios.com.ar. */
.login-wordmark > span,
.login-brand-logo > span,
.xenios-app .brand-link .brand-text,
.xenios-app .tit-home h1 > small.xenios-app,
.xenios-app .user-header p > small:first-of-type {
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 800;
    font-optical-sizing: auto;
    letter-spacing: -.03em;
}

.home-title-xenios{
    font-size: 50px !important;
}

.home-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: var(--login-accent);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

/* Contraste de iconos en acciones de administracion de usuarios. */
.xenios-app .btn[refAction^="/AdmUsuarios/"] > i {
    color: #fff;
}



