/* Ancho y estilo del scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

    ::-webkit-scrollbar:horizontal {
        height: 10px;
    }

/* Relleno del scrollbar */
::-webkit-scrollbar-thumb {
    background-color: #dedede; /* Color del scrollbar */
    border-radius: 8px; /* Borde redondeado del scrollbar */
}

/* Fondo del scrollbar */
::-webkit-scrollbar-track {
    background-color: #fcfcfc; /* Color de fondo del scrollbar */
}

/*Modal */

.modalPaycon {
    overflow: hidden;
    position: fixed;
    height: 100vh;
    max-height: 100vh;
    background: white;
    overflow: auto;
    top: 0px;
    left: 0px;
    z-index: 20000;
    display: none;
}

.modal-content {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

/* Modal para pantallas grandes */
.modal-lg {
    width: 70%; /* Hacer que el modal ocupe el 70% del ancho de la pantalla */
    max-width: 900px; /* Limitar el ancho máximo a 900px */
    margin: 30px auto; /* Centramos el modal */
}

/* Responsivo para pantallas medianas */
@media (max-width: 992px) {
    .modal-lg {
        width: 80%; /* Ajustar el tamaño para pantallas medianas */
    }
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .modal-lg {
        width: 90%; /* Ajustar el tamaño para pantallas pequeñas */
    }
}

/* Para pantallas extra pequeñas */
@media (max-width: 480px) {
    .modal-lg {
        width: 95%; /* Hacer el modal casi de ancho completo */
        padding: 10px; /* Añadir un poco de padding para mejorar el aspecto */
    }
}
/* Modal para pantallas grandes */

.modal-xl {
    width: 90%; /* Hacer que el modal ocupe el 90% del ancho de la pantalla */
    max-width: 1200px; /* Limitar el ancho máximo a 1200px */
    margin: 30px auto; /* Centramos el modal */
}

/* Responsivo para pantallas medianas */
@media (max-width: 992px) {
    .modal-xl {
        width: 85%; /* Ajustar el tamaño para pantallas medianas */
    }
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .modal-xl {
        width: 95%; /* Ajustar el tamaño para pantallas pequeñas */
    }
}

/* Para pantallas extra pequeñas */
@media (max-width: 480px) {
    .modal-xl {
        width: 98%; /* Hacer el modal casi de ancho completo */
        padding: 10px; /* Añadir un poco de padding para mejorar el aspecto */
    }
}

.panelTabla {
    background-color: #f7f8f9;
    min-height: 650px;
    float: left;
    width: 100%;
    border-top: 2px solid #E6E9ED;
    /*overflow:auto;*/
}

.paycon-cargando {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(252, 252, 252, 0.5);
    z-index: 20003;
}

    .paycon-cargando::before {
        position: absolute;
    }

/*
    .paycon-cargando > .paycon-cargando-int {
        width: 10%;
        left: 45%;
        position: absolute;
        top: 40%;
        font-size: 1.2em;
        color: rgba(0, 150, 238, 0.36);
        display: flex;
        text-align: center;
        flex-direction: column;
    }

        .paycon-cargando > .paycon-cargando-int i {
            right: 15px;
            top: 10px;
            margin: auto;
            font-size: 3.5em;
            color: rgba(0, 150, 238, 0.36);
        }*/

/* HTML: <div class="loader"></div> */
.monitor-loader {
    width: 40px;
    height: 40px;
    --c: no-repeat linear-gradient(#493075 0 0);
    background: var(--c),var(--c),var(--c),var(--c);
    background-size: 21px 21px;
    animation: l5 1.5s infinite cubic-bezier(0.3,1,0,1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
}

@keyframes l5 {
    0% {
        background-position: 0 0,100% 0,100% 100%,0 100%
    }

    33% {
        background-position: 0 0,100% 0,100% 100%,0 100%;
        width: 60px;
        height: 60px
    }

    66% {
        background-position: 100% 0,100% 100%,0 100%,0 0;
        width: 60px;
        height: 60px
    }

    100% {
        background-position: 100% 0,100% 100%,0 100%,0 0
    }
}

/* =========================================================
   MESSAGE BOX BASE
   ========================================================= */

.message-box {
    position: relative !important;
    background: #fff;
    border: 1px solid #e6e9ef;
    border-left: 5px solid var(--message-color, #2f5575);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.08);
    padding: 18px 22px 18px 76px;
    text-align: left;
    min-height: 82px;
    overflow: hidden;
}

    .message-box::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, var(--message-bg, rgba(47, 85, 117, 0.07)), rgba(255, 255, 255, 0) 42% );
        pointer-events: none;
    }

    /* Contenido encima del fondo decorativo */
    .message-box h3,
    .message-box h5 {
        position: relative;
        z-index: 1;
    }

    .message-box h3 {
        margin: 0 0 7px 0;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.25;
        color: #2f5575;
    }

    .message-box h5 {
        margin: 0;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.45;
        color: #31516d;
    }

    /* Ícono fijo a la izquierda */
    .message-box .big-icon-message-box {
        position: absolute !important;
        left: 22px !important;
        top: 20px !important;
        transform: none !important;
        width: 38px !important;
        height: 38px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--message-icon-bg, rgba(47, 85, 117, 0.12));
        color: var(--message-color, #2f5575);
        font-size: 18px !important;
        z-index: 2;
    }

        .message-box .big-icon-message-box i {
            color: inherit !important;
        }

.message-box-info {
    --message-color: #2f5575;
    --message-bg: rgba(47, 85, 117, 0.07);
    --message-icon-bg: rgba(47, 85, 117, 0.12);
}

.message-box-success {
    --message-color: #3c763d;
    --message-bg: rgba(60, 118, 61, 0.08);
    --message-icon-bg: rgba(60, 118, 61, 0.13);
}

.message-box-warning {
    --message-color: #b9770e;
    --message-bg: rgba(185, 119, 14, 0.09);
    --message-icon-bg: rgba(185, 119, 14, 0.15);
}

.message-box-danger {
    --message-color: #b94a48;
    --message-bg: rgba(185, 74, 72, 0.08);
    --message-icon-bg: rgba(185, 74, 72, 0.14);
}

.message-box-muted {
    --message-color: #6c757d;
    --message-bg: rgba(108, 117, 125, 0.08);
    --message-icon-bg: rgba(108, 117, 125, 0.13);
}

.message-box-finished {
    --message-color: #4d4092;
    --message-bg: rgba(77, 64, 146, 0.08);
    --message-icon-bg: rgba(77, 64, 146, 0.13);
}

/* Acción dentro de un .message-box (ej. "Cambiar a estatus final" en Fianzas) */
.message-box-actions {
    position: relative;
    z-index: 1;
    margin-top: 12px;
}

.btn-message-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid var(--message-color, #2f5575);
    background: #fff;
    color: var(--message-color, #2f5575);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

    .btn-message-box:hover {
        background: var(--message-color, #2f5575);
        color: #fff;
    }

.opciones-estatus-final-inline {
    margin-top: 4px;
}

.estatus-final-col {
    margin-bottom: 10px;
}

.opciones-estatus-final-inline .opcion-estatus-final {
    font-size: 13px;
    padding: 9px 14px;
    margin-bottom: 0;
    height: 100%;
}

.opciones-estatus-final-inline .opcion-estatus-final .icono-opcion-estatus {
    width: 28px;
    height: 28px;
    font-size: 13px;
}

.link-cancelar-estatus-final {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
}

    .link-cancelar-estatus-final:hover {
        color: #31516d;
        text-decoration: underline;
    }

/* Opciones de estatus final (modal #modalSeleccionEstatus) — reutiliza los colores de .message-box-* */
.opcion-estatus-final {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #e6e9ef;
    background: #fff;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #31516d;
    cursor: pointer;
    transition: box-shadow .15s ease, transform .1s ease;
}

    .opcion-estatus-final:last-child {
        margin-bottom: 0;
    }

    .opcion-estatus-final:hover {
        box-shadow: 0 4px 12px rgba(30, 41, 59, 0.1);
        transform: translateY(-1px);
    }

    .opcion-estatus-final .desc-opcion {
        display: block;
        font-weight: 400;
        font-size: 12px;
        color: #6c757d;
        margin-top: 2px;
    }

    .opcion-estatus-final .icono-opcion-estatus {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: var(--message-icon-bg, rgba(47, 85, 117, 0.12));
        color: var(--message-color, #2f5575);
        font-size: 16px;
    }

@media (max-width: 576px) {
    .message-box {
        padding: 16px 16px 16px 64px;
        min-height: 74px;
        border-radius: 9px;
    }

        .message-box h3 {
            font-size: 16px;
            margin-bottom: 6px;
        }

        .message-box h5 {
            font-size: 12.5px;
            line-height: 1.4;
        }

        .message-box .big-icon-message-box {
            left: 18px !important;
            top: 17px !important;
            width: 34px !important;
            height: 34px !important;
            font-size: 16px !important;
        }
}

.loading-icon {
    display: inline-block;
    animation: spin 2s linear infinite;
    font-size: 30px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


thead td {
    text-align: center !important;
}

tbody tr td {
    cursor: pointer;
}

    tbody tr td.em-td-libre-center {
        text-align: center !important;
    }


tbody tr.selected > td {
    background: #70a9d4;
    color: white;
    overflow: hidden;
    position: relative;
}

.btn.btn-box-tool i {
    font-size: 14px;
    color: #616a7c;
}

.icon-sm > i {
    font-size: 40px !important;
}

.panel-body {
    padding: 10px 0 !important;
}

.espacio1 {
    margin-top: 35px !important;
}

.tile-stats {
    overflow: visible !important;
}

.fa-spin-custom-pulse {
    -webkit-animation: fa-spin 1.8s infinite steps(8);
    animation: fa-spin 1.8s infinite steps(8);
}



.fa-spin-custom, .glyphicon-spin {
    -webkit-animation: spin 1000ms infinite cubic-bezier(0.13, 0.6, 0.91, 0.59);
    animation: spin 1000ms infinite cubic-bezier(0.13, 0.6, 0.91, 0.59);
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes parpadeoAlerta {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

.icon-alerta-parpadeo {
    color: #dc3545;
    animation: parpadeoAlerta 1.2s ease-in-out infinite;
}

.cargando-sel {
    position: absolute;
    right: 15px;
    top: 10px;
    margin: auto;
    font-size: 1.5em;
}

.subTabla thead {
    background: #70a9d4;
    color: white;
    text-align: center;
}

.subTabla tbody {
    background: #DCEBF5;
}

.terTabla thead {
    background: #70d49a;
    color: white;
    text-align: center;
}

.terTabla tbody {
    background: #dcf5dd;
}


.fondoBlanco {
    background: white;
}


.table td input,
.table th input {
    text-align: left;
}

.table td.text-center,
.table th.text-center {
    text-align: center;
}

.table td:has(> button.btn) {
    text-align: center;
    vertical-align: middle;
}

input.form-control, textarea.form-control {
    border-radius: 3px;
}

input.form-control-tabla {
    max-width: 90px;
    box-sizing: border-box;
    padding: 1px;
    border: solid thin transparent;
}

    input.form-control-tabla:hover {
        border: solid thin #d7d6d6;
    }


    input.form-control-tabla:focus {
        border: solid thin #879fb1;
        padding: 1px;
    }

.modal-dialog {
    z-index: 2000;
}

table thead {
    background: white;
}

table tbody > tr:nth-child(even) {
    background: white;
}

thead .td-form-control {
    max-width: 90px;
}



/*.bootstrap-select > button {
    background: #eae5e5;
    color: #909090;
    border: solid thin #cbcbcb;
}

    .bootstrap-select > button > span {
        color: #909090;
    }*/

/*.bootstrap-select .dropdown-menu.open {
    max-height: 650px !important;
}

    .bootstrap-select .dropdown-menu.open ul {
        max-height: 46vh !important;
    }*/


.menu-notificacion {
    width: 45vw !important;
    max-height: 500px;
    overflow: auto;
    height: 50vh;
    border-color: #bbb;
}

    .menu-notificacion ul.menu {
        min-height: 100% !important;
        height: 100% !important;
        max-height: initial !important;
    }

.badge {
    background: #f24d4d;
    color: white;
    margin-top: -35px;
    position: absolute;
    margin-left: 5px;
}



.table-striped > tbody > tr:nth-child(odd) {
    background-color: #ffffff;
    border-bottom: solid thin #ededed;
}
/*.btn-default{
    color: rgb(59, 120, 231);
    font-weight: bold;
    border: solid thin #123;
}*/


.dosColumnas .form-group {
    padding: 5px 0px;
}

.dosColumnas label {
    width: 45%;
    float: left;
    box-sizing: content-box;
}

    .dosColumnas label ~ .form-group, .dosColumnas label ~ .form-control {
        width: 50%;
        float: left;
    }


.dosColumnas40_60 .form-group {
    padding: 5px 0px;
}

.dosColumnas40_60 label {
    width: 40%;
    float: left;
    box-sizing: content-box;
}

    .dosColumnas40_60 label ~ .form-control, .dosColumnas40_60 label ~ .form-group {
        width: 60% !important;
        float: left;
    }

.dosColumnas30_70 .form-group {
    padding: 5px 0px;
}

.dosColumnas30_70 label {
    width: 30%;
    float: left;
    box-sizing: content-box;
}

    .dosColumnas30_70 label ~ .form-control, .dosColumnas30_70 label ~ .form-group {
        width: 70% !important;
        float: left;
    }

.btn-form.btn-group {
    margin-left: 20px;
}

.cont-sinDatos {
    height: 70vh;
    display: flex;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    font-size: 1.5em;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

.cont-sinDatos-Principal {
    height: 50vh;
    display: flex;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    font-size: 1.5em;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

.cont-sinDatos-small {
    height: 20vh;
    display: flex;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    font-size: 1.5em;
    align-items: center
}

.bootstrap-select > .dropdown-toggle {
    padding: 7px 12px;
    max-height: 35px;
    background-color: #ffffff;
}

.dosColumnasT {
    display: flex;
    flex-direction: column;
}

    .dosColumnasT .form-group {
        padding: 5px 0px;
    }

    .dosColumnasT label ~ .form-group, .dosColumnasT label ~ .form-control {
        width: 50%;
        float: left;
    }

    .dosColumnasT label {
        width: 45%;
        float: left;
        box-sizing: content-box;
    }

.img-logo-main {
    width: 50px;
}

.navbar-nav > .notifications-menu > .dropdown-menu, .navbar-nav > .messages-menu > .dropdown-menu, .navbar-nav > .tasks-menu > .dropdown-menu {
    width: 450px;
    padding: 0 0 0 0;
    margin: 0;
    top: 100%;
}


    .navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a {
        padding: 17px !important;
    }


    .navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a, .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a, .navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a {
        white-space: initial !important;
        border-bottom: 1px solid #f4f4f4;
    }

label.error {
    color: #fe5858;
}

.has-feedback .form-control {
    padding-left: 30px;
}

.has-feedback .form-control {
    padding-right: initial;
    /* padding-right: 42.5px; */
}

.form-control-feedback.fa {
    line-height: 34px;
}


ul.treeview-menu li {
    overflow: hidden;
    text-wrap: pretty;
}

.control-sidebar.control-sidebar-open, .control-sidebar.control-sidebar-open + .control-sidebar-bg {
    right: 0;
    width: 400px;
}

.tab-pane ul.list-group {
    max-height: 350px;
    overflow: auto;
}

    .tab-pane ul.list-group li.list-group-item {
        background-color: #eeeeee;
        border: 1px solid #686868;
        color: #426e9b;
    }


.control-sidebar > .tab-content {
    overflow: auto;
    max-height: 90vh;
}



.control-sidebar.control-sidebar-open {
    display: block !important;
}

.control-sidebar.control-sidebar-dark {
    display: none;
}


.btn-group-menu .btn {
    width: 100px;
}

div.content-wrapper h1, div.content-wrapper h2, div.content-wrapper h3, div.content-wrapper h4, div.content-wrapper h5, div.content-wrapper h6 {
    color: #375b75;
}

/*.dataTables_scrollHeadInner{
    width:100% !important;
}
    .dataTables_scrollHeadInner table{
        width: 100% !important;
    }*/


.cont-tab {
    display: flex;
    height: 80vh;
    align-items: stretch;
    flex-direction: row;
}

    .cont-tab > div {
        display: flex;
        align-items: stretch;
    }

        .cont-tab > div > div.box {
            overflow: auto;
        }


@media (max-width: 768px) {
    /* Estilos específicos para dispositivos móviles o pantallas pequeñas */
    .dropdown-menu {
        width: 100px;
    }

        .dropdown-menu.open ul {
            max-height: 200px !important;
            display: flex;
            flex-direction: column;
            top: 0px;
        }
}

@media (min-width: 769px) and (max-width: 992px) {
    /* Estilos específicos para tabletas y pantallas medianas */
    .dropdown-menu {
        width: 100px;
    }

        .dropdown-menu.open ul {
            max-height: 200px !important;
            display: flex;
            flex-direction: column;
            top: 0px;
        }
}

@media (min-width: 993px) {
    /* Estilos específicos para pantallas grandes o de escritorio */
    .dropdown-menu {
        max-width: 40vh;
        overflow-x: hidden;
    }

        .dropdown-menu.open ul {
            max-height: 200px !important;
            display: flex;
            flex-direction: column;
            top: 0px;
        }
}

.step-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alinear elementos al principio (arriba) */
    margin-top: 20px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .step .circle {
        width: 30px;
        height: 30px;
        line-height: 30px;
        border-radius: 50%;
        background-color: #ddd;
        margin-bottom: 10px; /* Solo margen inferior para espacio con el texto */
        color: white;
        display: inline-block;
        z-index: 1;
        position: relative;
    }

    .step.active .circle {
        background-color: #493075;
    }

    .step.current .circle {
        background-color: #EC5F5A;
    }

    .step p {
        margin: 0;
        max-width: 100px;
        word-wrap: break-word;
        text-align: center;
        line-height: 1.2em; /* Reducir espacio entre líneas */
    }

    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 15px;
        right: -50%;
        width: 100%;
        height: 2px;
        background-color: #ddd;
        z-index: 0;
    }

    .step.active:not(:last-child)::after {
        background-color: #493075;
    }

    /* Additional styling to control the line length and color */
    .step.active + .step::before {
        content: '';
        position: absolute;
        top: 15px;
        left: -50%;
        width: 100%;
        height: 2px;
        background-color: #493075;
        z-index: -1;
    }

@media (max-width: 600px) {
    .step-container {
        display: none;
    }
}
/* Márgenes */
.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: 0.25rem !important;
}

.m-2 {
    margin: 0.5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

/* Márgenes por lado */
.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.ml-0 {
    margin-left: 0 !important;
}

.ml-1 {
    margin-left: 0.25rem !important;
}

.ml-2 {
    margin-left: 0.5rem !important;
}

.ml-3 {
    margin-left: 1rem !important;
}

.ml-4 {
    margin-left: 1.5rem !important;
}

.ml-5 {
    margin-left: 3rem !important;
}

.mr-0 {
    margin-right: 0 !important;
}

.mr-1 {
    margin-right: 0.25rem !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.mr-4 {
    margin-right: 1.5rem !important;
}

.mr-5 {
    margin-right: 3rem !important;
}

.mx-0 {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.mx-1 {
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
}

.mx-2 {
    margin-right: 0.5rem !important;
    margin-left: 0.5rem !important;
}

.mx-3 {
    margin-right: 1rem !important;
    margin-left: 1rem !important;
}

.mx-4 {
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important;
}

.mx-5 {
    margin-right: 3rem !important;
    margin-left: 3rem !important;
}

.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.my-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

/* Rellenos */
.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 0.25rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.p-5 {
    padding: 3rem !important;
}

/* Rellenos por lado */
.pt-0 {
    padding-top: 0 !important;
}

.pt-1 {
    padding-top: 0.25rem !important;
}

.pt-2 {
    padding-top: 0.5rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.pt-4 {
    padding-top: 1.5rem !important;
}

.pt-5 {
    padding-top: 3rem !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pb-1 {
    padding-bottom: 0.25rem !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.pb-4 {
    padding-bottom: 1.5rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

.pl-0 {
    padding-left: 0 !important;
}

.pl-1 {
    padding-left: 0.25rem !important;
}

.pl-2 {
    padding-left: 0.5rem !important;
}

.pl-3 {
    padding-left: 1rem !important;
}

.pl-4 {
    padding-left: 1.5rem !important;
}

.pl-5 {
    padding-left: 3rem !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.pr-1 {
    padding-right: 0.25rem !important;
}

.pr-2 {
    padding-right: 0.5rem !important;
}

.pr-3 {
    padding-right: 1rem !important;
}

.pr-4 {
    padding-right: 1.5rem !important;
}

.pr-5 {
    padding-right: 3rem !important;
}

.px-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.px-1 {
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
}

.px-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
}

.px-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}

.px-4 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
}

.px-5 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
}

.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.bootstrap-select.btn-group.disabled, .bootstrap-select.btn-group > .disabled {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
}

.selectpicker:disabled ~ .dropdown-toggle {
    background-color: lightgray; /* Color de fondo cuando el select está deshabilitado */
}

.bootstrap-select select.selectpicker ~ button.dropdown-toggle {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
}

.form-control {
    background-color: #fff;
    opacity: 1;
}

    .form-control[readonly] {
        background-color: #f5f5f5; /* algo sutilmente distinto */
    }


.collapsible-container {
    padding-bottom: 10px;
}

.text-collapsible {
    display: inline; /* Para que parezca texto en línea */
    cursor: pointer;
}

.text-collapsible-header {
    display: inline;
}

.collapsible-content {
    display: none; /* Oculto inicialmente */
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 15px;
    margin-right: 15px;
}

.text-collapsible .toggle-icon {
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Rotación del icono al expandir */
.text-collapsible.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.ribbon-box {
    width: 200px;
    height: 300px;
    position: relative;
    border: 1px solid #BBB;
    background: #EEE;
}

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

    .ribbon span {
        font-size: 10px;
        font-weight: bold;
        color: #FFF;
        text-transform: uppercase;
        text-align: center;
        line-height: 20px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        width: 100px;
        display: block;
        background: #79A70A;
        background: linear-gradient(#F70505 0%, #8F0808 100%);
        box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
        position: absolute;
        top: 19px;
        right: -21px;
    }

        .ribbon span::before {
            content: "";
            position: absolute;
            left: 0px;
            top: 100%;
            z-index: -1;
            border-left: 3px solid #8F0808;
            border-right: 3px solid transparent;
            border-bottom: 3px solid transparent;
            border-top: 3px solid #8F0808;
        }

        .ribbon span::after {
            content: "";
            position: absolute;
            right: 0px;
            top: 100%;
            z-index: -1;
            border-left: 3px solid transparent;
            border-right: 3px solid #8F0808;
            border-bottom: 3px solid transparent;
            border-top: 3px solid #8F0808;
        }

.message-container {
    text-align: center;
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    position: relative;
    font-size: 16px;
}

    .message-container .icon {
        font-size: 50px;
        margin-bottom: 10px;
    }

    .message-container .text {
        font-size: 18px;
        font-weight: bold;
    }

    .message-container .subtext {
        font-size: 14px;
        color: inherit;
    }

    /* Variantes */
    .message-container.success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

        .message-container.success .icon {
            color: #28a745;
        }

    .message-container.alert {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

        .message-container.alert .icon {
            color: #dc3545;
        }

    .message-container.info {
        background-color: #d1ecf1;
        color: #0c5460;
        border: 1px solid #bee5eb;
    }

        .message-container.info .icon {
            color: #17a2b8;
        }

    .message-container.warning {
        background-color: #fff3cd;
        color: #856404;
        border: 1px solid #ffeeba;
    }

        .message-container.warning .icon {
            color: #ffc107;
        }

.no-select {
    user-select: none;
    -webkit-user-select: none; /* Para Safari */
    -moz-user-select: none; /* Para Firefox */
    -ms-user-select: none; /* Para IE y Edge */
}

.icon-eliminar {
    color: #dc3545; /* rojo tipo Bootstrap (btn-danger) */
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

    .icon-eliminar:hover {
        color: #bd2130; /* tono más oscuro en hover */
    }

.icon-permisos {
    color: #d39e00;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

    .icon-permisos:hover {
        color: #b88600; /* un poco más oscuro al pasar el cursor */
    }

.icon-autorizar {
    color: #198754;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

    .icon-autorizar:hover {
        color: #157347;
    }

.icon-detalles {
    color: #6c757d;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

    .icon-detalles:hover {
        color: #495057;
    }

.icon-cancelar {
    color: #b02a37;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

    .icon-cancelar:hover {
        color: #842029;
    }

.icon-ver {
    color: #0a58ca;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

    .icon-ver:hover {
        color: #084298;
    }


.icon-generico {
    color: #748cab;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

    .icon-generico:hover {
        color: #5c6c83;
    }

.icon-configuracion {
    color: #5c636a;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

    .icon-configuracion:hover {
        color: #343a40; /* gris más oscuro para énfasis al pasar el cursor */
    }

.jconfirm-title {
    line-height: 1.2;
    letter-spacing: 0.5px;
    font-family: sans-serif;
}

.jconfirm .jconfirm-box {
    font-size: 16px;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.jconfirm-title-c {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.jconfirm-icon-c {
    font-size: 50px !important;
}

.jconfirm-alineacion-forzada[data-alineacion="center"],
.jconfirm-alineacion-forzada[data-alineacion="center"] * {
    text-align: center !important;
}

.jconfirm-alineacion-forzada[data-alineacion="left"],
.jconfirm-alineacion-forzada[data-alineacion="left"] * {
    text-align: left !important;
}

.jconfirm-alineacion-forzada[data-alineacion="right"],
.jconfirm-alineacion-forzada[data-alineacion="right"] * {
    text-align: right !important;
}

td.dot-col {
    position: relative;
    width: 18px; /* ancho del riel */
    min-width: 18px;
    padding: 8px 0 !important; /* evita que toque bordes */
    border-left: 0 !important; /* quita línea sólida del borde de la tabla */
    background: radial-gradient(#9aa3af 1px, transparent 1px) center/4px 4px repeat-y !important; /* diámetro del punto / separación vertical */
    background-origin: content-box !important; /* respeta el padding */
    background-clip: content-box !important;
    /* opcional: desvanecer arriba/abajo para que no “choque” con bordes */
    -webkit-mask: linear-gradient(transparent, #000 12px calc(100% - 12px), transparent) !important;
    mask: linear-gradient(transparent, #000 12px calc(100% - 12px), transparent) !important;
}

/* 1) Quita los sprites/fondos por defecto de DataTables en el thead */
table.dataTable thead th.sorting,
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc {
    background-image: none !important;
    position: relative; /* para posicionar el icono */
    padding-right: 1.6rem; /* deja espacio al icono a la derecha */
    vertical-align: middle; /* centra el texto verticalmente */
    /* Si usas table-layout: fixed y ellipsis, evita cortar el icono: */
    overflow: visible; /* <- importante si tus th tenían overflow:hidden */
}

    /* 2) Dibuja los indicadores con Font Awesome (ya lo usas en tu proyecto) */
    table.dataTable thead th.sorting::after,
    table.dataTable thead th.sorting_asc::after,
    table.dataTable thead th.sorting_desc::after {
        position: absolute;
        right: .6rem; /* separa del borde derecho */
        top: 50%;
        transform: translateY(-50%);
        display: inline-block;
        font-family: "Font Awesome 5 Free","FontAwesome"; /* FA5/FA4 */
        font-weight: 900; /* FA5 sólido; en FA4 se ignora */
        line-height: 1;
        font-size: .8rem; /* ajusta a tu gusto */
        color: rgba(0,0,0,.45); /* estado neutro/tenue */
        opacity: .85;
        content: "\f0dc"; /* fa-sort (neutro) */
    }

    /* 3) Estados activo asc/desc (más visibles) */
    table.dataTable thead th.sorting_asc::after {
        content: "\f0de"; /* fa-sort-up */
        color: rgba(0,0,0,.85);
    }

    table.dataTable thead th.sorting_desc::after {
        content: "\f0dd"; /* fa-sort-down */
        color: rgba(0,0,0,.85);
    }

    /* 4) (Opcional) Mejor UX: resalta al pasar el mouse */
    table.dataTable thead th.sorting:hover::after {
        opacity: 1;
    }

/* Botón de acción en navbar */
.navbar-btn-action {
    cursor: pointer; /* mano */
    overflow: hidden;
    text-overflow: ellipsis;
}

    /* Asegura que el anchor herede bien */
    .navbar-btn-action > a {
        cursor: pointer;
    }

    /* Hover sutil sin romper AdminLTE */
    .navbar-btn-action:hover > a {
        background-color: rgba(255,255,255,0.08);
    }

/* ================================
   Bloques de mensaje para formularios
   Prefijo: emsg = Expertia Message
================================ */

.emsg {
    position: relative;
    display: block;
    width: 100%;
    padding: 10px 12px 10px 14px;
    margin: 8px 0 12px 0;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 13px;
    line-height: 1.45;
    color: #333;
}

    .emsg strong {
        font-weight: 600;
    }

.emsg-title {
    display: block;
    font-weight: 600;
    margin-bottom: 3px;
}

.emsg-small {
    font-size: 12px;
    padding: 8px 10px;
}

.emsg-lg {
    font-size: 14px;
    padding: 12px 14px;
}

/* Variante con línea lateral */
.emsg-line {
    border-left-width: 4px;
}

/* Variante compacta */
.emsg-compact {
    padding: 7px 10px;
    margin: 6px 0 10px 0;
    font-size: 12px;
}

/* Variante con ícono */
.emsg-icon {
    padding-left: 38px;
}

    .emsg-icon > i {
        position: absolute;
        top: 11px;
        left: 13px;
        font-size: 15px;
    }

/* Cerrar mensaje */
.emsg-close {
    position: absolute;
    top: 6px;
    right: 8px;
    border: 0;
    background: transparent;
    color: inherit;
    opacity: .55;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

    .emsg-close:hover {
        opacity: .9;
    }

/* Información */
.emsg-info {
    background: #e8f4fd;
    border-color: #b7dcf5;
    color: #245269;
}

/* Éxito */
.emsg-success {
    background: #eaf7ea;
    border-color: #bfe5bf;
    color: #2d642d;
}

/* Advertencia */
.emsg-warning {
    background: #fff8e5;
    border-color: #f0d98c;
    color: #7a5b00;
}

/* Error / Danger */
.emsg-danger {
    background: #fdecea;
    border-color: #f3b8b3;
    color: #8a1f11;
}

/* Importante */
.emsg-important {
    background: #f2edff;
    border-color: #cbbcff;
    color: #4b367c;
}

/* Neutro */
.emsg-neutral {
    background: #f5f5f5;
    border-color: #d8d8d8;
    color: #444;
}

/* Oscuro */
.emsg-dark {
    background: #2f3437;
    border-color: #1f2325;
    color: #f5f5f5;
}

/* Gris claro */
.emsg-light {
    background: #fafafa;
    border-color: #e5e5e5;
    color: #555;
}

.emsg-min {
    display: block;
    width: 100%;
    padding: 6px 9px;
    margin-top: 6px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    border-left: 3px solid transparent;
}

.emsg-min-info {
    background: #f3f9fd;
    border-left-color: #3c8dbc;
    color: #245269;
}

.emsg-min-warning {
    background: #fff9e8;
    border-left-color: #f0ad4e;
    color: #7a5b00;
}

.emsg-min-danger {
    background: #fff1f0;
    border-left-color: #dd4b39;
    color: #8a1f11;
}

.emsg-min-success {
    background: #f0faf0;
    border-left-color: #00a65a;
    color: #2d642d;
}

.emsg-min-neutral {
    background: #f7f7f7;
    border-left-color: #999;
    color: #555;
}

.emsg-min[hidden] {
    display: none !important;
}

.cmp-estatus-lineal {
    border: 1px solid #e5e8ef;
    border-radius: 4px;
    background: #fff;
    padding: 14px 18px 16px 18px;
}

.cmp-estatus-lineal__ruta {
    text-align: center;
    margin-bottom: 8px;
}

.cmp-estatus-lineal__badge {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.cmp-estatus-lineal__badge--anterior {
    background: #f8f9fa;
    color: #777;
    border: 1px solid #e0e0e0;
}

.cmp-estatus-lineal__badge--actual {
    background: #f5f5f5;
    color: #555;
    border: 1px solid #ddd;
}

.cmp-estatus-lineal__badge--siguiente {
    background: #f3f0f7;
    color: #493075;
    border: 1px solid #d8cce5;
}

.cmp-estatus-lineal__flecha {
    margin: 0 14px;
    color: #999;
    font-size: 13px;
}

.cmp-estatus-lineal__descripcion {
    text-align: center;
    color: #53657a;
    font-size: 13px;
    margin-bottom: 12px;
}

.cmp-estatus-lineal__acciones {
    text-align: center;
    border-top: 1px solid #edf0f5;
    padding-top: 12px;
}

    .cmp-estatus-lineal__acciones .btn + .btn {
        margin-left: 6px;
    }

.cmp-estatus-lineal__btn-avanzar {
    background-color: #493075;
    border-color: #3f2868;
    color: #fff;
    font-weight: 600;
}

    .cmp-estatus-lineal__btn-avanzar:hover,
    .cmp-estatus-lineal__btn-avanzar:focus,
    .cmp-estatus-lineal__btn-avanzar:active {
        background-color: #3f2868;
        border-color: #352158;
        color: #fff;
    }

.cmp-estatus-lineal__btn-retroceder {
    font-weight: 600;
}

.cmp-estatus-lineal--final .cmp-estatus-lineal__descripcion {
    color: #555;
}

.cmp-estatus-lineal__vacio {
    border: 1px solid #e5e8ef;
    border-radius: 4px;
    background: #fff;
    color: #777;
    padding: 14px;
    font-size: 13px;
    text-align: center;
}

/* ================================
   Expertia Monitor - Comentarios
   ================================ */

.exm-comments {
    max-height: 390px;
    overflow-y: auto;
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid #e5e8ec;
    border-radius: 4px;
}

    /* Scroll más limpio */
    .exm-comments::-webkit-scrollbar {
        width: 8px;
    }

    .exm-comments::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .exm-comments::-webkit-scrollbar-thumb {
        background: #c7c7c7;
        border-radius: 8px;
    }

        .exm-comments::-webkit-scrollbar-thumb:hover {
            background: #999;
        }

/* Item */
.exm-comment-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #493075;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

    .exm-comment-item:last-child {
        margin-bottom: 0;
    }

/* Avatar */
.exm-comment-avatar {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #f0eef5;
    color: #493075;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-top: 2px;
}

/* Contenido */
.exm-comment-body {
    width: 100%;
    min-width: 0;
}

/* Encabezado */
.exm-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 4px;
}

.exm-comment-user {
    font-weight: 600;
    color: #2f3542;
    font-size: 13px;
}

.exm-comment-date {
    color: #7f8c8d;
    font-size: 12px;
    white-space: nowrap;
}

/* Subtexto opcional */
.exm-comment-subtext {
    display: inline-block;
    margin: 2px 0 6px 0;
    padding: 3px 8px;
    background: #f4f1f8;
    color: #493075;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Texto principal */
.exm-comment-text {
    color: #3f4650;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-line;
    word-break: break-word;
}

/* Estado vacío */
.exm-comments-empty {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a8f99;
    font-size: 13px;
    background: #fff;
    border: 1px dashed #d8dce1;
    border-radius: 5px;
}

/* Variante para observaciones de cambio de estatus */
.exm-comment-item.exm-comment-status {
    border-left-color: #4D4092;
}

    .exm-comment-item.exm-comment-status .exm-comment-avatar {
        background: #f1f0fa;
        color: #4D4092;
    }

/* Variante para observación manual */
.exm-comment-item.exm-comment-note {
    border-left-color: #3498db;
}

    .exm-comment-item.exm-comment-note .exm-comment-avatar {
        background: #eef7fd;
        color: #3498db;
    }

.exm-comment-item.exm-comment-status-note {
    border-left-color: #d39e00;
}

    .exm-comment-item.exm-comment-status-note .exm-comment-avatar {
        background: #fff7e6;
        color: #d39e00;
    }

    .exm-comment-item.exm-comment-status-note .exm-comment-subtext {
        background: #fff7e6;
        color: #8a6500;
    }

/* ================================
   Panel general de observaciones
   ================================ */

.exm-comments-panel {
    background: #fff;
    border: 1px solid #dfe4ea;
    border-radius: 4px;
    padding: 12px;
}

/* Encabezado general */
.exm-comments-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2px 10px 2px;
    border-bottom: 1px solid #edf0f2;
    margin-bottom: 10px;
}

    .exm-comments-panel-header h4 {
        margin: 0;
        color: #315a7d;
        font-size: 18px;
        font-weight: 400;
    }

    .exm-comments-panel-header span {
        display: block;
        margin-top: 3px;
        color: #8a8f99;
        font-size: 12px;
    }

/* Lista de comentarios */
.exm-comments {
    max-height: 330px;
    overflow-y: auto;
    padding: 8px;
    background: #fafafa;
    border: 1px solid #edf0f2;
    border-radius: 4px;
}

/* ================================
   Formulario de nueva observación
   ================================ */

.exm-comment-form {
    margin-top: 12px;
    padding: 12px;
    background: #fbfcfd;
    border: 1px solid #e4e8ec;
    border-radius: 4px;
}

.exm-comment-form-title {
    margin-bottom: 8px;
    color: #34495e;
    font-size: 13px;
    font-weight: 600;
}

.exm-comment-textarea {
    resize: vertical;
    min-height: 76px;
    border-color: #d5dce3;
    box-shadow: none;
    font-size: 13px;
}

    .exm-comment-textarea:focus {
        border-color: #493075;
        box-shadow: 0 0 0 2px rgba(73, 48, 117, .08);
    }

.exm-comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.exm-comment-helper {
    color: #8a8f99;
    font-size: 12px;
}

/* Botón más acorde a Monitor */
.exm-btn-comment-save {
    background: #493075;
    border-color: #493075;
    color: #fff;
}

    .exm-btn-comment-save:hover,
    .exm-btn-comment-save:focus {
        background: #3d2863;
        border-color: #3d2863;
        color: #fff;
    }

.detalle-vertical-monitor {
    background: #fff;
    border: 1px solid #e8e3f2;
    border-radius: 10px;
    padding: 10px;
}

.detalle-vertical-no-top-radius {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.detalle-vertical-no-bottom-radius {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.detalle-vertical-titulo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eeeaf5;
    color: #493075;
    font-size: 15px;
    font-weight: 700;
}

    .detalle-vertical-titulo i {
        color: #493075;
        font-size: 16px;
    }

.detalle-vertical-row {
    margin-left: -4px;
    margin-right: -4px;
}

.detalle-vertical-col {
    padding-left: 4px;
    padding-right: 4px;
    margin-bottom: 8px;
}

.detalle-vertical-item {
    min-height: 60px;
    padding: 10px 12px;
    border: 1px solid #e9e4f3;
    border-radius: 8px;
    background: #fbfafd;
    transition: all .15s ease;
}

    .detalle-vertical-item:hover {
        border-color: #d6caea;
    }

.detalle-vertical-label {
    margin-bottom: 4px;
    color: #7c728d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.detalle-vertical-value {
    color: #2f2938;
    font-size: 14px;
    line-height: 1.3;
    word-break: break-word;
}

    .detalle-vertical-value.empty {
        color: #aaa;
        font-style: italic;
    }

.detalle-vertical-boolean {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.detalle-vertical-scroll {
    overflow-y: auto;
    overflow-x: hidden;
}

.detalle-vertical-boolean.ok {
    color: #2e9d57;
}

.detalle-vertical-boolean.no {
    color: #d9534f;
}

/* Ayuda contextual (tooltips de los iconos .check-info) */
.tooltip .tooltip-inner {
    max-width: 320px;
    text-align: left;
    padding: 8px 12px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .tooltip .tooltip-inner {
        max-width: 220px;
    }
}

/* Centrar el checkbox de la columna "Concedido" (tabla de permisos adicionales en Perfiles) */
#contPermisosNuevos td[data-p-pncolumna="concedido"] {
    text-align: center;
}

/* ============================
   Tabs (nav-tabs-custom) modernas
   ============================ */

.nav-tabs-custom {
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(148, 163, 184, .35);
    border-bottom: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    background-color: #ffffff;
    margin-bottom: 0; /* para que se pegue visualmente al card de abajo */
}

    .nav-tabs-custom > .nav-tabs {
        border-bottom: 1px solid rgba(148, 163, 184, .35);
    }

        .nav-tabs-custom > .nav-tabs > li {
            margin-bottom: 2px;
        }

            .nav-tabs-custom > .nav-tabs > li > a {
                border-radius: 8px 8px 0 0;
                color: #6b7280;
                padding: 8px 14px;
                transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
            }

                .nav-tabs-custom > .nav-tabs > li > a:hover {
                    background-color: #f3f4f6;
                    color: #493075;
                }

            .nav-tabs-custom > .nav-tabs > li.active > a,
            .nav-tabs-custom > .nav-tabs > li.active > a:focus,
            .nav-tabs-custom > .nav-tabs > li.active > a:hover {
                background-color: #ffffff;
                color: #493075;
                border-color: transparent;
                border-bottom-color: #ffffff;
                font-weight: 600;
            }

.apexcharts-tooltip {
    max-width: 80vw !important;
    width: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word;
    max-height: 60vh !important;
    overflow-y: auto !important;
}

@media (max-width: 768px) {
    .apexcharts-tooltip {
        max-width: 80vw !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        max-height: 60vh !important;
        overflow-y: auto !important;
    }
}

.checkbox-switch {
    display: inline-block;
}

    /* oculto */
    .checkbox-switch input[type="checkbox"] {
        display: none;
    }

/* SWITCH BASE */
.switch-bootstrap3 {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin: 0;
    border-radius: 4px;
    background: #d9534f;
    cursor: pointer;
    transition: all .25s ease;
    overflow: hidden;
    box-shadow: inset 0 0 2px rgba(0,0,0,.2);
}

    /* TEXTOS */
    .switch-bootstrap3 .switch-text {
        position: absolute;
        top: 0;
        height: 100%;
        line-height: 24px;
        font-size: 9px;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
        z-index: 1;
        transition: opacity .25s ease;
    }

        /* posiciones optimizadas */
        .switch-bootstrap3 .switch-text.on {
            left: 6px;
            opacity: 0;
        }

        .switch-bootstrap3 .switch-text.off {
            right: 6px;
            opacity: 1;
        }

    /* HANDLE */
    .switch-bootstrap3 .switch-handle {
        position: absolute;
        top: 2px;
        left: 2px;
        width: 20px;
        height: 20px;
        background: #fff;
        border-radius: 3px;
        transition: all .25s ease;
        box-shadow: 0 1px 3px rgba(0,0,0,.3);
        z-index: 2;
    }

/* ACTIVO */
.checkbox-switch input[type="checkbox"]:checked + .switch-bootstrap3 {
    background: #5cb85c;
}

    /* movimiento recalculado */
    .checkbox-switch input[type="checkbox"]:checked + .switch-bootstrap3 .switch-handle {
        left: 28px;
    }

    /* visibilidad texto */
    .checkbox-switch input[type="checkbox"]:checked + .switch-bootstrap3 .switch-text.on {
        opacity: 1;
    }

    .checkbox-switch input[type="checkbox"]:checked + .switch-bootstrap3 .switch-text.off {
        opacity: 0;
    }

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background: #ec5f5a;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 2px;
}
/* CONTENEDOR BASE */
.line-box {
    position: relative;
    border: 1px solid #d2d6de;
    border-radius: 8px;
    padding: 25px 20px 20px;
    margin-bottom: 20px;
    background: #fff;
}

/* TÍTULO SOBRE LA LÍNEA */
.line-box-title {
    position: absolute;
    top: -11px;
    left: 15px;
    background: #fff;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #444;
}

/* ===== COLORES CLÁSICOS ===== */

.line-box-primary {
    border-color: #3c8dbc;
}

    .line-box-primary .line-box-title {
        color: #3c8dbc;
    }

.line-box-success {
    border-color: #00a65a;
}

    .line-box-success .line-box-title {
        color: #00a65a;
    }

.line-box-danger {
    border-color: #dd4b39;
}

    .line-box-danger .line-box-title {
        color: #dd4b39;
    }

.line-box-warning {
    border-color: #f39c12;
}

    .line-box-warning .line-box-title {
        color: #f39c12;
    }

.line-box-info {
    border-color: #00c0ef;
}

    .line-box-info .line-box-title {
        color: #00c0ef;
    }

/* ===== GRISES Y NEGROS ===== */

.line-box-black {
    border-color: #222;
}

    .line-box-black .line-box-title {
        color: #222;
    }

.line-box-dark {
    border-color: #555;
}

    .line-box-dark .line-box-title {
        color: #555;
    }

.line-box-gray {
    border-color: #999;
}

    .line-box-gray .line-box-title {
        color: #666;
    }

.line-box-light {
    border-color: #dcdcdc;
}

    .line-box-light .line-box-title {
        color: #999;
    }

.line-box-white {
    border-color: #eeeeee;
}

    .line-box-white .line-box-title {
        color: #b5b5b5;
    }

/* ===== TAMAÑOS DE TÍTULO ===== */

/* Extra pequeño */
.line-box-title-xs {
    font-size: 11px;
    top: -9px;
    padding: 0 8px;
}

/* Pequeño */
.line-box-title-sm {
    font-size: 12px;
    top: -10px;
    padding: 0 8px;
}

/* Normal (default recomendado) */
.line-box-title-md {
    font-size: 14px;
    top: -11px;
    padding: 0 10px;
}

/* Grande */
.line-box-title-lg {
    font-size: 16px;
    top: -12px;
    padding: 0 12px;
}

/* Extra grande */
.line-box-title-xl {
    font-size: 18px;
    top: -14px;
    padding: 0 14px;
}

