:root {
    --c-grey-100: #f4f6f8;
    --c-grey-200: #e3e3e3;
    --c-grey-300: #b2b2b2;
    --c-grey-400: #7b7b7b;
    --c-grey-500: #3d3d3d;

    --c-blue-500: #688afd;
}

body {
    font-size: 0.76rem !important;
}

/* === ESCRITORIO: comportamiento con transición + fade + colapso === */
@media (min-width: 992px) {
    #sidenav-main {
        transition: all 0.2s ease;
    }

    #sidenav-main.sidebar-expanded {
        width: 250px;
    }

    #sidenav-main.sidebar-collapsed {
        width: 80px;
    }

    #sidenav-main.sidebar-collapsed .menu-label {
        display: none !important;
        /* 🔥 fuerza que se oculte completamente */
    }

    #sidenav-main.sidebar-expanded .menu-label {
        display: inline-block;
        opacity: 1;
        visibility: visible;
        transition: opacity 0.1s ease;
    }

    /* Logo fade in/out solo en escritorio */
    #sidenav-main.sidebar-collapsed .sidebar-logo {
        opacity: 0;
        visibility: hidden;
        height: 0;
        overflow: hidden;
        transition: all 0.1s ease;
    }

    #sidenav-main.sidebar-expanded .sidebar-logo {
        opacity: 1;
        visibility: visible;
        height: auto;
        transition: all 0.1s ease;
    }

    .main-content {
        transition: margin-left 0.2s ease;
        margin-left: 250px;
    }

    #sidenav-main.sidebar-collapsed~.main-content {
        margin-left: 80px !important;
    }
}

/* === MÓVILES Y TABLETS: sin colapso, sin fade, sin margen === */
@media (max-width: 991.98px) {
    #sidenav-main {
        width: 100% !important;
        transition: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        transition: none !important;
    }

    #sidenav-main .menu-label,
    #sidenav-main .sidebar-logo {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
        height: auto !important;
        transition: none !important;
    }
}

#signature, #signature canvas {
    touch-action: none;      /* clave: evita scroll/pan/zoom en esa zona */
    -ms-touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

#signature { cursor: crosshair; }

.template-separator-bar {
    width: 100%;
    background: #2d6cdf;
    /* azul */
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.template-separator-text {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .2px;
    text-transform: uppercase;
    line-height: 1;
}

.template-subtitle {
    font-size: 13px;
    color: #111;
}

.table-header-sticky th {
    position: sticky;
    top: 0;
    background-color: white;
    /* o el color de tu tema */
    z-index: 10;
    border-bottom: 2px solid #dee2e6;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
}

.text-bold {
    font-weight: bold !important;
}

.text-decoration-line-through {
    text-decoration: line-through;
}

/* Contenedor con scroll para todas las variantes */
.div-m1-table-movimientos,
.div-m2-table-movimientos,
.div-m3-table-movimientos,
.div-m4-table-movimientos {
    max-height: 500px;
    overflow-y: auto;
}

/* Tipografía compacta en celdas, selects, inputs y fechas */
.table.m1-table-movimientos td,
.table.m1-table-movimientos th,
.table.m2-table-movimientos td,
.table.m2-table-movimientos th,
.table.m3-table-movimientos td,
.table.m3-table-movimientos th,
.table.m4-table-movimientos td,
.table.m4-table-movimientos th,
.table.m1-table-movimientos td select,
.table.m2-table-movimientos td select,
.table.m3-table-movimientos td select,
.table.m4-table-movimientos td select,
.table.m1-table-movimientos td input[type="date"],
.table.m2-table-movimientos td input[type="date"],
.table.m3-table-movimientos td input[type="date"],
.table.m4-table-movimientos td input[type="date"],
.table.m1-table-movimientos td .m1-item-code,
.table.m2-table-movimientos td .m2-item-code,
.table.m3-table-movimientos td .m3-item-code,
.table.m4-table-movimientos td .m4-item-code,
.table.m1-table-movimientos td .m1-consecutive,
.table.m2-table-movimientos td .m2-consecutive,
.table.m3-table-movimientos td .m3-consecutive,
.table.m4-table-movimientos td .m4-consecutive,
.table.m1-table-movimientos td .m1-tare-weight,
.table.m2-table-movimientos td .m2-tare-weight,
.table.m3-table-movimientos td .m3-tare-weight,
.table.m4-table-movimientos td .m4-tare-weight,
.table.m1-table-movimientos td .m1-pallet-weight,
.table.m2-table-movimientos td .m2-pallet-weight,
.table.m3-table-movimientos td .m3-pallet-weight,
.table.m4-table-movimientos td .m4-pallet-weight,
.table.m1-table-movimientos td .m1-gross-weight,
.table.m2-table-movimientos td .m2-gross-weight,
.table.m3-table-movimientos td .m3-gross-weight,
.table.m4-table-movimientos td .m4-gross-weight,
.table.m1-table-movimientos td .m1-net-weight,
.table.m2-table-movimientos td .m2-net-weight,
.table.m3-table-movimientos td .m3-net-weight,
.table.m4-table-movimientos td .m4-net-weight,
.table.m1-table-movimientos td .m1-batch-number,
.table.m2-table-movimientos td .m2-batch-number,
.table.m3-table-movimientos td .m3-batch-number,
.table.m4-table-movimientos td .m4-batch-number,
.table.m1-table-movimientos td .m1-temperature,
.table.m2-table-movimientos td .m2-temperature,
.table.m3-table-movimientos td .m3-temperature,
.table.m4-table-movimientos td .m4-temperature,
.table.m1-table-movimientos td .m1-document-number,
.table.m2-table-movimientos td .m2-document-number,
.table.m3-table-movimientos td .m3-document-number,
.table.m4-table-movimientos td .m4-document-number,
.table.m1-table-movimientos td .m1-packing-type,
.table.m2-table-movimientos td .m2-packing-type,
.table.m3-table-movimientos td .m3-packing-type,
.table.m4-table-movimientos td .m4-packing-type,
.table.m1-table-movimientos td .m1-warehouse-name,
.table.m2-table-movimientos td .m2-warehouse-name,
.table.m3-table-movimientos td .m3-warehouse-name,
.table.m4-table-movimientos td .m4-warehouse-name,
.table.mt-table-movimientos td,
.table.mt-table-movimientos th,
.table.mt-table-movimientos td .mt-document-number,
.table.mt-table-movimientos td .mt-item-code-out {
    font-size: 0.65rem !important;
}

.legend-more {
    font-size: .65rem !important;
}

.m1-entry-rows-wrapper {
    position: relative;
}

/* Overlay que bloquea todo */
.m1-entry-rows-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.18);
    /* gris transparente */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    /* bloquea clicks hacia abajo */
}

/* Tarjetica simple (bootstrap se encarga del look) */
.m1-entry-rows-overlay-card {
    background: #fff;
    padding: 18px;
    border-radius: 8px;
    width: 420px;
    max-width: 92%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Un poquito opaco el contenido debajo (visual) */
.m1-entry-rows-wrapper.is-locked #m1-entry-rows-content {
    opacity: 0.65;
    filter: grayscale(10%);
}

/* Altura de inputs de unidades */
.m1-units-input,
.m2-units-input,
.m3-units-input,
.m4-units-input {
    height: calc(1.3rem + 2px) !important;
}

/* Utilidad genérica */
.max-width-100-margin-top-10px-display-none {
    max-width: 100%;
    margin-top: 10px;
    display: none;
}

/* Anchos de campos específicos (gross-weight e item-code) */
.m1-gross-weight-out,
.m2-gross-weight-out,
.m3-gross-weight-out,
.m4-gross-weight-out {
    width: 80px !important;
}

.m1-gross-weight,
.m2-gross-weight,
.m3-gross-weight,
.m4-gross-weight {
    width: 70px !important;
}

.m1-item-code-out,
.m2-item-code-out,
.m3-item-code-out,
.m4-item-code-out {
    width: 200px !important;
}

/* Padding inputs en tablas */
.table.m1-table-movimientos input.form-control,
.table.m2-table-movimientos input.form-control,
.table.m3-table-movimientos input.form-control,
.table.m4-table-movimientos input.form-control {
    padding: .1rem .15rem;
}

.max-width-100-margin-top-10px-display-none {
    max-width: 100%;
    margin-top: 10px;
    display: none;
}

.table-bordered-black {
    border: 1px solid #737373;
}

.adjust-to-row-title {
    width: 1%;
    white-space: nowrap;
}

.banner-movement {
    background-color: #007bff;
    color: white;
    border: 2px solid #0056b3;
    border-radius: 8px;
}

.signature {
    display: none !important;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

.display-flex-align-items-center {
    display: flex;
    align-items: center;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.align-items-center {
    align-items: center !important;
}

.width-20px {
    width: 20px !important;
}

.height-600px {
    height: 600px !important;
}

.checkbox-group-invalid input[type="checkbox"] {
    outline: 1px solid red;
    border-radius: 10px;
}

.checkbox-group-invalid label {
    color: red;
}

.blue-background-1 {
    background-color: rgba(189, 216, 255, 0.5) !important;
}

.movement-in-success,
.green-background-1 {
    background-color: rgba(147, 231, 195, .5) !important;
}

.movement-out-danger,
.red-background-1 {
    background-color: rgba(251, 175, 189, .5) !important;
}

.form-control-td-sm {
    height: 25px !important;
}

.table-movimientos>tbody>tr>td>input {
    font-size: .7rem !important;
}

.modal-xl {
    max-width: 80%;
}

.btn-outline-primary.selected {
    background-color: #007bff;
    /* Color de fondo */
    color: white;
    /* Color del texto */
    border-color: #007bff;
    /* Color del borde */
}

.btn-outline-secondary-warning {
    color: #adadad;
    border-color: #adadad;
    background-color: transparent;
    background-image: none;
}

.btn-outline-secondary-warning:hover {
    color: #fff;
    border-color: #fb6340;
    background-color: #fb6340;
}

.btn-outline-secondary-warning:focus,
.btn-outline-secondary-warning.focus {
    box-shadow: 0 0 0 0 rgba(94, 114, 228, .5);
}

.btn-outline-secondary-warning.disabled,
.btn-outline-secondary-warning:disabled {
    color: #fb6340;
    background-color: transparent;
}

.btn-outline-secondary-warning:not(:disabled):not(.disabled):active,
.btn-outline-secondary-warning:not(:disabled):not(.disabled).active,
.show>.btn-outline-secondary-warning.dropdown-toggle {
    color: #fff;
    border-color: #fb6340;
    background-color: #fb6340;
}

.btn-outline-secondary-warning:not(:disabled):not(.disabled):active:focus,
.btn-outline-secondary-warning:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-secondary-warning.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 rgba(94, 114, 228, .5);
}

.btn-outline-secondary-success {
    color: #adadad;
    border-color: #adadad;
    background-color: transparent;
    background-image: none;
}

.btn-outline-secondary-success:hover {
    color: #fff;
    border-color: #2dce89;
    background-color: #2dce89;
}

.btn-outline-secondary-success:focus,
.btn-outline-secondary-success.focus {
    box-shadow: 0 0 0 0 rgba(94, 114, 228, .5);
}

.btn-outline-secondary-success.disabled,
.btn-outline-secondary-success:disabled {
    color: #2dce89;
    background-color: transparent;
}

.btn-outline-secondary-success:not(:disabled):not(.disabled):active,
.btn-outline-secondary-success:not(:disabled):not(.disabled).active,
.show>.btn-outline-secondary-success.dropdown-toggle {
    color: #fff;
    border-color: #2dce89;
    background-color: #2dce89;
}

.btn-outline-secondary-success:not(:disabled):not(.disabled):active:focus,
.btn-outline-secondary-success:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-secondary-success.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 rgba(94, 114, 228, .5);
}

/* Columna de timeline debajo de "Descripción" */
.desc-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    /* separación pareja entre nodos */
    overflow: hidden;
    /* evita que la línea baje a la siguiente fila */
    padding-bottom: 6px;
    /* un respiro para que no toque el borde inferior */
}

/* botón circular */
.desc-timeline .dot-btn {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    padding: 0.45rem;
}

/* línea entre botones con altura fija */
.desc-timeline .connector {
    width: 2px;
    height: 28px;
    /* ajusta si quieres más/menos separación vertical */
    background-color: #ccc;
}

/* fecha centrada bajo el botón */
.desc-timeline .ts {
    margin-top: 4px;
    font-size: 11px;
    color: #6c757d;
    line-height: 1;
    text-align: center;
}

trix-editor {
    background-color: white;
    min-height: 200px !important;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.5rem;
    line-height: 1.5;
}

trix-editor:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.trix-content img,
.rendered-ticket-description img {
    max-height: 120px;
    /* tamaño pequeño en vista */
    max-width: 220px;
    /* opcional */
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.trix-content img:hover,
.rendered-ticket-description img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Estilos para imagen dentro del editor Trix */
trix-editor .attachment__preview img,
trix-editor .attachment img {
    max-height: 120px !important;
    max-width: 220px !important;
    object-fit: contain;
    cursor: pointer;
    display: inline-block !important;
}

/* 🔧 Esta parte es la clave: alinear figure a la izquierda */
trix-editor figure {
    display: block !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

.card-title-dashboard {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
}

.card-title-dashboard-2 {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

.card-body-dashboard {
    padding-bottom: 12px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 12px !important;
}

.card-stats {
    background-color: #f8f9fe !important;
    border: none !important;
}

.card-stats-over-due {
    background-color: #fff0f0 !important;
    border: none !important;
}

.card-stats-suspended {
    background-color: #fff4ec !important;
    border: none !important;
}


.badge-warning-2 {
    color: #7c7c7c;
    background-color: #ffd0ae;
}

.card-overlay-danger,
.card-overlay-success {
    position: relative;
}

.card-overlay-danger .card-body,
.card-overlay-success .card-body {
    position: relative;
    z-index: 2;
}

.card-overlay-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.015);
    /* Overlay rojo transparente */
    z-index: 1;
    border-radius: 0.25rem;
    /* Asegura que el overlay siga el borde de la tarjeta */
}

.card-overlay-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(154, 64%, 49%, 0.1);
    /* Overlay rojo transparente */
    z-index: 1;
    border-radius: 0.25rem;
    /* Asegura que el overlay siga el borde de la tarjeta */
}

.card-stats-dist-by-warehouse {
    flex: 1 1 calc(20% - 1rem);
    /* Ajusta el tamaño y el espacio entre las tarjetas */
    margin: 0.5rem;
    /* Margen entre las tarjetas */
}

@media (max-width: 576px) {
    .card-stats-dist-by-warehouse {
        flex: 1 1 100%;
        /* En móviles, las tarjetas ocuparán el 100% del ancho */
    }
}


/* Para el planeador */
#planner-weekHost {
    overflow: auto;
    max-height: 70vh;
}

/* Mantén sticky para col 1 y 2 como lo tenías */
:root {
    --col1w: 260px;
    --col2w: 120px;
}

.planner-grid {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

/* 👈 fixed */
.planner-grid th,
.planner-grid td {
    padding: 10px 12px;
    border-bottom: 1px solid #E5E7EB;
    vertical-align: middle;
    background: #fff;
    white-space: nowrap;
}

/* Header sticky arriba */
.planner-grid thead th {
    position: sticky;
    top: 0;
    z-index: 7;
    background: #F8FAFC;
}

/* Col 1 y 2 sticky a la izquierda */
.planner-grid .col-zone {
    position: sticky;
    left: 0;
    z-index: 6;
    width: var(--col1w);
    min-width: var(--col1w);
    max-width: var(--col1w);
    box-shadow: 1px 0 0 rgba(0, 0, 0, .06);
    background: #fafafa;
}

.planner-grid .col-det {
    position: sticky;
    left: var(--col1w);
    z-index: 6;
    width: var(--col2w);
    min-width: var(--col2w);
    max-width: var(--col2w);
    box-shadow: 1px 0 0 rgba(0, 0, 0, .06);
    background: #fafafa;
}

/* === Columnas de días: ANCHO FIJO REAL === */
/* Fija los encabezados de Zona y Detalle */
.planner-grid thead th.col-zone {
    position: sticky;
    left: 0;
    z-index: 8;
    /* mayor que las celdas */
}

.planner-grid thead th.col-det {
    position: sticky;
    left: var(--col1w);
    z-index: 8;
}

/* Header de día en dos líneas (evita letras apiladas) */
.day-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
}

.day-head-line1 {
    font-weight: 700;
    font-size: 12px;
    color: #111827;
}

.day-head-line2 {
    font-size: 11px;
    color: #94A3B8;
    font-weight: 600;
}

/* Altura de fila para que respiren las píldoras */
.planner-grid td {
    height: 44px;
}

/* Píldoras */
.planner-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    background: #16a34a;
    color: #fff;
}

/* Centrar contenido de las celdas de días */
.planner-cell {
    text-align: center;
    /* 👈 centra las píldoras y los guiones */
}

/* Colores por nivel usando el data-level que ya pones en <tr> */
tr[data-level="0"] .planner-pill {
    background: #16a34a;
    color: #fff;
}

/* Área: verde  */
tr[data-level="1"] .planner-pill {
    background: #2563eb;
    color: #fff;
}

/* Cenco: azul  */
tr[data-level="2"] .planner-pill {
    background: #8b5cf6;
    color: #fff;
}

/* Cenpo: morado */

/* Mantén un color base suave por si alguna fila no trae data-level */
.planner-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    background: #16a34a;
    color: #fff;
    /* será sobrescrito por las reglas de arriba */
}

.planner-small {
    font-size: 10px;
}

/* Para el planeador */

/* contenedor con scroll horizontal */
#chartAcumWrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    max-height: 300px;
    /* alto total */
}

/* El canvas tomará un ancho calculado por JS */
#chartAcumulado90 {
    display: block;
    height: 260px;
    /* alto del grafico */
    max-height: 260px;
    /* No fijes width aquí: lo setea JS dinámico */
}

#chartEstadoGlobal,
#chartEstadoReady {
    max-height: 180px;
    /* o el valor que necesites */
}

/* Ajustar altura de las donas */
.chart-container-items.compact-donut {
    height: 140px;
    /* prueba 120–150 según gusto */
}

.chart-container {
    display: flex;
    flex-wrap: wrap;
}

.chart-container-items {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    /* que ocupe todo el ancho disponible */
    height: 300px;
    /* ajusta el alto que quieras */
    position: relative;
    /* necesario para Chart.js */
}

.chart-container-items canvas {
    width: 100% !important;
    /* fuerza a ocupar todo el ancho */
    height: 100% !important;
    /* fuerza a ocupar todo el alto */
}

.table-xs th,
.table-xs td {
    padding: .4rem !important;
}

.table-xs-2 th,
.table-xs-2 td {
    padding: .3rem !important;
}

.table-xs-3 th,
.table-xs-3 td {
    padding: .2rem !important;
}

.vertical-align-bottom {
    vertical-align: bottom !important;
}

.rounded-img {
    border-radius: 7px;
}

.border-application-squared {
    border: 1px solid #cad1d7 !important;
    padding: 5px;
}

.dtsp-panesContainer {
    display: none;
}

.dtsp-nameButton {
    display: none !important;
}

/* Estilo mensajes de whatsapp para los comentarios en los tickets */
.message {
    position: relative;
    max-width: 70%;
    margin: 10px;
    padding: 10px 15px;
    border-radius: 15px;
    clear: both;
}

.outgoing {
    float: right;
    background-color: #fff;
    /* Color de fondo para los mensajes salientes */
}

.incoming {
    float: left;
    background-color: #fff;
    /* Color de fondo para los mensajes entrantes */
}

.message::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.outgoing::before {
    right: -10px;
    top: 50%;
    margin-top: -5px;
    border-width: 10px 0 0 10px;
    border-color: transparent transparent transparent #fff;
    /* Color de la flecha para los mensajes salientes */
}

.incoming::before {
    left: -10px;
    top: 50%;
    margin-top: -5px;
    border-width: 10px 10px 0 0;
    border-color: transparent #fff transparent transparent;
    /* Color de la flecha para los mensajes entrantes */
}

/* Estilo mensajes de whatsapp para los comentarios en los tickets */

/* Estilo timeline para historial en los tickets */
.ticket-history-timeline {
    margin-left: 2%;
    display: flex;
    flex-direction: column;
    padding: 32px 0 32px 35px;
    border-left: 2px solid var(--c-grey-200);
    font-size: 1.125rem;
}

.ticket-history-timeline-item {
    display: flex;
    gap: 24px;
    align-items: center;

    /* This will vertically align the flex children */
    &+* {
        margin-top: 24px;
    }

    &+.extra-space {
        margin-top: 48px;
    }
}

.ticket-history-timeline-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-left: -52px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 0 0 4px #fff;

    svg {
        width: 20px;
        height: 20px;
    }

    &.faded-icon {
        background-color: var(--c-grey-100);
        color: var(--c-grey-400);
    }

    &.filled-icon {
        background-color: var(--c-blue-500);
        color: #fff;
    }
}

.ticket-history-timeline-item-description {
    display: flex;
    gap: 8px;

    img {
        flex-shrink: 0;
    }

    a {
        font-weight: 500;
        text-decoration: none;

        &:hover,
        &:focus {
            outline: 0;
            color: var(--c-blue-500);
        }
    }
}

.ticket-history {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    width: 40px;
    height: 40px;

    &.small-ticket-history {
        width: 28px;
        height: 28px;
    }

    img {
        object-fit: cover;
    }
}

.avatar-list {
    display: flex;
    align-items: center;

    &>* {
        position: relative;
        box-shadow: 0 0 0 2px #fff;
        margin-right: -8px;
    }
}

/* Estilo timeline para historial en los tickets */

.badge-square {
    border-radius: 0 !important;
}

.fc .fc-button-primary {
    background-color: #0063f7bd !important;
    border-color: #0063f7bd !important;
}

.fc .fc-button-primary:hover {
    background-color: #0063f7 !important;
    border-color: #0063f7 !important;
}

.text-xs-2 {
    font-size: .68rem !important;
}

.purified-text,
.purified-text>p {
    font-size: 0.76rem !important;
}

.kbw-signature {
    width: 100%;
    height: 200px;
}

#sig canvas {
    width: 100% !important;
    height: auto;
}

.border-application {
    border: 1px solid #cad1d7 !important;
    border-radius: 0.375rem !important;
}

.kbw-signature {
    display: inline-block;
    border: 1px solid #a0a0a0;
    -ms-touch-action: none;
}

.kbw-signature-disabled {
    opacity: 0.35;
}

.word-wrap-no-spaces {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: wrap;
}

.new-blue-title {
    color: #2575fc;
}

.btn-float-ticket {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 30px;
    right: 30px;
    background-color: #2575fccc;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    z-index: 1;
}

.breadcrumb-item.active {
    color: #2575fc;
}

.breadcrumb-item {
    color: #545454;
}

.btn-float-ticket:hover {
    background-color: #2575fc;
    color: #FFF;
}

.my-btn-float-ticket {
    margin-top: 15px;
}

.table-wrapped td {
    white-space: normal !important;
}

.breadcrumb-background,
.breadcrumb-background>li,
.breadcrumb-background>li>a {
    border-radius: 0.375rem !important;
    background-color: #f7fafc;
    border: #545454 !important;
    color: #545454 !important;
}

.icon-items-cards-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.icon-items-cards-badge-blue {
    background-color: #DBEAFE;
    /* azul claro */
    color: #2563EB;
    /* azul icono */
}

.icon-items-cards-badge-green {
    background-color: #e5fedb;
    /* azul claro */
    color: #13af05;
    /* azul icono */
}

.icon-items-cards-badge-red {
    background-color: #fedbdb;
    /* azul claro */
    color: #eb2525;
    /* azul icono */
}

.banner-img-certificate {
    width: auto;
    max-width: 220px;
    max-height: 60px;
}

.banner-img-int img {
    width: 100%;
    max-height: 150px;
}

.banner-img-ext img {
    width: 100%;
    max-height: 100vh;
}

.form-control-for-type-of-tickets {
    width: auto !important;
}

.btn-outline-secondary-primary {
    color: #545454;
    border-color: #545454;
    background-color: transparent;
    background-image: none;
}

.btn-outline-secondary-primary:hover {
    color: #fff;
    border-color: #2575FC;
    background-color: #2575FC;
}

.btn-outline-secondary-primary:focus,
.btn-outline-secondary-primary.focus {
    box-shadow: 0 0 0 0 rgba(94, 114, 228, .5);
}

.btn-outline-secondary-primary.disabled,
.btn-outline-secondary-primary:disabled {
    color: #2575FC;
    background-color: transparent;
}

.btn-outline-secondary-primary:not(:disabled):not(.disabled):active,
.btn-outline-secondary-primary:not(:disabled):not(.disabled).active,
.show>.btn-outline-secondary-primary.dropdown-toggle {
    color: #fff;
    border-color: #2575FC;
    background-color: #2575FC;
}

.btn-outline-secondary-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-secondary-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-secondary-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 rgba(94, 114, 228, .5);
}

.navbar-vertical .navbar-nav .nav-link {
    font-size: .80rem !important;
}

/* Create two equal columns that floats next to each other */
.two_column_column {
    float: left;
    width: 50%;
    padding: 7px;
}

/* Create three equal columns that floats next to each other */
.three_column_column {
    float: left;
    width: 33.33%;
    padding: 10px;
}

/* Create three equal columns that floats next to each other */
.four_column_column {
    float: left;
    width: 25%;
    padding: 10px;
}

/* Create five equal columns that floats next to each other */
.five_column_column {
    float: left;
    width: 20%;
    padding: 10px;
}

/* Clear floats after the columns */
.two_column_row:after {
    content: "";
    display: table;
    clear: both;
}

.checkbox-intereses {
    display: none;
}

.checkbox-intereses:active+label {
    color: white;
    background: #2575FC !important;
}

.checkbox-intereses:checked+label {
    color: white;
    background: #2575FC !important;
}

.bg-login-image {
    background-image: url("/images/base/background_inicio_sesion.png");
    background-size: cover;
    background-position: center top;
}

h3,
.h3 {
    font-size: 0.95rem !important;
}

.table-sm-2 th,
.table-sm-2 td {
    padding: .45rem;
}

.table thead th {
    font-size: .65rem !important;
}

.table td,
.table th {
    font-size: .7rem !important;
}

.footer .copyright {
    font-size: .7rem !important;
}

.copyright2 {
    font-size: .7rem !important;
}

.toggle-columns {
    font-size: .65rem !important;
    margin: 0.2rem 0.1rem;
}

.border-color-invalid {
    border: 1px solid #FE4A49 !important;
}

/* si usas el theme bootstrap4 de select2 */
.select2-container--bootstrap4 .select2-selection.border-color-invalid {
    border-color: #FE4A49 !important;
}

.text-muted-2 {
    color: #3a3a3a !important;
}





.icon-lg {
    width: 64px;
    height: 64px;
}

.icon-shape {
    width: 48px;
    height: 48px;
    background-position: center;
    border-radius: 0.5rem;
}

.mt-n4 {
    margin-top: -1.5rem !important;
}

.position-absolute {
    position: absolute !important;
}

.text-end {
    text-align: right !important;
}

hr.horizontal.dark {
    background-color: #7b809a33;
}

hr:not([size]) {
    height: 1px;
}





.btn {
    font-size: .75rem;
}

.bg-ticket-nuevo {
    background-color: #F0C808;
}

.bg-ticket-asignado {
    background-color: #0e9a5e;
}

.bg-yellow-1 {
    background-color: #ffe17280;
}

.bg-orange-1 {
    background-color: #FE4A49;
}

.bg-green-1 {
    background-color: #95C623;
}

.bg-blue-1 {
    background-color: #4DA1A9;
}

.avatar {
    background-color: white;
}

.table-p-2>td,
th {
    padding-bottom: 0.6rem;
    padding-top: 0.6rem;
}

.table-p-2>thead>td,
.table-p-2>tbody>tr>td {
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    vertical-align: middle !important;
}

.table-p-2>td {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.table-p-2>tfoot>tr>th {
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;

    vertical-align: middle !important;
}

.width-auto {
    width: auto !important;
}

div.dataTables_wrapper div.dataTables_processing {
    top: 0;
}

.dataTables_wrapper {
    vertical-align: middle !important;
}

.tooltip_password {
    cursor: pointer;
}

.tooltip .bs-tooltip-right .tooltip-arrow::before {
    border-right-color: #2f4fff !important;
}

.tooltip .bs-tooltip-left .tooltip-arrow::before {
    border-left-color: #2f4fff !important;
}

.tooltip .bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #2f4fff !important;
}

.tooltip .bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #2f4fff !important;
}

.left-col {
    float: left;
    width: 50%;
}

.right-col {
    float: right;
    width: 25%;
}

.btn-outline-excel {
    color: #1D6F42;
    border-color: #1D6F42;
    background-color: transparent;
    background-image: none;
}

.btn-outline-excel:hover {
    color: #fff !important;
    border-color: #1D6F42 !important;
    background-color: #1D6F42 !important;
}

.btn-outline-excel:focus,
.btn-outline-excel.focus {
    box-shadow: 0 0 0 0 rgba(45, 206, 137, .5) !important;
}

.btn-outline-excel.disabled,
.btn-outline-excel:disabled {
    color: #1D6F42 !important;
    background-color: transparent !important;
}

.btn-outline-excel:not(:disabled):not(.disabled):active,
.btn-outline-excel:not(:disabled):not(.disabled).active,
.show>.btn-outline-excel.dropdown-toggle {
    color: #fff !important;
    border-color: #1D6F42 !important;
    background-color: #1D6F42 !important;
}

.btn-outline-excel:not(:disabled):not(.disabled):active:focus,
.btn-outline-excel:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-excel.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 rgba(45, 206, 137, .5) !important;
}

.card-body-p-2 {
    padding-top: 0.8rem !important;
    padding-right: 0.8rem !important;
    padding-bottom: 0.8rem !important;
    padding-left: 0.8rem !important;
}

.form-control-login {
    background: transparent;
    border: none;
    height: 50px;
    font-size: 1.1em;
    width: 100%;
    border: 1px solid transparent;
    background: rgba(96, 96, 96, 0.05);
    border-radius: 6px;
    padding-left: 20px;
    padding-right: 20px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
    .form-control-login {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

.form-control-login::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: rgba(96, 96, 96, 0.8) !important;
}

.form-control-login::-moz-placeholder {
    /* Firefox 19+ */
    color: rgba(96, 96, 96, 0.8) !important;
}

.form-control-login:-ms-input-placeholder {
    /* IE 10+ */
    color: rgba(96, 96, 96, 0.8) !important;
}

.form-control-login:-moz-placeholder {
    /* Firefox 18- */
    color: rgba(96, 96, 96, 0.8) !important;
}

.form-control-login:hover,
.form-control-login:focus {
    background: transparent;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.form-control-login:focus {
    border-color: rgba(255, 255, 255, 0.4);
}

textarea.form-control-login {
    height: inherit !important;
}

.form-group {
    position: relative;
}

.field-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #545454;
}

.btn-primary-login {
    color: #fff;
    background-color: #2575FC;
    border-color: #2575FC;
}

.btn-primary-login:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-primary-login:focus,
.btn-primary-login.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-primary-login.disabled,
.btn-primary-login:disabled {
    color: #fff;
    background-color: #2575FC;
    border-color: #2575FC;
}

.btn-primary-login:not(:disabled):not(.disabled):active,
.btn-primary-login:not(:disabled):not(.disabled).active,
.show>.btn-primary-login.dropdown-toggle {
    color: #fff;
    background-color: #0062cc;
    border-color: #005cbf;
}

.btn-primary-login:not(:disabled):not(.disabled):active:focus,
.btn-primary-login:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary-login.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.login,
.image {
    min-height: 100vh;
}

.bg-image {
    background-size: cover;
    background-position: center center;
}

.full-page {
    min-height: 100%;
    height: 100%;
}

.slide-header {
    position: absolute;
    top: 7vh;
    width: 100%;
    text-align: center;
}

.slide-footer {
    position: absolute;
    top: 95vh;
    width: 100%;
    text-align: left;
}

.texto-azul {
    color: #007bff;
    font-size: 1rem;
}

.alert-warning-2 {
    color: #fff;
    border-color: #fb6340c9;
    background-color: #fb6340c9;
}

.alert-warning-2:hover {
    color: #fff;
    border-color: #fb6340;
    background-color: #fb6340;
}

.alert-warning-3 {
    color: #545454;
    border-color: #fff494;
    background-color: #fff494;
}

.alert-warning-3 hr {
    border-top-color: #1fd0f0;
}

.alert-warning-3 .alert-link {
    color: #0da5c0;
}

.alert-success-3 {
    color: #545454;
    border-color: #e0f7f4;
    background-color: #e0f7f4;
}

.alert-success-3 hr {
    border-top-color: #1fd0f0;
}

.alert-success-3 .alert-link {
    color: #0da5c0;
}

.alert-info2 {
    color: #fff;
    border-color: #3398ded9;
    background-color: #3398ded9;
}

.alert-info2 hr {
    border-top-color: #1fd0f0;
}

.alert-info2 .alert-link {
    color: #0da5c0;
}

.btn-xs,
.btn-group-xs>.btn {
    font-size: .675rem;
    line-height: 1.2;

    padding: .2rem .3rem;

    border-radius: .375rem;

    margin-right: 0.2rem !important;
}

.btn-xs+.dropdown-toggle-split,
.btn-group-xs>.btn+.dropdown-toggle-split {
    padding-right: .2rem;
    padding-left: .2rem;
}

.btn-xs,
.btn-group-xs>.btn {
    font-size: .65rem;
}

.btn-icon-only.btn-xs,
.btn-group-xs>.btn-icon-only.btn {
    width: 2rem;
    height: 2rem;
}

.highcharts-background {
    fill: #f7fafc !important;
}

.highcharts-data-label text,
.highcharts-axis-labels {
    color: #545454 !important;
    fill: #545454 !important;
    font-size: 0.7em !important;
}

.highcharts-grid-line {
    stroke: #e7e7e7 !important;
}

.highcharts-data-label text,
text.highcharts-data-label {
    font-weight: normal !important;
}

.highcharts-contextbutton {
    fill: white !important;
    border-radius: .375rem !important;
}

.highcharts-button-symbol {
    stroke: #2575FC !important;
}

.highcharts-button-box {
    stroke: #2575FC !important;
    rx: .375rem !important;
    ry: .375rem !important;
}

.highcharts-menu {
    background: white !important;
}

.highcharts-menu-item {
    color: #545454 !important;
}

.highcharts-menu-item:hover {
    background: #2575FC !important;
    color: white !important;
}

.highcharts-contextbutton:hover,
.highcharts-contextbutton:hover>.highcharts-button-symbol {
    stroke: white !important;
    fill: #2575FC !important;
}

.highcharts-credits {
    fill: #f7fafc !important;
}

.no-border {
    border: none !important;
}

.table-break-word td {
    word-wrap: break-word !important;
    white-space: pre-wrap !important;
    word-break: break-all !important;
    background-color: #005cbf !important;
}

.font-size-7px {
    font-size: 7px !important;
}

.font-size-8px {
    font-size: 8px !important;
}

.font-size-9px {
    font-size: 9px !important;
}

.font-size-10px {
    font-size: 10px !important;
}

.font-size-11px {
    font-size: 11px !important;
}

.font-size-12px {
    font-size: 12px !important;
}

.font-size-13px {
    font-size: 13px !important;
}

.font-size-14px {
    font-size: 14px !important;
}

.font-size-15px {
    font-size: 15px !important;
}

.font-size-16px {
    font-size: 16px !important;
}

.font-size-17px {
    font-size: 17px !important;
}

.font-size-18px {
    font-size: 18px !important;
}

.font-size-19px {
    font-size: 19px !important;
}

.font-size-20px {
    font-size: 20px !important;
}

.font-size-25px {
    font-size: 25px !important;
}

.display-none {
    display: none;
}

.display-none-2 {
    display: none !important;
}

.display-block {
    display: block;
}

.display-inline {
    display: inline;
}

.mt-mb-16px {
    margin-top: 16px;
    margin-bottom: 16px;
}

.height-100vh {
    height: 100vh;
}

.width-100wh {
    width: 100vw;
}

.height-100 {
    height: 100%;
}

.width-100 {
    width: 100%;
}

.width-80 {
    width: 80%;
}

.controlatic-color {
    color: #2575FC;
}

.text-controlatic-color {
    color: #545454 !important;
}

.text-divider {
    margin: 2em 0;
    line-height: 0;
    text-align: center;
}

.text-divider span {
    background-color: #f8f9fe;
    padding-left: 1em;
    padding-right: 1em;
}

.text-divider:before {
    content: " ";
    display: block;
    border-top: 1px solid #cad1d7;
    border-bottom: 1px solid #f7f7f7;
}

.img-fondo-controlatic {
    background-size: cover;
    background-position: center top;
}

.img-fondo-controlatic2 {
    background-image: url("/images/base/background_inicio_sesion.png");
    background-size: cover;
    background-position: center top;
}

.opcion-encuesta {
    font-size: 25px;
    vertical-align: middle;
}

.pt-15-vh {
    padding-top: 15vh;
}

@media (max-width: 576px) {

    .navbar-vertical .navbar-brand-img,
    .navbar-vertical .navbar-brand>img {
        max-width: 60vw;
    }
}

.it_asset_image_div {
    border: 1px solid #cad1d7;
    border-radius: 0.375rem;
}

.it_asset_image {
    max-height: 100%;
    max-width: 100%;
}

.thumbnail-img-2 {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 50px;
    transition: transform 0.2s;
}

.thumbnail-img-2:hover {
    transform: scale(1.1);
}

.miniature-image {
    width: 100px;
    /* Ajusta el tamaño según necesites */
    height: 100px;
    /* Mantén un tamaño cuadrado o ajusta según proporción */
    object-fit: cover;
    /* Evita deformaciones manteniendo el recorte */
    border-radius: 5px;
    /* Bordes redondeados opcionales */
}

.partition_usage_div {
    height: 15px;
    width: 100%;
    background-color: #bfbfbf;
}

.partition_usage_width_1 {
    width: 1%;
}

.partition_usage_width_2 {
    width: 2%;
}

.partition_usage_width_3 {
    width: 3%;
}

.partition_usage_width_4 {
    width: 4%;
}

.partition_usage_width_5 {
    width: 5%;
}

.partition_usage_width_6 {
    width: 6%;
}

.partition_usage_width_7 {
    width: 7%;
}

.partition_usage_width_8 {
    width: 8%;
}

.partition_usage_width_9 {
    width: 9%;
}

.partition_usage_width_10 {
    width: 10%;
}

.partition_usage_width_11 {
    width: 11%;
}

.partition_usage_width_12 {
    width: 12%;
}

.partition_usage_width_13 {
    width: 13%;
}

.partition_usage_width_14 {
    width: 14%;
}

.partition_usage_width_15 {
    width: 15%;
}

.partition_usage_width_16 {
    width: 16%;
}

.partition_usage_width_17 {
    width: 17%;
}

.partition_usage_width_18 {
    width: 18%;
}

.partition_usage_width_19 {
    width: 19%;
}

.partition_usage_width_20 {
    width: 20%;
}

.partition_usage_width_21 {
    width: 21%;
}

.partition_usage_width_22 {
    width: 22%;
}

.partition_usage_width_23 {
    width: 23%;
}

.partition_usage_width_24 {
    width: 24%;
}

.partition_usage_width_25 {
    width: 25%;
}

.partition_usage_width_26 {
    width: 26%;
}

.partition_usage_width_27 {
    width: 27%;
}

.partition_usage_width_28 {
    width: 28%;
}

.partition_usage_width_29 {
    width: 29%;
}

.partition_usage_width_30 {
    width: 30%;
}

.partition_usage_width_31 {
    width: 31%;
}

.partition_usage_width_32 {
    width: 32%;
}

.partition_usage_width_33 {
    width: 33%;
}

.partition_usage_width_34 {
    width: 34%;
}

.partition_usage_width_35 {
    width: 35%;
}

.partition_usage_width_36 {
    width: 36%;
}

.partition_usage_width_37 {
    width: 37%;
}

.partition_usage_width_38 {
    width: 38%;
}

.partition_usage_width_39 {
    width: 39%;
}

.partition_usage_width_40 {
    width: 40%;
}

.partition_usage_width_41 {
    width: 41%;
}

.partition_usage_width_42 {
    width: 42%;
}

.partition_usage_width_43 {
    width: 43%;
}

.partition_usage_width_44 {
    width: 44%;
}

.partition_usage_width_45 {
    width: 45%;
}

.partition_usage_width_46 {
    width: 46%;
}

.partition_usage_width_47 {
    width: 47%;
}

.partition_usage_width_48 {
    width: 48%;
}

.partition_usage_width_49 {
    width: 49%;
}

.partition_usage_width_50 {
    width: 50%;
}

.partition_usage_width_51 {
    width: 51%;
}

.partition_usage_width_52 {
    width: 52%;
}

.partition_usage_width_53 {
    width: 53%;
}

.partition_usage_width_54 {
    width: 54%;
}

.partition_usage_width_55 {
    width: 55%;
}

.partition_usage_width_56 {
    width: 56%;
}

.partition_usage_width_57 {
    width: 57%;
}

.partition_usage_width_58 {
    width: 58%;
}

.partition_usage_width_59 {
    width: 59%;
}

.partition_usage_width_60 {
    width: 60%;
}

.partition_usage_width_61 {
    width: 61%;
}

.partition_usage_width_62 {
    width: 62%;
}

.partition_usage_width_63 {
    width: 63%;
}

.partition_usage_width_64 {
    width: 64%;
}

.partition_usage_width_65 {
    width: 65%;
}

.partition_usage_width_66 {
    width: 66%;
}

.partition_usage_width_67 {
    width: 67%;
}

.partition_usage_width_68 {
    width: 68%;
}

.partition_usage_width_69 {
    width: 69%;
}

.partition_usage_width_70 {
    width: 70%;
}

.partition_usage_width_71 {
    width: 71%;
}

.partition_usage_width_72 {
    width: 72%;
}

.partition_usage_width_73 {
    width: 73%;
}

.partition_usage_width_74 {
    width: 74%;
}

.partition_usage_width_75 {
    width: 75%;
}

.partition_usage_width_76 {
    width: 76%;
}

.partition_usage_width_77 {
    width: 77%;
}

.partition_usage_width_78 {
    width: 78%;
}

.partition_usage_width_79 {
    width: 79%;
}

.partition_usage_width_80 {
    width: 80%;
}

.partition_usage_width_81 {
    width: 81%;
}

.partition_usage_width_82 {
    width: 82%;
}

.partition_usage_width_83 {
    width: 83%;
}

.partition_usage_width_84 {
    width: 84%;
}

.partition_usage_width_85 {
    width: 85%;
}

.partition_usage_width_86 {
    width: 86%;
}

.partition_usage_width_87 {
    width: 87%;
}

.partition_usage_width_88 {
    width: 88%;
}

.partition_usage_width_89 {
    width: 89%;
}

.partition_usage_width_90 {
    width: 90%;
}

.partition_usage_width_91 {
    width: 91%;
}

.partition_usage_width_92 {
    width: 92%;
}

.partition_usage_width_93 {
    width: 93%;
}

.partition_usage_width_94 {
    width: 94%;
}

.partition_usage_width_95 {
    width: 95%;
}

.partition_usage_width_96 {
    width: 96%;
}

.partition_usage_width_97 {
    width: 97%;
}

.partition_usage_width_98 {
    width: 98%;
}

.partition_usage_width_99 {
    width: 99%;
}

.partition_usage_width_100 {
    width: 100%;
}

.background-color-f5f5f599 {
    background-color: #f5f5f599;
    border-radius: .375rem;
}

.thead-background-color-primary>th {
    background-color: #2643e9;
    color: white;
}

.alert-yellow {
    color: #545454;
    border-color: #ffcb00;
    background-color: #ffcb00;
}

div.dtsp-titleRow {
    display: none;
}

.swal-info-message {
    align-items: center;
    justify-content: center;
    margin: 1em 0 0;
    padding: 0.625em;
    overflow: hidden;
    background: #f0f0f0;
    color: #666;
}

.bg-success-2 {
    color: #0e9a5e;
    background-color: rgba(147, 231, 195, .5);
}

.icon-shape-2 {
    width: 35px !important;
    height: 35px !important;
}

.bg-info-2 {
    color: #03acca;
    background-color: rgba(136, 230, 247, .5);
}

.bg-secondary-2 {
    color: #7c7c7c;
    background-color: #d5d5d580;
}

.bg-secondary-3 {
    color: white;
    background-color: #7c7c7c;
}

.badge-secondary2 {
    color: #7c7c7c;
    background-color: #d5d5d580;
}

.badge-secondary2[href]:hover,
.badge-secondary2[href]:focus {
    text-decoration: none;

    color: #212529;
    background-color: #d2e3ee;
}

.bg-primary-2 {
    color: #2643e9 !important;
    background-color: rgba(203, 210, 246, .5) !important;
}

.bg-primary-3 {
    color: #2643e9;
    background-color: #2643e9;
}

.bg-warning-2 {
    color: #ff6409;
    background-color: #ffe17280;
}

.border-c9c9c9>tbody>tr>td {
    border-color: #c9c9c9 !important;
    width: 0.1% !important;
    white-space: normal !important;
}

.pointer-events-none {
    pointer-events: none;
}



.loading {
    font-weight: 500;
    font-size: 26px;

    width: 150px;
    text-align: center;
    line-height: 50px;

    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin: auto;
    transform: translateY(-50%);
}

.loading span {
    position: relative;
    z-index: 999;
}

.loading:before {
    content: '';
    background: #e1e1e1;
    width: 180px;
    height: 36px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;

    animation: 2s loadingBefore infinite ease-in-out;
}

@keyframes loadingBefore {
    0% {
        transform: translateX(-34px);
    }

    50% {
        transform: translateX(0px);
    }

    100% {
        transform: translateX(-34px);
    }
}


.loading:after {
    content: '';
    background: #2575FC;
    width: 14px;
    height: 60px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    opacity: .5;

    animation: 2s loadingAfter infinite ease-in-out;
}

@keyframes loadingAfter {
    0% {
        transform: translateX(-30px);
    }

    50% {
        transform: translateX(50px);
    }

    100% {
        transform: translateX(-30px);
    }
}

.m-10 {
    margin: 12rem !important;
}

.mt-10,
.my-10 {
    margin-top: 12rem !important;
}

.mr-10,
.mx-10 {
    margin-right: 12rem !important;
}

.mb-10,
.my-10 {
    margin-bottom: 12rem !important;
}

.ml-10,
.mx-10 {
    margin-left: 12rem !important;
}

/* contenedor del editor */
#fb-editor {
    background: #fff;
}

/* ✅ Stage como grid */
#formbuilder-builder #fb-editor ul.stage-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px;
    align-items: flex-start;
    padding: 0 !important;
}

/* ✅ POR DEFECTO: todo LI nuevo arranca como col-12 */
#formbuilder-builder #fb-editor ul.stage-wrap>li {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

#formbuilder-builder #fb-editor ul.stage-wrap>li.ui-sortable-placeholder {
    width: 100% !important;
    margin-bottom: 12px !important;
    border: 2px dashed #cfd6dd !important;
    background: #f8fbff !important;
    visibility: visible !important;
    min-height: 60px !important;
}

/* ══════════════════════════════════════════════
   TICKETS 2.0 – Módulo de reportería avanzada
   ══════════════════════════════════════════════ */
.t2-workspace {
    display: flex;
    height: calc(100vh - 220px);
    min-height: 500px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc
}

.t2-sidebar {
    width: 240px;
    min-width: 240px;
    background: #1e293b;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.t2-sidebar-hdr {
    padding: 10px 12px;
    background: #0f172a;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-bottom: 1px solid #334155
}

.t2-sidebar-search {
    padding: 8px 10px;
    border-bottom: 1px solid #334155
}

.t2-sidebar-search input {
    width: 100%;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 5px 8px;
    color: #e2e8f0;
    font-size: 11px;
    outline: none
}

.t2-sidebar-search input:focus {
    border-color: #6366f1
}

.t2-fields-list {
    flex: 1;
    overflow-y: auto;
    padding: 6px
}

.t2-fields-list::-webkit-scrollbar {
    width: 3px
}

.t2-fields-list::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 2px
}

.t2-group-lbl {
    font-size: 9px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 8px 6px 3px
}

.t2-field-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 6px;
    margin-bottom: 3px;
    cursor: grab;
    user-select: none;
    transition: all .15s;
    font-size: 11px;
    color: #94a3b8
}

.t2-field-chip:hover {
    background: #334155;
    border-color: #6366f1;
    color: #a5b4fc;
    transform: translateX(2px)
}

.t2-field-chip:active {
    cursor: grabbing;
    opacity: .7
}

.t2-chip-ic {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0
}

.t2-ic-text {
    background: rgba(99, 102, 241, .15);
    color: #818cf8
}

.t2-ic-date {
    background: rgba(251, 146, 60, .15);
    color: #fb923c
}

.t2-ic-user {
    background: rgba(16, 185, 129, .15);
    color: #34d399
}

.t2-ic-badge {
    background: rgba(236, 72, 153, .15);
    color: #f472b6
}

.t2-ic-num {
    background: rgba(245, 158, 11, .15);
    color: #fbbf24
}

.t2-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.t2-builder {
    background: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0
}

.t2-report-types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px
}

.t2-rtype-btn {
    padding: 5px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    display: flex;
    align-items: center;
    gap: 5px
}

.t2-rtype-btn:hover {
    border-color: #6366f1;
    color: #6366f1
}

.t2-rtype-btn.active {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, .3)
}

.t2-zones {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap
}

.t2-zone-box {
    flex: 1;
    min-width: 160px
}

.t2-zone-lbl {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px
}

.t2-drop-zone {
    min-height: 40px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px;
    transition: all .2s
}

.t2-drop-zone.drag-over {
    border-color: #6366f1;
    background: rgba(99, 102, 241, .05)
}

.t2-drop-zone:empty::after {
    content: attr(data-ph);
    color: #cbd5e1;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 28px
}

.t2-placed {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: #ede9fe;
    border: 1px solid #ddd6fe;
    border-radius: 16px;
    font-size: 11px;
    color: #6d28d9;
    cursor: grab
}

.t2-placed-rm {
    color: #a78bfa;
    cursor: pointer;
    font-size: 9px;
    margin-left: 2px;
    padding: 1px 3px;
    border-radius: 50%;
    line-height: 1
}

.t2-placed-rm:hover {
    background: #ef4444;
    color: #fff
}

.t2-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-end
}

.t2-fgroup {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.t2-fgroup label {
    font-size: 9px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .06em
}

.t2-fgroup select,
.t2-fgroup input[type=date] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 8px;
    color: #334155;
    font-size: 11px;
    outline: none;
    min-width: 120px
}

.t2-fgroup select:focus,
.t2-fgroup input[type=date]:focus {
    border-color: #6366f1
}

.t2-fgroup select[multiple] {
    min-height: 60px;
    font-size: 11px
}

.t2-results {
    flex: 1;
    overflow: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc
}

.t2-results::-webkit-scrollbar {
    width: 4px
}

.t2-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px
}

.t2-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #cbd5e1;
    text-align: center
}

.t2-empty-ic {
    font-size: 48px
}

.t2-empty strong {
    color: #94a3b8;
    font-size: 15px
}

.t2-empty p {
    font-size: 12px;
    max-width: 280px;
    line-height: 1.6;
    color: #94a3b8
}

.t2-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    justify-content: center
}

.t2-kpi {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px
}

.t2-kpi-lbl {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500
}

.t2-kpi-val {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 2px 0 1px
}

.t2-kpi-sub {
    font-size: 10px;
    color: #94a3b8
}

.t2-kpi-up {
    color: #10b981;
    font-size: 10px;
    font-weight: 600
}

.t2-kpi-dn {
    color: #ef4444;
    font-size: 10px;
    font-weight: 600
}

.t2-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 12px;
    justify-content: center
}

.t2-chart-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px
}

.t2-chart-title {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.t2-chart-btns {
    display: flex;
    gap: 4px
}

.t2-chart-btn {
    padding: 3px 7px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    color: #64748b;
    font-size: 10px;
    cursor: pointer;
    transition: .15s
}

.t2-chart-btn.active,
.t2-chart-btn:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff
}

.t2-table-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden
}

.t2-table-toolbar {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    gap: 8px;
    flex-wrap: wrap
}

.t2-table-toolbar h5 {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin: 0
}

.t2-tbar-right {
    display: flex;
    gap: 6px;
    align-items: center
}

.t2-search {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 11px;
    outline: none;
    width: 180px;
    color: #334155
}

.t2-search:focus {
    border-color: #6366f1
}

.t2-table-wrap {
    overflow-x: auto
}

table.t2-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px
}

table.t2-tbl thead tr {
    background: #f8fafc
}

table.t2-tbl th {
    padding: 8px 12px;
    text-align: left;
    color: #64748b;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
    cursor: pointer;
    user-select: none
}

table.t2-tbl th:hover {
    color: #6366f1
}

table.t2-tbl tbody tr {
    border-bottom: 1px solid #f8fafc;
    transition: .12s
}

table.t2-tbl tbody tr:hover {
    background: #fafafa
}

table.t2-tbl td {
    padding: 8px 12px;
    color: #475569
}

.t2-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block
}

.t2-ans-si {
    color: #10b981;
    font-weight: 700
}

.t2-ans-no {
    color: #ef4444;
    font-weight: 700
}

.t2-pag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-top: 1px solid #f1f5f9;
    justify-content: flex-end
}

.t2-pag-info {
    font-size: 11px;
    color: #94a3b8;
    margin-right: auto
}

.t2-pag-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    font-size: 11px;
    transition: .15s
}

.t2-pag-btn:hover,
.t2-pag-btn.active {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff
}

.t2-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    border-radius: 12px;
    backdrop-filter: blur(2px)
}

.t2-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: t2spin .5s linear infinite
}

@keyframes t2spin {
    to {
        transform: rotate(360deg)
    }
}

@media(max-width:900px) {
    .t2-charts {
        grid-template-columns: 1fr
    }
}

@media(max-width:700px) {
    .t2-sidebar {
        display: none
    }
}

/* ── Tickets 2.0 v2 overrides ── */
/* Gráficas más grandes */
.t2-chart-card [id^="t2chart-"] {
    height: 320px !important;
}

/* Builder más compacto con scroll horizontal */
.t2-builder {
    overflow-x: auto;
}

/* Selects multi grandes */
.t2-fgroup select[multiple] {
    min-height: unset;
    font-size: 11px;
}

/* Workspace más alto */
.t2-workspace {
    height: calc(100vh - 180px);
    min-height: 600px;
}

/* ── Tickets 2.0: sidebar blanco ── */
.t2-sidebar {
    background: #fff;
    border-right: 1px solid #e2e8f0;
}

.t2-sidebar-hdr {
    background: #f8fafc;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.t2-sidebar-search {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.t2-sidebar-search input {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.t2-sidebar-search input:focus {
    border-color: #6366f1;
}

.t2-fields-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

.t2-group-lbl {
    color: #94a3b8;
}

.t2-field-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.t2-field-chip:hover {
    background: #ede9fe;
    border-color: #6366f1;
    color: #6366f1;
    transform: translateX(2px);
}

/* =========================================================
   Badges Stats Sidebar
   ========================================================= */
.badge-suspendido {
    background-color: rgba(242, 55, 255, 0.28) !important;
    color: #f237ff !important;
    transition: 0.2s;
}

.badge-suspendido:hover {
    background-color: #f237ff !important;
    color: #ffffff !important;
}

.status-5:hover {
    background-color: #2643e9 !important;
    color: #ffffff !important;
}

.badge-stats-filter:hover {
    opacity: 0.85;
}

/* =========================================================
   PORTAL AGENTES FINAL (tck-final-agent-portal-1)
   ========================================================= */
.portal-bg-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 1px solid #eef1f6;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.portal-pill-btn {
    background-color: #fff;
    border: 1px solid #e0e6ed;
    color: #4a5568 !important;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    margin-right: 8px;
    margin-bottom: 8px;
}

.portal-pill-btn:hover {
    background-color: #f1f5f9;
}

.portal-pill-btn.active {
    background-color: #1a56ff;
    border-color: #1a56ff;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(26, 86, 255, 0.3);
}

.portal-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portal-main-heading {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    margin-top: 5px;
    margin-bottom: 8px;
}

.portal-metric-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portal-metric-card.alert-card {
    background: #fffcfc;
    border: 1px solid #fee2e2;
}

.portal-metric-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.portal-metric-value {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 10px;
}

.portal-metric-value.text-green {
    color: #10b981;
}

.portal-metric-value.text-red {
    color: #ef4444;
}

.portal-metric-meta {
    font-size: 11px;
    font-weight: 600;
}

.portal-metric-meta.text-red {
    color: #ef4444;
}

.portal-metric-meta.text-green {
    color: #10b981;
}

.portal-metric-meta.text-muted2 {
    color: #cbd5e1;
    font-weight: 500;
}

.portal-table th {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 5px;
}

.portal-table td {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    border-bottom: 1px solid #f8fafc;
    padding: 12px 5px;
    vertical-align: middle;
}

.portal-badge-priority {
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    background: #fde8e8;
    color: #ef4444;
}

.portal-badge-priority.baja {
    background: #e6fffa;
    color: #059669;
}

.portal-avatar-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #64748b;
    font-size: 12px;
    margin-right: 12px;
}

.portal-date-input {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    width: 100%;
    background: #fff;
}

@media (min-width: 768px) {
    .col-md-2dot4 {
        flex: 0 0 20%;
        max-width: 20%;
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* Clases derivadas de inline styles para portal de agentes */
.portal-context-desc {
    font-size: 12px;
    max-width: 300px;
}

.portal-gap-15 {
    gap: 15px;
}

.portal-date-label {
    font-size: 9px;
}

.portal-pointer-min-220 {
    cursor: pointer;
    min-width: 220px;
}

.portal-subtitle-12 {
    font-size: 12px;
}

.portal-h-100 {
    height: 100%;
}

.portal-card-h5 {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
}

.portal-satisfaction-lbl-area {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.portal-satisfaction-val-part {
    font-size: 10px;
    font-weight: 800;
}

.portal-satisfaction-score {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.portal-satisfaction-lbl-rated {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
}

.portal-satisfaction-val-rated {
    font-size: 14px;
    font-weight: 800;
    color: #334155;
}

.portal-satisfaction-lbl-alert {
    font-size: 9px;
    font-weight: 700;
}

.portal-satisfaction-val-alert {
    font-size: 12px;
    font-weight: 800;
}

.portal-survey-user-name {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
}

.portal-survey-user-area {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.portal-survey-user-area-critical {
    font-size: 10px;
    font-weight: 600;
    color: #ef4444;
    text-transform: uppercase;
}

.portal-survey-pending-val {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.portal-survey-pending-lbl {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
}

.portal-metric-card-recibidos{
    border: 1px solid #e9ecef;
    border-left: 4px solid #28a745;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.portal-metric-card-asignados{
    border: 1px solid #e9ecef;
    border-left: 4px solid #28a745;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.portal-metric-card-vencidos{
    border: 1px solid #e9ecef;
    border-left: 4px solid #f5365c;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    background-color:#ffe9e9;
}

.portal-metric-card-correccion{
    border: 1px solid #e9ecef;
    border-left: 4px solid #164bde;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.portal-metric-card-suspendidos{
    border: 1px solid #e9ecef;
    border-left: 4px solid #6687be;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.portal-metric-card-resueltos{
    border: 1px solid #e9ecef;
    border-left: 4px solid #8898aa;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.portal-metric-card-sin-asignado{
    border: 1px solid #e9ecef;
    border-left: 4px solid #efde21;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.portal-metric-card-prox-7-dias{
    border: 1px solid #e9ecef;
    border-left: 4px solid #fb8e40;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.portal-metric-card-espera{
    border: 1px solid #e9ecef;
    border-left: 4px solid #6337d4;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.portal-metric-card-opinion{
    border: 1px solid #e9ecef;
    border-left: 4px solid #03acca;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

/* Fila del día actual en liquidación */
tr.liquidacion-fila-hoy {
    background: linear-gradient(90deg, rgba(23, 162, 184, 0.12) 0%, rgba(255,255,255,0) 100%) !important;
    box-shadow: inset 0 0 0 2px rgba(23, 162, 184, 0.4);
}
tr.liquidacion-fila-hoy td {
    font-weight: 500;
}

/* Kardex movimientos: fila con novedad de línea pendiente de resolución */
tr.kardex-line-issue-row-pending > td {
    background-color: rgba(220, 53, 69, 0.11) !important;
}
tr.kardex-line-issue-row-pending:hover > td {
    background-color: rgba(220, 53, 69, 0.17) !important;
}