/* input(960,1): run-time error CSS1019: Unexpected token, found '@' */
.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    color: #999;
    border-color: #999;
}
/*Quitar el control de revelación de contraseñas de Microsoft Edge*/
input::-ms-reveal,
input::-ms-clear {
    display: none;
}

.validation-message {
    font-size: 10px;
    color: #dc3545;
}

.color-bg-modal-header-borrar,
.btn-danger-modal-borrar {
    background-color: indianred;
}

.header-ficha {
    background-color: #e7f1ff;
    color: #0c63e4;
    padding-bottom: 0.6em;
    padding-top: 1em;
    margin-bottom: 6px;
}

.color-text-header-lista {
    color: #712cf9e6;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.navbar-brand-text {
    font-size: .9rem;
}

/* Initial loading and hovering*/
.custom.e-input-group:not(.e-success):not(.e-warning):not(.e-error):not(.e-float-icon-left),
.custom.e-input-group.e-control-wrapper:not(.e-success):not(.e-warning):not(.e-error):not(.e-float-icon-left),
.custom.e-input-group:hover:not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled):not(.e-float-icon-left),
.custom.e-input-group.e-control-wrapper:hover:not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled):not(.e-float-icon-left) {
    border-color: lightcoral;
}

/*While focus in for FLoatlabeltype nerver*/
.custom.e-input-group.e-control-wrapper:not(.e-float-icon-left):not(.e-float-input)::before,
.custom.e-input-group.e-control-wrapper:not(.e-float-icon-left):not(.e-float-input)::after {
    background-color: lightcoral;
}

/*While focus in floatlabeltye Auto*/
.custom.e-float-input.e-input-group:not(.e-float-icon-left) .e-float-line::before,
.custom.e-float-input.e-input-group:not(.e-float-icon-left) .e-float-line::after,
.custom.e-float-input.e-input-group.e-float-icon-left .e-input-in-wrap .e-float-line::before,
.custom.e-float-input.e-input-group.e-float-icon-left .e-input-in-wrap .e-float-line::after,
.custom.e-float-input.e-control-wrapper.e-input-group:not(.e-float-icon-left) .e-float-line::before,
.custom.e-float-input.e-control-wrapper.e-input-group:not(.e-float-icon-left) .e-float-line::after,
.custom.e-float-input.e-control-wrapper.e-input-group.e-float-icon-left .e-input-in-wrap .e-float-line::before,
.custom.e-float-input.e-control-wrapper.e-input-group.e-float-icon-left .e-input-in-wrap .e-float-line::after {
    background: lightcoral;
}

.mycheckBig input {
    width: 25px;
    height: 25px;
}

.mycheckMedium input {
    width: 20px;
    height: 20px;
}

.mycheckSmall input {
    width: 15px;
    height: 15px;
}

/*Sobreescribimos el (td, hover) para mostrar la mano al pasar por los rows del grid de syncfusion*/
tr, .e-row :hover {
    cursor: pointer;
}

/* icon buscar para los sftextbox */
.e-search::before {
    content: '\e754';
    font-family: e-icons;
}

.spin-row {
    position: relative;
    height: 120px;
    width: 120px;
}

/* ========================================
   ESTILOS PARA MENSAJES DE ALERTA MEJORADOS
   ======================================== */

.mensaje-alert-mejorado {
    font-size: 0.9rem;
    line-height: 1.4; /* ✅ Reducido de 1.6 a 1.4 */
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.mensaje-contenido {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.4; /* ✅ Consistencia con el contenedor */
}

    /* Estilos para código dentro de mensajes */
    .mensaje-contenido code {
        background-color: rgba(0, 0, 0, 0.05);
        padding: 0.125rem 0.25rem;
        border-radius: 0.25rem;
        font-size: 0.85em;
        color: #d63384;
        word-break: break-all;
    }

    /* Estilos para los detalles técnicos */
    .mensaje-contenido em {
        display: block;
        margin-top: 0.5rem; /* ✅ Reducido de 0.75rem */
        padding-top: 0.5rem; /* ✅ Reducido de 0.75rem */
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 0.85em;
        color: rgba(0, 0, 0, 0.65);
        line-height: 1.3; /* ✅ Aún más compacto para detalles técnicos */
    }

    /* Mejorar legibilidad de strong */
    .mensaje-contenido strong {
        font-weight: 600;
        display: inline-block;
        margin-bottom: 0.125rem; /* ✅ Reducido de 0.25rem */
    }

    /* Reducir espacio después de <br> */
    .mensaje-contenido br {
        line-height: 0.8; /* ✅ Minimiza el espacio de los saltos de línea */
    }

/* Variantes de color para cada tipo de alerta */
.alert-danger .mensaje-contenido code {
    background-color: rgba(220, 53, 69, 0.1);
    color: #842029;
}

.alert-warning .mensaje-contenido code {
    background-color: rgba(255, 193, 7, 0.1);
    color: #664d03;
}

.alert-info .mensaje-contenido code {
    background-color: rgba(13, 110, 253, 0.1);
    color: #084298;
}

.alert-success .mensaje-contenido code {
    background-color: rgba(25, 135, 84, 0.1);
    color: #0f5132;
}

/* Responsive: en pantallas pequeñas, ajustar layout */
@media (max-width: 576px) {
    .mensaje-alert-mejorado {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }

        .mensaje-alert-mejorado .d-flex {
            flex-direction: column;
        }

        .mensaje-alert-mejorado svg {
            margin-bottom: 0.5rem;
        }

        .mensaje-alert-mejorado .btn-close {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
        }
}

/* Animación suave al aparecer */
.mensaje-alert-mejorado.show {
    animation: slideDownAlert 0.3s ease-out;
}

@keyframes slideDownAlert {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ESTILOS MODERNOS PARA SYNCFUSION GRID 
   ======================================== */

/* Variables de color principales */
:root {
    --grid-header-bg: #6c757d; /* ✅ Color de fondo del encabezado #f5f7fa */
    --grid-header-text: #fff;
    --grid-border: #e5e7eb;
    --grid-hover: #f3f4f6;
    --grid-selected: #eff6ff;
    --grid-accent: #3b82f6;
    --grid-filter-bg: #fafbfc; /* ✅ Fondo de filtros ligeramente diferente */
}

/* ========== HEADER DEL GRID ========== */

/* ✅ Fondo del encabezado */
.e-grid .e-columnheader .e-headercell {
    background-color: var(--grid-header-bg) !important;
    border-right: none !important; /* ✅ QUITAR bordes verticales entre columnas */
    border-left: none !important; /* ✅ QUITAR bordes verticales entre columnas */
}

/* ✅ QUITAR BORDES DE LOS RESIZE HANDLERS */
.e-grid.e-resize-lines .e-headercell .e-rhandler,
.e-grid.e-resize-lines .e-headercell .e-rsuppress {
    border-right: none !important;
    border-left: none !important;
}

/* O mantener funcionalidad pero sin borde visible */
.e-grid .e-columnheader .e-rhandler {
    border: none !important;
    background: transparent !important;
}

    .e-grid .e-columnheader .e-rhandler:hover {
        background-color: rgba(59, 130, 246, 0.1) !important; /* Mostrar solo al hover adb5bd */
    }

/* Texto del encabezado - solo estilo tipográfico */
.e-grid .e-columnheader .e-headertext {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--grid-header-text);
}

/* Hover suave en encabezados */
.e-grid .e-columnheader .e-headercell:hover {
    background-color: #adb5bd !important; /* ✅ Ligeramente más oscuro en hover */
}

.e-grid th.e-headercell[aria-sort=ascending]:not(.e-columnselection) .e-headertext,
.e-grid th.e-headercell[aria-sort=descending]:not(.e-columnselection) .e-headertext,
.e-grid th.e-headercell[aria-sort=ascending] .e-sortfilterdiv,
.e-grid th.e-headercell[aria-sort=descending] .e-sortfilterdiv {
    color: #fff;
    opacity: 1;
}

/* ✅ ICONOS DEL HEADER EN COLOR PRIMARY (ACTIVADO) */
/* Icono de ordenamiento - alternativa con variable CSS */
    .e-grid .e-sortfilterdiv {
        color: deepskyblue;
    }

        .e-grid .e-sortfilterdiv.e-ascending,
        .e-grid .e-sortfilterdiv.e-descending {
            color: deepskyblue !important;
        }
/* ========== FILTROS ========== */

/* ✅ Fondo de la fila de filtros */
.e-grid .e-filterbar {
    background-color: var(--grid-filter-bg) !important;
}

    /* Inputs de filtro - ✅ AZUL cuando tiene foco */
    .e-grid .e-filterbar input.e-textbox {
        border: 1px solid var(--grid-border);
        border-radius: 4px;
        transition: border-color 0.2s ease, background-color 0.2s ease;
        background-color: #ffffff;
    }

        .e-grid .e-filterbar input.e-textbox:focus {
            border-color: var(--grid-accent) !important;
            background-color: #eff6ff !important; /* ✅ Fondo azul claro al enfocar */
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
            outline: none;
        }

    /* ✅ OPCIONAL: Icono de limpiar filtro en azul */
    .e-grid .e-filterbar .e-clear-icon:hover {
        color: var(--grid-accent);
    }

/* ========== FILAS DEL GRID ========== */

/* Hover en filas */
.e-grid .e-row:hover .e-rowcell,
.e-grid .e-altrow:hover .e-rowcell {
    background-color: var(--grid-hover) !important;
}

/* Fila seleccionada */
.e-grid .e-row[aria-selected="true"] .e-rowcell {
    background-color: var(--grid-selected) !important;
}

/* ========== TOOLBAR ========== */

/*.e-grid .e-toolbar {
    background-color: transparent !important;
    border-bottom: none !important;
}*/

     /*✅ Fondo transparente para el contenedor de items */
    /*.e-grid .e-toolbar .e-toolbar-items {
        background-color: transparent !important;
    }*/

    /* Input de búsqueda */
    .e-grid .e-toolbar .e-searchinput {
        border: 1px solid var(--grid-border);
        border-radius: 6px;
        transition: all 0.2s ease;
        background-color: #ffffff !important; /* ✅ Fondo blanco */
    }

        .e-grid .e-toolbar .e-searchinput:focus {
            border-color: var(--grid-accent);
            background-color: #ffffff !important; /* ✅ Mantener blanco al enfocar */
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

/* ========== PAGINADOR ========== */

/* Números de página */
.e-grid .e-pager .e-numericitem {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .e-grid .e-pager .e-numericitem:hover:not(.e-currentitem) {
        background-color: var(--grid-hover);
    }

.e-grid .e-pager .e-currentitem {
    background-color: var(--grid-accent) !important;
    color: #ffffff !important;
    font-weight: 600;
}

/* Botones del paginador */
.e-grid .e-pager .e-icons:not(.e-disable):hover {
    color: var(--grid-accent);
}

/* ========== GROUPDROPAREA ========== */

.e-grid .e-groupdroparea {    
    border: 2px dashed var(--grid-border);
    border-radius: 6px;
    color: #9ca3af;
    transition: all 0.2s ease;
}

    .e-grid .e-groupdroparea:hover {
        border-color: var(--grid-border);
        background: #eff6ff;
        color: var(--grid-border);
    }
/* ========== SCROLL PERSONALIZADO ========== */

.e-grid .e-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.e-grid .e-content::-webkit-scrollbar-track {
    background: #f9fafb;
}

.e-grid .e-content::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

    .e-grid .e-content::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }
/* ========================================
   FIN ESTILOS MODERNOS PARA SYNCFUSION GRID 
   ======================================== */

/* Estética portlet para fichas y listas*/
.portlet {
    box-shadow: 0 1px 15px 1px rgba(69,65,78,.08);
    border: 0;
    border-radius: 0;
}

.portlet-header-blanco {
    padding: .875rem 1rem;
    border-bottom: 1px solid #eef0f4;
    background-color: #fff;
}

.portlet-header-azul {
    padding: .875rem 1rem;
    border-bottom: 1px solid #eef0f4;
    background-color: #e7f1ff;
}

.portlet-title {
    color: #5867dd; /* “brand” */
    font-weight: 600;
    margin: 0;
    font-size: 1.05rem;
}

.portlet-title-lista {
    color: #0C63E4; /* “brand” */
    font-weight: 600;
    margin: 0;
    font-size: calc(1.275rem + 0.3vw);
}

/* ✅ Nueva clase para personalizar el color del título */
.portlet-title-custom {
    color: #dc3545; /* Rojo (ejemplo) - Cambia este valor por el color que desees */
    font-weight: 600;
    margin: 0;
    font-size: 1.05rem;
}

/* ✅ Variantes de colores predefinidos para títulos */
.portlet-title-primary {
    color: #0d6efd !important;
}

.portlet-title-success {
    color: #198754 !important;
}

.portlet-title-warning {
    color: #ffc107 !important;
}

.portlet-title-danger {
    color: #dc3545 !important;
}

.portlet-title-info {
    color: #0dcaf0 !important;
}

.portlet-title-dark {
    color: #212529 !important;
}

.portlet-title-secondary {
    color: #6c757d !important;
}

.portlet-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0px solid #e2e6ee;
    border-radius: 0;
    margin-right: .5rem;
    font-size: 1rem;
    color: #6c757d;
    background-color: #fff;
}

.btn-circle {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* === ESTILOS TAB-SYNCFUSION (BOOTSTRAP-LIKE) === */

/* Reset básico */
.custom-presupuesto-tabs.e-tab * {
    box-sizing: border-box !important;
}

/* Contenedor principal tipo panel */
.custom-presupuesto-tabs.e-tab {
    margin-bottom: 20px !important;
    background-color: #fff !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05) !important;
    box-shadow: 0 1px 1px rgba(0,0,0,.05) !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.42857143 !important;
    color: #333 !important;
}

/* Variante default (borde gris) */
.custom-presupuesto-tabs.tab-default.e-tab {
    border-color: #ddd !important;
}

/* Header de pestañas (equiv. panel-heading + nav-tabs) */
.custom-presupuesto-tabs.e-tab > .e-tab-header {
    padding: 5px 5px 0 5px !important;
    /*border-bottom: 1px solid #ddd !important;*/ /* ← línea base */
    border-bottom: none !important;
    border-top-left-radius: 3px !important;
    border-top-right-radius: 3px !important;
    margin: 0 !important;
    position: relative !important;
    background-color: #f5f5f5 !important;
    min-height: auto !important;
    height: auto !important;
}

/* Contenedor interno de Syncfusion sin adornos extra */
.custom-presupuesto-tabs.e-tab .e-tab-header .e-toolbar {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

.custom-presupuesto-tabs.e-tab .e-tab-header .e-toolbar-items {
    border-bottom: none !important; /*1px solid transparent;*/ /* ELIMINAMOS LA LÍNEA INFERIOR */
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    list-style: none !important;
    border: none !important;
    margin: 0 !important;
    background: transparent !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
}

/* Pestañas (li) */
.custom-presupuesto-tabs.e-tab .e-tab-header .e-toolbar-item {
    position: relative !important;
    display: block !important;
    float: left !important;
    margin-bottom: -1px !important;
    margin-right: 2px !important;
    border: 1px solid transparent !important;
    border-bottom: transparent !important;
    border-radius: 4px 4px 0 0 !important;
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
    min-height: auto !important;
    list-style: none !important;
}

    /* Enlaces de pestaña (equiv. <a>) */
    .custom-presupuesto-tabs.e-tab .e-tab-header .e-toolbar-item .e-tab-wrap {
        position: relative !important;
        display: block !important;
        padding: 10px 15px !important;
        margin: 0 !important;
        margin-bottom: -1px !important;
        line-height: 1.42857143 !important;
        border: none !important;
        border-radius: 4px 4px 0 0 !important;
        color: #777 !important; /* COLOR NEGRO POR DEFECTO */
        text-decoration: none !important;
        background: transparent !important;
        cursor: pointer !important;
        height: auto !important;
        box-sizing: border-box !important;
        float: none !important;
    }

    /* Hover */
    .custom-presupuesto-tabs.e-tab .e-tab-header .e-toolbar-item:hover .e-tab-wrap {
        background-color: #ddd !important;
        border-color: #ddd #ddd #ddd #ddd !important;
        color: #333 !important;
    }

    /* Pestaña activa */
    .custom-presupuesto-tabs.e-tab .e-tab-header .e-toolbar-item.e-active {
        margin-bottom: -1px !important;
        border-bottom-color: transparent !important;
        z-index: 2 !important;
    }

        .custom-presupuesto-tabs.e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap {
            color: #777 !important;
            cursor: default !important;
            background-color: #fff !important;
            border: 1px solid #ddd !important;
            /* border-bottom: none !important; */ /* NO borde inferior → rompe la línea */
            border-bottom-color: transparent !important;
            border-radius: 4px 4px 0 0 !important;
        }

    /* Texto e iconos */
    .custom-presupuesto-tabs.e-tab .e-tab-header .e-toolbar-item .e-tab-text {
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
        font-size: 14px !important;
        font-weight: normal !important;
        color: inherit !important;
        line-height: 1.42857143 !important;
        margin: 0 !important;
    }

    .custom-presupuesto-tabs.e-tab .e-tab-header .e-toolbar-item .e-icon-left {
        margin-right: 6px !important;
        color: inherit !important;
    }

/* Clearfix */
.custom-presupuesto-tabs.e-tab .e-tab-header .e-toolbar-items::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Contenido de los tabs (panel-body) */
.custom-presupuesto-tabs.e-tab .e-content {
    position: relative !important;
    min-height: 1px !important;
    padding: 15px !important;
    background: #fff !important;
    border-radius: 0 0 3px 3px !important;
    border-top: none !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.42857143 !important;
    color: #333 !important;
    box-sizing: border-box !important;
}

    .custom-presupuesto-tabs.e-tab .e-content .e-item.e-active {
        background: #fff !important;
        display: block !important;
    }

    /* Eliminamos líneas extra de Syncfusion */
    .custom-presupuesto-tabs.e-tab .e-tab-header::before,
    .custom-presupuesto-tabs.e-tab .e-tab-header::after,
    .custom-presupuesto-tabs.e-tab .e-content::before,
    .custom-presupuesto-tabs.e-tab .e-toolbar::after,
    .custom-presupuesto-tabs.e-tab .e-tab-header .e-toolbar-items::before,
    .custom-presupuesto-tabs.e-tab .e-tab-header .e-toolbar-items::after {
        display: none !important;
    }

/* === VARIANTES DE COLOR BOOTSTRAP === */
/* Panel primary (azul Bootstrap) */
.custom-presupuesto-tabs.tab-primary.e-tab {
    border-color: #428bca !important;
}

    .custom-presupuesto-tabs.tab-primary.e-tab > .e-tab-header {
        background-color: #428bca !important;
        border-color: #2a6496 !important;
    }

        .custom-presupuesto-tabs.tab-primary.e-tab > .e-tab-header .e-toolbar-item .e-tab-wrap {
            color: #fff !important;
        }

        .custom-presupuesto-tabs.tab-primary.e-tab > .e-tab-header .e-toolbar-item:hover .e-tab-wrap {
            background-color: #3071a9 !important;
            color: #ddd !important;
        }

        .custom-presupuesto-tabs.tab-primary.e-tab > .e-tab-header .e-toolbar-item.e-active .e-tab-wrap {
            color: #428bca !important;
            background-color: #fff !important;
            border: 1px solid #ddd !important;
            border-bottom: none !important;
        }

/* Panel Success (verde Bootstrap) */
.custom-presupuesto-tabs.tab-success.e-tab {
    border-color: #d6e9c6 !important;
}

    .custom-presupuesto-tabs.tab-success.e-tab > .e-tab-header {
        background-color: #dff0d8 !important;
        border-color: #d6e9c6 !important;
    }

        .custom-presupuesto-tabs.tab-success.e-tab > .e-tab-header .e-toolbar-item .e-tab-wrap {
            color: #3c763d !important;
        }

        .custom-presupuesto-tabs.tab-success.e-tab > .e-tab-header .e-toolbar-item:hover .e-tab-wrap {
            background-color: #d6e9c6 !important;
            color: #65ab66 !important;
        }

        .custom-presupuesto-tabs.tab-success.e-tab > .e-tab-header .e-toolbar-item.e-active .e-tab-wrap {
            color: #3c763d !important;
            background-color: #fff !important;
            border: 1px solid #ddd !important;
            border-bottom: none !important;
        }

/* Panel Info (celeste Bootstrap) */
.custom-presupuesto-tabs.tab-info.e-tab {
    border-color: #bce8f1 !important;
}

    .custom-presupuesto-tabs.tab-info.e-tab > .e-tab-header {
        background-color: #d9edf7 !important;
        border-color: #bce8f1 !important;
    }

        .custom-presupuesto-tabs.tab-info.e-tab > .e-tab-header .e-toolbar-item .e-tab-wrap {
            color: #31708f !important;
        }

        .custom-presupuesto-tabs.tab-info.e-tab > .e-tab-header .e-toolbar-item:hover .e-tab-wrap {
            background-color: #bce8f1 !important;
            color: #2ea4dd !important;
        }

        .custom-presupuesto-tabs.tab-info.e-tab > .e-tab-header .e-toolbar-item.e-active .e-tab-wrap {
            color: #31708f !important;
            background-color: #fff !important;
            border: 1px solid #ddd !important;
            border-bottom: none !important;
        }

/* Panel Warning (amarillo Bootstrap) */
.custom-presupuesto-tabs.tab-warning.e-tab {
    border-color: #faebcc !important;
}

    .custom-presupuesto-tabs.tab-warning.e-tab > .e-tab-header {
        background-color: #fcf8e3 !important;
        border-color: #faebcc !important;
    }

        .custom-presupuesto-tabs.tab-warning.e-tab > .e-tab-header .e-toolbar-item .e-tab-wrap {
            color: #8a6d3b !important;
        }

        .custom-presupuesto-tabs.tab-warning.e-tab > .e-tab-header .e-toolbar-item:hover .e-tab-wrap {
            background-color: #faebcc !important;
            color: #cb9e50 !important;
        }

        .custom-presupuesto-tabs.tab-warning.e-tab > .e-tab-header .e-toolbar-item.e-active .e-tab-wrap {
            color: #8a6d3b !important;
            background-color: #fff !important;
            border: 1px solid #ddd !important;
            border-bottom: none !important;
        }

/* Panel Danger (rojo Bootstrap) */
.custom-presupuesto-tabs.tab-danger.e-tab {
    border-color: #ebccd1 !important;
}

    .custom-presupuesto-tabs.tab-danger.e-tab > .e-tab-header {
        background-color: #f2dede !important;
        border-color: #ebccd1 !important;
    }

        .custom-presupuesto-tabs.tab-danger.e-tab > .e-tab-header .e-toolbar-item .e-tab-wrap {
            color: #a94442 !important;
        }

        .custom-presupuesto-tabs.tab-danger.e-tab > .e-tab-header .e-toolbar-item:hover .e-tab-wrap {
            background-color: #ebccd1 !important;
            color: #d04340 !important;
        }

        .custom-presupuesto-tabs.tab-danger.e-tab > .e-tab-header .e-toolbar-item.e-active .e-tab-wrap {
            color: #d9534f !important;
            background-color: #fff !important;
            border: 1px solid #ddd !important;
            border-bottom: none !important;
        }

/* === TABS ANIDADOS === */
.custom-presupuesto-tabs .custom-presupuesto-tabs {
    margin: 10px 0 !important;
}

    .custom-presupuesto-tabs .custom-presupuesto-tabs.e-tab .e-content {
        padding: 10px !important;
    }

/* Sample specific styles*/
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}
/* Specific styles for TreeView component expandable && collapse icon element*/
.sidebar-treeview .e-treeview .e-icon-collapsible,
.sidebar-treeview .e-treeview .e-icon-expandable {
    float: right;
}

.sidebar-treeview .e-treeview .e-icon-collapsible,
.sidebar-treeview .e-treeview .e-icon-expandable {
    margin: 3px;
}

.tailwind .sidebar-treeview .e-treeview .e-icon-collapsible,
.tailwind-dark .sidebar-treeview .e-treeview .e-icon-expandable {
    margin: 7px;
}

.e-bigger .sidebar-treeview .e-treeview .e-icon-collapsible,
.e-bigger .sidebar-treeview .e-treeview .e-icon-expandable {
    margin: 8px;
}
/* Specific styles for TreeView component*/
.sidebar-treeview .e-treeview,
.sidebar-treeview .e-treeview .e-ul {
    padding: 0;
    margin: 0;
}

#wrapper .sidebar-treeview {
    z-index: 20 !important;
}
/* Specific styles for main-menu-header element */
.sidebar-treeview .main-menu .main-menu-header {
    color: #656a70;
    padding: 15px 15px 15px 0;
    font-size: 14px;
    width: 13em;
    margin: 0;
}

.material-dark .sidebar-treeview .main-menu .main-menu-header, .highcontrast .sidebar-treeview .main-menu .main-menu-header,
.fabric-dark .sidebar-treeview .main-menu .main-menu-header, .bootstrap-dark .sidebar-treeview .main-menu .main-menu-header,
.tailwind-dark .sidebar-treeview .main-menu .main-menu-header {
    color: white;
}

.material-dark .sidebar-treeview .main-treeview .icon {
    color: white;
}

#main-text .sidebar-heading {
    font-size: 16px;
}

.e-bigger #main-text .sidebar-heading {
    font-size: 18px;
}
/* specifies the table of content area styles */
.sidebar-treeview .table-content {
    padding: 20px 18px;
    height: 8em;
}

.material .sidebar-treeview .table-content {
    padding: 20px 14px;
}

.bootstrap4 .sidebar-treeview .table-content,
.highcontrast.e-bigger .sidebar-treeview .table-content,
.fabric.e-bigger .sidebar-treeview .table-content,
.fabric-dark.e-bigger .sidebar-treeview .table-content {
    padding: 20px 22px;
}

.bootstrap .sidebar-treeview .table-content,
.bootstrap-dark .sidebar-treeview .table-content {
    padding: 20px 12px;
}

.highcontrast .sidebar-treeview .table-content {
    padding: 20px 18px;
}

.fabric .sidebar-treeview .table-content,
.fabric-dark .sidebar-treeview .table-content {
    padding: 20px 16px;
}

.bootstrap.e-bigger .sidebar-treeview .table-content,
.bootstrap-dark.e-bigger .sidebar-treeview .table-content {
    padding: 20px;
}

.bootstrap4.e-bigger .sidebar-treeview .table-content {
    padding: 20px 30px;
}

.material.e-bigger .sidebar-treeview .table-content {
    padding: 20px 18px;
}

.e-bigger .sidebar-treeview .table-content {
    padding: 20px 27px;
}
/*Specific styles for content area elements */
#main-text .sidebar-content .line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

#main-text .sidebar-content {
    padding: 15px;
    font-size: 14px;
}

.e-bigger #main-text .sidebar-content {
    font-size: 16px;
}

#main-text .paragraph-content {
    padding: 15px 0;
    font-weight: normal;
    font-size: 14px;
}
/*Specific styles for icon elements */
@@font-face {
    font-family: 'fontello';
    src: url('data:application/octet-stream;base64,AAEAAAAPAIAAAwBwR1NVQiCLJXoAAAD8AAAAVE9TLzI+JUkyAAABUAAAAFZjbWFw0almQAAAAagAAAIgY3Z0IAbV/vwAABfUAAAAIGZwZ22KkZBZAAAX9AAAC3BnYXNwAAAAEAAAF8wAAAAIZ2x5Zk3OJrMAAAPIAAAPrGhlYWQTw6AfAAATdAAAADZoaGVhB2gDnAAAE6wAAAAkaG10eDHm//YAABPQAAAAOGxvY2EejhqYAAAUCAAAAB5tYXhwAfYMkAAAFCgAAAAgbmFtZcydHiAAABRIAAACzXBvc3RuKDzPAAAXGAAAALRwcmVw5UErvAAAI2QAAACGAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAEDkAGQAAUAAAJ6ArwAAACMAnoCvAAAAeAAMQECAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAQOgB6BMDUv9qAFoDUgCaAAAAAQAAAAAAAAAAAAUAAAADAAAALAAAAAQAAAF0AAEAAAAAAG4AAwABAAAALAADAAoAAAF0AAQAQgAAAAYABAABAALoCegT//8AAOgB6BD//wAAAAAAAQAGABYAAAABAAIAAwAEAAUABgAHAAgACQAKAAsADAANAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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2wXCyyAQBDKy2wXSyyAQFDKy2wXiyyAAA/Ky2wXyyyAAE/Ky2wYCyyAQA/Ky2wYSyyAQE/Ky2wYiywNysusSsBFCstsGMssDcrsDsrLbBkLLA3K7A8Ky2wZSywABawNyuwPSstsGYssDgrLrErARQrLbBnLLA4K7A7Ky2waCywOCuwPCstsGkssDgrsD0rLbBqLLA5Ky6xKwEUKy2wayywOSuwOystsGwssDkrsDwrLbBtLLA5K7A9Ky2wbiywOisusSsBFCstsG8ssDorsDsrLbBwLLA6K7A8Ky2wcSywOiuwPSstsHIsswkEAgNFWCEbIyFZQiuwCGWwAyRQeLABFTAtAEu4AMhSWLEBAY5ZsAG5CAAIAGNwsQAFQrIAAQAqsQAFQrMKAgEIKrEABUKzDgABCCqxAAZCugLAAAEACSqxAAdCugBAAAEACSqxAwBEsSQBiFFYsECIWLEDZESxJgGIUVi6CIAAAQRAiGNUWLEDAERZWVlZswwCAQwquAH/hbAEjbECAEQAAA==') format('truetype');
}

.sidebar-treeview .main-treeview .icon {
    font-family: 'fontello';
    font-size: 16px;
    margin: -4px 0;
}

#wrapper .e-toolbar .e-icons {
    font-size: 20px;
}

#wrapper .e-tbar-menu-icon:before {
    content: '\e914';
    font-family: 'sbicons';
}

.e-bigger .e-folder {
    font-size: 18px;
}

.e-folder {
    text-align: center;
    font-weight: 500;
    font-size: 16px
}
/* Specific styles for TreeView component*/
.sidebar-treeview .e-treeview .e-text-content {
    padding-left: 18px;
}

.material .sidebar-treeview .e-treeview .e-text-content {
    padding-left: 14px;
}

.bootstrap4 .sidebar-treeview .e-treeview .e-text-content {
    padding-left: 22px;
}

.bootstrap .sidebar-treeview .e-treeview .e-text-content,
.bootstrap-dark .sidebar-treeview .e-treeview .e-text-content {
    padding-left: 12px;
}

.fabric .sidebar-treeview .e-treeview .e-text-content,
.fabric-dark .sidebar-treeview .e-treeview .e-text-content {
    padding-left: 16px
}

.bootstrap.e-bigger .sidebar-treeview .e-treeview .e-text-content,
.bootstrap-dark.e-bigger .sidebar-treeview .e-treeview .e-text-content,
.bootstrap.e-bigger .sidebar-treeview .e-treeview .e-list-icon + .e-list-text,
.bootstrap-dark.e-bigger .sidebar-treeview .e-treeview .e-list-icon + .e-list-text {
    padding-left: 20px;
}

.bootstrap4.e-bigger .sidebar-treeview .e-treeview .e-text-content {
    padding-left: 30px;
}

.tailwind-dark.e-bigger .sidebar-treeview .e-treeview .e-text-content,
.tailwind.e-bigger .sidebar-treeview .e-treeview .e-text-content,
.bootstrap5.e-bigger .sidebar-treeview .e-treeview .e-text-content,
.bootstrap5-dark.e-bigger .sidebar-treeview .e-treeview .e-text-content {
    padding-left: 26px;
}

.material.e-bigger .sidebar-treeview .e-treeview .e-text-content,
.highcontrast .sidebar-treeview .e-treeview .e-text-content {
    padding-left: 18px;
}

.e-bigger .sidebar-treeview .e-treeview .e-text-content {
    padding-left: 22px;
}

.sidebar-treeview .main-treeview .icon-microchip::before {
    content: '\e806';
}

.sidebar-treeview .main-treeview .icon-thumbs-up-alt::before {
    content: '\e805';
}

.sidebar-treeview .main-treeview .icon-docs::before {
    content: '\e802';
}

.sidebar-treeview .main-treeview .icon-th::before {
    content: '\e803';
}

.sidebar-treeview .main-treeview .icon-code::before {
    content: '\e804';
}

.sidebar-treeview .main-treeview .icon-chrome::before {
    content: '\e807';
}

.sidebar-treeview .main-treeview .icon-up-hand::before {
    content: '\e810';
}

.sidebar-treeview .main-treeview .icon-bookmark-empty::before {
    content: '\e811';
}

.sidebar-treeview .main-treeview .icon-help-circled::before {
    content: '\e813';
}

.sidebar-treeview .main-treeview .icon-doc-text::before {
    content: '\e812';
}

.sidebar-treeview .main-treeview .icon-circle-thin::before {
    content: '\e808';
}
/* Specific styles for Toolbar component */
.tailwind-dark #wrapper .e-toolbar {
    border-bottom: 1px solid #4b5563;
}

.material #wrapper .e-toolbar {
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.tailwind #wrapper .e-toolbar {
    border-bottom: 1px solid #e5e7eb;
}

.bootstrap5-dark #wrapper .e-toolbar {
    border-bottom: 1px solid #444c54;
}

.bootstrap5 #wrapper .e-toolbar {
    border-bottom: 1px solid #d2d6de;
}

#wrapper .main-content {
    height: 380px;
}
/* Specific styles for Overall wrapper element*/
.material .sidebar-treeview {
    border-right: 1px solid rgba(0,0,0,0.12) !important;
}

.fabric .sidebar-treeview {
    border-right: 1px solid #eaeaea !important;
}

.tailwind .sidebar-treeview {
    border-right: 1px solid #d7d7d7 !important;
}

.bootstrap5-dark .sidebar-treeview {
    border-right: 1px solid #444c54 !important;
}

.bootstrap5 .sidebar-treeview {
    border-right: 1px solid #dee2e6 !important;
}

.material-dark .sidebar-treeview {
    border-right: 1px solid #616161 !important;
}

.fabric-dark .sidebar-treeview {
    border-right: 1px menu #414040 !important;
}

.tailwind-dark .sidebar-treeview {
    border-right: 1px solid #4b5563 !important;
}

.bootstrap5 .e-folder-name, .bootstrap5-dark .e-folder-name {
    margin-top: -2px;
}

.bootstrap4 .e-folder-name,
.bootstrap .e-folder-name, .bootstrap-dark .e-folder-name {
    margin-top: 3px;
}

.material .e-folder-name, .material-dark .e-folder-name {
    margin-top: 1px;
}

/* ===================================
   Tamaño del modal de edición SfGrid
   =================================== */

/* Ancho mínimo para todos los modales de edición */
.e-dialog.e-edit-dialog {
    min-width: 800px !important; /* Ancho mínimo garantizado */
    max-width: 95vw !important; /* Máximo 95% del viewport */
    width: auto !important; /* Auto pero respetando el min-width */
}

/* Para pantallas grandes, forzar un ancho específico */
@media (min-width: 1200px) {
    .e-dialog.e-edit-dialog {
        min-width: 1000px !important;
        width: 1200px !important; /* Ancho fijo en pantallas grandes */
    }
}

/* Para pantallas extra grandes */
@media (min-width: 1400px) {
    .e-dialog.e-edit-dialog {
        min-width: 1200px !important;
        width: 1400px !important;
    }
}

/* Altura máxima responsiva */
.e-dialog.e-edit-dialog {
    max-height: 90vh !important;
}

    /* Contenido con scroll si es necesario */
    .e-dialog.e-edit-dialog .e-dlg-content {
        max-height: calc(90vh - 120px) !important;
        overflow-y: auto !important;
        padding: 1rem !important;
    }

