/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-tgj1kdqhit] {
    color-scheme: light only;
    background: red;
    color:white;
    font-weight:bolder;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-tgj1kdqhit] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Home.razor.rz.scp.css */
/* ============================================
   HOME - ESTILOS AISLADOS (SCOPED)
   ============================================
   Estos estilos se aplican SOLO al componente Home.razor
   Blazor los scope automáticamente con atributos únicos
   ============================================ */

.home-container[b-fcnbawxw56] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.home-content[b-fcnbawxw56] {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

/* Logo animado */
.home-logo[b-fcnbawxw56] {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: var(--shadow-neon);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
}

.home-logo[b-fcnbawxw56]::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
    animation: glow 2s ease-in-out infinite;
}

/* Título principal */
.home-title[b-fcnbawxw56] {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 0.8s ease-out;
    line-height: 1.2;
}

.home-subtitle[b-fcnbawxw56] {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.2s backwards;
}

/* Card de estado */
.status-card[b-fcnbawxw56] {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    animation: fadeIn 1.2s ease-out 0.4s backwards;
    position: relative;
    overflow: hidden;
}

.status-card[b-fcnbawxw56]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

/* Indicador de carga */
.loading-spinner[b-fcnbawxw56] {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

.loading-spinner.success[b-fcnbawxw56] {
    border-top-color: #22c55e;
    animation: none;
}

.loading-spinner.success[b-fcnbawxw56]::after {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    color: #22c55e;
    animation: fadeIn 0.5s ease-out;
}

.loading-spinner.error[b-fcnbawxw56] {
    border-top-color: #ef4444;
    animation: none;
}

.loading-spinner.error[b-fcnbawxw56]::after {
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    color: #ef4444;
    animation: fadeIn 0.5s ease-out;
}

/* Texto de estado */
.status-text[b-fcnbawxw56] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.status-message[b-fcnbawxw56] {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Progreso */
.progress-bar-container[b-fcnbawxw56] {
    width: 100%;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: 1.5rem;
}

.progress-bar[b-fcnbawxw56] {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: progressAnimation-b-fcnbawxw56 2s ease-in-out infinite;
}

@keyframes progressAnimation-b-fcnbawxw56 {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Estados de error/success */
.status-card.success[b-fcnbawxw56] {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.05);
}

.status-card.error[b-fcnbawxw56] {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.05);
}

.status-card.warning[b-fcnbawxw56] {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.05);
}

/* Badges de información */
.info-badge[b-fcnbawxw56] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.info-badge[b-fcnbawxw56]::before {
    content: 'ℹ';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--gradient-info);
    border-radius: 50%;
    font-size: 0.75rem;
    color: white;
}

/* Partículas flotantes */
.particles[b-fcnbawxw56] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle[b-fcnbawxw56] {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
    animation: floatParticle-b-fcnbawxw56 10s infinite;
}

.particle:nth-child(1)[b-fcnbawxw56] { left: 10%; animation-delay: 0s; }
.particle:nth-child(2)[b-fcnbawxw56] { left: 20%; animation-delay: 1s; }
.particle:nth-child(3)[b-fcnbawxw56] { left: 30%; animation-delay: 2s; }
.particle:nth-child(4)[b-fcnbawxw56] { left: 40%; animation-delay: 3s; }
.particle:nth-child(5)[b-fcnbawxw56] { left: 50%; animation-delay: 4s; }
.particle:nth-child(6)[b-fcnbawxw56] { left: 60%; animation-delay: 5s; }
.particle:nth-child(7)[b-fcnbawxw56] { left: 70%; animation-delay: 6s; }
.particle:nth-child(8)[b-fcnbawxw56] { left: 80%; animation-delay: 7s; }
.particle:nth-child(9)[b-fcnbawxw56] { left: 90%; animation-delay: 8s; }

@keyframes floatParticle-b-fcnbawxw56 {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .home-title[b-fcnbawxw56] {
        font-size: 2.5rem;
    }

    .home-subtitle[b-fcnbawxw56] {
        font-size: 1rem;
    }

    .home-logo[b-fcnbawxw56] {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .status-card[b-fcnbawxw56] {
        padding: 1.5rem;
    }
}
/* /Components/Pages/Pivot-Analysis.razor.rz.scp.css */
/* ============================================
   PIVOT ANALYSIS - ESTILOS AISLADOS (SCOPED)
   ============================================
   Estos estilos se aplican SOLO al componente Pivot-Analysis.razor
   Blazor los scope automáticamente con atributos únicos
   ============================================ */

/* ============================================
   OLAP CONTAINER
   ============================================ */

.olap-container[b-f889hcj7t5] {
    min-height: 100vh;
    position: relative;
    animation: fadeIn 0.6s ease-out;
    z-index: 1;
}

/* Asegurar que el contenedor no bloquee clics */
.olap-container > *[b-f889hcj7t5] {
    position: relative;
    z-index: auto;
}

/* ============================================
   TOPNAV MODERNO
   ============================================ */

.olap-topnav[b-f889hcj7t5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding: 8px 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.olap-topnav[b-f889hcj7t5]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

.panel-centro[b-f889hcj7t5] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap:5px;
}

.panel-izquierdo[b-f889hcj7t5] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.panel-derecho[b-f889hcj7t5] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-sm);
}

.panel-centro[b-f889hcj7t5] {
    flex: 1;
    justify-content: center;
}

/* Botón de menú */
.open[b-f889hcj7t5] {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.open:hover[b-f889hcj7t5] {
    transform: scale(1.1) rotate(90deg);
    box-shadow: var(--shadow-neon);
}

/* Info del reporte */
.reporte[b-f889hcj7t5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 5px 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-weight: 600;
    color: var(--text-primary);
}

.reporte[b-f889hcj7t5]::before {
    content: '📊';
    font-size: 1.25rem;
}

.boton[b-f889hcj7t5] {
    display: flex;
    align-items: center;
}

/* Info del título y catálogo */
.info-container[b-f889hcj7t5] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.titulo[b-f889hcj7t5] {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.catalogo[b-f889hcj7t5] {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   SIDEBAR MODERNO
   ============================================ */

.nav-container[b-f889hcj7t5] {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    position: relative;
    z-index: auto;
}

.nav-header[b-f889hcj7t5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.nav-header .titulo[b-f889hcj7t5] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-header .close[b-f889hcj7t5] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    color: #ef4444;
    font-weight: bold;
}

.nav-header .close:hover[b-f889hcj7t5] {
    background: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}

.nav-body[b-f889hcj7t5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
    overflow-y: auto;
}

/* Lista de reportes */
.nav-reportes[b-f889hcj7t5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.nav-reporte[b-f889hcj7t5] {
    animation: slideInLeft 0.4s ease-out backwards;
}

.nav-reporte:nth-child(1)[b-f889hcj7t5] { animation-delay: 0.05s; }
.nav-reporte:nth-child(2)[b-f889hcj7t5] { animation-delay: 0.1s; }
.nav-reporte:nth-child(3)[b-f889hcj7t5] { animation-delay: 0.15s; }
.nav-reporte:nth-child(4)[b-f889hcj7t5] { animation-delay: 0.2s; }
.nav-reporte:nth-child(5)[b-f889hcj7t5] { animation-delay: 0.25s; }

/* Botón nuevo reporte */
.nav-nuevo[b-f889hcj7t5] {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

/* ============================================
   PIVOT TABLE CONTAINER
   ============================================ */

.pivot-container[b-f889hcj7t5] {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-xl);
    animation: fadeIn 0.8s ease-out 0.2s backwards;
    position: relative;
    z-index: 1;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.loading-overlay[b-f889hcj7t5] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.loading-spinner-pivot[b-f889hcj7t5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-neon);
}

.loading-spinner-pivot .spinner[b-f889hcj7t5] {
    width: 80px;
    height: 80px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

.loading-text[b-f889hcj7t5] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.loading-info[b-f889hcj7t5] {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

/* ============================================
   PERFORMANCE INDICATORS
   ============================================ */

.performance-badge[b-f889hcj7t5] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: #22c55e;
    margin-left: var(--spacing-sm);
}

.performance-badge[b-f889hcj7t5]::before {
    content: '⚡';
    font-size: 1rem;
}

.data-count-badge[b-f889hcj7t5] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: #06b6d4;
    margin-left: var(--spacing-sm);
}

.data-count-badge[b-f889hcj7t5]::before {
    content: '📊';
    font-size: 1rem;
}

.pagination-badge[b-f889hcj7t5] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: #3b82f6;
    margin-left: var(--spacing-sm);
}

.pagination-badge[b-f889hcj7t5]::before {
    content: '📄';
    font-size: 1rem;
}

/* ============================================
   ESTILOS DE SYNCFUSION PIVOT
   ============================================
   Estilos movidos desde el bloque inline
   ============================================ */

/* specifies the custom code styles */
.inline-element[b-f889hcj7t5] {
    display: inline-block;
}

.center-align[b-f889hcj7t5] {
    text-align: center;
    padding: 20px;
}

.title[b-f889hcj7t5] {
    font-weight: 500;
    line-height: 24px;
    font-size: 18px;
    margin-top: 0;
}

.inline-element.right[b-f889hcj7t5] {
    width: 90px;
}

.right[b-f889hcj7t5] {
    float: right;
}

/* Specifies the styles for Sidebar component */
.content[b-f889hcj7t5] {
    margin-bottom: 20px;
    overflow-y: auto;
}

.title-header[b-f889hcj7t5] {
    font-size: 18px;
    padding-bottom: 15px;
}

.sub-title[b-f889hcj7t5] {
    font-size: 16px;
}

.container-fluid[b-f889hcj7t5] {
    padding-left: 0;
    padding-right: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .olap-topnav[b-f889hcj7t5] {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .panel-izquierdo[b-f889hcj7t5],
    .panel-centro[b-f889hcj7t5],
    .panel-derecho[b-f889hcj7t5] {
        width: 100%;
        justify-content: center;
    }

    .panel-centro[b-f889hcj7t5] {
        flex-direction: column;
    }

    .reporte[b-f889hcj7t5] {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}
/* /Components/Shared/ThemeToggle.razor.rz.scp.css */
.theme-toggle[b-6nazpmcbwp] {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-primary);
    font-size: 1.2rem;
    padding: 0;
    margin-left: 1rem;
}

.theme-toggle:hover[b-6nazpmcbwp] {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.theme-toggle:active[b-6nazpmcbwp] {
    transform: translateY(0);
}

.theme-toggle .theme-icon[b-6nazpmcbwp] {
    line-height: 1;
    transition: transform var(--transition-base);
    font-size: 1.4rem;
}

.theme-toggle:hover .theme-icon[b-6nazpmcbwp] {
    transform: rotate(20deg) scale(1.1);
}
