﻿/*ESTILOS PAGINA MPG*/

body {
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    font-size: 14px;
}

html {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: inherit;
}

.page-header .page-header-top .page-logo {
    float: left;
    display: block;
    width: 255px;
    height: 75px;
}

body.modal-open {
    overflow: hidden !important;
}

.dxbl-tabs-space-reservation {
    display: none !important;
}

.dxbl-text-edit-caret-element {
    display: none !important;
}

.dxbl-grid .dxbl-grid-table .dxbl-grid-footer-row {
    white-space: pre-line !important;
    line-height: 1.2 !important;
}
/*--------------------------Fin estilo scroll abajo------------------------*/
/* Tamaño fijo vía variables del tema DevExpress */
/*:root {
    --dxbl-scroll-viewer-hor-scroll-bar-height: 18px;
    --dxbl-scroll-viewer-hor-scroll-bar-hover-height: 18px;
    --dxbl-scroll-viewer-vert-scroll-bar-width: 18px;
    --dxbl-scroll-viewer-vert-scroll-bar-hover-width: 18px;
}*/
/* Que nunca se oculten ni animen */
/*.dxbl-scroll-viewer > dxbl-scroll-bar {
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
}*/
/* Fuerza tamaño cuando NO hay hover (DevExpress lo suele colapsar ahí) */
/*.dxbl-scroll-viewer:not(:hover) > dxbl-scroll-bar.dxbl-scroll-viewer-hor-scroll-bar {
    height: 18px !important;

}

.dxbl-scroll-viewer:not(:hover) > dxbl-scroll-bar.dxbl-scroll-viewer-vert-scroll-bar {
    width: 18px !important;
}*/
/* Ajusta también el thumb para que no se haga delgado sin hover */
/*.dxbl-scroll-viewer:not(:hover) dxbl-thumb.dxbl-scroll-viewer-scroll-thumb {
    height: 10px !important;*/ /* horizontal */
/*width: 18px !important;*/ /* vertical */
/*}*/
/* (Opcional) estilos del thumb */
/*dxbl-thumb.dxbl-scroll-viewer-scroll-thumb {
    border-radius: .90rem !important;
    background-color: #2a1b8b !important;
}

    dxbl-thumb.dxbl-scroll-viewer-scroll-thumb:hover {
        background-color: #2a1b8b !important;
        height: 14px !important;
    }*/
/* Siempre visible y más gruesa (opcional, por si no lo pusiste) */
/*.dxbl-scroll-viewer > dxbl-scroll-bar {
    opacity: 1 !important;
    transition: none !important;
}*/
/* Horizontal: alarga la pastilla (min-width) */
/*dxbl-scroll-bar.dxbl-scroll-viewer-hor-scroll-bar dxbl-thumb.dxbl-scroll-viewer-scroll-thumb {
    min-width: 160px !important;*/ /* ajusta 120–240px a gusto */
/*height: 13px !important;*/ /* grosor opcional */
/*}*/
/*--------------------------Fin estilo scroll abajo------------------------*/
.EstiloFormenPop {
    min-width: 65% !important;
}
/*Disenno tooltip*/

.tt {
    position: absolute;
    left: 95%;
    padding-top: 1%;
    align-items: center;
    cursor: help;
}
    /* Tooltip oculto inicialmente */
    .tt::after {
        content: attr(data-tt);
        position: absolute;
        bottom: 115%; /* coloca el tooltip arriba del ícono */
        left: 5%;
        transform: translateX(-10%);
        background-color: dimgray;
        color: #fff;
        padding: .5rem .75rem;
        border-radius: .5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,.25);
        white-space: pre-wrap; /* conserva saltos de línea */
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
        width: 400px;
        text-align: left;
        z-index: 10;
    }
    /* Mostrar al pasar el mouse */
    .tt:hover::after,
    .tt:hover::before {
        opacity: 1;
        transform: translateX(-90%) translateY(-2px);
    }




/* Mostrar tooltip */
.info-tooltip:hover::after,
.info-tooltip:hover::before {
    opacity: 1;
    transform: translateY(-6px);
}


/* Tooltip */
.info-tooltip::after {
    position: absolute;
    right: 0;
    bottom: 125%; /* Muestra el tooltip encima del ícono */
    transform: translateY(-4px);
    background-color: #7c7474;
    color: #fff;
    padding: .5rem .75rem;
    border-radius: .5rem;
    box-shadow: 0 4px 100px rgba(0,0,0,.25);
    white-space: pre-wrap; /* respeta los saltos de línea */
    width: 320px;
    max-width: 80vw;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 10000;
}


/*---*/
.navbar-nav {
    display: flex; /* Coloca los elementos principales en fila */
    flex-direction: row;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .navbar-nav > li {
        position: relative; /* Necesario para los submenús */
    }

        .navbar-nav > li > a {
            display: block;
            padding: 10px 15px; /* Ajusta según tu diseño */
            text-decoration: none;
            color: #333; /* Color de texto */
        }

        /* Submenús nivel 1 */
        .navbar-nav > li > .dropdown-menu {
            display: none; /* Oculto por defecto */
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #fff;
            list-style: none;
            padding: 0;
            margin: 0;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 1000;
        }

        .navbar-nav > li:hover > .dropdown-menu {
            display: block; /* Mostrar al pasar el mouse */
        }

/* Submenús multinivel */
.dropdown-submenu {
    position: relative; /* Necesario para submenús anidados */
}

    .dropdown-submenu > .dropdown-menu {
        display: none;
        position: absolute;
        top: 0;
        left: 100%; /* Desplaza a la derecha del submenú padre */
        margin-left: 1px;
        background-color: #fff;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block; /* Mostrar submenú al pasar el mouse */
    }


/*Estilos para Sidebar de Flujos*/



.bg-nav {
    background-color: #254158;
}

.paso-list .list-group-item {
    border-color: rgba(255, 255, 255, .4);
}

.paso-activo,
.paso-activo i {
    color: #00d1ff !important;
    font-weight: 600;
}



.paso-list .list-group-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.paso-list .paso-activo span {
    font-weight: bold;
    color: #00d1ff;
}


/* Fin Estilos para Sidebar de Flujos*/

/* Para Bototon que visualiza el Side bar*/
.btn-circle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
}

.btn-icon-only i {
    margin: 0 !important;
}

.purple {
    background-color: #8E44AD;
    color: white;
    border: none;
}

    .purple:hover {
        background-color: #732d91;
    }


/* Estilos opcionales */


.dropdown-menu > li > a {
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

    .dropdown-menu > li > a:hover {
        background-color: #f8f9fa;
    }

.dxbl-text {
    font-size: inherit !important;
}

.modulos-titulo {
    background: #B48CBF;
}

.footer-boton {
    background: #ffffff;
}

.tabs-icon {
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    min-height: 1rem;
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: currentColor;
}

/*TABS*/
.tabs-icon {
    opacity: 0.7;
}

.tabs-icon-home {
    mask-image: url("../images/icons/home.svg");
    -webkit-mask-image: url("../images/icons/home.svg");
}

.tabs-icon-support {
    mask-image: url("../images/icons/support.svg");
    -webkit-mask-image: url("../images/icons/support.svg");
}

.tabs-icon-products {
    mask-image: url("../images/icons/products.svg");
    -webkit-mask-image: url("../images/icons/products.svg");
}

/*---------------------------------------------------------------------*/

.has-error {
    border: solid !important;
    border-width: 1px !important;
    border-color: #e73d4a !important;
}

.logoModulo {
    width: 150px;
}

.page-head .page-title > h1 {
    color: #ffffff;
}

.avatar img {
    float: none;
    margin: 0 auto;
    width: 150px;
    height: 150px;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;
}

.dashboard-stat.portal-9 {
    background-color: #e45543;
}

.dashboard-stat .details {
    right: 5px !important;
    max-width: 241px !important;
}

.dashboard-stat.portal-9.dashboard-stat-light:hover {
    background-color: #f16a38
}

@media (min-width: 992px) {
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

.container, .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.dashboard-stat.portal-9 .visual > i {
    color: #fff;
    opacity: .2;
    filter: alpha(opacity=20)
}

.dashboard-stat.portal-9 .details .number {
    color: #fff
}

.dashboard-stat.portal-9 .details .desc {
    color: #fff;
    opacity: 1;
    filter: alpha(opacity=100)
}

.dashboard-stat.portal-9 .more {
    color: #fff;
    /*background-color: #E65A52*/
}

.border-after-portal-9:after, .border-before-portal-9:before, .border-portal-9 {
    border-color: #e45543 !important
}

.border-top-after-portal-9:after, .border-top-before-portal-9:before, .border-top-portal-9 {
    border-top-color: #e45543 !important
}

.border-bottom-after-portal-9:after, .border-bottom-before-portal-9:before, .border-bottom-portal-9 {
    border-bottom-color: #e45543 !important
}

.border-left-after-portal-9:after, .border-left-before-portal-9:before, .border-left-portal-9 {
    border-left-color: #e45543 !important
}

.border-right-after-portal-9:after, .border-right-before-portal-9:before, .border-right-portal-9 {
    border-right-color: #e45543 !important
}

.bg-portal-9 {
    background: #e45543 !important
}

.bg-portal-9-opacity {
    background: rgba(242,120,75,.8) !important
}

.bg-after-portal-9:after, .bg-before-portal-9:before, .bg-hover-portal-9:hover {
    background: #e45543 !important
}

.font-portal-9 {
    color: #e45543 !important
}

.bg-font-portal-9 {
    color: #fff !important
}

.gridIzquierdo {
    padding-right: 20px;
}

.portlet.portal-9, .portlet.box.portal-9 > .portlet-title, .portlet > .portlet-body.portal-9 {
    background-color: #e45543 !important;
}

.portlet.box.portal-9 {
    border: 1px solid #e45543;
    border-top: 0
}

    .portlet.box.portal-9 > .portlet-title > .caption, .portlet.box.portal-9 > .portlet-title > .caption > i {
        color: #FFF !important;
    }

    .portlet.box.portal-9 > .portlet-title > .actions .btn-default {
        background: 0 0 !important;
        border: 1px solid #acb9ca !important;
        color: #e45543 !important;
    }

        .portlet.box.portal-9 > .portlet-title > .actions .btn-default > i {
            color: #c5ceda
        }

        .portlet.box.portal-9 > .portlet-title > .actions .btn-default.active,
        .portlet.box.portal-9 > .portlet-title > .actions .btn-default:active,
        .portlet.box.portal-9 > .portlet-title > .actions .btn-default:focus,
        .portlet.box.portal-9 > .portlet-title > .actions .btn-default:hover {
            border: 1px solid #cbd4de !important;
            color: #dbe1e8 !important;
        }

.separador {
    float: left;
    display: inline-block;
    width: 1px;
    height: 18px;
    margin-left: 5px;
    margin-top: 17px;
}

.datosFormulario {
    display: none;
}

.tabla_content_centrado th, td {
    text-align: left;
    font-size: inherit !important;
}

@media (min-width: 992px).container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.field_set {
    padding: 10px !important;
    border: 2px solid #578EBE !important;
    margin-top: 25px !important;
}

    .field_set legend {
        margin-top: -2.2rem;
        background: white;
        border: 0px !important;
        width: auto !important;
        font-family: "Open Sans",sans-serif;
        font-weight: 400;
        font-size: inherit !important;
        padding: 10px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-bottom: auto !important;
    }


.linea {
    padding-bottom: 10px !important;
}

.readOnlyInput {
    border: none;
}

.has-error-row {
    border-color: #e73d4a !important;
    border: 1px solid;
}

.dx-link {
    width: auto !important;
    height: auto !important;
    background-position: unset !important;
    background-size: auto !important;
    padding: inherit !important;
    font-size: inherit !important;
    text-align: unset !important;
    line-height: inherit !important;
    margin: auto !important;
}

.cell-wrap {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}
/*Estilo alinea grid */
.dxbl-fl .dxbl-fl-item {
    display: flow-root !important;
}
/*Estilos para subir archivos*/


.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.form-select {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
}

.custom-drop-zone {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.drop-file-icon {
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: #ADB5BD;
    width: 48px;
    height: 48px;
    -webkit-mask-image: url("../images/icons/drop-file.svg");
    mask-image: url("../images/icons/drop-file.svg");
}

.drop-file-label {
    font-weight: 500;
    font-size: 1rem;
}

.custom-drop-zone {
    padding: 0 !important;
    border-style: dashed;
    border-width: 2px !important;
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(183, 183, 183, 0.1);
}

    .custom-drop-zone.custom-drop-zone-hover {
        border-style: solid;
    }

    .custom-drop-zone svg {
        width: 42px;
        height: 42px;
    }

    .custom-drop-zone > *:not(#overviewDemoSelectButton) {
        pointer-events: none;
    }
/*EsTilo para DxFormLayoutItem*/
.dxbl-fl .dxbl-fl-item {
    margin-top: 30px;
}
/*********************** DevExpress ***********************/
.templateGrid {
    border-width: 0;
    width: 800px;
    height: 350px
}

.demo-calendar {
    border-width: 1px;
    border-style: solid;
}

.dx-datagrid .dx-datagrid-group {
    background-color: #F1F1F1; /* Color de fondo del grupo */
    font-weight: bold; /* Para resaltar el tipo de cuenta */
}

.dx-datagrid .dx-datagrid-row {
    background-color: #D1C4E9; /* Color de fondo de las cuentas contables */
}

/* Boton de exportar Excel*/
.dx-datagrid-export-button {
    background-color: #26a1ab !important;
    border-color: #2499a3 !important;
    color: #ffffff !important;
}

    .dx-datagrid-export-button .dx-icon-xlsxfile {
        color: #ffffff !important;
    }

    .dx-datagrid-export-button:hover {
        color: #FFFFFF !important;
        background-color: #2c7772 !important;
        border-color: #215955 !important;
    }
/* Boton de columnas */
.dx-datagrid-column-chooser-button {
    color: #fff !important;
    background-color: #61527b !important;
    border-color: #5c4e75 !important;
}

    .dx-datagrid-column-chooser-button .dx-icon-column-chooser {
        color: #ffffff !important;
    }

    .dx-datagrid-column-chooser-button:hover {
        color: #ffffff !important;
        background-color: #504465 !important;
        border-color: #3d344d !important;
    }
/* Boton de agregar */
.dx-datagrid-addrow-button {
    color: #FFF !important;
    background-color: #32c5d2 !important;
    border-color: #32c5d2 !important;
}

    .dx-datagrid-addrow-button .dx-icon-edit-button-addrow {
        color: #ffffff !important;
    }

    .dx-datagrid-addrow-button:hover {
        color: #FFFFFF;
        background-color: #1f858e !important;
        border-color: #18666d !important;
    }
/* Boton de dropdown */
.dx-dropdownbutton-action {
    color: #ffffff !important;
    background-color: #f2784b !important;
    border-color: #f2784b !important;
}

    .dx-dropdownbutton-action .dx-icon-export, .dx-icon-right {
        color: #ffffff !important;
    }

    .dx-dropdownbutton-action:hover {
        color: #ffffff;
        background-color: #ef541b !important;
        border-color: #ee4d12 !important;
    }

.templateListbox {
    border-width: 0 !important;
    width: 100% !important;
}

.dx-datagrid-export-button {
    background-color: #26a1ab !important;
    border-color: #2499a3 !important;
    color: #ffffff !important;
}

.dxbl-grid-group-panel-container {
    display: none !important;
}

.dxbl-grid .dxbl-grid-table > tbody > tr, .dxbl-grid .dxbl-grid-table > tfoot > tr, .dxbl-grid .dxbl-grid-table > thead > tr, td, dxbl-grid-header-content {
    padding: 5px 5px !important;
    font-size: inherit !important;
    line-height: 15px !important;
    cursor: pointer !important;
}

.dxbl-grid .dxbl-grid-table > tbody > tr, .dxbl-grid .dxbl-grid-table > tfoot > tr, .dxbl-grid .dxbl-grid-table > thead > tr, td {
    text-align: left;
}

.dxbl-grid {
}

.table-loading-message {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 0.475rem;
    box-shadow: var(--bs-table-loading-message-box-shadow);
    background-color: var(--bs-table-loading-message-bg);
    color: var(--bs-table-loading-message-color);
    font-weight: 600;
    margin: 0 !important;
    width: auto;
    padding: 0.85rem 2rem !important;
    transform: translateX(-50%) translateY(-50%);
}

.table-loading {
    position: relative;
}

    .table-loading .table-loading-message {
        display: block;
    }

.dx-diagram-loading-indicator {
    position: absolute;
    top: calc(50% - 32px);
    left: calc(50% - 32px);
    width: 64px;
    height: 64px
}

.dxbl-grid-header, .dxbl-grid-action, .dxbl-grid-header-row {
    border-color: #B48CBF;
    color: #ffffff !important;
    background-color: #B48CBF;
    align-content: center !important;
    text-align: center !important;
}

.dxbl-grid-header-content, .dxbl-grid-header, .dxbl-grid-action {
    background-color: #B48CBF !important;
    color: #ffffff !important;
}

.dxbl-grid.dxbl-grid-nowrap {
    white-space: nowrap;
    border: none;
}

.dxbl-grid-filter-menu-funnel-btn {
    background-color: #B48CBF !important;
    color: #ffffff !important;
}

.dxbl-edit-btn-dropdown, .dxbl-edit-btn-clear, .dxbl-spin-btn-dec, .dxbl-spin-btn-inc {
    background-color: transparent !important;
    color: #336EAF !important;
}

.dxbl-text-edit-input {
    border-bottom-color: white !important;
}

.dxbl-texteditor.dxbl-editor-underlined::after {
    border-bottom: 1px solid white !important;
}

.dxbl-grid {
    width: 100% !important;
}
/* Grid sin Data del Componente */
.dxbl-list-box-empty-data-container::before {
    content: "Sin datos disponibles";
    white-space: pre-line;
    font-family: inherit;
    font-weight: 400;
    font-size: 0.9rem;
    color: #999;
    display: block;
    text-align: center;
    margin: 10px 0;
}

.dxbl-list-box-empty-data-container use.dxbl-icon-set-default {
    display: none !important;
}

.dxbl-list-box-empty-data-container span.dxbl-grid-empty-data-not-found {
    display: none !important;
}
/* mejoras Grid sin Data */
.dxbl-grid-empty-data-area use.dxbl-icon-set-default {
    display: none !important;
}

.dxbl-grid-empty-data-area span.dxbl-grid-empty-data-not-found {
    display: none !important;
}

.dxbl-grid-empty-data-area::before {
    content: "Sin datos disponibles";
    white-space: pre-line;
    font-family: inherit;
    font-weight: 400;
    font-size: 0.9rem;
    color: #999;
    display: block;
    text-align: center;
    margin: 10px 0;
}

.bug-icon {
    width: 16px;
    height: 17px;
    background-image: url("images/icons/bug.svg");
}

td:has(:hover) {
    background-color: #f5f5f5 !important;
    color: black !important;
    cursor: pointer !important;
}

.dxbl-grid-toolbar-container, .portlet-body {
    padding: 0 !important;
    margin: 0 !important;
}

.portlet, .dxbl-row {
    padding: 8px !important;
}

.dxbl-form-layout-item {
    padding: 0 !important;
}

.dxbl-fl-item {
    --dxbl-fl-item-spacing-y: 0 !important;
}

.dxbl-fl .dxbl-fl-item {
    margin-top: 0 !important;
}
/* Si un contenedor tiene .not-dxbl-grid-toolbar-container adentro, afecta el toolbar */
:not(.not-dxbl-grid-toolbar-container):has(.not-dxbl-grid-toolbar-container) .dxbl-grid-toolbar-container {
    top: 0 !important;
    text-align: left !important;
}


/* Aplica solo a los dropdowns con clase calendario-180 */
.dxbl-dropdown-dialog.calendario-180,
.dxbl-edit-dropdown.calendario-180 {
    width: 21.2rem !important;
}

.dxbl-grid-search-box {
    display: flex !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
}



.dx-button-content {
    flex: 1 1 auto;
    height: 100%;
    max-height: 100%;
    display: inherit;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 0;
}

.dx-button {
    height: 32px;
    position: relative;
    border-radius: 1px;
    background-color: #fff;
}

.dx-button {
    display: inline-flex;
    text-align: center;
    vertical-align: middle;
    max-width: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

.btn-column-chooser {
    width: 16px;
    height: 16px;
    -webkit-mask-image: url("images/icons/column-chooser.svg");
    mask-image: url("images/icons/column-chooser.svg");
    background-color: currentColor;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 0rem !important;
}


.btnCrearEnTabla {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: inherit;
    line-height: 1.42857;
    border-radius: 4px !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


    .btnCrearEnTabla.green:not(.btn-outline) {
        color: #FFF;
        background-color: #32c5d2;
        border-color: #32c5d2;
    }


/* Tabla */
.dx-header-row {
    background-color: #B48CBF;
    color: #ffffff;
}

.dx-column-indicators, .dx-header-filter, .dx-header-filter-empty {
    color: #ffffff !important;
}

.dx-texteditor.dx-editor-underlined.dx-state-disabled::after, .dx-texteditor.dx-editor-underlined.dx-state-readonly::after {
    border-bottom-color: white !important;
}

.dx-texteditor.dx-editor-underlined::after {
    border-bottom: 1px solid white !important;
}
/*.dx-htmleditor.dx-htmleditor-outlined, .dx-texteditor.dx-editor-outlined {
    border-color: #e0e0e0 #e0e0e0 #e0e0e0 !important;
}*/
.dx-gridbase-a11y-status-container {
    display: none;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.dropdown-dialog {
    background-color: var(--dxbl-treeview-item-hover-bg, #6f6f6f) !important;
}
/* Paginacion*/
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: transparent;
    border: 0px solid #ddd;
    border-radius: 5px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dx-info {
    display: inline-block;
    margin-right: 9px;
    opacity: .7;
}

.pagination-container .btnCrearEnTabla {
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px !important;
    font-size: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .pagination-container .btnCrearEnTabla:disabled {
        color: #ccc;
        cursor: not-allowed;
    }

.pagination-container .page-input {
    width: 40px;
    text-align: center;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px !important;
    font-size: 1rem;
}

.pagination-container .page-info {
    font-size: 1rem;
}

.page-size-selector label,
.page-size-selector select {
    font-size: 0.9rem;
}

.table th, .table td {
    color: #ffffff !important;
}

.dxbl-tabs {
    margin-bottom: 1rem !important;
}

.custom-grid {
    display: block;
    font-family: inherit;
    white-space: pre-line;
    font-size: inherit !important;
    text-align: left;
    margin-bottom: 1rem !important;
}

    /* General para el grid */
    .custom-grid .dx-datagrid-header {
        background-color: #B48CBF; /* Azul para encabezado */
        color: white;
        text-align: left;
        font-weight: bold;
        border-bottom: 2px solid #B48CBF;
    }

    .custom-grid .dx-row {
        border-bottom: 1px solid #ddd;
    }

/* Botones en la barra de herramientas */
.toolbar .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.toolbar .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

/* Buscar */
.search-box {
    width: 250px;
    height: 34px;
    margin-right: 15px;
    border-radius: 5px;
    padding: 5px 10px;
}

/* Botones de acción */
.custom-grid .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.custom-grid .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}
/*Esto quita los sppiner de los grid*/
.custom-grid .dxbl-spin-btns {
    display: none !important;
}

.dxbl-grid-expand-button, .dxbl-grid-expand-button-cell {
    background-color: transparent;
    color: black;
    margin: 0;
}

.nested-grid-td {
    padding: 0;
    background-color: #f9f9f9;
}

.nested-grid {
    margin-top: 10px;
    width: 100%;
}

.form-control {
    height: 60% !important;
}

.dx-toolbar {
    z-index: 1; /* Asegúrate de que el toolbar no interfiera */
    overflow: visible !important; /* Permite que los elementos hijos se muestren fuera */
}

.text-azul-claro {
    color: #3598dc;
    text-align: left;
}

.text-rojo-claro {
    color: red;
    text-align: left;
}

/*INICIO LUPA O SEARCH EN DXGRID*/
/* Ícono por defecto (lupa) en todas las celdas de la fila de filtro */
.dxbl-grid .dxbl-grid-filter-row td::before {
    font-family: "FontAwesome";
    content: "\f002"; /* fa-search */
    margin-right: 6px;
    color: #6c757d;
    opacity: 30%;
}

/* Ocultar lupa en columnas de fecha usando una clase específica */
.dxbl-grid .dxbl-grid-filter-row td.fecha-filter::before {
    content: none !important;
}

/* Quitar ícono en celdas que usan calendario */
.dxbl-grid .dxbl-grid-filter-row td:has(.dxbl-calendar),
.dxbl-grid .dxbl-grid-filter-row td:has(.dxbl-date-edit) {
    padding-left: 0;
}

    .dxbl-grid .dxbl-grid-filter-row td:has(.dxbl-calendar)::before,
    .dxbl-grid .dxbl-grid-filter-row td:has(.dxbl-date-edit)::before {
        content: none !important;
    }


.dxbl-grid .dxbl-grid-filter-row td {
    position: relative; /* Necesario para que el tooltip se posicione */
}

    .dxbl-grid .dxbl-grid-filter-row td::after {
        content: "Filtro";
        position: absolute;
        top: 1.5rem; /* mueve arriba la burbuja */
        left: 0;
        background-color: #336EAF;
        color: white;
        padding: 3px 6px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
    }

    /* Animación: aparece y se oculta en 1s */
    .dxbl-grid .dxbl-grid-filter-row td:hover::after {
        animation: showHideTooltip 1s forwards;
    }

@keyframes showHideTooltip {
    0% {
        opacity: 10%;
    }

    10% {
        opacity: 55%;
    }
    /* aparece rápido */
    90% {
        opacity: 100%;
    }
    /* se mantiene visible */
    100% {
        opacity: 0;
    }
    /* se desvanece */
}
/*FIN LUPA O SEARCH EN DXGRID*/

/*-----------------BOTONES--------------*/
.btn-group, .btn-group-vertical {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

    .btn-group-vertical > .btn, .btn-group > .btn {
        position: relative !important;
        float: left !important;
    }

.btnCrearEnTabla.green {
    color: #FFF !important;
    background-color: #32c5d2 !important;
    border-color: #32c5d2 !important;
}

.btnCrear {
    height: 33.75px !important;
    font-size: inherit !important;
    color: #FFF !important;
    background-color: #26a1ab !important;
    border-color: #2499a3 !important;
    display: inline-block !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    text-align: center !important;
    vertical-align: middle !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: inherit !important;
    line-height: 1.42857 !important;
    border-radius: 0px !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.btnEliminar {
    background-color: rgb(203, 28, 22);
    border-bottom-color: rgb(200, 27, 22);
    border-left-color: rgb(200, 27, 22);
    border-right-color: rgb(200, 27, 22);
    border-top-color: rgb(200, 27, 22);
    height: 34.16px !important;
    font-size: inherit !important;
    color: #FFF !important;
    margin-left: -6px;
    display: inline-block !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    text-align: center !important;
    vertical-align: middle !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: inherit !important;
    line-height: 1.42857 !important;
    border-radius: 0px !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.btnModificar {
    min-width: 120px !important;
    height: 33.75px !important;
    font-size: inherit !important;
    color: #FFF !important;
    background-color: #4B77BE !important;
    border-color: #4B77BE !important;
    margin-left: -6px;
    display: inline-block !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    text-align: center !important;
    vertical-align: middle !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: inherit !important;
    line-height: 1.42857 !important;
    border-radius: 0px !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.btnVerificar {
    height: 34.16px !important;
    font-size: inherit !important;
    color: #FFF !important;
    background-color: #4B77BE !important;
    border-color: #4B77BE !important;
    margin-left: -6px;
    display: inline-block !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    text-align: center !important;
    vertical-align: middle !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: inherit !important;
    line-height: 1.42857 !important;
    border-radius: 0px !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.btnVolver {
    height: 33.75px !important;
    font-size: inherit !important;
    color: #FFF !important;
    background-color: #526781 !important;
    border-color: #4e627b !important;
    margin-left: -6px;
    display: inline-block !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    text-align: center !important;
    vertical-align: middle !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: inherit !important;
    line-height: 1.42857 !important;
    border-radius: 0px !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


.btnReiniciarContrasenna {
    height: 34.16px !important;
    font-size: inherit !important;
    color: #FFF !important;
    background-color: #4B77BE !important;
    border-color: #4B77BE !important;
    margin-left: -6px;
    display: inline-block !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    text-align: center !important;
    vertical-align: middle !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: inherit !important;
    line-height: 1.42857 !important;
    border-radius: 0px !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/* ————————————————————  CONTENEDOR  ———————————————————— */
.obs-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 12px;
    margin-bottom: 6px;
    background: #f8fcfe;
    border-left: 4px solid var(--obs-color,#3598dc);
    border-radius: 4px;
}

.obs-item--green {
    --obs-color: #32c787;
}

.obs-item--blue {
    --obs-color: #3598dc;
}

/* ————————————————————  AVATAR  ———————————————————— */
.obs-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ————————————————————  TEXTOS  ———————————————————— */
.obs-title {
    font-weight: 600;
    color: #2f3e4d;
    line-height: 1.2;
}

.obs-text {
    margin-top: 2px;
    color: #556b7d;
}

.obs-date {
    font-size: 12px;
    color: #8898a9;
    margin-left: 4px;
}

a.btnCrear, a.btnVolver, a.btnSiguiente, a.btnDevolver, a.btnCancelar, a.btnEliminar {
    text-decoration: none !important;
}

/*Generales*/
.formatoNumerico {
    text-align: right !important;
}
/*FIN Generales*/

/*-----------------DEVEXPRESS--------------*/
td[role=columnheader] {
    text-align: center !important;
    FONT-WEIGHT: BOLD;
}

.dx-master-detail-cell {
    overflow: overlay !important;
}

.longStringColumn {
    min-width: 450px;
    text-align: justify;
    white-space: normal;
    overflow-wrap: break-word;
}
/*-----------------/DEVEXPRESS--------------*/

.toast-area {
    position: relative;
    padding-bottom: 4%;
}

    .toast-area:empty {
        display: none; /* o display:none; si quieres ocultarlo por completo */
    }
/*Sweet Alert 2*/
.mensajesErrorSwal {
    color: #ed6b75 !important;
    text-align: justify !important;
}

.swal2-popup {
    font-size: 1em !important;
    /* border-radius: 25px !important; */
}

    .swal2-popup button {
        margin: 5px !important;
        /*border-radius: 10px !important;*/
    }
/*div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {*/
.swal2-confirm {
    /*display: inline-block !important;*/
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    text-align: center !important;
    vertical-align: middle !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    border-radius: 0px !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: inherit !important;
    line-height: 1.42857 !important;
    border-radius: 4px !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    color: #fff !important;
    background-color: #36c6d3 !important;
    border-color: #2bb8c4 !important;
}

.swal2-cancel {
    display: inline-block !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    text-align: center !important;
    vertical-align: middle !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    border-radius: 0px !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: inherit !important;
    line-height: 1.42857 !important;
    border-radius: 4px !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    color: #fff !important;
    background-color: #D91E18 !important;
    border-color: #D91E18 !important;
}

.dx-popup-content {
    max-height: 150px !important;
    overflow-y: scroll !important;
}

/*FIN Sweet Alert 2*/


/*Tablas*/
.tablaContenidoCentrado th, .tablaContenidoCentrado td {
    text-align: center;
}

/*Borde Tablas*/
.dxbl-grid .dxbl-grid-table > tbody > tr, td {
    border: 1px solid #ddd !important;
}

.tablaContenidoCentrado * {
    margin: auto;
}
/*FIN Tablas*/


/*Fieldset*/
.fieldset {
    padding: 10px;
    border: 2px solid #578EBE !important;
}

    .fieldset legend {
        border: 0px !important;
        width: auto !important;
        font-family: "Open Sans",sans-serif;
        font-weight: 400;
        font-size: inherit !important;
        padding: 10px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-bottom: auto !important;
    }
/*FIN Fieldset*/


/*Validaciones*/
.input-validation-error {
    border-color: #e73d4a !important;
}
/*FIN Validaciones*/




.dx-texteditor-container {
    display: flex !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
}

.dx-texteditor-input-container {
    display: flex !important;
    flex-grow: 1 !important;
    position: relative !important;
    align-items: baseline !important;
}

.dx-texteditor-input {
    -webkit-appearance: none !important;
    width: 100% !important;
    height: 100% !important;
    outline: 0 !important;
    border: 0 !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    user-select: text !important;
    margin: 0 !important;
    background-color: transparent !important;
    color: #242424 !important;
    font-size: inherit !important;
    line-height: 1.428571 !important;
}

.dx-icon {
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 100% !important;
}

.dx-icon-search {
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 100% !important;
}

.dx-placeholder {
    position: absolute !important;
    top: 0 !important;
    inset-inline-start: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    height: 100% !important;
    text-align: left !important;
    cursor: text !important;
    pointer-events: none !important;
    color: #707070 !important;
    font-size: inherit !important;
    line-height: normal !important;
}

.dropdown-toggle-custom {
    display: inline-block;
    flex: 1 1 auto;
    height: 100%;
    max-height: 100%;
    display: inherit;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 0;
    color: #ffffff !important;
    background-color: #f2784b !important;
    border-color: #f2784b !important;
    border-radius: 0% !important;
}

    .dropdown-toggle-custom::after {
        display: inline-block;
        margin-left: .255em;
        vertical-align: .255em;
        content: "";
        border-top: .3em solid;
        border-right: .3em solid transparent;
        border-bottom: 0;
        border-left: .3em solid transparent;
    }

.espacio-Icono-dropdown-toggle {
    margin-right: 0.5rem !important;
}

.custom-dropdown {
    z-index: 1055 !important; /* Bootstrap's default modal z-index is 1050 */
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-dropdown-menu-show {
    margin-top: -9.5rem !important;
}

.dropdown-menu {
    z-index: 1055 !important; /* Bootstrap's default modal z-index is 1050 */
    position: absolute !important;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
/*--------------------------------------------------------*/
/*Estilos param exportar*/
.contenedor-dropdown {
    position: relative;
    display: inline-block;
    z-index: 9999;
    height: 90% !important;
    color: #fff !important;
    -webkit-border-radius: 10% !important;
    -moz-border-radius: 10% !important;
    border-radius: 10% !important;
    margin-right: 0.2rem !important;
    margin-top: 0.1rem !important;
}

/* Ocultar el menú por defecto */
.dropdownMenu {
    list-style: none;
    display: none;
    position: absolute;
    right: 0;
    bottom: 100%;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    margin-top: 6px;
    margin-bottom: 0px;
    padding: 6px 0;
    z-index: 10000;
}

/* Mostrar menú al pasar el mouse por el botón o el menú */
.contenedor-dropdown:hover .dropdownMenu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 8px 16px;
    color: black;
    text-decoration: none;
}

    .dropdown-item:hover {
        background-color: #f1f1f1;
        color: #333;
    }



.mi-dropdown-toggle:hover {
    background-color: var(--bs-secondary) !important;
}
/*Estilos param exportar*/
.dx-datagrid-column-chooser-button {
    height: 90% !important;
    color: #fff !important;
    background-color: #61527b !important;
    border-color: #5c4e75 !important;
    margin-right: 1rem !important;
    margin-top: 0.1rem !important;
}

.dx-datagrid-column-Agregar-button {
    color: #FFF !important;
    background-color: #32c5d2 !important;
    border-color: #32c5d2 !important;
    height: 90% !important;
    color: #fff !important;
    -webkit-border-radius: 10% !important;
    -moz-border-radius: 10% !important;
    margin-right: 0.1rem !important;
    margin-top: 0.1rem !important;
    border-radius: 0% !important;
}

.dxbl-btn {
    border-radius: 0px;
    margin-left: 1px !important;
    /*  margin: -2px !important;*/
    font-size: 12px;
    gap: 8px;
}
/* Estilo del overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}
    /* Estilo de la imagen GIF */
    .loading-spinner img {
        width: 25px; /* Ajusta el tamaño del GIF */
        height: 25px; /* Asegúrate de que sea proporcional */
        margin-bottom: 8px; /* Espacio entre el GIF y el texto */
    }

.textoCargando {
    margin-top: 1rem;
    width: 50rem;
    height: 2rem;
    font-family: "Open Sans", sans-serif;
    font-size: inherit !important;
}

/*FACTURAS*/
.dx-fileuploader-show-file-list .dx-fileuploader-files-container {
    padding-top: 1px !important;
}

.dx-fileuploader-input-wrapper {
    padding: 1px 0 !important;
}

.dx-fileuploader-input-container {
    display: none;
}

#btnLinea, #btnCancelar, #btnLineaMP, #btnCancelarMP {
    display: inline-block !important;
    float: right !important;
}

.btn.green-jungle {
    color: #FFF !important;
    background-color: #26C281 !important;
    border-color: #26C281 !important;
}

.unidadMedida {
    min-width: 85px !important;
    cursor: initial !important;
}

    .unidadMedida:hover {
        background-color: white !important;
    }

.descuento {
    width: 95px !important;
    min-width: 70px !important;
    background-color: rgba(0,0,0,.05);
}

.moneda {
    background-color: white;
}

.dx-button.unidadMedida .dx-button-content {
    font-size: 120%;
    padding-left: 5px;
    padding-right: 5px;
}

.dx-button.descuento .dx-button-content {
    font-size: 120%;
    padding-left: 5px;
    padding-right: 5px;
}

.dx-button.moneda .dx-button-content {
    padding: 0px 5px 0px 5px;
    opacity: inherit !important;
}

.dx-state-disabled .dx-button.moneda .dx-button-text, .dx-state-disabled.dx-button .dx-button-text {
    opacity: inherit !important;
}

.dx-state-disabled.moneda {
    opacity: inherit !important;
}

.dx-button-mode-text.dx-state-hover {
    background-color: rgba(0,0,0,.1) !important;
    border-color: transparent;
}

.dx-button-mode-text.moneda.dx-state-hover {
    background-color: white !important;
    border-color: transparent;
}

.form-total {
    padding: 3px 0px 0px 0px !important;
    font-weight: bold !important;
}

div.dx-label span {
    font-size: inherit !important;
}

#invCantidad, #divInicio, #divMetodo, #divPlazo, #divContactos, #divDetalle, #divCliente, #divTranferencia01, #divTarjeta01, #divTranferencia02, #divTarjeta02, #infoTarjeta01, #infoTarjeta02, .divMetodo {
    display: none;
}

.dx-texteditor-buttons-container > .dx-button {
    margin: 0px !important;
}

.text-right > div > div > .dx-texteditor-input {
    text-align: right;
}

.has-errorDataGrid > div:first-child {
    border: 1px solid red !important;
}

#divCompra {
    display: none;
}

.page-button {
    background-color: transparent;
    border: none;
    color: #333;
    font-weight: 400;
    padding: 6px 12px;
    margin: 0 5px;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
}

    .page-button:hover {
        background-color: #f0f0f0;
    }

    .page-button.active {
        background-color: #0055A5;
        color: #ffffff;
    }

/*Estilos para barra de progreso */

@keyframes progress-bar-stripes {
    0% {
        background-position-x: 1rem;
    }
}

.progress,
.progress-stacked {
    --bs-progress-height: 1rem;
    --bs-progress-font-size: 0.75rem;
    --bs-progress-bg: var(--bs-gray-100);
    --bs-progress-border-radius: 6px;
    --bs-progress-box-shadow: none;
    --bs-progress-bar-color: #ffffff;
    --bs-progress-bar-bg: #009ef7;
    --bs-progress-bar-transition: width 0.6s ease;
    display: flex;
    height: var(--bs-progress-height);
    overflow: hidden;
    font-size: var(--bs-progress-font-size);
    background-color: var(--bs-progress-bg);
    border-radius: var(--bs-progress-border-radius);
    box-shadow: var(--bs-progress-box-shadow);
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: var(--bs-progress-bar-color);
    text-align: center;
    white-space: nowrap;
    background-color: var(--bs-progress-bar-bg);
    transition: var(--bs-progress-bar-transition);
}

@media (prefers-reduced-motion: reduce) {
    .progress-bar {
        transition: none;
    }
}

.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: var(--bs-progress-height) var(--bs-progress-height);
}

.progress-stacked > .progress {
    overflow: visible;
}

    .progress-stacked > .progress > .progress-bar {
        width: 100%;
    }

.progress-bar-animated {
    animation: 1s linear infinite progress-bar-stripes;
}

@media (prefers-reduced-motion: reduce) {
    .progress-bar-animated {
        animation: none;
    }
}
/*botones de carusel de Tab*/
.wizard-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-top: 10px;
}

.wizard-step {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    text-align: center;
    flex: 1;
}

.wizard-step-circle {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #ccc;
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
}

.wizard-step-label {
    font-size: 0.9rem;
    color: #333;
    max-width: 80%;
    overflow-wrap: break-word;
}

.completed .wizard-step-circle {
    background-color: #F1C40F;
    color: #fff;
}


.active .wizard-step-circle {
    background-color: #17a2b8;
}

.wizard-progress {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
/*Estilos Para acordion */
.AccordionEncabezado .dxbl-accordion-group {
    border: none !important;
    box-shadow: none !important;
}

.AccordionEncabezado .dxbl-accordion-group-header {
    background-color: white;
    border-right: none;
    border-left: none;
    color: #e45543;
    transition: all 0.3s ease;
}

    .AccordionEncabezado .dxbl-accordion-group-header:hover {
        background-color: white !important; /* Color de fondo al hacer hover */
        color: #e45543 !important; /* Cambia el color del texto al pasar el mouse */
        cursor: pointer;
    }

/*Fin Estilos Para acordion Dos en Detalles*/
/*Estilos Para acordion */
.AccordionEncabezadoDetalle .dxbl-accordion-group {
    border: 1px solid #32c5d2 !important;
    box-shadow: 1px !important;
}

.AccordionEncabezadoDetalle .dxbl-accordion-group-header {
    background-color: #32c5d2 !important;
    color: white !important;
    cursor: pointer;
    box-shadow: 1px !important;
}

.AccordionEncabezadoDetalle .dxbl-accordion-item-text {
    color: #FFF !important;
    float: left !important;
    display: inline-block !important;
    font-size: 18px !important;
    line-height: 18px;
    padding: 10px 0 !important;
}
/*Fin Estilos Para acordion dosDetalles*/
/*Contenido mensaje historico*/
.timeline-item {
    display: flex;
    align-items: flex-start;
    margin: 15px;
    position: relative;
}

.timeline-badge {
    flex-shrink: 0;
    margin-right: 10px;
    position: relative;
    z-index: 2;
}

.timeline-badge-userpic {
    border-radius: 50%;
    border: 2px solid #fff;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}


.timeline-body {
    background-color: #f5f6fa; /* Color de fondo claro */
    padding: 10px 15px;
    border-radius: 8px;
    position: relative;
    flex-grow: 1;
    width: 100%;
}

    .timeline-body::before {
        content: "";
        position: absolute;
        left: -10px;
        top: 15px;
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-right: 10px solid #f5f6fa; /* mismo color que el fondo */
    }

.timeline-body-title {
    font-weight: 600;
    font-size: 14px;
    color: #e74c3c; /* Color principal */
    margin-bottom: 2px;
}

.timeline-body-time {
    font-size: 13px;
    color: #e74c3c;
}

.timeline-body-content {
    margin-top: 5px;
    font-size: 13px;
    color: #555;
}

/* Estilos de color opcionales */
.font-red {
    color: #e74c3c;
}

.font-blue {
    color: #3498db;
}

.font-green {
    color: #2ecc71;
}


.dxbl-dropdown {
    max-width: none !important;
    width: 70rem;
}


.dxbl-loading-panel .dxbl-loading-panel-container.dxbl-loading-panel-shading {
    background-color: rgba(255, 255, 255, 0.85) !important;
}

.dxbl-loading-panel .dxbl-loading-panel-message {
    font-size: var(--dxbl-loading-panel-message-size);
    color: #5f368d !important;
}

.dxbl-wait-indicator.dxbl-wait-indicator-spin > svg > g > circle {
    fill: transparent !important;
    stroke: #5f368d !important;
    opacity: .3 !important;
}

.dxbl-wait-indicator.dxbl-wait-indicator-spin > svg > g > g {
    stroke: #5f368d !important;
}

.dxbl-group-header, dxbl-accordion-group-header {
    background-color: white !important;
}

.dxbl-accordion, .dxbl-accordion-group {
    border: none !important;
}

.dxbl-accordion-item-text {
    font-size: 16px !important;
}

.dxbl-accordion-item-text, .icon-share {
    color: #666 !important;
    padding: 10px 0 !important;
    font-weight: bold;
}

.dxbl-virtual-toolbar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.input-with-suffix {
    display: flex;
    align-items: center;
    gap: 4px; /* Espacio entre input y símbolo */
}

.spin-edit-custom {
    flex: 1; /* Que el SpinEdit use todo el espacio disponible */
}

.unidad-medida {
    background-color: #f0f0f0;
    border: 1px solid #dcdcdc;
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dxbl-group-header, .dxbl-accordion-group-header {
    background-color: #e5e5e5 !important;
    margin-bottom: 1rem !important;
}

.dxbl-accordion-item-text, .dxbl-tabs-text-overflow {
    margin-left: 5px;
}


/*Tipos documentos para apartado en editar subcuenta*/
.tipo-documentos-container {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tipo-documento-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .tipo-documento-item:hover {
        background-color: #f5f5f5;
    }

.checkbox-custom {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.label-custom {
    font-size: 15px;
    color: #333;
    cursor: pointer;
}



/*_______________________Estilos a prueba ya que son traidos de otros css ____________________________________________________________________________*/
/*BOTONES  EN PRUEBA*/
.page-toolbar {
    margin-top: 1rem !important;
    margin-left: 1rem !important;
    margin-bottom: 1rem !important;
}


.btn-circle {
    border-radius: 50% !important;
}

.btn-icon-only {
    height: 27px !important;
    width: 27px !important;
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 2px !important;
}

.btn.btn-icon i,
.btn.btn-icon .svg-icon {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.btn.btn-outline.btn-outline-dashed {
    border-width: 1px !important;
    border-style: dashed !important;
}

    .btn-check:checked + .btn.btn-outline.btn-outline-dashed, .btn-check:active + .btn.btn-outline.btn-outline-dashed, .btn.btn-outline.btn-outline-dashed:focus:not(.btn-active), .btn.btn-outline.btn-outline-dashed:hover:not(.btn-active), .btn.btn-outline.btn-outline-dashed:active:not(.btn-active), .btn.btn-outline.btn-outline-dashed.active, .btn.btn-outline.btn-outline-dashed.show, .show > .btn.btn-outline.btn-outline-dashed {
        border-color: var(--bs-primary) !important;
    }

/*_______________________FIN Estilos a prueba ya que son traidos de otros css ____________________________________________________________________________*/
