
.rz-datatable-data td .rz-cell-data,
.rz-grid-table td .rz-cell-data {
    text-align: center !important;
    word-break: break-word !important;
    text-overflow: unset !important;
    white-space: normal !important;
}

.rz-calendar-title {
    order: 2 !important;
    display: flex !important;
    gap: 0.25rem !important;
    width: 80% !important;
}

.rz-calendar-month-dropdown {
    width: 40% !important;
}

.rz-calendar-year-dropdown {
    width: 40% !important;
}

label {
    font-size: 13px
}

.rz-grid-table thead th .rz-column-title {
    font-size: 11px !important
}

.rz-textbox {
    height: 30px !important;
    font-size: 12px !important
}


.rz-numeric {
    height: 30px !important;
}

    .rz-numeric > .rz-inputtext {
        font-size: 12px !important
    }

.rz-dropdown {
    height: 31px !important;
    font-size: 12px !important;
    width: 100% !important
}

.rz-datepicker > .rz-inputtext {
    height: 31px !important;
    font-size: 12px !important
}

.button-container-wrapper {
    position: relative;
    margin-top: 20px;
}

.toggle-button {
    background-color: #0052cc;
    color: white;
    padding: 10px 24px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 82, 204, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

    .toggle-button:hover {
        background-color: #003d99;
        box-shadow: 0 6px 12px rgba(0, 61, 153, 0.3);
    }

    .toggle-button:active {
        transform: scale(0.98);
        box-shadow: 0 3px 6px rgba(0, 61, 153, 0.2);
    }

.button-slide-panel {
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.5s ease;
    overflow: hidden;
    padding: 15px;
    border-radius: 12px;
    width: max-content;
    max-width: 100%;
}

    .button-slide-panel.active {
        opacity: 1;
        transform: translateX(0);
    }

    .button-slide-panel button {
        background-color: #007bff;
        border: none;
        color: white;
        padding: 10px 18px;
        font-size: 12px;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

        .button-slide-panel button:hover {
            background-color: #0056b3;
        }

    .button-slide-panel .btn-success {
        background-color: #28a745;
    }

        .button-slide-panel .btn-success:hover {
            background-color: #1e7e34;
        }

@media (max-width: 768px) {
    .button-slide-panel {
        flex-direction: column;
        align-items: stretch;
    }
}

/*Configuracion Botones
*/

.btn-configuraciones {
    font-size: 14px;
    padding: 4px
}


/*
Resumen cards*/
.resumen-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    padding: 15px;
    font-family: 'Poppins', sans-serif;
}

.resumen-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.2s ease;
}

    .resumen-card:hover {
        transform: translateY(-4px);
    }

    .resumen-card h4 {
        margin: 0;
        font-size: 14px;
        color: #444;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .resumen-card p {
        margin: 0;
        font-size: 24px;
        font-weight: bold;
        color: #1a1a1a;
    }

    /* Estilos por tipo (puedes ajustar colores) */
    .resumen-card.enviado p {
        color: #007bff;
    }

    .resumen-card.recibido p {
        color: #28a745;
    }

    .resumen-card.devuelto p {
        color: #dc3545;
    }

    .resumen-card.solucionado p {
        color: #17a2b8;
    }


/*   Estilos por defecto Grilla*/
.rz-grid-table {

    pointer-events: all !important; /* evita que bloquee clics */
}

    .rz-datatable-data td .rz-cell-data, .rz-grid-table td .rz-cell-data {
        font-size: 9px !important;
        pointer-events: all !important; /* evita que bloquee clics */
    }

.rz-unselectable-text rz-sortable-column rz-text-align-left {
    background-color: red !important;
    color: white !important;
    font-size: 8px !important;
    pointer-events: all !important; /* evita que bloquee clics */
}

.rz-grid-table thead th .rz-column-title-content {
    font-size: 9px;
    pointer-events: all !important; /* evita que bloquee clics */
}

.rz-grid-table thead th {
    background-color: #d6001c !important; /* Rojo Davivienda */
    pointer-events: all !important; /* evita que bloquee clics */
    border: 1px solid white !important
}

    .rz-grid-table thead th .rz-column-title {
        color: white !important; /* Texto blanco */
        font-size: 10px !important;
        text-align: center !important;
        pointer-events: all !important; /* evita que bloquee clics */
    }

:root {
    --rz-grid-header-color: white !important;
    --rz-grid-header-background-color: red !important;
    --rz-grid-header-font-size: 6px !important;
    --rz-grid-header-pointer-events: all !important;
}


/*Alertas Swall*/
.swal2-title{
    font-size:20px !important
}

.swal2-content {
    font-size: 16px !important
}

.swal2-icon {
    margin: 0 !important;
    margin-bottom:10px!important;
}




.rz-alert-content {
    margin: 0 auto !important
}

/*Modal de agregarSol*/
.venta-sol-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(4px);
    animation: venta-ayuda-fadeIn 0.3s ease-in-out;
}

.venta-sol-modal {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 95%;
    height: 90vh; /* Usamos una altura fija relativa al viewport (90%) */
    max-height: 90vh;
    display: flex; /* Hacemos que sea flex para controlar hijos */
    flex-direction: column; /* Dirección vertical */
    padding: 0; /* Quitamos padding global para manejarlo internamente */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    overflow: hidden; /* Evita que nada se salga de los bordes redondeados */
}

.venta-sol-header {
    flex: 0 0 auto; /* No crece ni se encoge, altura fija basada en contenido */
    padding: 20px 25px 10px 25px; /* Padding trasladado aquí */
    margin: 0; /* Reset de márgenes */
    border-bottom: 1px solid #eee; /* Opcional: separador visual */
}

.image-container {
    width: 100%;
    height: calc(100vh - 180px); /* Ajustado a la resolución de pantalla */
    overflow: auto;
    background-color: #c5c0c0;
    cursor: grab;
    position: relative;
    /* Centrado inicial */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3. El cuerpo que ocupa el espacio restante */
.venta-sol-body {
    flex: 1 1 auto; /* Crece para ocupar todo el espacio sobrante */
    overflow: hidden; /* Ocultamos el scroll general para manejarlo por columnas */
    padding: 15px 25px; /* Padding interno */
    height: 100%; /* Asegura que ocupe el alto */
}

    .venta-sol-body > .row {
        height: 100%; /* El row debe medir el 100% del body */
    }

    .venta-sol-body .col-sm-7,
    .venta-sol-body .col-sm-5 {
        height: 100%; /* Las columnas ocupan todo el alto disponible */
        overflow-y: auto; /* SCROLL AQUÍ: Si el contenido es largo, aparece barra de scroll */
        padding-bottom: 20px; /* Espacio al final para que no se pegue el contenido */
    }


.venta-sol-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #1f1f1f;
    position: relative;
    padding-bottom: 8px;
}

    /* La línea roja decorativa */
    .venta-sol-header h3::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px; /* Largo de la línea */
        height: 4px; /* Grosor de la línea */
        background-color: #ed1c24;
        border-radius: 2px; /* Bordes redondeados para suavizar */
    }

.venta-sol-body ul {
    padding-left: 1rem;
    list-style: disc;
    font-size: 15px;
}

.venta-sol-body li {
    margin-bottom: 8px;
}

.venta-sol-cerrar {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

    .venta-sol-cerrar:hover {
        color: #e74c3c;
    }

.venta-sol-boton {
    background-color: #1f6feb;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s ease;
}

    .venta-sol-boton:hover {
        background-color: #155ecb;
    }

@keyframes venta-sol-fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*Modal de ayudas tecnicas
                                                                            */
.venta-ayuda-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
    animation: venta-ayuda-fadeIn 0.3s ease-in-out;
}

.venta-ayuda-modal {
    background: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    padding: 20px 25px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

.venta-ayuda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .venta-ayuda-header h3 {
        margin: 0;
        font-size: 20px;
        color: #1f1f1f;
    }

.venta-ayuda-body ul {
    padding-left: 1rem;
    list-style: disc;
    font-size: 15px;
}

.venta-ayuda-body li {
    margin-bottom: 8px;
}

.venta-ayuda-cerrar {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

    .venta-ayuda-cerrar:hover {
        color: #e74c3c;
    }

.venta-ayuda-boton {
    background-color: #1f6feb;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s ease;
}

    .venta-ayuda-boton:hover {
        background-color: #155ecb;
    }

@@keyframes venta-ayuda-fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/*Barra de ayudas*/
.toolbar-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background-color: #f9f9f9;
    height: 100%;
    border-right: 3px solid #ddd;
}

.toolbar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    outline: none;
    width: 100%
}

    .toolbar-btn button {
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 6px 8px;
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        width: 100%;
        transition: all 0.2s ease-in-out;
    }

        .toolbar-btn button:hover {
            background-color: #e6f0ff;
            border-color: #007bff;
        }

    .toolbar-btn svg {
        width: 20px;
        height: 20px;
        fill: #333;
    }

    .toolbar-btn span {
        font-size: 0.6rem;
        color: #333;
    }

    .toolbar-btn input[type="range"] {
        margin-top: 4px;
        width: 100%;
    }

.page-info {
    font-size: 0.9rem;
    color: #444;
    margin: 5px 0;
}




.image-container.dragging {
    cursor: grabbing;
}

/* Centrado interno */
.zoom-wrapper {
    display: inline-block;
    position: relative;
    margin: auto;
}

/* Estilo de imagen */
.image-container img {
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
    max-width: none; /* importante para que respete el zoom */
    max-height: none;
}



.resaltarDoc {
    transition: border 0.3s ease;
    border: 2px solid transparent;
    border-radius: 8px;
}

    .resaltarImg:focus,
    .resaltarImg:active,
    .resaltarImg:hover,
    .resaltarDoc:focus,
    .resaltarDoc:active,
    .resaltarDoc:hover {
        border-color: #007bff; /* Color azul */
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* efecto de resplandor */
        outline: none;
    }


.button-container-wrapper {
    position: relative;
    margin-top: 20px;
}

.toggle-button {
    background-color: #0052cc;
    color: white;
    padding: 10px 24px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 82, 204, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

    .toggle-button:hover {
        background-color: #003d99;
        box-shadow: 0 6px 12px rgba(0, 61, 153, 0.3);
    }

    .toggle-button:active {
        transform: scale(0.98);
        box-shadow: 0 3px 6px rgba(0, 61, 153, 0.2);
    }

.button-slide-panel {
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.5s ease;
    overflow: hidden;
    padding: 15px;
    border-radius: 12px;
    width: max-content;
    max-width: 100%;
}

    .button-slide-panel.active {
        opacity: 1;
        transform: translateX(0);
    }

    .button-slide-panel button {
        background-color: #007bff;
        border: none;
        color: white;
        padding: 10px 18px;
        font-size: 12px;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

        .button-slide-panel button:hover {
            background-color: #0056b3;
        }

    .button-slide-panel .btn-success {
        background-color: #28a745;
    }

        .button-slide-panel .btn-success:hover {
            background-color: #1e7e34;
        }

@@media (max-width: 768px) {
    .button-slide-panel {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Estilo para la tabla */
.tabla-container {
    font-family: 'Arial', sans-serif !important;
    margin: 20px auto !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}

.tabla {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 10px !important;
    font-size: 10px !important;
    background-color: #fff !important;
}

    .tabla th, .tabla td {
        text-align: left !important;
        padding: 10px !important;
        border: 1px solid #ddd !important;
    }

    .tabla th {
        background-color: #b93c3c; /* Rojo suave */
        color: white;
        font-weight: bold;
    }

    .tabla tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .tabla tr:hover {
        background-color: #f1f1f1;
    }

/* Botón para ver documentos e imágenes */
.btn-ver {
    background-color: #333; /* Gris oscuro */
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-ver:hover {
        background-color: #444; /* Gris más oscuro */
    }

/* Estilo de paginación */
.paginacion {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.btn-paginacion {
    background-color: #b93c3c; /* Rojo suave */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

    .btn-paginacion:hover {
        background-color: #9b2c2c; /* Rojo más oscuro */
    }

    .btn-paginacion.activo {
        background-color: #9b2c2c; /* Rojo más oscuro */
        font-weight: bold;
    }

button {
    background-color: #2c2c2c; /* Gris oscuro */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 6px 15px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button:hover {
        background-color: #1a1a1a; /* Gris más oscuro */
    }




/*==========ESTILOS PARA EL PANEL DEL FOMULARIO PRINCIPAL, FORMULARIO PRINCIPAL Y BARRA DE PROGRESO ======================*/
/* Contenedor del Formulario - Glassmorphism */
.glass-form-container {
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* Borde blanco semi-transparente que da el toque de "cristal" */
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 2rem;
    z-index: 1;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.5), 0 8px 25px rgba(237, 28, 36, 0.08), 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

    /* Opcional: un ligero brillo al pasar el mouse sin mover el elemento */
    .glass-form-container:hover {
        box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.6), 0 10px 30px rgba(237, 28, 36, 0.12), 0 15px 40px rgba(0, 0, 0, 0.04);
    }

/* Efecto Focus con Resplandor (Glow) en Radzen Inputs */
/*.rz-textbox:focus, .rz-dropdown:focus-within, .rz-numeric-input:focus-within, textarea:focus {
            outline: none !important;
            border-color: #6366f1 !important;
            box-shadow: 0 0 15px rgba(99, 102, 241, 0.5) !important;*/ /* Brillo neón */
/*transform: translateY(-2px);
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }*/

/*Labels que se manejan en la pantalla */
label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #4a5568;
    margin-bottom: 4px;
    display: block;
}

/* Hacer que los inputs de Radzen se sientan parte del cristal */
.rz-textbox, .rz-dropdown, .rz-numeric-input, .rz-datepicker,
.rz-datepicker-input {
    background-color: rgba(255, 255, 255, 0.5) !important;
    /*        border: 1px solid rgba(0, 0, 0, 0.3) !important;*/
}

/*=========== ESTILOS PARA LOS BOTONES DEL FORMULARIO PRINCIPAL================*/
.btn-neon-pulse {
    transition: all 0.3s ease-in-out !important;
    border: none !important;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    text-transform: none !important;
    z-index: 1;
}

    .btn-neon-pulse:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 2px 10px #d93838 !important;
        border-color: transparent !important !important;
    }

/* Animación de Entrada (Fade In + Slide Down) */
.anim-entrada {
    animation: entradaAgresiva 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@@keyframes entradaAgresiva {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95) rotateX(10deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

/* Aggressive Innovative 3D Search Panel =========================================  ESTOS SON LOS ESTILOS */

/* Contenedor principal de la tarjeta */
.enterprise-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    padding: 24px;
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease;
}

    .enterprise-card:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

/* Encabezado de la tarjeta */
.enterprise-card-header {
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.enterprise-card-title {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Ajustes limpios para el RadzenDataGrid */
.enterprise-grid {
    width: 100% !important;
    font-size: 12px !important;
}

/* Botón corporativo */
.btn-enterprise {
    background-color: #374151;
    color: white;
    font-weight: 500;
    font-size: 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .btn-enterprise:hover {
        background-color: #1f2937;
        color: white;
    }

/* =========================================================
   CONTAINER AAA PREMIUM — FUTURISTIC CORPORATE UI
   ========================================================= */

.btn-aggro-dav-search {
    background: linear-gradient(135deg, #2d3436 0%, #1a1e21 100%);
    color: white;
    border: none;
    border-radius: 6px;
    height: 34px;
    width: 100%;
    font-weight: 800;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 3px solid var(--dav-red, #ed1c24);
}

    .btn-aggro-dav-search i {
        color: var(--dav-red, #ed1c24);
        transition: transform 0.3s ease;
    }

    .btn-aggro-dav-search:hover {
        background: linear-gradient(135deg, #1a1e21 0%, #000 100%);
        border-bottom-color: #ff3333;
    }

        .btn-aggro-dav-search:hover i {
            color: #ff3333;
        }

    .btn-aggro-dav-search:active {
        transform: translateY(2px);
        box-shadow: 0 4px 10px rgba(237, 28, 36, 0.2);
        border-bottom-width: 2px;
    }

@media (max-width: 900px) {
    .aggro-dav-search-container {
        flex-direction: column;
    }

    .aggro-dav-brand-side {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
        padding-bottom: 3rem;
    }

    .aggro-dav-input-side {
        width: 100%;
        padding: 1rem 2rem 2rem 2rem;
        margin-top: -1.5rem;
    }
}

.aggro-search-container {
    display: flex;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 1rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.75);
    background: linear-gradient( 145deg, rgba(255,255,255,0.97) 0%, rgba(246,248,251,0.95) 40%, rgba(237,240,245,0.93) 100% );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform-style: preserve-3d;
    perspective: 1400px;
    /* SOMBRAS PREMIUM */
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.16), 0 10px 25px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.95), inset 0 -1px 0 rgba(255,255,255,0.45);
    transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease, border-color .45s ease;
}

    /* =========================================================
   HOVER 3D
   ========================================================= */

    .aggro-search-container:hover {
        border-color: rgba(255,255,255,0.95);
        box-shadow: 0 45px 80px rgba(15, 23, 42, 0.20), 0 18px 40px rgba(220, 38, 38, 0.12), inset 0 1px 0 rgba(255,255,255,1);
    }

    /* =========================================================
   GLOW SUPERIOR IZQUIERDO
   ========================================================= */

    .aggro-search-container::before {
        content: "";
        position: absolute;
        top: -100px;
        left: -120px;
        width: 320px;
        height: 320px;
        background: radial-gradient( circle, rgba(255, 0, 0, 0.18) 0%, rgba(255, 40, 40, 0.08) 35%, transparent 75% );
        filter: blur(35px);
        animation: glowPulse 7s ease-in-out infinite;
        pointer-events: none;
        z-index: 0;
    }

    /* =========================================================
   LINEAS TECNOLÓGICAS SUPERIORES
   ========================================================= */

    .aggro-search-container::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 260px;
        height: 200px;
        background: linear-gradient( 125deg, transparent 0%, transparent 18%, rgba(255,0,0,0.08) 19%, rgba(255,50,50,0.90) 20%, transparent 21%, transparent 34%, rgba(255,0,0,0.05) 35%, rgba(255,80,80,0.65) 36%, transparent 37%, transparent 48%, rgba(255,0,0,0.04) 49%, rgba(255,60,60,0.35) 50%, transparent 51% );
        opacity: .85;
        filter: blur(.4px);

        animation: techMove 8s linear infinite;
        pointer-events: none;
        z-index: 1;
    }

/* =========================================================
   BRAND SIDE
   ========================================================= */

.aggro-brand-side {
    width: 2%;
    min-width: 180px;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    color: white;
    background: linear-gradient( 180deg, rgba(170, 0, 0, 0.95) 0%, rgba(125, 0, 0, 0.92) 100% );
    overflow: hidden;
    box-shadow: inset 1px 0 0 rgba(255,255,255,0.2), 8px 0 35px rgba(0,0,0,0.22);
    clip-path: polygon( 0 0, 100% 0, 82% 100%, 0 100% );
}

    /* GLOW INTERNO */

    .aggro-brand-side::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 145deg, rgba(255,255,255,0.22) 0%, transparent 30%, transparent 100% );
        pointer-events: none;
    }

    /* EFECTO ROJO */

    .aggro-brand-side::after {
        content: "";
        position: absolute;
        top: -40%;
        left: -40%;
        width: 220px;
        height: 220px;
        background: radial-gradient( circle, rgba(255,80,80,0.45) 0%, transparent 70% );
        filter: blur(25px);
        animation: redEnergy 6s ease-in-out infinite;
    }

    /* =========================================================
   LOGO
   ========================================================= */

    .aggro-brand-side > img {
        width: 72px !important;
        position: relative;
        z-index: 2;
        border-radius: 16px !important;
        filter: drop-shadow(0 8px 18px rgba(0,0,0,0.45)) brightness(1.03);
        transition: transform .45s ease, filter .45s ease;
    }

.aggro-search-container:hover .aggro-brand-side > img {
    transform: translateY(-4px) scale(1.04) rotateY(-6deg);
    filter: drop-shadow(0 18px 25px rgba(0,0,0,0.45)) brightness(1.08);
}

/* =========================================================
   ICONO 3D
   ========================================================= */

.brand-icon-3d {
    position: relative;
    z-index: 2;
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient( 145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05) );
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.18);
    transform-style: preserve-3d;

    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -2px 10px rgba(0,0,0,0.18), 0 15px 35px rgba(0,0,0,0.28);
    transition: transform .55s cubic-bezier(.22,1,.36,1), box-shadow .45s ease;
}

.aggro-search-container:hover .brand-icon-3d {
 
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 25px 45px rgba(0,0,0,0.32), 0 0 30px rgba(255,0,0,0.12);
}

/* =========================================================
   ANIMACIONES
   ========================================================= */

@keyframes glowPulse {
    0% {
        opacity: .55;
        transform: scale(1);
    }

    50% {
        opacity: .95;
        transform: scale(1.08);
    }

    100% {
        opacity: .55;
        transform: scale(1);
    }
}

@keyframes techMove {
    0% {
        transform: translateX(0) translateZ(50px);
        opacity: .65;
    }

    50% {
        transform: translateX(8px) translateZ(65px);
        opacity: 1;
    }

    100% {
        transform: translateX(0) translateZ(50px);
        opacity: .65;
    }
}

@keyframes redEnergy {
    0% {
        transform: scale(1);
        opacity: .45;
    }

    50% {
        transform: scale(1.15);
        opacity: .75;
    }

    100% {
        transform: scale(1);
        opacity: .45;
    }
}


.aggro-title {
    position: relative;
    z-index: 1;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 1px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

/* Inputs Side */
.aggro-input-side {
    width: 100%;
    padding: 1.0rem 2.5rem 1.2rem 1.5rem; /* Reduced padding for compact height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    z-index: 1;
}

.aggro-label {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    color: #2d3436 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

    .aggro-label::before {
        content: '' !important;
        display: inline-block !important;
        width: 8px !important;
        height: 8px !important;
        background: red !important;
        border-radius: 2px !important;
        box-shadow: 0 0 5px rgba(237, 28, 36, 0.6) !important;
    }

/* Radzen Hard 3D Input Overrides */
.aggro-input-side .rz-textbox,
.aggro-input-side .rz-dropdown,
.aggro-input-side .rz-spinner,
.aggro-input-side .rz-datepicker {
    height: 34px !important;
    background: #f8f9fa !important;
    border: 2px solid #e0e6ed !important;
    border-radius: 6px !important; /* Slightly sharper radius for compact */
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.05), inset -1px -1px 3px rgba(255,255,255,1) !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important; /* Smaller text for compact input */
    color: #2d3436 !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Previene lineas por fuera */
    padding: 0 !important;
}

.aggro-input-side .rz-textbox {
    padding: 0 10px !important;
}

/* Bug Fix: Formato Interno del Contenido del Input Numérico */
.aggro-input-side .rz-spinner {
    padding: 0 !important;
}

    .aggro-input-side .rz-spinner .rz-spinner-input {
        height: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        flex: 1;
        width: 100% !important;
    }

    .aggro-input-side .rz-spinner .rz-spinner-button {
        height: 100% !important;
        border: none !important;
        background: rgba(0,0,0,0.03) !important;
        margin: 0 !important;
        box-shadow: none !important;
        border-left: 1px solid #e0e6ed !important;
        border-radius: 0 !important;
    }

/* Bug Fix: Dropdown Centering */
.aggro-input-side .rz-dropdown {
    /* Space for the arrow */
    padding-left: 35px !important; /* Space for the arrow */
}

    .aggro-input-side .rz-dropdown .rz-dropdown-label {
        line-height: 30px !important; /* Empata de mejor manera dentro del contenedor de 34px */
        display: block !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        padding-left: 10px !important;
    }

/* Ajustar las flechas e íconos del Dropdown */
.aggro-input-side .rz-dropdown-trigger {
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border-left: none !important; /* Remover línea sobresaliente */
}

.aggro-input-side .rz-dropdown-clear-icon {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 30px !important;
}

/* Datepicker fixes para las lineas que se salen */
.aggro-input-side .rz-datepicker {
    padding: 0 !important;
}

    .aggro-input-side .rz-datepicker .rz-inputtext {
        height: 100% !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 30px !important;
        padding-left: 10px !important;
    }

    .aggro-input-side .rz-datepicker .rz-button {
        height: 100% !important;
        border-radius: 0 4px 4px 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: rgba(0,0,0,0.03) !important;
    }

.aggro-input-side .rz-state-focused,
.aggro-input-side .rz-textbox:focus,
.aggro-input-side .rz-spinner:focus-within {
    border-color: var(--dav-red) !important;
    box-shadow: inset 3px 3px 6px rgba(0,0,0,0.05), 0 0 0 4px rgba(237, 28, 36, 0.15) !important;
    transform: translateY(-2px);
}

.aggro-label {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    color: #2d3436;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .aggro-label::before {
        content: '';
        display: inline-block;
        width: 8px;
        height: 8px;
        background: var(--dav-red, #ed1c24);
        border-radius: 2px;
        box-shadow: 0 0 5px rgba(237, 28, 36, 0.6);
    }

/* Resumen de Tulas y Carpetas Ingresadas */
.resumen-tulas-container {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    width:30%;margin:0 auto
}

.resumen-tulas-card {
    flex: 1;
    min-width: 180px;
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e8ecf0;
    border-left: 4px solid var(--dav-red, #ed1c24);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.resumen-tulas-label {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    color: #2d3436;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.resumen-tulas-valor {
    font-size: 2rem;
    font-weight: 900;
    color: var(--dav-red, #ed1c24);
    line-height: 1;
}

/* Aggressive Cyber Action Button */
.btn-aggro-search {
    background: linear-gradient(135deg, #2d3436 0%, #1a1e21 100%);
    color: white;
    border: none;
    border-radius: 6px; /* Matched border-radius */
    height: 34px;
    width: 100%;
    font-weight: 800;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 3px solid var(--dav-red);
}

    .btn-aggro-search i {
        color: var(--dav-red);
        transition: transform 0.3s ease;
    }

    .btn-aggro-search:hover {
        background: linear-gradient(135deg, #1a1e21 0%, #000 100%);
        box-shadow: 0 15px 25px rgba(237, 28, 36, 0.3), inset 0 2px 0 rgba(255,255,255,0.2), inset 0 -2px 0 rgba(0,0,0,0.4);
        border-bottom-color: #ff3333;
    }

        .btn-aggro-search:hover i {
            color: #ff3333;
        }

    .btn-aggro-search:active {
        transform: translateY(2px);
        box-shadow: 0 4px 10px rgba(237, 28, 36, 0.2);
        border-bottom-width: 2px;
    }

@@media (max-width: 900px) {
    .aggro-search-container {
        flex-direction: column;
    }

    .aggro-brand-side {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
        padding-bottom: 3rem;
    }

    .aggro-input-side {
        width: 100%;
        padding: 1rem 2rem 2rem 2rem;
        margin-top: -1.5rem;
    }
}

/* Modern 3D Search Panel Redesign */
.search-panel-3d {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,1);
    border: 1px solid rgba(223, 230, 233, 0.8);
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

    .search-panel-3d::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        background: linear-gradient(180deg, var(--dav-red), #ff4d4d);
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
        box-shadow: 2px 0 10px rgba(237, 28, 36, 0.3);
    }

    .search-panel-3d:hover {
        transform: translateY(-2px);
        box-shadow: 0 25px 50px rgba(0,0,0,0.12), 0 5px 15px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,1);
    }

.search-label-premium {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: #4a5568;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-search-premium {
    background: linear-gradient(135deg, var(--dav-red) 0%, #b70404 100%);
    color: white !important;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 15px rgba(237, 28, 36, 0.3), inset 0 2px 4px rgba(255,255,255,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

    .btn-search-premium::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        transition: all 0.5s ease;
    }

    .btn-search-premium:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 20px rgba(237, 28, 36, 0.4), inset 0 2px 4px rgba(255,255,255,0.3);
        background: linear-gradient(135deg, #ff3333 0%, var(--dav-red) 100%);
    }

        .btn-search-premium:hover::after {
            left: 200%;
        }

    .btn-search-premium:active {
        transform: translateY(1px);
        box-shadow: 0 4px 8px rgba(237, 28, 36, 0.3);
    }

/*Estilos barra de progreso de los formularios*/
.progress-wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    margin-bottom: 10px !important;
}

.progress-label {
    font-weight: bold;
    color: #ed1c24; /* Rojo Davivienda */
    font-size: 0.9rem;
    margin-bottom: 8px; /* Espacio pequeño entre el texto y la barra */
    display: block;
    text-align: right;
}

.progress-label {
    transition: all 0.3s ease-in-out;
}

/* Estilo de la Barra de Progreso */
.custom-progress-container {
    height: 12px;
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.custom-progress-bar {
    height: 100%;
    /* Degradado con "olas" o variaciones de tono para el efecto líquido */
    background: linear-gradient( 270deg, #ed1c24, #ff5f65, #ed1c24, #b21217 );
    background-size: 400% 400%; /* Tamaño grande para que el movimiento sea fluido */
    /* Animación constante */
    animation: liquid-flow 4s ease infinite;
    transition: width 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 0 10px rgba(237, 28, 36, 0.4);
    border-radius: 10px;
}

/* Panel de Captura de Datos Profesional (34px controls) */
.data-capture-panel {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,1);
    border: 1px solid #e2e8f0;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

    .data-capture-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: var(--dav-red);
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

.data-capture-label {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 0.70rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    margin-top: 8px; /* Espacio para separar filas */
    display: block;
}

/* Radzen Control Overrides para Captura de Datos (34px) */
.data-capture-panel .rz-textbox,
.data-capture-panel .rz-dropdown,
.data-capture-panel .rz-spinner,
.data-capture-panel .rz-datepicker {
    height: 34px !important;
    background: #f8FAFC !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.02) !important;
    transition: all 0.2s ease !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.data-capture-panel .rz-textbox {
    padding: 0 10px !important;
}

    .data-capture-panel .rz-state-focused,
    .data-capture-panel .rz-textbox:focus,
    .data-capture-panel .rz-spinner:focus-within {
        border-color: var(--dav-red) !important;
        box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.1) !important;
    }

.data-capture-panel .rz-spinner {
    padding: 0 !important;
}

    .data-capture-panel .rz-spinner .rz-spinner-input {
        height: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        flex: 1;
        width: 100% !important;
    }

    .data-capture-panel .rz-spinner .rz-spinner-button {
        height: 100% !important;
        border: none !important;
        background: rgba(0,0,0,0.03) !important;
        margin: 0 !important;
        box-shadow: none !important;
        border-left: 1px solid #e2e8f0 !important;
        border-radius: 0 !important;
    }

.data-capture-panel .rz-dropdown {
    padding-right: 35px !important;
}

    .data-capture-panel .rz-dropdown .rz-dropdown-label {
        padding-left: 10px !important;
        line-height: 30px !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

.data-capture-panel .rz-dropdown-trigger {
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    border-left: none !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
}

.data-capture-panel .rz-dropdown-clear-icon {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 30px !important;
}

.data-capture-panel .rz-datepicker {
    padding: 0 !important;
}

    .data-capture-panel .rz-datepicker .rz-inputtext {
        padding-left: 10px !important;
        height: 100% !important;
        border: none !important;
        box-shadow: none !important;
        line-height: 30px !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .data-capture-panel .rz-datepicker .rz-button {
        height: 100% !important;
        border-radius: 0 4px 4px 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: rgba(0,0,0,0.03) !important;
    }

.btn-capture-action {
    height: 34px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase;
    border: none !important;
}
