/* /Layout/LoginLayout.razor.rz.scp.css */
/*.page {*/
    /* Imagen de fondo */
    /*background-image: url('/iconos/fotofondo.jpg');
    background-size: cover;*/ /* La imagen cubre toda la pantalla */
    /*background-position: center;*/ /* Centra la imagen */
    /*background-repeat: no-repeat;*/ /* No repetir la imagen */
    /*background-attachment: fixed;*/ /* Fija la imagen al hacer scroll */
/*}*/
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-wnyy3453tg] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-wnyy3453tg] {
    flex: 1;
}

.sidebar[b-wnyy3453tg] {
    //background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    background-color: white;
}

.top-row[b-wnyy3453tg] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-wnyy3453tg]  a, .top-row[b-wnyy3453tg]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-wnyy3453tg]  a:hover, .top-row[b-wnyy3453tg]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-wnyy3453tg]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-wnyy3453tg] {
        justify-content: space-between;
    }

    .top-row[b-wnyy3453tg]  a, .top-row[b-wnyy3453tg]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-wnyy3453tg] {
        flex-direction: row;
    }

    .sidebar[b-wnyy3453tg] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-wnyy3453tg] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-wnyy3453tg]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-wnyy3453tg], article[b-wnyy3453tg] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-901pxox45o] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-901pxox45o] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-901pxox45o] {
    font-size: 1.1rem;
}

.bi[b-901pxox45o] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-901pxox45o] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-901pxox45o] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-901pxox45o] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-901pxox45o] {
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
    color:#918d8d;
}

    .nav-item:first-of-type[b-901pxox45o] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-901pxox45o] {
        padding-bottom: 1rem;
    }

    .nav-item[b-901pxox45o]  a {
        color: #918d8d;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-901pxox45o]  a.active {
    
    border:1px solid #e1f1b1;
}

        .nav-item[b-901pxox45o]  a:hover {
            background-color: rgba(255,255,255,0.1);
            color: #cddb96;
            border: 1px solid #e1f1b1;
        }

@media (min-width: 641px) {
    .navbar-toggler[b-901pxox45o] {
        display: none;
    }

    .collapse[b-901pxox45o] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-901pxox45o] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Albaranes.razor.rz.scp.css */
@media (max-width: 768px) {
    .dx-dropdown.dx-calendar-container .dx-calendar-body[b-0f7tq59id5] {
        flex-wrap: nowrap !important;
    }

    .dx-calendar-body > div:nth-child(2)[b-0f7tq59id5] {
        display: none !important; /* Oculta el segundo mes */
    }
}
@media (max-width: 768px) {
    /* Selector del contenedor del calendario dentro del dropdown */
    .dx-dropdown-popup .dx-calendar-body > div:nth-child(2)[b-0f7tq59id5] {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .row[b-0f7tq59id5] {
        --bs-gutter-x: 0; /* elimina los márgenes horizontales */
    }
}


/* ===== Albaranes ===== */

.albaranes-contenedor[b-0f7tq59id5] {
    max-width: 100%;
}

    .albaranes-contenedor .filtro-fila[b-0f7tq59id5] {
        max-width: 760px;
    }

    /* Contenedor del grid */
    .albaranes-contenedor .grid-container[b-0f7tq59id5] {
        width: 100%;
    }

    /* Mensaje cuando no hay datos */
    .albaranes-contenedor .mensaje-vacio[b-0f7tq59id5] {
        margin: 1rem 0;
        color: #6E6D71;
        font-size: 0.9rem;
    }



@media (max-width: 576px) {
    .albaranes-contenedor[b-0f7tq59id5] {
        width: 100%;
    }

        .albaranes-contenedor .filtro-fila[b-0f7tq59id5] {
            width: 100%;
        }

            .albaranes-contenedor .filtro-fila .btn-pildora[b-0f7tq59id5] {
                width: 100%;
            }

    .botonera[b-0f7tq59id5] {
        width: 100%;
    }

    .volver-btn[b-0f7tq59id5] {
        width: 100%;
    }
}

.mensaje-vacio[b-0f7tq59id5] {
    margin: 1rem 0;
    color: #6E6D71;
    font-size: 0.9rem;
}


.filtro-fila[b-0f7tq59id5] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

    .filtro-fila .filtro-fechas[b-0f7tq59id5] {
        flex: 1 1 280px;
        min-width: 0;
    }

.filtro-fechas[b-0f7tq59id5] {
    border-radius: 999px !important;
    border: 1px solid #e3e0da !important;
    background: #fff !important;
    overflow: hidden;
    font-size: 0.85rem;
    --dxbl-text-edit-border-radius: 999px;
}

    .filtro-fechas:focus-within[b-0f7tq59id5] {
        outline: 2px solid var(--color-fondo-sidebar);
        outline-offset: 2px;
    }

.rango-seleccionado[b-0f7tq59id5] {
    margin: 0.6rem 0 0 0.9rem;
    font-size: 0.8rem;
    color: #6E6D71;
}

.albaranes-contenedor .btn-borrar[b-0f7tq59id5] {
    color: var(--color-texto); /* gris PROACO */
}

    .albaranes-contenedor .btn-borrar:hover[b-0f7tq59id5] {
        color: var(--color-fondo-sidebar); /* burdeos al pasar el ratón */
    }
/* /Pages/Archivos/Archivos.razor.rz.scp.css */
.panel-class[b-1249f8ugy4] {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    height: 80vh;
}

.panel-left[b-1249f8ugy4] {
    min-width: 300px;
    max-width: 350px;
    overflow-y: auto;
}

.panel-right[b-1249f8ugy4] {
    flex-grow: 1;
    overflow-y: auto;
}

/* Responsive */
@media (max-width: 767px) {
    .panel-class[b-1249f8ugy4] {
        flex-direction: column;
    }

    .panel-left[b-1249f8ugy4] {
        min-width: 100%;
        max-height: 200px;
    }

    /* Texto e iconos normales del árbol móvil */
    .filetree-sidebar[b-1249f8ugy4]  .filetree-node-content,
    .filetree-sidebar[b-1249f8ugy4]  .filetree-node-main,
    .filetree-sidebar[b-1249f8ugy4]  .filetree-folder-text,
    .filetree-sidebar[b-1249f8ugy4]  .filetree-folder-icon,
    .filetree-sidebar[b-1249f8ugy4]  .filetree-node-actions button {
        color: #fff !important;
    }

    /* Nodo seleccionado */
    .filetree-sidebar[b-1249f8ugy4] 
    .dxbl-treeview-item-container[aria-selected="true"]
    .filetree-node-content {
        background: #fff !important;
        color: var(--color-fondo-sidebar) !important;
        border-radius: 999px !important;
    }

    /* Texto/iconos dentro del seleccionado */
    .filetree-sidebar[b-1249f8ugy4] 
    .dxbl-treeview-item-container[aria-selected="true"]
    .filetree-node-main,
    .filetree-sidebar[b-1249f8ugy4] 
    .dxbl-treeview-item-container[aria-selected="true"]
    .filetree-folder-text,
    .filetree-sidebar[b-1249f8ugy4] 
    .dxbl-treeview-item-container[aria-selected="true"]
    .filetree-folder-icon,
    .filetree-sidebar[b-1249f8ugy4] 
    .dxbl-treeview-item-container[aria-selected="true"]
    .filetree-node-actions button {
        color: var(--color-fondo-sidebar) !important;
    }

    /* Quitar selección propia de DevExpress */
    .filetree-sidebar[b-1249f8ugy4]  .dxbl-treeview-item-container.dxbl-active {
        background: transparent !important;
        box-shadow: none !important;
    }
}


/* Overlay móvil para árbol */
.filetree-overlay[b-1249f8ugy4] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 1500;
}

    .filetree-overlay.active[b-1249f8ugy4] {
        opacity: 1;
        pointer-events: all;
    }

/* Mini sidebar del árbol */
.filetree-sidebar[b-1249f8ugy4] {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    background: var(--color-fondo-sidebar);
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

    .filetree-sidebar.open[b-1249f8ugy4] {
        transform: translateX(0);
    }

.filetree-header[b-1249f8ugy4] {
    padding: 1rem;
    height: 70px;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   ÁRBOL DE CARPETAS
========================================================= */

.filetree-content[b-1249f8ugy4] {
    padding: 0.8rem 0.6rem;
    overflow-y: auto;
    flex: 1;
}


/* =========================================================
   CONTENIDO VISUAL DE LA CARPETA
========================================================= */

.filetree-node-content[b-1249f8ugy4] {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    color: var(--color-texto);
    transition: background-color 0.2s ease, color 0.2s ease;
}


/* Parte izquierda: icono + nombre */
.filetree-node-main[b-1249f8ugy4] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}


/* Texto */
.filetree-folder-text[b-1249f8ugy4] {
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   ICONO FOLDER.SVG
========================================================= */

.filetree-folder-icon[b-1249f8ugy4] {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}


/* =========================================================
   BOTONES DE ACCIÓN
========================================================= */

.filetree-node-actions[b-1249f8ugy4] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
}


    /* Los botones heredan el color del nodo */
    .filetree-node-actions button[b-1249f8ugy4] {
        padding: 0 0.4rem !important;
        border: none;
        background: transparent;
        color: currentColor;
        cursor: pointer;
        border-radius: 50%;
        transition: background-color 0.2s ease, color 0.2s ease;
    }


/* =========================================================
   BOTÓN NUEVA CARPETA
========================================================= */

.btn-nueva-carpeta[b-1249f8ugy4] {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.btn-cancelar[b-1249f8ugy4] {
    background-color: var(--color-texto);
}
/* Botón para abrir árbol */
.open-tree-btn[b-1249f8ugy4] {
    background: var(--color-fondo-sidebar);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: none;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Desktop: ocultar mini-sidebar y botón */
@media (min-width: 768px) {
    .filetree-sidebar[b-1249f8ugy4],
    .filetree-overlay[b-1249f8ugy4],
    .open-tree-btn[b-1249f8ugy4] {
        display: none !important;
    }
}
/* ============================
   ESTILOS COMPARTIDOS CON EL SIDEBAR
=============================== */

/* El texto pasa a tener el mismo color que el sidebar */
.sidebar-title-text[b-1249f8ugy4],
.filetree-header span[b-1249f8ugy4] {
    color: white !important;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Botón de cerrar con estilo del sidebar */
.sidebar-btn[b-1249f8ugy4] {
    background: none;
    border: none;
    color: var(--color-fondo-container);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.3rem;
    transition: transform .15s ease;
}

    .sidebar-btn:hover[b-1249f8ugy4] {
        transform: scale(1.15);
        color: var(--color-fondo-container);
    }

/* Ajuste header mini-sidebar para coincidir con el sidebar principal */
.filetree-header.sidebar-header[b-1249f8ugy4] {
    border-bottom: 1px solid rgba(255,255,255,0.15);
    height: 80px; /* igual al sidebar */
}

/* =========================================================
   TREEVIEW - ESTILO CARPETAS
   ========================================================= */

/* Contenedores internos de DevExpress transparentes */
.tree-desktop .dxbl-treeview-item-content[b-1249f8ugy4],
.tree-desktop .dxbl-treeview-item-text-container[b-1249f8ugy4],
.tree-desktop .dxbl-treeview-item-text-container .dxbl-text[b-1249f8ugy4] {
    background: transparent !important;
}

/* Contenido de cada carpeta */
.tree-desktop .filetree-node-content[b-1249f8ugy4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: transparent;
    color: var(--color-texto);
    transition: background-color 0.15s ease, color 0.15s ease;
}

/* Icono y texto normales */
.tree-desktop .filetree-node-main[b-1249f8ugy4] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-texto);
}

.tree-desktop .filetree-folder-icon[b-1249f8ugy4] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-block;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.tree-desktop .filetree-folder-text[b-1249f8ugy4] {
    color: inherit;
}

/* =========================================================
   HOVER
   ========================================================= */

.tree-desktop .filetree-node-content:hover[b-1249f8ugy4] {
    background: rgba(142, 60, 104, 0.12);
    color: var(--color-texto);
}

/* =========================================================
   SELECCIONADO
   El DOM de DevExpress tiene aria-selected="true"
   ========================================================= */

.tree-desktop .dxbl-treeview-item-container[aria-selected="true"]
.filetree-node-content[b-1249f8ugy4] {
    background: var(--color-fondo-sidebar) !important;
    color: #ffffff !important;
}

/* Texto e icono del seleccionado */
.tree-desktop .dxbl-treeview-item-container[aria-selected="true"]
.filetree-node-main[b-1249f8ugy4],
.tree-desktop .dxbl-treeview-item-container[aria-selected="true"]
.filetree-folder-text[b-1249f8ugy4],
.tree-desktop .dxbl-treeview-item-container[aria-selected="true"]
.filetree-folder-icon[b-1249f8ugy4] {
    color: #ffffff !important;
}

/* =========================================================
   SELECCIONADO + HOVER
   Mantener el burdeos y el blanco
   ========================================================= */

.tree-desktop .dxbl-treeview-item-container[aria-selected="true"]
.filetree-node-content:hover[b-1249f8ugy4] {
    background: var(--color-fondo-sidebar) !important;
    color: #ffffff !important;
}

    .tree-desktop .dxbl-treeview-item-container[aria-selected="true"]
    .filetree-node-content:hover .filetree-node-main[b-1249f8ugy4],
    .tree-desktop .dxbl-treeview-item-container[aria-selected="true"]
    .filetree-node-content:hover .filetree-folder-text[b-1249f8ugy4],
    .tree-desktop .dxbl-treeview-item-container[aria-selected="true"]
    .filetree-node-content:hover .filetree-folder-icon[b-1249f8ugy4] {
        color: #ffffff !important;
    }
/ /* =========================================================
   TREEVIEW - DESACTIVAR VISUAL DE SELECCIÓN DE DEVEXPRESS
   La selección visual la controla .filetree-node-content
========================================================= */
/* Nodo completo */
.tree-desktop .dxbl-treeview-item[b-1249f8ugy4],
.tree-desktop .dxbl-treeview-item.dxbl-active[b-1249f8ugy4] {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Contenedor del contenido */
.tree-desktop .dxbl-treeview-item-content[b-1249f8ugy4],
.tree-desktop .dxbl-treeview-item-container[b-1249f8ugy4],
.tree-desktop .dxbl-treeview-item-container.dxbl-active[b-1249f8ugy4] {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Contenedores internos */
.tree-desktop .dxbl-treeview-item-text-container[b-1249f8ugy4],
.tree-desktop .dxbl-treeview-item-text-container .dxbl-text[b-1249f8ugy4] {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Pseudo-elementos de DevExpress */
.tree-desktop .dxbl-treeview-item[b-1249f8ugy4]::before,
.tree-desktop .dxbl-treeview-item[b-1249f8ugy4]::after,
.tree-desktop .dxbl-treeview-item-content[b-1249f8ugy4]::before,
.tree-desktop .dxbl-treeview-item-content[b-1249f8ugy4]::after,
.tree-desktop .dxbl-treeview-item-container[b-1249f8ugy4]::before,
.tree-desktop .dxbl-treeview-item-container[b-1249f8ugy4]::after {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* =========================================================
   NUESTRA SELECCIÓN
========================================================= */

.tree-desktop .dxbl-treeview-item-container[aria-selected="true"]
.filetree-node-content[b-1249f8ugy4] {
    background: var(--color-fondo-sidebar) !important;
    background-color: var(--color-fondo-sidebar) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}


/* ===== TreeView desktop: quitar decoración propia de DevExpress ===== */

.tree-desktop[b-1249f8ugy4] {
    --dxbl-treeview-item-selection-bg: transparent !important;
    --dxbl-treeview-item-focus-outline-color: transparent !important;
    --dxbl-treeview-item-focus-outline-width: 0 !important;
}

    /* Contenedores DevExpress */
    .tree-desktop .dxbl-treeview-item[b-1249f8ugy4],
    .tree-desktop .dxbl-treeview-item-content[b-1249f8ugy4],
    .tree-desktop .dxbl-treeview-item-container[b-1249f8ugy4],
    .tree-desktop .dxbl-treeview-item-text-container[b-1249f8ugy4],
    .tree-desktop .dxbl-treeview-item-text-container .dxbl-text[b-1249f8ugy4] {
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

        /* Quitar focus/outline de DevExpress */
        .tree-desktop .dxbl-treeview-item-container:focus[b-1249f8ugy4],
        .tree-desktop .dxbl-treeview-item-container:focus-visible[b-1249f8ugy4] {
            outline: none !important;
            box-shadow: none !important;
            border-color: transparent !important;
        }

        /* Nuestra selección */
        .tree-desktop .dxbl-treeview-item-container[aria-selected="true"]
        .filetree-node-content[b-1249f8ugy4] {
            background: var(--color-fondo-sidebar) !important;
            background-color: var(--color-fondo-sidebar) !important;
            color: #fff !important;
            border-radius: 999px !important;
            box-shadow: none !important;
        }


    /* Quitar completamente el fondo de selección de DevExpress */
    .tree-desktop[b-1249f8ugy4]  .dxbl-treeview-item-container.dxbl-active,
    .tree-desktop[b-1249f8ugy4]  .dxbl-treeview-item-container[aria-selected="true"] {
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
        outline: none !important;
        border: none !important;
    }

    /* Por si DevExpress pinta el fondo en contenedores interiores */
    .tree-desktop[b-1249f8ugy4]  .dxbl-treeview-item-text-container,
    .tree-desktop[b-1249f8ugy4]  .dxbl-treeview-item-text-container .dxbl-text {
        background: transparent !important;
        background-color: transparent !important;
    }

    /* Quitar posibles pseudo-elementos de selección/focus */
    .tree-desktop[b-1249f8ugy4]  .dxbl-treeview-item-container.dxbl-active::before,
    .tree-desktop[b-1249f8ugy4]  .dxbl-treeview-item-container.dxbl-active::after {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }


.filetree-node-actions button[b-1249f8ugy4] {
    padding: 0 0.25rem !important;
    font-size: 0.85rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* /Pages/DocumentosCobro.razor.rz.scp.css */
/*.no-detail-row .dx-expand-button {
    display: none !important;
}*/
/*.dxbl-grid-expand-button {
    display: none !important;
}*/
/* /Pages/Facturas.razor.rz.scp.css */


/* ===== Albaranes ===== */

.albaranes-contenedor[b-hy8v84ot0j] {
    max-width: 100%;
}

    .albaranes-contenedor .filtro-fila[b-hy8v84ot0j] {
        max-width: 760px;
    }

    /* Contenedor del grid */
    .albaranes-contenedor .grid-container[b-hy8v84ot0j] {
        width: 100%;
    }

    /* Mensaje cuando no hay datos */
    .albaranes-contenedor .mensaje-vacio[b-hy8v84ot0j] {
        margin: 1rem 0;
        color: #6E6D71;
        font-size: 0.9rem;
    }



@media (max-width: 576px) {
    .albaranes-contenedor[b-hy8v84ot0j] {
        width: 100%;
    }

        .albaranes-contenedor .filtro-fila[b-hy8v84ot0j] {
            width: 100%;
        }

            .albaranes-contenedor .filtro-fila .btn-pildora[b-hy8v84ot0j] {
                width: 100%;
            }

    .botonera[b-hy8v84ot0j] {
        width: 100%;
    }

    .volver-btn[b-hy8v84ot0j] {
        width: 100%;
    }
}

.mensaje-vacio[b-hy8v84ot0j] {
    margin: 1rem 0;
    color: #6E6D71;
    font-size: 0.9rem;
}


.filtro-fila[b-hy8v84ot0j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

    .filtro-fila .filtro-fechas[b-hy8v84ot0j] {
        flex: 1 1 280px;
        min-width: 0;
    }

.filtro-fechas[b-hy8v84ot0j] {
    border-radius: 999px !important;
    border: 1px solid #e3e0da !important;
    background: #fff !important;
    overflow: hidden;
    font-size: 0.85rem;
    --dxbl-text-edit-border-radius: 999px;
}

    .filtro-fechas:focus-within[b-hy8v84ot0j] {
        outline: 2px solid var(--color-fondo-sidebar);
        outline-offset: 2px;
    }

.rango-seleccionado[b-hy8v84ot0j] {
    margin: 0.6rem 0 0 0.9rem;
    font-size: 0.8rem;
    color: #6E6D71;
}

.albaranes-contenedor .btn-borrar[b-hy8v84ot0j] {
    color: var(--color-texto); /* gris PROACO */
}

    .albaranes-contenedor .btn-borrar:hover[b-hy8v84ot0j] {
        color: var(--color-fondo-sidebar); /* burdeos al pasar el ratón */
    }
/* /Pages/Notificaciones/NotificacionesForm.razor.rz.scp.css */
/* Estilo del botón */
.btn-archivo-sec[b-lp3sdhbdlz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eee;
    color: #444;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #ccc;
    transition: background 0.2s ease;
    user-select: none;
}

    .btn-archivo-sec:hover[b-lp3sdhbdlz] {
        background: #ddd;
    }

.input-oculto[b-lp3sdhbdlz] {
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -1 !important;
}
/* /Pages/Principal.razor.rz.scp.css */
.contenedor-tarjetas[b-6mikjfkro1] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: start;
    padding: 2rem;
}

.tarjeta[b-6mikjfkro1] {
    flex: 1 1 250px;
    max-width: 370px;
    min-height: 120px;
    background-color: color-mix(in srgb, var(--color-fondo-sidebar) 10%, white);
    border: 1px solid var(--color-fondo-sidebar);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

    .tarjeta:hover[b-6mikjfkro1] {
        background-color: #d4e9fb;
        border-color: #5ca4ea;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .tarjeta h3[b-6mikjfkro1] {
        margin: 0;
        font-size: 1.2rem;
        color: #2c3e50;
    }

    .tarjeta p[b-6mikjfkro1] {
        margin-top: 0.5rem;
        font-size: 0.95rem;
        color: #555;
    }

.card-title[b-6mikjfkro1] {
    background-color: var(--color-fondo-sidebar);
    color: white;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    padding: 0.5rem;
}


.text-kilos[b-6mikjfkro1] {
    color: #FFA500; /* naranja */
}

.text-euros[b-6mikjfkro1] {
    color: #446e9b; /* azul */
}



/*  appcampodashboardtecnico   */

table td[b-6mikjfkro1] {
    text-align: center;
    vertical-align: middle;
}

table .fila-seleccionada td[b-6mikjfkro1] {
    background-color: #e0f7fa !important;
    font-weight: bold;
    outline: 2px solid #2196F3;
}
/* Colores para encabezados por estado */
.th-estado[b-6mikjfkro1] {
    font-weight: bold;
    text-align: center;
}

.th-pendiente[b-6mikjfkro1] {
    color: #FFA500;
}

.th-validado[b-6mikjfkro1] {
    color: #4CAF50;
}

.th-revisar[b-6mikjfkro1] {
    color: tomato;
}

.th-no-validado[b-6mikjfkro1] {
    color: #4CAF50;
}

.th-parcial[b-6mikjfkro1] {
    color: #2196F3;
}

.th-periodo[b-6mikjfkro1],
.td-periodo[b-6mikjfkro1] {
    color: #495057;
    text-align: center;
    vertical-align: middle;
}
/* Colores suaves para celdas de datos */
.td-pendiente[b-6mikjfkro1] {
    background-color: #f0f0f0;
    color: #495057;
}

.td-validado[b-6mikjfkro1] {
    background-color: #e8f5e9; /* verde claro */
    color: #495057;
}

.td-revisar[b-6mikjfkro1] {
    background-color: #ffe5e0; /* rojo claro / tomate suave */
    color: #495057;
}

.td-no-validado[b-6mikjfkro1] {
    background-color: #eeeeee; /* gris claro */
    color: #495057;
}

.td-parcial[b-6mikjfkro1] {
    background-color: #e3f2fd; /* azul muy claro */
    color: #495057;
}

.td-factur[b-6mikjfkro1] {
    background-color: #9C27B0; /* morado */
    color: #495057;
}

.td-pagado[b-6mikjfkro1] {
    background-color: #BA68C8; /* lila*/
    color: #495057;
}


/* Tamaño de fuente responsive */
table th[b-6mikjfkro1], table td[b-6mikjfkro1] {
    font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
    table th[b-6mikjfkro1] {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .ranking-productos[b-6mikjfkro1] {
        font-size: 0.7rem; /* Ajusta el tamaño a tu gusto */
    }
}

.nombre-articulo[b-6mikjfkro1] {
    font-size: 0.85rem; /* ajusta a tu gusto */
}


/* ===== Dashboard ===== */



.dash-columna[b-6mikjfkro1] {
    max-width: 760px;
}

.fila[b-6mikjfkro1] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.45rem 0;
    color: var(--color-texto);
    font-size: 0.95rem;
}

.fila-principal[b-6mikjfkro1] {
    padding-top: 0;
}

.etiqueta-principal[b-6mikjfkro1] {
    font-size: 1.2rem;
    font-weight: 700;
}

.importe-principal[b-6mikjfkro1] {
    font-size: 1.3rem;
    font-weight: 700;
}

.fila-estado[b-6mikjfkro1] {
    color: var(--color-fondo-sidebar);
    font-size: 0.85rem;
}

.estado-pendiente[b-6mikjfkro1] {
    color: var(--color-fondo-sidebar);
}

.estado-favor[b-6mikjfkro1] {
    color: #2e7d4f;
}

.importe-burdeos[b-6mikjfkro1] {
    color: var(--color-fondo-sidebar);
}

.importe-oscuro[b-6mikjfkro1] {
    font-weight: 700;
}

.linea-burdeos[b-6mikjfkro1] {
    border: 0;
    border-top: 1px solid var(--color-fondo-sidebar);
    opacity: 1;
    margin: 1.25rem 0;
}

/* Filtro de fechas */
.filtro-fila[b-6mikjfkro1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

    .filtro-fila .filtro-fechas[b-6mikjfkro1] {
        flex: 1 1 280px;
        min-width: 0;
    }

.filtro-fechas[b-6mikjfkro1] {
    border-radius: 999px !important;
    border: 1px solid #e3e0da !important;
    background: #fff !important;
    overflow: hidden;
    font-size: 0.85rem;
    --dxbl-text-edit-border-radius: 999px;
}

    .filtro-fechas:focus-within[b-6mikjfkro1] {
        outline: 2px solid var(--color-fondo-sidebar);
        outline-offset: 2px;
    }

.rango-seleccionado[b-6mikjfkro1] {
    margin: 0.6rem 0 0 0.9rem;
    font-size: 0.8rem;
    color: #6E6D71;
}



/* Gráficos */
.total-kilos[b-6mikjfkro1] {
    color: var(--color-fondo-sidebar);
}

.total-importe[b-6mikjfkro1] {
    color: var(--color-texto);
}

/* Accesos rápidos */
.accesos[b-6mikjfkro1] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.acceso[b-6mikjfkro1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

    .acceso .btn-pildora[b-6mikjfkro1] {
        width: 100%;
    }

    .acceso p[b-6mikjfkro1] {
        margin: 0;
        font-size: 0.75rem;
        color: #6E6D71;
    }

@media (max-width: 576px) {
    .accesos[b-6mikjfkro1] {
        grid-template-columns: 1fr;
    }

    .fila[b-6mikjfkro1] {
        font-size: 0.9rem;
    }
}

.dashboard-graficos[b-6mikjfkro1] {
    margin-top: 40px;
}
