/* /Components/Analyst/Charts/ChartContainerAnalyst.razor.rz.scp.css */
/* ChartContainerAnalyst.razor.css - Estilos renovados con alineación izquierda */

/* ===== ESTRUCTURA PRINCIPAL ===== */
.analyst-chart-card[b-trkfys7fdn] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .analyst-chart-card:hover[b-trkfys7fdn] {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        border-color: #7a1e19;
    }

/* ===== HEADER ===== */
.card-header[b-trkfys7fdn] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 2rem;
    text-align: left;
}

    .card-header h3[b-trkfys7fdn] {
        color: #1e293b;
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
    }

/* ===== FILTROS - DISEÑO ALINEADO A LA IZQUIERDA ===== */
.card-filter[b-trkfys7fdn] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 2rem;
}

.filter-section[b-trkfys7fdn] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
}

.filter-group[b-trkfys7fdn] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.filter-label[b-trkfys7fdn] {
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-options[b-trkfys7fdn] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
}

.filter-option[b-trkfys7fdn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    min-width: 120px;
}

    .filter-option:hover[b-trkfys7fdn] {
        border-color: #7a1e19;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.filter-checkbox[b-trkfys7fdn] {
    width: 1.2em;
    height: 1.2em;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .filter-checkbox:checked[b-trkfys7fdn] {
        background-color: #7a1e19;
        border-color: #7a1e19;
    }

.filter-label-text[b-trkfys7fdn] {
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    white-space: nowrap;
}

/* ===== ACCIONES DE FILTROS ===== */
.filter-actions[b-trkfys7fdn] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 0.5rem;
}

.filter-toggle[b-trkfys7fdn] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .filter-toggle:hover[b-trkfys7fdn] {
        border-color: #7a1e19;
        transform: translateY(-1px);
    }

.toggle-switch[b-trkfys7fdn] {
    width: 2.5em;
    height: 1.25em;
    cursor: pointer;
}

.toggle-label[b-trkfys7fdn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0;
}

.toggle-icon[b-trkfys7fdn] {
    font-size: 1rem;
}

/* ===== FECHAS PERSONALIZADAS ===== */
.date-filters[b-trkfys7fdn] {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.date-input[b-trkfys7fdn] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.date-label[b-trkfys7fdn] {
    color: #374151;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
}

.date-control[b-trkfys7fdn] {
    padding: 0.6rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    min-width: 160px;
}

    .date-control:focus[b-trkfys7fdn] {
        outline: none;
        border-color: #7a1e19;
        box-shadow: 0 0 0 3px rgba(122, 30, 25, 0.1);
    }

/* ===== BOTÓN APLICAR ===== */
.apply-button[b-trkfys7fdn] {
    display: flex;
    align-items: center;
}

.btn-apply[b-trkfys7fdn] {
    background: linear-gradient(135deg, #7a1e19 0%, #5c1511 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-apply:hover:not(:disabled)[b-trkfys7fdn] {
        background: linear-gradient(135deg, #5c1511 0%, #4a110e 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.4);
    }

    .btn-apply:disabled[b-trkfys7fdn] {
        background: #9ca3af;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.btn-spinner[b-trkfys7fdn] {
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin-b-trkfys7fdn 1s linear infinite;
}

@keyframes spin-b-trkfys7fdn {
    to {
        transform: rotate(360deg);
    }
}

/* ===== INFORMACIÓN ===== */
.debug-info[b-trkfys7fdn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    margin-top: 1rem;
    width: 100%;
    text-align: left;
}

.debug-icon[b-trkfys7fdn] {
    font-size: 0.9rem;
}

.debug-text[b-trkfys7fdn] {
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 500;
}

.selected-filters[b-trkfys7fdn] {
    text-align: left;
    padding: 1rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 8px;
    margin-top: 1rem;
    width: 100%;
    color: #0369a1;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===== CUERPO DEL GRÁFICO ===== */
.card-body[b-trkfys7fdn] {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
}

.chart-loading[b-trkfys7fdn] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    border-radius: 8px;
}

.loading-spinner[b-trkfys7fdn] {
    width: 2rem;
    height: 2rem;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #7a1e19;
    border-radius: 50%;
    animation: spin-b-trkfys7fdn 1s linear infinite;
}

.loading-text[b-trkfys7fdn] {
    color: #6b7280;
    font-weight: 500;
}

.chart-content[b-trkfys7fdn] {
    flex: 1;
    min-height: 400px;
    background: white;
    border-radius: 8px;
}

/* ===== ESTADÍSTICAS - DISEÑO COMPLETAMENTE RENOVADO ===== */
.statistics-panel[b-trkfys7fdn] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.statistics-title[b-trkfys7fdn] {
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.statistics-grid[b-trkfys7fdn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item[b-trkfys7fdn] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .stat-item:hover[b-trkfys7fdn] {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-color: #7a1e19;
    }

.stat-icon[b-trkfys7fdn] {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content[b-trkfys7fdn] {
    flex: 1;
}

.stat-value[b-trkfys7fdn] {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label[b-trkfys7fdn] {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-date[b-trkfys7fdn] {
    color: #9ca3af;
    font-size: 0.7rem;
    margin-top: 0.25rem;
}

.stat-footer[b-trkfys7fdn] {
    grid-column: 1 / -1;
    text-align: left;
    color: #6b7280;
    font-size: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

/* ===== BOTÓN TOGGLE FILTROS ===== */
.filter-toggle-section[b-trkfys7fdn] {
    padding: 1rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.filter-toggle-btn[b-trkfys7fdn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .filter-toggle-btn:hover[b-trkfys7fdn] {
        border-color: #7a1e19;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.filter-toggle-icon[b-trkfys7fdn] {
    font-size: 1rem;
}

.filter-toggle-arrow[b-trkfys7fdn] {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

    .filter-toggle-arrow.expanded[b-trkfys7fdn] {
        transform: rotate(180deg);
    }

/* ===== NOTA INFORMATIVA ===== */
.filter-note[b-trkfys7fdn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    margin-top: 0.75rem;
    width: fit-content;
}

.note-icon[b-trkfys7fdn] {
    font-size: 0.9rem;
}

.note-text[b-trkfys7fdn] {
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== TEMA OSCURO ===== */
:root[data-theme="dark"] .filter-toggle-section[b-trkfys7fdn] {
    background: #1e293b;
    border-bottom-color: #4a5568;
}

:root[data-theme="dark"] .filter-toggle-btn[b-trkfys7fdn] {
    background: #334155;
    border-color: #4a5568;
    color: #e2e8f0;
}

    :root[data-theme="dark"] .filter-toggle-btn:hover[b-trkfys7fdn] {
        border-color: #90cdf4;
    }

:root[data-theme="dark"] .filter-note[b-trkfys7fdn] {
    background: #1a365d;
    border-color: #2b6cb0;
}

:root[data-theme="dark"] .note-text[b-trkfys7fdn] {
    color: #90cdf4;
}

/* ===== ESTADÍSTICAS MÚLTIPLES ===== */
.multiple-statistics[b-trkfys7fdn] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.variable-stats[b-trkfys7fdn] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.variable-title[b-trkfys7fdn] {
    color: #7a1e19;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #7a1e19;
    text-align: left;
}

/* ===== TEMA OSCURO ===== */
:root[data-theme="dark"] .analyst-chart-card[b-trkfys7fdn] {
    background: #2d3748;
    border-color: #4a5568;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .card-header[b-trkfys7fdn] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-bottom-color: #4a5568;
}

    :root[data-theme="dark"] .card-header h3[b-trkfys7fdn] {
        color: #f1f5f9;
    }

:root[data-theme="dark"] .card-filter[b-trkfys7fdn] {
    background: #1e293b;
    border-bottom-color: #4a5568;
}

:root[data-theme="dark"] .filter-label[b-trkfys7fdn] {
    color: #e2e8f0;
}

:root[data-theme="dark"] .filter-option[b-trkfys7fdn] {
    background: #334155;
    border-color: #4a5568;
}

    :root[data-theme="dark"] .filter-option:hover[b-trkfys7fdn] {
        border-color: #90cdf4;
    }

:root[data-theme="dark"] .filter-label-text[b-trkfys7fdn] {
    color: #cbd5e0;
}

:root[data-theme="dark"] .filter-toggle[b-trkfys7fdn] {
    background: #334155;
    border-color: #4a5568;
}

    :root[data-theme="dark"] .filter-toggle:hover[b-trkfys7fdn] {
        border-color: #90cdf4;
    }

:root[data-theme="dark"] .toggle-label[b-trkfys7fdn] {
    color: #cbd5e0;
}

:root[data-theme="dark"] .date-label[b-trkfys7fdn] {
    color: #e2e8f0;
}

:root[data-theme="dark"] .date-control[b-trkfys7fdn] {
    background: #2d3748;
    border-color: #4a5568;
    color: #f1f5f9;
}

    :root[data-theme="dark"] .date-control:focus[b-trkfys7fdn] {
        border-color: #90cdf4;
        box-shadow: 0 0 0 3px rgba(144, 205, 244, 0.2);
    }

:root[data-theme="dark"] .btn-apply[b-trkfys7fdn] {
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%);
}

    :root[data-theme="dark"] .btn-apply:hover:not(:disabled)[b-trkfys7fdn] {
        background: linear-gradient(135deg, #2c5282 0%, #2a4365 100%);
        box-shadow: 0 4px 12px rgba(43, 108, 176, 0.4);
    }

:root[data-theme="dark"] .debug-info[b-trkfys7fdn] {
    background: #1a365d;
    border-color: #2b6cb0;
}

:root[data-theme="dark"] .debug-text[b-trkfys7fdn] {
    color: #90cdf4;
}

:root[data-theme="dark"] .selected-filters[b-trkfys7fdn] {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    border-color: #2b6cb0;
    color: #90cdf4;
}

:root[data-theme="dark"] .card-body[b-trkfys7fdn] {
    background: #2d3748;
}

:root[data-theme="dark"] .chart-loading[b-trkfys7fdn] {
    background: rgba(45, 55, 72, 0.9);
}

:root[data-theme="dark"] .loading-spinner[b-trkfys7fdn] {
    border-color: #4a5568;
    border-top-color: #90cdf4;
}

:root[data-theme="dark"] .loading-text[b-trkfys7fdn] {
    color: #a0aec0;
}

:root[data-theme="dark"] .chart-content[b-trkfys7fdn] {
    background: #2d3748;
}

:root[data-theme="dark"] .statistics-panel[b-trkfys7fdn] {
    background: #1e293b;
    border-color: #4a5568;
}

:root[data-theme="dark"] .statistics-title[b-trkfys7fdn] {
    color: #f1f5f9;
}

:root[data-theme="dark"] .stat-item[b-trkfys7fdn] {
    background: #334155;
    border-color: #4a5568;
}

    :root[data-theme="dark"] .stat-item:hover[b-trkfys7fdn] {
        border-color: #90cdf4;
    }

:root[data-theme="dark"] .stat-label[b-trkfys7fdn] {
    color: #a0aec0;
}

:root[data-theme="dark"] .stat-date[b-trkfys7fdn] {
    color: #718096;
}

:root[data-theme="dark"] .stat-footer[b-trkfys7fdn] {
    color: #a0aec0;
    border-top-color: #4a5568;
}

:root[data-theme="dark"] .variable-stats[b-trkfys7fdn] {
    background: #334155;
    border-color: #4a5568;
}

:root[data-theme="dark"] .variable-title[b-trkfys7fdn] {
    color: #90cdf4;
    border-bottom-color: #90cdf4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .card-header[b-trkfys7fdn] {
        padding: 1rem 1.5rem;
    }

        .card-header h3[b-trkfys7fdn] {
            font-size: 1.25rem;
        }

    .card-filter[b-trkfys7fdn] {
        padding: 1.5rem;
    }

    .filter-options[b-trkfys7fdn] {
        gap: 0.75rem;
    }

    .filter-option[b-trkfys7fdn] {
        min-width: 110px;
        padding: 0.6rem 0.8rem;
    }

    .filter-actions[b-trkfys7fdn] {
        gap: 1rem;
    }

    .date-filters[b-trkfys7fdn] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .date-control[b-trkfys7fdn] {
        min-width: 100%;
    }

    .statistics-grid[b-trkfys7fdn] {
        grid-template-columns: 1fr;
    }

    .card-body[b-trkfys7fdn] {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .card-header h3[b-trkfys7fdn] {
        font-size: 1.1rem;
    }

    .filter-options[b-trkfys7fdn] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
    }

    .filter-option[b-trkfys7fdn] {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
    }

    .date-control[b-trkfys7fdn] {
        min-width: 100%;
    }

    .btn-apply[b-trkfys7fdn] {
        width: 100%;
        justify-content: center;
    }
}
/* /Components/Charts/ChartContainer.razor.rz.scp.css */
/* ============================================
   CHARTCONTAINER - MODO CLARO Y OSCURO
   ============================================ */

/* ============================================
   MODO CLARO (por defecto)
   ============================================ */

/* Contenedor principal */
.chart-card[b-hby9vx8u70] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .chart-card:hover[b-hby9vx8u70] {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    /* Header con fondo vino */
    .chart-card .card-header[b-hby9vx8u70] {
        background: #7a1e19 !important;
        color: #ffffff !important;
        padding: 1rem 1.25rem;
        border-bottom: none !important;
    }

        .chart-card .card-header h3[b-hby9vx8u70] {
            font-size: 1.1rem;
            font-weight: 600;
            color: #ffffff !important;
            margin: 0;
        }

    /* Área de filtros */
    .chart-card .card-filter[b-hby9vx8u70] {
        background: #f8f9fa !important;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid rgba(122, 30, 25, 0.1) !important;
    }

    /* Labels */
    .chart-card .form-label[b-hby9vx8u70] {
        color: #515b5c !important;
        font-weight: 500;
        font-size: 0.875rem;
        margin-bottom: 0.25rem !important; /* Reducido para mejor alineación */
    }

    /* CONTENEDORES DE FORM-CONTROL - ALTURA UNIFICADA */
    .chart-card .card-filter .col-auto[b-hby9vx8u70] {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    /* Dropdown select - ALTURA ESTÁNDAR */
    .chart-card .chart-select[b-hby9vx8u70] {
        border: 1px solid rgba(122, 30, 25, 0.2) !important;
        color: #515b5c !important;
        background-color: #ffffff !important;
        transition: all 0.2s ease;
        height: 38px !important; /* Altura estándar */
        font-size: 0.875rem !important; /* Tamaño consistente */
        display: flex !important;
        align-items: center !important;
    }

        .chart-card .chart-select:focus[b-hby9vx8u70] {
            border-color: #7a1e19 !important;
            box-shadow: 0 0 0 0.2rem rgba(122, 30, 25, 0.15) !important;
            background-color: #ffffff !important;
            color: #515b5c !important;
        }

        .chart-card .chart-select:hover:not(:disabled)[b-hby9vx8u70] {
            border-color: #7a1e19 !important;
        }

        .chart-card .chart-select:disabled[b-hby9vx8u70] {
            background-color: #e9ecef !important;
            opacity: 0.6;
        }

        .chart-card .chart-select option[b-hby9vx8u70] {
            background-color: #ffffff !important;
            color: #515b5c !important;
        }

    /* Inputs de fecha - ALTURA ESTÁNDAR */
    .chart-card .chart-input[b-hby9vx8u70] {
        border: 1px solid rgba(122, 30, 25, 0.2) !important;
        color: #515b5c !important;
        background-color: #ffffff !important;
        transition: all 0.2s ease;
        height: 38px !important; /* Misma altura que el select */
        font-size: 0.875rem !important; /* Mismo tamaño de fuente */
        display: flex !important;
        align-items: center !important;
    }

        .chart-card .chart-input:focus[b-hby9vx8u70] {
            border-color: #7a1e19 !important;
            box-shadow: 0 0 0 0.2rem rgba(122, 30, 25, 0.15) !important;
            background-color: #ffffff !important;
            color: #515b5c !important;
        }

    /* BOTONES CON ALTURA UNIFICADA */
    .chart-card .btn-dates[b-hby9vx8u70],
    .chart-card .btn-apply[b-hby9vx8u70] {
        height: 38px !important; /* Misma altura que los inputs */
        font-size: 0.875rem !important; /* Mismo tamaño de fuente */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.375rem 0.75rem !important;
        line-height: 1.5 !important;
        min-width: 80px; /* Ancho mínimo consistente */
    }

    /* Botón flotante "Fechas" */
    .chart-card .btn-dates[b-hby9vx8u70] {
        background: rgba(122, 30, 25, 0.08) !important;
        border: 1px solid rgba(122, 30, 25, 0.15) !important;
        color: #7a1e19 !important;
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
        font-weight: 500;
    }

        .chart-card .btn-dates:hover[b-hby9vx8u70] {
            background: #6a1915 !important;
            border-color: #6a1915 !important;
            color: #ffffff !important;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(106, 25, 21, 0.3);
        }

        .chart-card .btn-dates:active[b-hby9vx8u70] {
            transform: translateY(0);
            background: #5a1512 !important;
        }

    /* Botón "Aplicar" */
    .chart-card .btn-apply[b-hby9vx8u70] {
        background: #7a1e19 !important;
        border: none !important;
        color: #ffffff !important;
        font-weight: 500;
        transition: all 0.3s ease;
        min-width: 90px; /* Un poco más ancho que "Fechas" */
    }

        .chart-card .btn-apply:hover:not(:disabled)[b-hby9vx8u70] {
            background: #6a1915 !important;
            box-shadow: 0 4px 12px rgba(106, 25, 21, 0.3);
            transform: translateY(-1px);
        }

        .chart-card .btn-apply:active[b-hby9vx8u70] {
            background: #5a1512 !important;
            transform: translateY(0);
        }

        .chart-card .btn-apply:disabled[b-hby9vx8u70] {
            background: #cccccc !important;
            opacity: 0.6;
        }

    /* ALINEACIÓN VERTICAL MEJORADA */
    .chart-card .card-filter .row[b-hby9vx8u70] {
        align-items: flex-end !important;
    }

    .chart-card .card-filter .col-auto[b-hby9vx8u70] {
        margin-bottom: 0 !important;
    }

    /* Información de debug */
    .chart-card .chart-debug-info[b-hby9vx8u70] {
        color: #515b5c !important;
        font-size: 0.875rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.5rem !important;
    }

        .chart-card .chart-debug-info i[b-hby9vx8u70] {
            color: #7a1e19 !important;
        }

    /* Área del gráfico */
    .chart-card .chart-body[b-hby9vx8u70] {
        background: #ffffff !important;
        padding: 1.25rem;
    }

    .chart-card .chart-content[b-hby9vx8u70] {
        background: #ffffff !important;
        border-radius: 8px;
    }

    /* Loading overlay */
    .chart-card .chart-loading[b-hby9vx8u70] {
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(4px);
        z-index: 1000;
    }

    .chart-card .spinner-border[b-hby9vx8u70] {
        color: #7a1e19 !important;
    }


/* ============================================
   MODO OSCURO
   ============================================ */

[data-theme="dark"] .chart-card[b-hby9vx8u70] {
    background: #0f172a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

    [data-theme="dark"] .chart-card:hover[b-hby9vx8u70] {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    }

    /* Header con fondo celeste */
    [data-theme="dark"] .chart-card .card-header[b-hby9vx8u70] {
        background: #3b82f6 !important;
        color: #f1f5f9 !important;
    }

        [data-theme="dark"] .chart-card .card-header h3[b-hby9vx8u70] {
            color: #f1f5f9 !important;
        }

    /* Área de filtros oscura */
    [data-theme="dark"] .chart-card .card-filter[b-hby9vx8u70] {
        background: #1e293b !important;
        border-bottom: 1px solid #334155 !important;
    }

    /* Labels claros */
    [data-theme="dark"] .chart-card .form-label[b-hby9vx8u70] {
        color: #cbd5e1 !important;
    }

    /* Dropdown select oscuro - ALTURA ESTÁNDAR */
    [data-theme="dark"] .chart-card .chart-select[b-hby9vx8u70] {
        background-color: #334155 !important;
        border: 1px solid #334155 !important;
        color: #f1f5f9 !important;
        height: 38px !important; /* Altura estándar */
        font-size: 0.875rem !important;
    }

        [data-theme="dark"] .chart-card .chart-select:focus[b-hby9vx8u70] {
            background-color: #334155 !important;
            border-color: #3b82f6 !important;
            box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
            color: #f1f5f9 !important;
        }

        [data-theme="dark"] .chart-card .chart-select:hover:not(:disabled)[b-hby9vx8u70] {
            background-color: #475569 !important;
            border-color: #3b82f6 !important;
        }

        [data-theme="dark"] .chart-card .chart-select:disabled[b-hby9vx8u70] {
            background-color: #1e293b !important;
            opacity: 0.5;
        }

        [data-theme="dark"] .chart-card .chart-select option[b-hby9vx8u70] {
            background-color: #334155 !important;
            color: #f1f5f9 !important;
        }

    /* Inputs de fecha oscuros - ALTURA ESTÁNDAR */
    [data-theme="dark"] .chart-card .chart-input[b-hby9vx8u70] {
        background-color: #334155 !important;
        border: 1px solid #334155 !important;
        color: #f1f5f9 !important;
        height: 38px !important; /* Misma altura */
        font-size: 0.875rem !important;
    }

        [data-theme="dark"] .chart-card .chart-input:focus[b-hby9vx8u70] {
            background-color: #334155 !important;
            border-color: #3b82f6 !important;
            box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
            color: #f1f5f9 !important;
        }

        [data-theme="dark"] .chart-card .chart-input:hover:not(:disabled)[b-hby9vx8u70] {
            border-color: #3b82f6 !important;
        }

        [data-theme="dark"] .chart-card .chart-input[b-hby9vx8u70]::-webkit-calendar-picker-indicator {
            filter: invert(1);
        }

    /* Botones en modo oscuro - ALTURA UNIFICADA */
    [data-theme="dark"] .chart-card .btn-dates[b-hby9vx8u70],
    [data-theme="dark"] .chart-card .btn-apply[b-hby9vx8u70] {
        height: 38px !important; /* Misma altura */
        font-size: 0.875rem !important;
    }

    /* Botón flotante "Fechas" oscuro */
    [data-theme="dark"] .chart-card .btn-dates[b-hby9vx8u70] {
        background: rgba(59, 130, 246, 0.12) !important;
        border: 1px solid rgba(59, 130, 246, 0.25) !important;
        color: #3b82f6 !important;
    }

        [data-theme="dark"] .chart-card .btn-dates:hover[b-hby9vx8u70] {
            background: #2563eb !important;
            border-color: #2563eb !important;
            color: #f1f5f9 !important;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
        }

        [data-theme="dark"] .chart-card .btn-dates:active[b-hby9vx8u70] {
            background: #1e40af !important;
        }

    /* Botón "Aplicar" oscuro */
    [data-theme="dark"] .chart-card .btn-apply[b-hby9vx8u70] {
        background: #3b82f6 !important;
        color: #f1f5f9 !important;
    }

        [data-theme="dark"] .chart-card .btn-apply:hover:not(:disabled)[b-hby9vx8u70] {
            background: #2563eb !important;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
        }

        [data-theme="dark"] .chart-card .btn-apply:active[b-hby9vx8u70] {
            background: #1e40af !important;
        }

        [data-theme="dark"] .chart-card .btn-apply:disabled[b-hby9vx8u70] {
            background: #334155 !important;
            opacity: 0.5;
        }

    /* Información de debug clara */
    [data-theme="dark"] .chart-card .chart-debug-info[b-hby9vx8u70] {
        color: #cbd5e1 !important;
    }

        [data-theme="dark"] .chart-card .chart-debug-info i[b-hby9vx8u70] {
            color: #3b82f6 !important;
        }

    /* Área del gráfico oscura */
    [data-theme="dark"] .chart-card .chart-body[b-hby9vx8u70] {
        background: #0f172a !important;
    }

    [data-theme="dark"] .chart-card .chart-content[b-hby9vx8u70] {
        background: #0f172a !important;
    }

    /* Loading overlay oscuro */
    [data-theme="dark"] .chart-card .chart-loading[b-hby9vx8u70] {
        background: rgba(15, 23, 42, 0.9) !important;
    }

    [data-theme="dark"] .chart-card .spinner-border[b-hby9vx8u70] {
        color: #3b82f6 !important;
    }


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .chart-card .card-filter[b-hby9vx8u70] {
        padding: 0.75rem 1rem;
    }

    .chart-card .card-header[b-hby9vx8u70] {
        padding: 0.75rem 1rem;
    }

        .chart-card .card-header h3[b-hby9vx8u70] {
            font-size: 1rem;
        }

    .chart-card .chart-body[b-hby9vx8u70] {
        padding: 1rem;
    }

    /* En móvil, mantener altura consistente */
    .chart-card .chart-select[b-hby9vx8u70],
    .chart-card .chart-input[b-hby9vx8u70],
    .chart-card .btn-dates[b-hby9vx8u70],
    .chart-card .btn-apply[b-hby9vx8u70] {
        height: 36px !important; /* Un poco más compacto en móvil */
        font-size: 0.85rem !important;
    }
}

@media (max-width: 576px) {
    .chart-card .card-filter .row[b-hby9vx8u70] {
        flex-direction: column;
        align-items: stretch !important;
    }

    .chart-card .card-filter .col-auto[b-hby9vx8u70] {
        width: 100%;
        margin-bottom: 0.5rem !important;
    }

    .chart-card .btn-dates[b-hby9vx8u70],
    .chart-card .btn-apply[b-hby9vx8u70] {
        width: 100%;
        height: 40px !important; /* Más alto en móvil para mejor tacto */
    }
}
/* /Components/Charts/LatestVariablesCard.razor.rz.scp.css */
/* ============================================
   LATESTVARIABLESCARD - IMAGEN CENTRADA + 3 COLUMNAS
   ============================================ */

/* Contenedor principal */
.latest-variables-card[b-j5aj72qg6s] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(122, 30, 25, 0.1);
}

    .latest-variables-card:hover[b-j5aj72qg6s] {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

    /* Header */
    .latest-variables-card .card-header[b-j5aj72qg6s] {
        background: #7a1e19 !important;
        color: #ffffff !important;
        padding: 0.2rem 1rem;
        border-bottom: none !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .latest-variables-card .header-content[b-j5aj72qg6s] {
        flex: 1;
    }

    .latest-variables-card .card-header h3[b-j5aj72qg6s] {
        font-size: 1.1rem;
        font-weight: 600;
        color: #ffffff !important;
        margin: 0;
        line-height: 1.2;
    }

    .latest-variables-card .station-name[b-j5aj72qg6s] {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.9) !important;
        margin-top: 0.25rem;
    }

    .latest-variables-card .last-update[b-j5aj72qg6s] {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    /* Botón de refresh */
    .latest-variables-card .refresh-btn[b-j5aj72qg6s] {
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
        border-radius: 6px;
        padding: 0.4rem;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

        .latest-variables-card .refresh-btn:hover[b-j5aj72qg6s] {
            background: rgba(255, 255, 255, 0.25) !important;
            border-color: rgba(255, 255, 255, 0.3) !important;
            transform: rotate(45deg);
        }

        .latest-variables-card .refresh-btn svg[b-j5aj72qg6s] {
            width: 0.9rem;
            height: 0.9rem;
        }

    /* Contenido principal */
    .latest-variables-card .card-content[b-j5aj72qg6s] {
        padding: 2rem 1.5rem;
    }

    /* Sección de imagen centrada */
    .latest-variables-card .station-image-section[b-j5aj72qg6s] {
        text-align: center;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .latest-variables-card .station-image-container[b-j5aj72qg6s] {
        margin-bottom: 1.5rem;
    }

    .latest-variables-card .station-image[b-j5aj72qg6s] {
        width: 250px;
        height: 250px;
        border-radius: 16px;
        object-fit: cover;
        border: 4px solid #7a1e19;
        box-shadow: 0 8px 25px rgba(122, 30, 25, 0.25);
        transition: all 0.4s ease;
    }

        .latest-variables-card .station-image:hover[b-j5aj72qg6s] {
            transform: scale(1.02);
            box-shadow: 0 12px 35px rgba(122, 30, 25, 0.35);
            border-color: #8a2a25;
        }

    .latest-variables-card .station-info h4[b-j5aj72qg6s] {
        font-size: 1.4rem;
        font-weight: 700;
        color: #7a1e19;
        margin: 0 0 1.5rem 0;
        line-height: 1.3;
    }

    .latest-variables-card .station-stats[b-j5aj72qg6s] {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .latest-variables-card .stat[b-j5aj72qg6s] {
        text-align: center;
        padding: 1rem 1.25rem;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 12px;
        border: 2px solid rgba(122, 30, 25, 0.15);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        min-width: 100px;
    }

        .latest-variables-card .stat:hover[b-j5aj72qg6s] {
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(122, 30, 25, 0.15);
            border-color: rgba(122, 30, 25, 0.25);
        }

    .latest-variables-card .stat-number[b-j5aj72qg6s] {
        display: block;
        font-size: 1.75rem;
        font-weight: 800;
        color: #7a1e19;
        line-height: 1;
        margin-bottom: 0.5rem;
    }

    .latest-variables-card .stat-label[b-j5aj72qg6s] {
        display: block;
        font-size: 0.8rem;
        color: #6c757d;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Sección de variables */
    .latest-variables-card .variables-section[b-j5aj72qg6s] {
        margin-top: 1rem;
    }

    /* Grid de variables - 4 COLUMNAS PROFESIONALES */
    .latest-variables-card .variables-grid[b-j5aj72qg6s] {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    /* Items de variable optimizados para 4 columnas */
    .latest-variables-card .variable-item[b-j5aj72qg6s] {
        background: #f8f9fa !important;
        border-radius: 12px;
        padding: 1.5rem 1.25rem;
        border-left: 5px solid var(--accent-color, #7a1e19);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    }

        .latest-variables-card .variable-item[b-j5aj72qg6s]::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--accent-color, #7a1e19), transparent);
            opacity: 0.4;
        }

        .latest-variables-card .variable-item:hover[b-j5aj72qg6s] {
            background: #ffffff !important;
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(122, 30, 25, 0.15);
        }

    /* Header de variable */
    .latest-variables-card .variable-header[b-j5aj72qg6s] {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .latest-variables-card .variable-name[b-j5aj72qg6s] {
        font-weight: 700;
        color: #515b5c !important;
        font-size: 0.9rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.6em;
    }

    .latest-variables-card .variable-unit[b-j5aj72qg6s] {
        font-size: 0.75rem;
        color: #7a1e19 !important;
        background: rgba(122, 30, 25, 0.1) !important;
        padding: 0.3rem 0.75rem;
        border-radius: 6px;
        white-space: nowrap;
        font-weight: 600;
        width: fit-content;
        border: 1px solid rgba(122, 30, 25, 0.2);
    }

    /* Valor de variable */
    .latest-variables-card .variable-value[b-j5aj72qg6s] {
        font-size: 1.6rem;
        font-weight: 800;
        color: var(--accent-color, #7a1e19) !important;
        line-height: 1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin: 0.75rem 0;
        text-align: center;
    }

    /* Tiempo de variable */
    .latest-variables-card .variable-time[b-j5aj72qg6s] {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.75rem;
        color: #6c757d !important;
        margin-top: auto;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .latest-variables-card .stale-indicator[b-j5aj72qg6s] {
        font-size: 0.7rem;
        cursor: help;
        color: #dc3545 !important;
    }

    /* Estados de carga */
    .latest-variables-card .loading-variables[b-j5aj72qg6s],
    .latest-variables-card .no-data[b-j5aj72qg6s] {
        grid-column: 1 / -1;
        text-align: center;
        padding: 3rem;
        color: #6c757d !important;
    }

    .latest-variables-card .loading-variables[b-j5aj72qg6s] {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .latest-variables-card .no-data[b-j5aj72qg6s] {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

        .latest-variables-card .no-data svg[b-j5aj72qg6s] {
            width: 3rem;
            height: 3rem;
            opacity: 0.5;
            color: #7a1e19 !important;
        }

    /* Botón de reintento */
    .latest-variables-card .btn-retry[b-j5aj72qg6s] {
        background: #7a1e19 !important;
        border: none !important;
        color: #ffffff !important;
        padding: 0.5rem 1.25rem;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.875rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }

        .latest-variables-card .btn-retry:hover[b-j5aj72qg6s] {
            background: #6a1915 !important;
            box-shadow: 0 4px 12px rgba(106, 25, 21, 0.3);
            transform: translateY(-1px);
        }

    /* Spinner pequeño */
    .latest-variables-card .spinner-small[b-j5aj72qg6s] {
        width: 1.5rem;
        height: 1.5rem;
        border: 2px solid rgba(122, 30, 25, 0.3);
        border-top: 2px solid #7a1e19;
        border-radius: 50%;
        animation: spin-b-j5aj72qg6s 1s linear infinite;
    }

@keyframes spin-b-j5aj72qg6s {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================
   MODO OSCURO
   ============================================ */

[data-theme="dark"] .latest-variables-card[b-j5aj72qg6s] {
    background: #0f172a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border: 1px solid #334155;
}

    [data-theme="dark"] .latest-variables-card:hover[b-j5aj72qg6s] {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    }

    [data-theme="dark"] .latest-variables-card .card-header[b-j5aj72qg6s] {
        background: #3b82f6 !important;
    }

    [data-theme="dark"] .latest-variables-card .station-image[b-j5aj72qg6s] {
        border: 4px solid #3b82f6;
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    }

        [data-theme="dark"] .latest-variables-card .station-image:hover[b-j5aj72qg6s] {
            border-color: #4f93f7;
            box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
        }

    [data-theme="dark"] .latest-variables-card .station-info h4[b-j5aj72qg6s] {
        color: #3b82f6;
    }

    [data-theme="dark"] .latest-variables-card .stat[b-j5aj72qg6s] {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
        border: 2px solid #475569;
    }

        [data-theme="dark"] .latest-variables-card .stat:hover[b-j5aj72qg6s] {
            border-color: #3b82f6;
            box-shadow: 0 6px 18px rgba(59, 130, 246, 0.2);
        }

    [data-theme="dark"] .latest-variables-card .stat-number[b-j5aj72qg6s] {
        color: #3b82f6;
    }

    [data-theme="dark"] .latest-variables-card .variable-item[b-j5aj72qg6s] {
        background: #1e293b !important;
        border-left-color: var(--accent-color, #3b82f6);
    }

    [data-theme="dark"] .latest-variables-card .variable-name[b-j5aj72qg6s] {
        color: #cbd5e1 !important;
    }

    [data-theme="dark"] .latest-variables-card .variable-unit[b-j5aj72qg6s] {
        color: #3b82f6 !important;
        background: rgba(59, 130, 246, 0.15) !important;
        border: 1px solid #475569;
    }

    [data-theme="dark"] .latest-variables-card .variable-value[b-j5aj72qg6s] {
        color: var(--accent-color, #3b82f6) !important;
    }

    [data-theme="dark"] .latest-variables-card .variable-time[b-j5aj72qg6s] {
        border-top: 1px solid #334155;
    }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1400px) {
    .latest-variables-card .variables-grid[b-j5aj72qg6s] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .latest-variables-card .variables-grid[b-j5aj72qg6s] {
        grid-template-columns: repeat(2, 1fr);
    }

    .latest-variables-card .station-image[b-j5aj72qg6s] {
        width: 220px;
        height: 220px;
    }

    .latest-variables-card .station-stats[b-j5aj72qg6s] {
        gap: 1rem;
    }

    .latest-variables-card .stat[b-j5aj72qg6s] {
        padding: 0.875rem 1rem;
        min-width: 90px;
    }
}

@media (max-width: 992px) {
    .latest-variables-card .card-content[b-j5aj72qg6s] {
        padding: 1.5rem 1rem;
    }

    .latest-variables-card .station-image-section[b-j5aj72qg6s] {
        margin-bottom: 2rem;
    }

    .latest-variables-card .station-image[b-j5aj72qg6s] {
        width: 200px;
        height: 200px;
    }

    .latest-variables-card .station-info h4[b-j5aj72qg6s] {
        font-size: 1.3rem;
    }

    .latest-variables-card .stat-number[b-j5aj72qg6s] {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .latest-variables-card .variables-grid[b-j5aj72qg6s] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .latest-variables-card .card-header[b-j5aj72qg6s] {
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .latest-variables-card .last-update[b-j5aj72qg6s] {
        align-self: flex-end;
    }

    .latest-variables-card .station-image[b-j5aj72qg6s] {
        width: 180px;
        height: 180px;
    }

    .latest-variables-card .station-stats[b-j5aj72qg6s] {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        max-width: 200px;
    }

    .latest-variables-card .stat[b-j5aj72qg6s] {
        width: 100%;
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .latest-variables-card .card-content[b-j5aj72qg6s] {
        padding: 1rem;
    }

    .latest-variables-card .station-image[b-j5aj72qg6s] {
        width: 160px;
        height: 160px;
    }

    .latest-variables-card .station-info h4[b-j5aj72qg6s] {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .latest-variables-card .variable-item[b-j5aj72qg6s] {
        padding: 1.25rem 1rem;
        min-height: 130px;
    }

    .latest-variables-card .variable-value[b-j5aj72qg6s] {
        font-size: 1.4rem;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */

.latest-variables-card .station-image-section[b-j5aj72qg6s] {
    animation: fadeInDown-b-j5aj72qg6s 0.8s ease-out;
}

.latest-variables-card .variables-grid .variable-item[b-j5aj72qg6s] {
    animation: fadeInUp-b-j5aj72qg6s 0.6s ease forwards;
    opacity: 0;
    transform: translateY(15px);
}

@keyframes fadeInDown-b-j5aj72qg6s {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp-b-j5aj72qg6s {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de aparición escalonada para items de variables */
.latest-variables-card .variables-grid .variable-item:nth-child(1)[b-j5aj72qg6s] {
    animation-delay: 0.1s;
}

.latest-variables-card .variables-grid .variable-item:nth-child(2)[b-j5aj72qg6s] {
    animation-delay: 0.2s;
}

.latest-variables-card .variables-grid .variable-item:nth-child(3)[b-j5aj72qg6s] {
    animation-delay: 0.3s;
}

.latest-variables-card .variables-grid .variable-item:nth-child(4)[b-j5aj72qg6s] {
    animation-delay: 0.4s;
}

.latest-variables-card .variables-grid .variable-item:nth-child(5)[b-j5aj72qg6s] {
    animation-delay: 0.5s;
}

.latest-variables-card .variables-grid .variable-item:nth-child(6)[b-j5aj72qg6s] {
    animation-delay: 0.6s;
}
/* /Components/LoadingOverlay.razor.rz.scp.css */
/* ==============================
   Loader Component (scoped)
   ============================== */
.overlay[b-unbs54kecc] {
    position: fixed;
    inset: 0;
    z-index: 999999;
    cursor: wait;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif
}

.backdrop[b-unbs54kecc] {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.30);
    backdrop-filter: blur(4px)
}

.spinner-wrapper[b-unbs54kecc] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.spinner[b-unbs54kecc] {
    height: 64px;
    width: 64px;
    border-radius: 9999px;
    border-width: 4px;
    border-style: solid;
    border-top-color: transparent; /* crea el “gap” */
    animation: spin-b-unbs54kecc .9s linear infinite;
}

/* Colores institucionales */
.spinner-uta-header[b-unbs54kecc] {
    border-color: #7a1e19;
    border-top-color: transparent;
}
/* <- mantener gap */
.spinner-primary[b-unbs54kecc] {
    border-color: #3b82f6;
    border-top-color: transparent;
}

.spinner-success[b-unbs54kecc] {
    border-color: #16a34a;
    border-top-color: transparent;
}

.spinner-warning[b-unbs54kecc] {
    border-color: #f59e0b;
    border-top-color: transparent;
}

.spinner-neutral[b-unbs54kecc] {
    border-color: #64748b;
    border-top-color: transparent;
}

/* Dark mode */
:host-context([data-theme="dark"]) .spinner-uta-header[b-unbs54kecc] {
    border-color: #6a1915;
    border-top-color: transparent;
}

@keyframes spin-b-unbs54kecc {
    to {
        transform: rotate(360deg)
    }
}
/* /Components/ManualUploadModal.razor.rz.scp.css */
/* ============================================================================
   MANUAL UPLOAD MODAL - Estilos personalizados
   ============================================================================ */

/* ----- Variables y dimensiones (SCOPED) ----- */
:host[b-6y1zf8gc15] {
    --manual-modal-vh: 82vh;
}

/* Fondo del modal */
.manual-modal-backdrop[b-6y1zf8gc15] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

[data-theme="dark"] .manual-modal-backdrop[b-6y1zf8gc15] {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Contenedor del modal */
.manual-modal-container[b-6y1zf8gc15] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2vh 2vw;
    z-index: 1050;
}

/* ancho del diálogo */
.manual-modal-dialog[b-6y1zf8gc15] {
    width: min(1000px, 96vw);
    max-width: 96vw;
}

/* el contenedor principal del modal: altura fija y layout flex */
.manual-modal-content[b-6y1zf8gc15] {
    height: var(--manual-modal-vh);
    max-height: 96vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .manual-modal-content[b-6y1zf8gc15] {
    background-color: #1e293b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Header del modal */
.manual-modal-header[b-6y1zf8gc15] {
    position: sticky;
    top: 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    z-index: 2;
}

[data-theme="dark"] .manual-modal-header[b-6y1zf8gc15] {
    background-color: #0f172a;
    border-bottom-color: #475569;
}

.manual-modal-header h5[b-6y1zf8gc15] {
    margin: 0;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
}

[data-theme="dark"] .manual-modal-header h5[b-6y1zf8gc15] {
    color: #f1f5f9;
}

/* Botón cerrar del modal */
.manual-modal-close[b-6y1zf8gc15] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

    .manual-modal-close:hover[b-6y1zf8gc15] {
        background-color: rgba(0, 0, 0, 0.1);
        color: #374151;
    }

[data-theme="dark"] .manual-modal-close[b-6y1zf8gc15] {
    color: #9ca3af;
}

    [data-theme="dark"] .manual-modal-close:hover[b-6y1zf8gc15] {
        background-color: rgba(255, 255, 255, 0.1);
        color: #f1f5f9;
    }

/* Body del modal */
.manual-modal-body[b-6y1zf8gc15] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 1.5rem;
    background-color: #ffffff;
}

[data-theme="dark"] .manual-modal-body[b-6y1zf8gc15] {
    background-color: #1e293b;
}

/* Footer del modal */
.manual-modal-footer[b-6y1zf8gc15] {
    position: sticky;
    bottom: 0;
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background-color: #f8f9fa;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    z-index: 2;
}

[data-theme="dark"] .manual-modal-footer[b-6y1zf8gc15] {
    background-color: #0f172a;
    border-top-color: #475569;
}

/* ============================================================================
   ESTILOS DE FORMULARIOS Y CONTROLES
   ============================================================================ */

/* Labels de formulario */
.manual-form-label[b-6y1zf8gc15] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: #374151;
}

[data-theme="dark"] .manual-form-label[b-6y1zf8gc15] {
    color: #e2e8f0;
}

/* Controles de formulario */
.manual-form-control[b-6y1zf8gc15],
.manual-form-select[b-6y1zf8gc15] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #ffffff;
    color: #1f2937;
    font-size: 0.9rem;
    transition: all 0.2s;
}

[data-theme="dark"] .manual-form-control[b-6y1zf8gc15],
[data-theme="dark"] .manual-form-select[b-6y1zf8gc15] {
    background-color: #334155;
    border-color: #475569;
    color: #f1f5f9;
}

.manual-form-control:focus[b-6y1zf8gc15],
.manual-form-select:focus[b-6y1zf8gc15] {
    outline: none;
    border-color: #7a1e19;
    box-shadow: 0 0 0 3px rgba(122, 30, 25, 0.1);
}

[data-theme="dark"] .manual-form-control:focus[b-6y1zf8gc15],
[data-theme="dark"] .manual-form-select:focus[b-6y1zf8gc15] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Grupos de formulario */
.manual-form-group[b-6y1zf8gc15] {
    margin-bottom: 1.5rem;
}

/* Texto de ayuda */
.manual-form-text[b-6y1zf8gc15] {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    color: #6b7280;
}

[data-theme="dark"] .manual-form-text[b-6y1zf8gc15] {
    color: #9ca3af;
}

/* ============================================================================
   BOTONES PERSONALIZADOS
   ============================================================================ */

.manual-modal-btn[b-6y1zf8gc15] {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 100px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.manual-modal-primary[b-6y1zf8gc15] {
    background-color: #7a1e19;
    color: white;
}

    .manual-modal-primary:hover:not(:disabled)[b-6y1zf8gc15] {
        background-color: #6a1915;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(122, 30, 25, 0.3);
    }

    .manual-modal-primary:disabled[b-6y1zf8gc15] {
        background-color: #6c757d;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

[data-theme="dark"] .manual-modal-primary[b-6y1zf8gc15] {
    background-color: #3b82f6;
}

    [data-theme="dark"] .manual-modal-primary:hover:not(:disabled)[b-6y1zf8gc15] {
        background-color: #2563eb;
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    }

.manual-modal-secondary[b-6y1zf8gc15] {
    background-color: #6c757d;
    color: white;
}

    .manual-modal-secondary:hover:not(:disabled)[b-6y1zf8gc15] {
        background-color: #5c636a;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
    }

[data-theme="dark"] .manual-modal-secondary[b-6y1zf8gc15] {
    background-color: #475569;
}

    [data-theme="dark"] .manual-modal-secondary:hover:not(:disabled)[b-6y1zf8gc15] {
        background-color: #334155;
        box-shadow: 0 2px 8px rgba(71, 85, 105, 0.3);
    }

/* Botones outline */
.btn-outline-secondary[b-6y1zf8gc15] {
    border-color: #6c757d;
    color: #6c757d;
}

    .btn-outline-secondary:hover:not(:disabled)[b-6y1zf8gc15] {
        background-color: #6c757d;
        border-color: #6c757d;
        color: white;
    }

[data-theme="dark"] .btn-outline-secondary[b-6y1zf8gc15] {
    border-color: #475569;
    color: #9ca3af;
}

    [data-theme="dark"] .btn-outline-secondary:hover:not(:disabled)[b-6y1zf8gc15] {
        background-color: #475569;
        border-color: #475569;
        color: #f1f5f9;
    }

/* ============================================================================
   TABLAS Y PREVISUALIZACIÓN
   ============================================================================ */

/* Tabla de previsualización */
.manual-preview-table[b-6y1zf8gc15] {
    max-height: 180px;
    overflow: auto;
}

    .manual-preview-table table[b-6y1zf8gc15] {
        margin-bottom: 0;
    }

    .manual-preview-table thead[b-6y1zf8gc15] {
        position: sticky;
        top: 0;
        background-color: #f8f9fa;
    }

[data-theme="dark"] .manual-preview-table thead[b-6y1zf8gc15] {
    background-color: #334155;
}

/* Tabla de selección de variables */
.manual-variables-table[b-6y1zf8gc15] {
    max-height: 320px;
    overflow: auto;
}

    .manual-variables-table table[b-6y1zf8gc15] {
        margin-bottom: 0;
    }

    .manual-variables-table thead[b-6y1zf8gc15] {
        position: sticky;
        top: 0;
        background-color: #f8f9fa;
    }

[data-theme="dark"] .manual-variables-table thead[b-6y1zf8gc15] {
    background-color: #334155;
}

/* Input de orden más compacto */
.order-input[b-6y1zf8gc15] {
    width: 90px;
    text-align: center;
    padding-right: 4px;
}

/* Contenedor de búsqueda */
.manual-search-container[b-6y1zf8gc15] {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: #f9fafb;
}

[data-theme="dark"] .manual-search-container[b-6y1zf8gc15] {
    background-color: #0f172a;
    border-color: #475569;
}

/* ============================================================================
   ESTADOS Y VALIDACIONES
   ============================================================================ */

/* Mensajes de error */
.manual-validation-error[b-6y1zf8gc15] {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Estados deshabilitados */
.manual-modal-btn:disabled[b-6y1zf8gc15],
.manual-form-control:disabled[b-6y1zf8gc15],
.manual-form-select:disabled[b-6y1zf8gc15] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading states */
.manual-modal-loading[b-6y1zf8gc15] {
    opacity: 0.7;
    pointer-events: none;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 992px) {
    :host[b-6y1zf8gc15] {
        --manual-modal-vh: 88vh;
    }

    .manual-modal-dialog[b-6y1zf8gc15] {
        width: min(96vw, 720px);
    }

    .manual-modal-body > .row > .col-lg-5[b-6y1zf8gc15] {
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
}

@media (min-width: 992px) {
    .manual-modal-body > .row > .col-lg-5[b-6y1zf8gc15] {
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    .manual-modal-footer[b-6y1zf8gc15] {
        flex-direction: column-reverse;
    }

        .manual-modal-footer .manual-modal-btn[b-6y1zf8gc15] {
            width: 100%;
        }

    .manual-search-container .row[b-6y1zf8gc15] {
        flex-direction: column;
    }
}

/* Scrollbars mejorados */
.table-responsive[b-6y1zf8gc15] {
    scrollbar-gutter: stable;
}

    .table-responsive[style*="max-height: 180px"][b-6y1zf8gc15],
    .table-responsive[style*="max-height: 320px"][b-6y1zf8gc15] {
        overscroll-behavior: contain;
    }

/* Centrar visualmente el bloque de parámetros */
.manual-modal-body > .row > .col-lg-5[b-6y1zf8gc15] {
    margin-left: auto;
    margin-right: auto;
    float: none;
}

/* ============================================================================
   ELEMENTOS DE CÓDIGO Y TEXTO
   ============================================================================ */

/* Estilos para elementos <code> */
code[b-6y1zf8gc15] {
    background-color: #f3f4f6;
    color: #dc2626;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'Courier New', monospace;
    border: 1px solid #e5e7eb;
}

[data-theme="dark"] code[b-6y1zf8gc15] {
    background-color: #1e293b;
    color: #f87171;
    border-color: #475569;
}

/* Estilos para texto muted */
.text-muted[b-6y1zf8gc15] {
    color: #6b7280 !important;
}

[data-theme="dark"] .text-muted[b-6y1zf8gc15] {
    color: #9ca3af !important;
}

/* Estilos para alertas */
.alert-danger[b-6y1zf8gc15] {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

[data-theme="dark"] .alert-danger[b-6y1zf8gc15] {
    background-color: #431515;
    border-color: #7f1d1d;
    color: #fca5a5;
}

/* Estilos para texto de ayuda en formularios */
.form-text[b-6y1zf8gc15] {
    color: #6b7280;
}

[data-theme="dark"] .form-text[b-6y1zf8gc15] {
    color: #9ca3af;
}

/* Estilos para tablas */
.table[b-6y1zf8gc15] {
    color: #374151;
}

[data-theme="dark"] .table[b-6y1zf8gc15] {
    color: #e5e7eb;
}

.table-light[b-6y1zf8gc15] {
    background-color: #f9fafb;
}

[data-theme="dark"] .table-light[b-6y1zf8gc15] {
    background-color: #374151;
}

.table-bordered[b-6y1zf8gc15] {
    border-color: #e5e7eb;
}

[data-theme="dark"] .table-bordered[b-6y1zf8gc15] {
    border-color: #475569;
}

.table-bordered th[b-6y1zf8gc15],
.table-bordered td[b-6y1zf8gc15] {
    border-color: #e5e7eb;
}

[data-theme="dark"] .table-bordered th[b-6y1zf8gc15],
[data-theme="dark"] .table-bordered td[b-6y1zf8gc15] {
    border-color: #475569;
}

/* Tabla hover effects */
.table-hover tbody tr:hover[b-6y1zf8gc15] {
    background-color: #f8f9fa;
}

[data-theme="dark"] .table-hover tbody tr:hover[b-6y1zf8gc15] {
    background-color: #374151;
}

/* Table primary para filas seleccionadas */
.table-primary[b-6y1zf8gc15] {
    background-color: #dbeafe;
}

[data-theme="dark"] .table-primary[b-6y1zf8gc15] {
    background-color: #1e3a8a;
}
/* /Components/ModulesNavigator.razor.rz.scp.css */
.modules-container-wrapper[b-z33pcguj8e] {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.modules-container[b-z33pcguj8e] {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.modules-tabs[b-z33pcguj8e] {
    display: flex;
    gap: 0;
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.tab-button[b-z33pcguj8e] {
    background: transparent;
    border: none;
    border-right: 1px solid #e2e8f0;
    border-bottom: 3px solid transparent;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    flex: 1;
    justify-content: center;
}

    .tab-button:last-child[b-z33pcguj8e] {
        border-right: none;
    }

    .tab-button:hover[b-z33pcguj8e] {
        color: #334155;
        background-color: #ffffff;
    }

    .tab-button.active[b-z33pcguj8e] {
        color: #7a1e19;
        background-color: #ffffff;
        border-bottom-color: #7a1e19;
        font-weight: 600;
    }

        .tab-button.active[b-z33pcguj8e]::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #bd2e26, #6a1915);
        }

.tab-icon[b-z33pcguj8e] {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}
    .tab-icon svg[b-z33pcguj8e] {
        width: 20px;
        height: 20px;
    }
.tab-text[b-z33pcguj8e] {
    display: inline-block;
}

.modules-body[b-z33pcguj8e] {
    padding: 2rem;
    min-height: 400px;
    background-color: #ffffff;
}

/* Tema oscuro */
:root[data-theme="dark"] .modules-container[b-z33pcguj8e] {
    background-color: #1a202c;
    border-color: #2d3748;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .modules-tabs[b-z33pcguj8e] {
    background-color: #0f1419;
    border-bottom-color: #2d3748;
}

:root[data-theme="dark"] .tab-button[b-z33pcguj8e] {
    color: #94a3b8;
    border-right-color: #2d3748;
}

    :root[data-theme="dark"] .tab-button:hover[b-z33pcguj8e] {
        color: #e2e8f0;
        background-color: #1a202c;
    }

    :root[data-theme="dark"] .tab-button.active[b-z33pcguj8e] {
        color: #90cdf4;
        background-color: #1a202c;
        border-bottom-color: #90cdf4;
    }

        :root[data-theme="dark"] .tab-button.active[b-z33pcguj8e]::after {
            background: linear-gradient(90deg, #90cdf4, #5a67d8);
        }

:root[data-theme="dark"] .modules-body[b-z33pcguj8e] {
    background-color: #1a202c;
}

/* Responsive */
@media (max-width: 1024px) {
    .modules-tabs[b-z33pcguj8e] {
        overflow-x: auto;
        scrollbar-width: thin;
    }

        .modules-tabs[b-z33pcguj8e]::-webkit-scrollbar {
            height: 4px;
        }

        .modules-tabs[b-z33pcguj8e]::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .modules-tabs[b-z33pcguj8e]::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 2px;
        }

    :root[data-theme="dark"] .modules-tabs[b-z33pcguj8e]::-webkit-scrollbar-track {
        background: #0f1419;
    }

    :root[data-theme="dark"] .modules-tabs[b-z33pcguj8e]::-webkit-scrollbar-thumb {
        background: #4a5568;
    }

    .tab-button[b-z33pcguj8e] {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .modules-container-wrapper[b-z33pcguj8e] {
        padding: 1rem;
    }

    .modules-body[b-z33pcguj8e] {
        padding: 1.5rem;
    }

    .tab-button[b-z33pcguj8e] {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }

    .tab-icon[b-z33pcguj8e] {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .modules-container-wrapper[b-z33pcguj8e] {
        padding: 0.75rem;
    }

    .modules-body[b-z33pcguj8e] {
        padding: 1rem;
    }

    .tab-button[b-z33pcguj8e] {
        padding: 0.75rem 0.875rem;
        font-size: 0.813rem;
        gap: 0.375rem;
    }

    .tab-icon[b-z33pcguj8e] {
        font-size: 1rem;
    }

    .tab-text[b-z33pcguj8e] {
        font-size: 0.813rem;
    }
}
/* /Components/Toast/Toast.razor.rz.scp.css */
/* Posición y caja principal */
.toast[b-cpxs5c0tqz] {
    position: fixed;
    top: 96px; /* equivalente a top-24 */
    right: 24px; /* equivalente a right-6 */
    z-index: 1050;
    max-width: 28rem; /* ~ max-w-sm */
    width: calc(100vw - 32px);
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px; /* rounded-xl */
    border-left: 4px solid transparent;
    color: #fff;
    /* Sombra similar a Tailwind shadow-xl */
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    /* Animación */
    transition: opacity .4s ease, transform .4s ease;
    transform: translateY(0);
    backdrop-filter: saturate(120%) blur(6px);
    /* Responsive: en pantallas pequeñas separa del borde */
    margin-left: 16px;
}

/* Visibilidad */
.toast--visible[b-cpxs5c0tqz] {
    opacity: 1;
    transform: translateY(0);
}

.toast--hidden[b-cpxs5c0tqz] {
    opacity: 0;
    transform: translateY(-8px);
}

/* Tipos (colores) */
.toast--success[b-cpxs5c0tqz] {
    background: #059669; /* emerald-600 */
    border-left-color: #34d399; /* emerald-400 */
}

.toast--warning[b-cpxs5c0tqz] {
    background: #d97706; /* amber-600 */
    border-left-color: #fbbf24; /* amber-400 */
}

.toast--error[b-cpxs5c0tqz] {
    background: #dc2626; /* red-600 */
    border-left-color: #f87171; /* red-400 */
}

/* Icono */
.toast__icon[b-cpxs5c0tqz] {
    flex-shrink: 0;
    margin-top: 2px;
}

.toast__icon-svg[b-cpxs5c0tqz] {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    opacity: .85;
}

/* Cuerpo */
.toast__body[b-cpxs5c0tqz] {
    flex: 1 1 auto;
    line-height: 1.4;
}

.toast__text[b-cpxs5c0tqz] {
    display: block; /* similar a whitespace-pre-line de Tailwind */
    white-space: pre-line;
    word-break: break-word;
    font-size: 0.95rem; /* text-sm aprox */
}

/* Botón cerrar */
.toast__close[b-cpxs5c0tqz] {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 9999px;
    padding: 4px;
    line-height: 0;
    color: rgba(255,255,255,.9);
    transition: background-color .2s ease, color .2s ease;
}

.toast__close-svg[b-cpxs5c0tqz] {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Hover según tipo */
.toast--success .toast__close:hover[b-cpxs5c0tqz] {
    background: rgba(16,185,129,.35);
}

.toast--warning .toast__close:hover[b-cpxs5c0tqz] {
    background: rgba(245,158,11,.35);
}

.toast--error .toast__close:hover[b-cpxs5c0tqz] {
    background: rgba(239,68,68,.35);
}

/* Evitar que otros elementos tapen el toast en móviles */
@media (max-width: 420px) {
    .toast[b-cpxs5c0tqz] {
        right: 12px;
        left: 12px;
        width: auto;
    }
}
/* /Layout/AdminLayout.razor.rz.scp.css */
/* Reset básico */
*[b-vv195zz0vs] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-container[b-vv195zz0vs] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header principal */
.main-header[b-vv195zz0vs] {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.container-fluid[b-vv195zz0vs] {
    width: 100%;
    padding: 0 1.5rem;
}

.header-content[b-vv195zz0vs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    width: 100%;
}

/* Logo */
.logo-section[b-vv195zz0vs] {
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img[b-vv195zz0vs] {
    height: 80px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 100;
    transition: transform 0.3s ease;
}

.logo-section:hover .logo-img[b-vv195zz0vs] {
    transform: scale(1.05);
}

/* Acciones del header */
.header-actions[b-vv195zz0vs] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.theme-toggle-btn[b-vv195zz0vs] {
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .theme-toggle-btn:hover .icon[b-vv195zz0vs] {
        transform: rotate(20deg) scale(1.1);
    }

    .theme-toggle-btn .icon[b-vv195zz0vs] {
        width: 20px;
        height: 20px;
        display: block;
        transition: transform 0.3s ease;
    }

/* Botón Cerrar Sesión (tema vino) */
.logout-btn[b-vv195zz0vs] {
    background-color: #7a1e19;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .logout-btn:hover[b-vv195zz0vs] {
        background-color: #5c1511;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.4);
    }

/* Contenido principal */
.main-content[b-vv195zz0vs] {
    flex: 1;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Footer */
.main-footer[b-vv195zz0vs] {
    background-color: #f7fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 0;
    text-align: center;
    margin-top: auto;
}

    .main-footer .container[b-vv195zz0vs] {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .main-footer p[b-vv195zz0vs] {
        color: #718096;
        font-size: 0.875rem;
        margin: 0;
    }

/* TEMA OSCURO */
:root[data-theme="dark"] .main-header[b-vv195zz0vs] {
    background-color: #1a202c;
    border-bottom-color: #2d3748;
}

:root[data-theme="dark"] .theme-toggle-btn[b-vv195zz0vs] {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

    :root[data-theme="dark"] .theme-toggle-btn:hover[b-vv195zz0vs] {
        background-color: #4a5568;
    }

/* Botón Cerrar Sesión en modo oscuro con sombra celeste */
:root[data-theme="dark"] .logout-btn[b-vv195zz0vs] {
    background-color: #2b6cb0;
}

    :root[data-theme="dark"] .logout-btn:hover[b-vv195zz0vs] {
        background-color: #2c5282;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(43, 108, 176, 0.4); /* Sombra celeste */
    }

:root[data-theme="dark"] .main-footer[b-vv195zz0vs] {
    background-color: #1a202c;
    border-top-color: #2d3748;
}

    :root[data-theme="dark"] .main-footer p[b-vv195zz0vs] {
        color: #a0aec0;
    }

:root[data-theme="dark"] .main-content[b-vv195zz0vs] {
    background-color: #2d3748;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header[b-vv195zz0vs] {
        height: auto;
        min-height: 70px;
        padding: 0.5rem 0;
    }

    .header-content[b-vv195zz0vs] {
        flex-wrap: wrap;
        height: auto;
        gap: 0.5rem;
    }

    .logo-img[b-vv195zz0vs] {
        height: 60px;
    }

    .header-actions[b-vv195zz0vs] {
        gap: 0.5rem;
    }

    .logout-btn[b-vv195zz0vs] {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .container-fluid[b-vv195zz0vs] {
        padding: 0 1rem;
    }

    .logo-img[b-vv195zz0vs] {
        height: 50px;
    }

    .theme-toggle-btn[b-vv195zz0vs] {
        padding: 0.375rem 0.625rem;
    }

        .theme-toggle-btn .icon[b-vv195zz0vs] {
            font-size: 1rem;
        }

    .logout-btn[b-vv195zz0vs] {
        padding: 0.375rem 0.875rem;
        font-size: 0.813rem;
    }
}

/* /Layout/AnalystLayout.razor.rz.scp.css */
/* Reset básico */
*[b-i82ys43p2x] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-container[b-i82ys43p2x] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header principal para Analyst */
.main-header[b-i82ys43p2x] {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.container-fluid[b-i82ys43p2x] {
    width: 100%;
    padding: 0 1.5rem;
}

.header-content[b-i82ys43p2x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    width: 100%;
}

/* Logo Section Mejorado */
.logo-section[b-i82ys43p2x] {
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 1rem;
}

.logo-img[b-i82ys43p2x] {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.analyst-brand[b-i82ys43p2x] {
    display: flex;
    flex-direction: column;
}

.brand-text[b-i82ys43p2x] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7a1e19;
    line-height: 1;
}

.logo-section:hover .logo-img[b-i82ys43p2x] {
    transform: scale(1.05);
}

/* Navegación principal para Analyst */
.main-nav[b-i82ys43p2x] {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link[b-i82ys43p2x] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .nav-link:hover[b-i82ys43p2x] {
        color: #7a1e19;
        background-color: #fdf4f3;
    }

    .nav-link.active[b-i82ys43p2x] {
        color: #7a1e19;
        background-color: #fae9e8;
    }

    .nav-link svg[b-i82ys43p2x] {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

/* Acciones del header */
.header-actions[b-i82ys43p2x] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.theme-toggle-btn[b-i82ys43p2x] {
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .theme-toggle-btn:hover .icon[b-i82ys43p2x] {
        transform: rotate(20deg) scale(1.1);
    }

    .theme-toggle-btn .icon[b-i82ys43p2x] {
        width: 20px;
        height: 20px;
        display: block;
        transition: transform 0.3s ease;
    }

/* Botones de autenticación */
.logout-btn[b-i82ys43p2x], .login-btn[b-i82ys43p2x] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.logout-btn[b-i82ys43p2x] {
    background-color: #7a1e19;
    color: white;
}

    .logout-btn:hover[b-i82ys43p2x] {
        background-color: #5c1511;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.4);
    }

.login-btn[b-i82ys43p2x] {
    background-color: #7a1e19;
    color: white;
}

    .login-btn:hover[b-i82ys43p2x] {
        background-color: #5c1511;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.4);
    }

    .logout-btn svg[b-i82ys43p2x], .login-btn svg[b-i82ys43p2x] {
        width: 18px;
        height: 18px;
    }

/* Contenido principal */
.main-content[b-i82ys43p2x] {
    flex: 1;
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: #ffffff;
}

/* Footer */
.main-footer[b-i82ys43p2x] {
    background-color: #f7fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 0;
    text-align: center;
    margin-top: auto;
}

    .main-footer .container[b-i82ys43p2x] {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .main-footer p[b-i82ys43p2x] {
        color: #718096;
        font-size: 0.875rem;
        margin: 0;
    }

/* TEMA OSCURO */
:root[data-theme="dark"] .main-header[b-i82ys43p2x] {
    background-color: #1a202c;
    border-bottom-color: #2d3748;
}

:root[data-theme="dark"] .brand-text[b-i82ys43p2x] {
    color: #90cdf4;
}

:root[data-theme="dark"] .nav-link[b-i82ys43p2x] {
    color: #e2e8f0;
}

    :root[data-theme="dark"] .nav-link:hover[b-i82ys43p2x] {
        color: #90cdf4;
        background-color: #2d3748;
    }

    :root[data-theme="dark"] .nav-link.active[b-i82ys43p2x] {
        color: #90cdf4;
        background-color: #2d3748;
    }

:root[data-theme="dark"] .theme-toggle-btn[b-i82ys43p2x] {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

    :root[data-theme="dark"] .theme-toggle-btn:hover[b-i82ys43p2x] {
        background-color: #4a5568;
    }

:root[data-theme="dark"] .logout-btn[b-i82ys43p2x],
:root[data-theme="dark"] .login-btn[b-i82ys43p2x] {
    background-color: #2b6cb0;
}

    :root[data-theme="dark"] .logout-btn:hover[b-i82ys43p2x],
    :root[data-theme="dark"] .login-btn:hover[b-i82ys43p2x] {
        background-color: #2c5282;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(43, 108, 176, 0.4);
    }

:root[data-theme="dark"] .main-footer[b-i82ys43p2x] {
    background-color: #1a202c;
    border-top-color: #2d3748;
}

    :root[data-theme="dark"] .main-footer p[b-i82ys43p2x] {
        color: #a0aec0;
    }

:root[data-theme="dark"] .main-content[b-i82ys43p2x] {
    background-color: #2d3748;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-nav[b-i82ys43p2x] {
        gap: 1rem;
    }

    .nav-link[b-i82ys43p2x] {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .main-header[b-i82ys43p2x] {
        height: auto;
        min-height: 70px;
        padding: 0.5rem 0;
    }

    .header-content[b-i82ys43p2x] {
        flex-wrap: wrap;
        height: auto;
        gap: 1rem;
    }

    .logo-img[b-i82ys43p2x] {
        height: 60px;
    }

    .brand-text[b-i82ys43p2x] {
        font-size: 1.25rem;
    }

    .main-nav[b-i82ys43p2x] {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }

    .nav-link[b-i82ys43p2x] {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .header-actions[b-i82ys43p2x] {
        gap: 0.5rem;
    }

    .logout-btn[b-i82ys43p2x], .login-btn[b-i82ys43p2x] {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .container-fluid[b-i82ys43p2x] {
        padding: 0 1rem;
    }

    .logo-section[b-i82ys43p2x] {
        gap: 0.5rem;
    }

    .logo-img[b-i82ys43p2x] {
        height: 50px;
    }

    .brand-text[b-i82ys43p2x] {
        font-size: 1.1rem;
    }

    .main-nav[b-i82ys43p2x] {
        gap: 0.25rem;
    }

    .nav-link[b-i82ys43p2x] {
        padding: 0.375rem 0.625rem;
        font-size: 0.813rem;
    }

        .nav-link svg[b-i82ys43p2x] {
            width: 16px;
            height: 16px;
        }

    .theme-toggle-btn[b-i82ys43p2x] {
        padding: 0.375rem 0.625rem;
    }

        .theme-toggle-btn .icon[b-i82ys43p2x] {
            width: 18px;
            height: 18px;
        }

    .logout-btn[b-i82ys43p2x], .login-btn[b-i82ys43p2x] {
        padding: 0.375rem 0.875rem;
        font-size: 0.813rem;
    }

        .logout-btn svg[b-i82ys43p2x], .login-btn svg[b-i82ys43p2x] {
            width: 16px;
            height: 16px;
        }
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* Reset b�sico */
*[b-l2sxuglagi] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-container[b-l2sxuglagi] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header principal */
.main-header[b-l2sxuglagi] {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.container-fluid[b-l2sxuglagi] {
    width: 100%;
    padding: 0 1.5rem;
}

.header-content[b-l2sxuglagi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    width: 100%;
}

/* Logo */
.logo-section[b-l2sxuglagi] {
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img[b-l2sxuglagi] {
    height: 80px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 100;
    transition: transform 0.3s ease;
}

.logo-section:hover .logo-img[b-l2sxuglagi] {
    transform: scale(1.05);
}

/* Navegaci�n principal */
.main-nav[b-l2sxuglagi] {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link[b-l2sxuglagi] {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .nav-link:hover[b-l2sxuglagi] {
        color: #7a1e19;
        background-color: #fdf4f3;
    }

    .nav-link.active[b-l2sxuglagi] {
        color: #7a1e19;
        background-color: #fae9e8;
    }

/* Acciones del header */
.header-actions[b-l2sxuglagi] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.theme-toggle-btn[b-l2sxuglagi] {
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .theme-toggle-btn:hover .icon[b-l2sxuglagi] {
        transform: rotate(20deg) scale(1.1);
    }

    .theme-toggle-btn .icon[b-l2sxuglagi] {
        width: 20px;
        height: 20px;
        display: block;
        transition: transform 0.3s ease;
    }

/* Bot�n Login (tema vino) */
.login-btn[b-l2sxuglagi] {
    background-color: #7a1e19;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .login-btn:hover[b-l2sxuglagi] {
        background-color: #5c1511;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.4);
    }

/* Contenido principal */
.main-content[b-l2sxuglagi] {
    flex: 1;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Footer */
.main-footer[b-l2sxuglagi] {
    background-color: #f7fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 0;
    text-align: center;
    margin-top: auto;
}

    .main-footer .container[b-l2sxuglagi] {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .main-footer p[b-l2sxuglagi] {
        color: #718096;
        font-size: 0.875rem;
        margin: 0;
    }

/* TEMA OSCURO */
:root[data-theme="dark"] .main-header[b-l2sxuglagi] {
    background-color: #1a202c;
    border-bottom-color: #2d3748;
}

:root[data-theme="dark"] .nav-link[b-l2sxuglagi] {
    color: #e2e8f0;
}

    :root[data-theme="dark"] .nav-link:hover[b-l2sxuglagi] {
        color: #90cdf4;
        background-color: #2d3748;
    }

    :root[data-theme="dark"] .nav-link.active[b-l2sxuglagi] {
        color: #90cdf4;
        background-color: #2d3748;
    }

:root[data-theme="dark"] .theme-toggle-btn[b-l2sxuglagi] {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

    :root[data-theme="dark"] .theme-toggle-btn:hover[b-l2sxuglagi] {
        background-color: #4a5568;
    }

/* CORRECCI�N: Bot�n Login en modo oscuro con sombra celeste */
:root[data-theme="dark"] .login-btn[b-l2sxuglagi] {
    background-color: #2b6cb0;
}

    :root[data-theme="dark"] .login-btn:hover[b-l2sxuglagi] {
        background-color: #2c5282;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(43, 108, 176, 0.4); /* Sombra celeste */
    }

:root[data-theme="dark"] .main-footer[b-l2sxuglagi] {
    background-color: #1a202c;
    border-top-color: #2d3748;
}

    :root[data-theme="dark"] .main-footer p[b-l2sxuglagi] {
        color: #a0aec0;
    }

:root[data-theme="dark"] .main-content[b-l2sxuglagi] {
    background-color: #2d3748;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-nav[b-l2sxuglagi] {
        gap: 1rem;
    }

    .nav-link[b-l2sxuglagi] {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}
/* Bot�n de Cerrar Sesi�n - Estilo mejorado */
.logout-btn[b-l2sxuglagi] {
    background-color: #7a1e19; /* Color vino del bot�n de referencia */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.625rem 1.5rem; /* MISMO padding que login-btn */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 1rem; /* Tama�o de fuente igual al base */
    line-height: 1.25;
    position: relative;
    overflow: hidden;
    height: auto; /* Asegurar que no tenga altura fija que lo haga peque�o */
    min-height: auto;
}

    .logout-btn:hover[b-l2sxuglagi] {
        background-color: #5c1511; /* Versi�n m�s oscura del vino */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.4); /* Sombra con tono vino */
    }

    .logout-btn:active[b-l2sxuglagi] {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(122, 30, 25, 0.4);
    }

    /* Efecto de onda al hacer clic */
    .logout-btn[b-l2sxuglagi]::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.3s ease, height 0.3s ease;
    }

    .logout-btn:active[b-l2sxuglagi]::after {
        width: 100px;
        height: 100px;
    }

    /* Icono opcional dentro del bot�n */
    .logout-btn .btn-icon[b-l2sxuglagi] {
        width: 18px;
        height: 18px;
        transition: transform 0.3s ease;
    }

    .logout-btn:hover .btn-icon[b-l2sxuglagi] {
        transform: translateX(2px);
    }

/* Tema oscuro para bot�n de cerrar sesi�n */
:root[data-theme="dark"] .logout-btn[b-l2sxuglagi] {
    background-color: #2b6cb0; /* Azul para tema oscuro */
    color: white;
}

    :root[data-theme="dark"] .logout-btn:hover[b-l2sxuglagi] {
        background-color: #2c5282; /* Azul m�s oscuro */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(43, 108, 176, 0.4); /* Sombra celeste/azul */
    }

    :root[data-theme="dark"] .logout-btn:active[b-l2sxuglagi] {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(43, 108, 176, 0.4);
    }

/* Estados de deshabilitado */
.logout-btn:disabled[b-l2sxuglagi] {
    background-color: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

    .logout-btn:disabled:hover[b-l2sxuglagi] {
        background-color: #a0aec0;
        transform: none;
        box-shadow: none;
    }

/* RESPONSIVE CORREGIDO - Mismas reglas que login-btn */
@media (max-width: 768px) {
    .logout-btn[b-l2sxuglagi] {
        padding: 0.625rem 1.5rem; /* MANTENER mismo padding en tablet */
        font-size: 0.875rem; /* Mismo que login-btn */
    }

        .logout-btn .btn-icon[b-l2sxuglagi] {
            width: 16px;
            height: 16px;
        }
}

@media (max-width: 480px) {
    .logout-btn[b-l2sxuglagi] {
        padding: 0.5rem 1.25rem; /* Reducci�n proporcional a login-btn */
        font-size: 0.875rem; /* Mismo que login-btn en m�vil */
        gap: 0.375rem;
    }
}

@media (max-width: 768px) {
    .main-header[b-l2sxuglagi] {
        height: auto;
        min-height: 70px;
        padding: 0.5rem 0;
    }

    .header-content[b-l2sxuglagi] {
        flex-wrap: wrap;
        height: auto;
        gap: 0.5rem;
    }

    .logo-img[b-l2sxuglagi] {
        height: 60px;
    }

    .main-nav[b-l2sxuglagi] {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }

    .nav-link[b-l2sxuglagi] {
        padding: 0.375rem 0.625rem;
        font-size: 0.875rem;
    }

    .header-actions[b-l2sxuglagi] {
        gap: 0.5rem;
    }

    .login-btn[b-l2sxuglagi] {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .container-fluid[b-l2sxuglagi] {
        padding: 0 1rem;
    }

    .logo-img[b-l2sxuglagi] {
        height: 50px;
    }

    .main-nav[b-l2sxuglagi] {
        gap: 0.25rem;
    }

    .nav-link[b-l2sxuglagi] {
        padding: 0.25rem 0.5rem;
        font-size: 0.813rem;
    }

    .theme-toggle-btn[b-l2sxuglagi] {
        padding: 0.375rem 0.625rem;
    }

        .theme-toggle-btn .icon[b-l2sxuglagi] {
            font-size: 1rem;
        }

    .login-btn[b-l2sxuglagi] {
        padding: 0.375rem 0.875rem;
        font-size: 0.813rem;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-qjsttqan0l] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-qjsttqan0l] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-qjsttqan0l] {
    font-size: 1.1rem;
}

.bi[b-qjsttqan0l] {
    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-qjsttqan0l] {
    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-qjsttqan0l] {
    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-qjsttqan0l] {
    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-qjsttqan0l] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-qjsttqan0l] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-qjsttqan0l] {
        padding-bottom: 1rem;
    }

    .nav-item[b-qjsttqan0l]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-qjsttqan0l]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-qjsttqan0l]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-qjsttqan0l] {
        display: none;
    }

    .collapse[b-qjsttqan0l] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-qjsttqan0l] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Admin/AdminHome.razor.rz.scp.css */
/* Variables de color futuristas */
:root[b-f5u35zdamc] {
    --primary-blue: #7a1e19;
    --secondary-purple: #6a1915;
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --card-bg: rgba(15, 23, 42, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #6e6e6e;
    --glow-color: #7a1e19;
}

/* Container principal */
.admin-home-container[b-f5u35zdamc] {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    overflow: hidden;
}

/* Content Wrapper */
.content-wrapper[b-f5u35zdamc] {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 3rem 2rem;
}

/* Welcome Section */
.welcome-section[b-f5u35zdamc] {
    max-width: 1200px;
    text-align: center;
    animation: fade-in-up-b-f5u35zdamc 0.8s ease-out;
}

@keyframes fade-in-up-b-f5u35zdamc {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.climate-emoji[b-f5u35zdamc] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: float-b-f5u35zdamc 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px #7a1e19);
}

@keyframes float-b-f5u35zdamc {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.main-title[b-f5u35zdamc] {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.subtitle-container[b-f5u35zdamc] {
    background: var(--card-bg);
    border: 1px solid #6e6e6e;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px #6e6e6e;
}

.subtitle[b-f5u35zdamc] {
    color: #6e6e6e;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
}

    .subtitle strong[b-f5u35zdamc] {
        color: var(--primary-blue);
        font-weight: 700;
    }

/* Grid para las secciones adicionales */
.sections-grid[b-f5u35zdamc] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Features Grid */
.features-grid[b-f5u35zdamc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card[b-f5u35zdamc] {
    background: var(--card-bg);
    border: 1px solid #999999;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: default;
}

    .feature-card:hover[b-f5u35zdamc] {
        transform: translateY(-5px);
        border-color: #7a1e19;
        box-shadow: 0 10px 30px #7a1e19;
    }

/* ICONOS CARDS CORREGIDOS */
.feature-icon[b-f5u35zdamc] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

    .feature-icon svg[b-f5u35zdamc] {
        width: 2.5rem;
        height: 2.5rem;
        fill: none;
        stroke: #7a1e19; /* color normal */
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        shape-rendering: geometricPrecision;
        transition: all 0.3s ease;
    }

.feature-card:hover .feature-icon svg[b-f5u35zdamc] {
    stroke: #6a1915; /* color hover */
    transform: scale(1.1);
}

.feature-card h3[b-f5u35zdamc] {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-card p[b-f5u35zdamc] {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Additional Sections */
.additional-section[b-f5u35zdamc] {
    background: var(--card-bg);
    border: 1px solid #999999;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: default;
    height: fit-content;
}

    .additional-section:hover[b-f5u35zdamc] {
        transform: translateY(-3px);
        border-color: var(--primary-blue);
        box-shadow: 0 10px 30px #6a1915;
    }

    .additional-section .section-icon svg[b-f5u35zdamc] {
        width: 2.5rem;
        height: 2.5rem;
        fill: none;
        stroke: #7a1e19;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        shape-rendering: geometricPrecision;
        transition: all 0.3s ease;
    }

    .additional-section:hover .section-icon svg[b-f5u35zdamc] {
        stroke: #6a1915;
        transform: scale(1.1);
    }

/* Section Header & Description */
.section-header[b-f5u35zdamc] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .section-header h3[b-f5u35zdamc] {
        color: var(--text-primary);
        font-size: 1.3rem;
        margin: 0;
        font-weight: 600;
    }

.section-description[b-f5u35zdamc] {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Botones */
.start-button[b-f5u35zdamc],
.additional-section .section-button[b-f5u35zdamc] {
    position: relative;
    background: linear-gradient(135deg, #7a1e19, #6a1915);
    border: none;
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(122,30,25,0.4);
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

    .start-button[b-f5u35zdamc]::before,
    .additional-section .section-button[b-f5u35zdamc]::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.6s;
    }

    .start-button:hover[b-f5u35zdamc]::before,
    .additional-section .section-button:hover[b-f5u35zdamc]::before {
        left: 100%;
    }

    .start-button:hover[b-f5u35zdamc],
    .additional-section .section-button:hover[b-f5u35zdamc] {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 12px 40px #6a1915;
    }

    .start-button:active[b-f5u35zdamc],
    .additional-section .section-button:active[b-f5u35zdamc] {
        transform: translateY(-1px) scale(1.02);
    }

.button-text[b-f5u35zdamc],
.button-icon[b-f5u35zdamc] {
    position: relative;
    z-index: 1;
}

.button-icon[b-f5u35zdamc] {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.start-button:hover .button-icon[b-f5u35zdamc],
.additional-section .section-button:hover .button-icon[b-f5u35zdamc] {
    transform: translateX(5px);
}

.button-glow[b-f5u35zdamc] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #7a1e19 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.start-button:hover .button-glow[b-f5u35zdamc],
.additional-section .section-button:hover .button-glow[b-f5u35zdamc] {
    opacity: 1;
    animation: glow-pulse-b-f5u35zdamc 1.5s ease-in-out infinite;
}

@keyframes glow-pulse-b-f5u35zdamc {
    0%,100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .sections-grid[b-f5u35zdamc] {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-title[b-f5u35zdamc] {
        font-size: 2.5rem;
    }

    .subtitle[b-f5u35zdamc] {
        font-size: 1rem;
    }

    .features-grid[b-f5u35zdamc] {
        grid-template-columns: 1fr;
    }

    .start-button[b-f5u35zdamc], .additional-section .section-button[b-f5u35zdamc] {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .climate-emoji[b-f5u35zdamc] {
        font-size: 4rem;
    }

    .additional-section[b-f5u35zdamc] {
        padding: 1.5rem;
    }

    .section-header[b-f5u35zdamc] {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sections-grid[b-f5u35zdamc] {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .content-wrapper[b-f5u35zdamc] {
        padding: 2rem 1rem;
    }

    .main-title[b-f5u35zdamc] {
        font-size: 2rem;
    }

    .subtitle-container[b-f5u35zdamc] {
        padding: 1.5rem;
    }

    .additional-section[b-f5u35zdamc] {
        padding: 1rem;
    }

    .section-header h3[b-f5u35zdamc] {
        font-size: 1.1rem;
    }

    .section-description[b-f5u35zdamc] {
        font-size: 0.9rem;
    }
}

/* MODO OSCURO - AdditionalSection */
:root[data-theme="dark"] .additional-section[b-f5u35zdamc] {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid #4a5568;
    backdrop-filter: blur(10px);
}

    :root[data-theme="dark"] .additional-section:hover[b-f5u35zdamc] {
        border-color: #90cdf4;
        box-shadow: 0 10px 30px rgba(144, 205, 244, 0.3);
    }

    :root[data-theme="dark"] .additional-section .section-icon svg[b-f5u35zdamc] {
        stroke: #90cdf4;
    }

    :root[data-theme="dark"] .additional-section:hover .section-icon svg[b-f5u35zdamc] {
        stroke: #63b3ed;
        transform: scale(1.1);
    }

    :root[data-theme="dark"] .additional-section .section-button[b-f5u35zdamc] {
        background: linear-gradient(135deg, #2b6cb0, #2c5282);
        box-shadow: 0 8px 30px rgba(43, 108, 176, 0.4);
    }

        :root[data-theme="dark"] .additional-section .section-button:hover[b-f5u35zdamc] {
            box-shadow: 0 12px 40px rgba(43, 108, 176, 0.6);
        }

/* MODO OSCURO - FeatureCard */
:root[data-theme="dark"] .feature-card[b-f5u35zdamc] {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid #4a5568;
    backdrop-filter: blur(10px);
}

    :root[data-theme="dark"] .feature-card:hover[b-f5u35zdamc] {
        border-color: #90cdf4;
        box-shadow: 0 10px 30px rgba(144, 205, 244, 0.3);
    }

:root[data-theme="dark"] .feature-icon svg[b-f5u35zdamc] {
    stroke: #90cdf4;
}

:root[data-theme="dark"] .feature-card:hover .feature-icon svg[b-f5u35zdamc] {
    stroke: #63b3ed;
    transform: scale(1.1);
}

/* MODO OSCURO - Icon colors y blur */
:root[data-theme="dark"] .admin-home-container[b-f5u35zdamc] {
    background: linear-gradient(135deg, #0a0e27 0%, #1a202c 100%);
}

:root[data-theme="dark"] .subtitle-container[b-f5u35zdamc] {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid #4a5568;
    backdrop-filter: blur(10px);
}

:root[data-theme="dark"] .climate-emoji[b-f5u35zdamc] {
    filter: drop-shadow(0 0 30px #90cdf4);
}

:root[data-theme="dark"] .subtitle strong[b-f5u35zdamc] {
    color: #90cdf4;
}

/* MODO OSCURO - AdditionalSection Botones */
:root[data-theme="dark"] .additional-section .section-button:hover[b-f5u35zdamc] {
    background: linear-gradient(135deg, #2c5282, #2b6cb0);
    box-shadow: 0 12px 40px rgba(43, 108, 176, 0.6);
    border-color: #90cdf4;
}

    :root[data-theme="dark"] .additional-section .section-button:hover[b-f5u35zdamc]::before {
        background: linear-gradient(90deg, transparent, rgba(144, 205, 244, 0.3), transparent);
    }

    :root[data-theme="dark"] .additional-section .section-button:hover .button-glow[b-f5u35zdamc] {
        background: radial-gradient(circle, #2b6cb0 0%, transparent 70%);
    }
/* /Pages/Admin/Calculated.razor.rz.scp.css */
/* TEMA CLARO */
.custom-filter-buttons .btn-group .btn[b-i91mgtwzvs] {
    border: 1px solid #6e6e6e !important;
    background-color: transparent !important;
    color: #7a1e19 !important;
    transition: all 0.3s ease !important;
}

    .custom-filter-buttons .btn-group .btn:hover[b-i91mgtwzvs] {
        background-color: #6a1915 !important;
        border-color: #6a1915 !important;
        color: white !important;
    }

    .custom-filter-buttons .btn-group .btn.btn-primary[b-i91mgtwzvs] {
        background-color: #7a1e19 !important;
        border-color: #7a1e19 !important;
        color: white !important;
    }

    .custom-filter-buttons .btn-group .btn.btn-outline-primary[b-i91mgtwzvs] {
        background-color: transparent !important;
        color: #7a1e19 !important;
        border-color: #6e6e6e !important;
    }

        .custom-filter-buttons .btn-group .btn.btn-outline-primary:hover[b-i91mgtwzvs] {
            background-color: #6a1915 !important;
            border-color: #6a1915 !important;
            color: white !important;
        }

/* TEMA OSCURO */
:root[data-theme="dark"] .custom-filter-buttons .btn-group .btn[b-i91mgtwzvs] {
    border: 1px solid #4a5568 !important;
    background-color: transparent !important;
    color: #90cdf4 !important;
    transition: all 0.3s ease !important;
}

    :root[data-theme="dark"] .custom-filter-buttons .btn-group .btn:hover[b-i91mgtwzvs] {
        background-color: rgba(144, 205, 244, 0.2) !important;
        border-color: #90cdf4 !important;
        color: #90cdf4 !important;
        box-shadow: 0 4px 15px rgba(144, 205, 244, 0.3) !important;
    }

    :root[data-theme="dark"] .custom-filter-buttons .btn-group .btn.btn-primary[b-i91mgtwzvs] {
        background-color: rgba(144, 205, 244, 0.3) !important;
        border-color: #90cdf4 !important;
        color: #90cdf4 !important;
        box-shadow: 0 4px 15px rgba(144, 205, 244, 0.3) !important;
    }

    :root[data-theme="dark"] .custom-filter-buttons .btn-group .btn.btn-outline-primary[b-i91mgtwzvs] {
        background-color: transparent !important;
        color: #90cdf4 !important;
        border-color: #4a5568 !important;
    }

        :root[data-theme="dark"] .custom-filter-buttons .btn-group .btn.btn-outline-primary:hover[b-i91mgtwzvs] {
            background-color: rgba(144, 205, 244, 0.2) !important;
            border-color: #90cdf4 !important;
            color: #90cdf4 !important;
            box-shadow: 0 4px 15px rgba(144, 205, 244, 0.3) !important;
        }
/* /Pages/Admin/DashboardConfig.razor.rz.scp.css */
/* =========================================
   DASHBOARD CONFIGURATION - MODO CLARO Y OSCURO
   ========================================= */

/* =========================================
   MODO CLARO (por defecto)
   ========================================= */

.dashboard-config-container[b-kz6o0byk64] {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.config-header[b-kz6o0byk64] {
    background: #7a1e19;
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(122, 30, 25, 0.2);
}

.header-content[b-kz6o0byk64] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
}

/* Header Actions Mejorado */
.header-actions[b-kz6o0byk64] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.back-button[b-kz6o0byk64] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    justify-content: center;
    font-weight: 500;
}

    .back-button:hover[b-kz6o0byk64] {
        background: rgba(255, 255, 255, 0.25);
        transform: translateX(-2px);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .back-button svg[b-kz6o0byk64] {
        width: 20px;
        height: 20px;
    }

.home-button[b-kz6o0byk64] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #7a1e19;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    width: 100%;
    justify-content: center;
}

    .home-button:hover[b-kz6o0byk64] {
        background: #6a1915;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(122, 30, 25, 0.4);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .home-button svg[b-kz6o0byk64] {
        width: 20px;
        height: 20px;
    }

.header-title h1[b-kz6o0byk64] {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle[b-kz6o0byk64] {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
}

.header-stats[b-kz6o0byk64] {
    display: flex;
    gap: 1rem;
}

.stat-card[b-kz6o0byk64] {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.stat-number[b-kz6o0byk64] {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label[b-kz6o0byk64] {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Config Content */
.config-content[b-kz6o0byk64] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.config-panel[b-kz6o0byk64] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(122, 30, 25, 0.1);
    border: 1px solid rgba(122, 30, 25, 0.1);
    overflow: hidden;
}

.panel-header[b-kz6o0byk64] {
    padding: 2rem;
    border-bottom: 1px solid rgba(122, 30, 25, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

    .panel-header h2[b-kz6o0byk64] {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: #7a1e19;
    }

.btn-primary[b-kz6o0byk64] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #7a1e19;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(122, 30, 25, 0.3);
}

    .btn-primary:hover[b-kz6o0byk64] {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(122, 30, 25, 0.4);
        background: #6a1915;
    }

    .btn-primary svg[b-kz6o0byk64] {
        width: 20px;
        height: 20px;
    }

.ordering-interface[b-kz6o0byk64] {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(122, 30, 25, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.ordering-instructions[b-kz6o0byk64] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6c757d;
    font-size: 0.9rem;
}

    .ordering-instructions svg[b-kz6o0byk64] {
        width: 20px;
        height: 20px;
        color: #7a1e19;
    }

.btn-secondary[b-kz6o0byk64] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid rgba(122, 30, 25, 0.2);
    color: #7a1e19;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-secondary:hover:not(:disabled)[b-kz6o0byk64] {
        border-color: #7a1e19;
        background: #7a1e19;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.3);
    }

    .btn-secondary:disabled[b-kz6o0byk64] {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
        background: #f8f9fa;
        color: #6c757d;
        border-color: #dee2e6;
    }

/* =========================================
   LISTA VERTICAL DE GRÁFICOS - MODO CLARO
   ========================================= */
.charts-list-vertical[b-kz6o0byk64] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

.chart-list-item[b-kz6o0byk64] {
    background: white;
    border-radius: 12px;
    border: 2px solid rgba(122, 30, 25, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

    .chart-list-item:hover[b-kz6o0byk64] {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(122, 30, 25, 0.15);
        border-color: rgba(122, 30, 25, 0.3);
    }

    .chart-list-item.enabled[b-kz6o0byk64] {
        border-left: 4px solid #28a745;
    }

    .chart-list-item.disabled[b-kz6o0byk64] {
        opacity: 0.6;
        background: #f8f9fa;
    }

    .chart-list-item.full-width-item[b-kz6o0byk64] {
        border-left: 4px solid #8b241e;
        background: linear-gradient(135deg, #fdf2f2 0%, #fce8e8 100%);
    }

.list-item-content[b-kz6o0byk64] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-item-main[b-kz6o0byk64] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.list-item-info[b-kz6o0byk64] {
    flex: 1;
}

    .list-item-info h3[b-kz6o0byk64] {
        margin: 0 0 0.75rem 0;
        font-size: 1.25rem;
        font-weight: 600;
        color: #2d3748;
    }

.list-item-meta[b-kz6o0byk64] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.chart-type-badge[b-kz6o0byk64] {
    background: #7a1e19;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.variable-info[b-kz6o0byk64] {
    color: #6c757d;
    font-size: 0.9rem;
}

.full-width-indicator[b-kz6o0byk64] {
    background: #8b241e;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-indicator[b-kz6o0byk64] {
    background: #6c757d;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.list-item-preview[b-kz6o0byk64] {
    flex-shrink: 0;
}

.mini-chart-preview[b-kz6o0byk64] {
    width: 80px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid rgba(122, 30, 25, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-preview-svg[b-kz6o0byk64] {
    width: 100%;
    height: 100%;
}

.list-item-actions[b-kz6o0byk64] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-end;
    border-top: 1px solid rgba(122, 30, 25, 0.1);
    padding-top: 1rem;
}

/* Botones de reordenamiento en lista */
.reorder-buttons[b-kz6o0byk64] {
    display: flex;
    gap: 0.25rem;
    margin-right: 0.5rem;
    border-right: 1px solid rgba(122, 30, 25, 0.1);
    padding-right: 0.75rem;
}

    .reorder-buttons .btn-icon[b-kz6o0byk64] {
        width: 32px;
        height: 32px;
        background: white;
        border: 1px solid rgba(122, 30, 25, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s ease;
        color: #6c757d;
        flex-shrink: 0;
    }

        .reorder-buttons .btn-icon:hover:not(:disabled)[b-kz6o0byk64] {
            background: #7a1e19;
            border-color: #7a1e19;
            color: white;
            transform: scale(1.05);
        }

        .reorder-buttons .btn-icon:disabled[b-kz6o0byk64] {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .reorder-buttons .btn-icon svg[b-kz6o0byk64] {
            width: 16px;
            height: 16px;
        }

/* =========================================
   TOGGLE SWITCH - CORREGIDO
   ========================================= */

/* Toggle Switch - Corregido */
.toggle-switch[b-kz6o0byk64] {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

    .toggle-switch input[b-kz6o0byk64] {
        opacity: 0;
        width: 0;
        height: 0;
        position: absolute;
    }

    .toggle-switch label[b-kz6o0byk64] {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ced4da;
        border-radius: 34px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
    }

        .toggle-switch label[b-kz6o0byk64]:before {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            left: 3px;
            bottom: 3px;
            background: white;
            border-radius: 50%;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            transform: translateX(0);
        }

    .toggle-switch input:checked + label[b-kz6o0byk64] {
        background: #28a745;
    }

        .toggle-switch input:checked + label[b-kz6o0byk64]:before {
            transform: translateX(24px);
        }

.btn-icon[b-kz6o0byk64] {
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid rgba(122, 30, 25, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6c757d;
    flex-shrink: 0;
}

    .btn-icon:hover[b-kz6o0byk64] {
        background: #7a1e19;
        border-color: #7a1e19;
        color: white;
        transform: scale(1.05);
    }

    .btn-icon.btn-danger:hover[b-kz6o0byk64] {
        background: #dc3545;
        border-color: #dc3545;
    }

    .btn-icon svg[b-kz6o0byk64] {
        width: 18px;
        height: 18px;
    }

/* =========================================
   BOTÓN DE PREVISUALIZACIÓN MEJORADO - MODO CLARO
   ========================================= */
.preview-button-container[b-kz6o0byk64] {
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.preview-card[b-kz6o0byk64] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(122, 30, 25, 0.1);
    border: 1px solid rgba(122, 30, 25, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .preview-card:hover[b-kz6o0byk64] {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(122, 30, 25, 0.15);
    }

.preview-card-header[b-kz6o0byk64] {
    padding: 1.5rem;
    background: #7a1e19;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .preview-card-header h3[b-kz6o0byk64] {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
        color: white;
    }

.preview-icon[b-kz6o0byk64] {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .preview-icon svg[b-kz6o0byk64] {
        width: 24px;
        height: 24px;
        color: rgba(255, 255, 255, 0.9);
    }

.preview-card-body[b-kz6o0byk64] {
    padding: 1.5rem;
}

    .preview-card-body p[b-kz6o0byk64] {
        margin: 0 0 1.5rem 0;
        color: #6c757d;
        line-height: 1.5;
    }

.preview-stats-mini[b-kz6o0byk64] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mini-stat[b-kz6o0byk64] {
    text-align: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid rgba(122, 30, 25, 0.1);
}

.mini-number[b-kz6o0byk64] {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7a1e19;
    margin-bottom: 0.25rem;
}

.mini-label[b-kz6o0byk64] {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

.preview-card-footer[b-kz6o0byk64] {
    padding: 1.5rem;
    border-top: 1px solid rgba(122, 30, 25, 0.1);
    background: #f8f9fa;
}

.btn-preview-large[b-kz6o0byk64] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #7a1e19;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(122, 30, 25, 0.3);
}

    .btn-preview-large:hover[b-kz6o0byk64] {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(122, 30, 25, 0.4);
        background: #6a1915;
    }

    .btn-preview-large svg[b-kz6o0byk64] {
        width: 20px;
        height: 20px;
    }

/* =========================================
   MODALES - MODO CLARO - CENTRADOS Y CORREGIDOS
   ========================================= */

/* Modal Backdrop corregido para centrado perfecto */
.admin-tab-modal-backdrop[b-kz6o0byk64] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    overflow-y: auto;
}

/* Container del modal centrado */
.admin-tab-modal-container[b-kz6o0byk64] {
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    margin: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(122, 30, 25, 0.3);
    border: 1px solid rgba(122, 30, 25, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.admin-tab-modal-dialog[b-kz6o0byk64] {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Contenido del modal ajustado */
.admin-tab-modal-content[b-kz6o0byk64] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-height: 90vh;
}

.admin-tab-modal-header[b-kz6o0byk64] {
    padding: 1.5rem 2rem;
    background: #7a1e19;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

    .admin-tab-modal-header h5[b-kz6o0byk64] {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: white;
    }

.btn-close[b-kz6o0byk64] {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    font-weight: 300;
}

    .btn-close:hover[b-kz6o0byk64] {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.admin-tab-modal-body[b-kz6o0byk64] {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background: #f8f9fa;
}

.admin-tab-modal-footer[b-kz6o0byk64] {
    padding: 1.5rem 2rem;
    background: white;
    border-top: 1px solid rgba(122, 30, 25, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

.admin-tab-modal-secondary[b-kz6o0byk64] {
    padding: 0.75rem 1.5rem;
    background: #6c757d;
    border: none;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .admin-tab-modal-secondary:hover[b-kz6o0byk64] {
        background: #5a6268;
        transform: translateY(-1px);
    }

.admin-tab-modal-primary[b-kz6o0byk64] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #7a1e19;
    border: none;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .admin-tab-modal-primary:hover:not(:disabled)[b-kz6o0byk64] {
        background: #6a1915;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.4);
    }

    .admin-tab-modal-primary:disabled[b-kz6o0byk64] {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

/* Formularios del Modal - ESTILOS COMPLETOS */
.modal-form-pro[b-kz6o0byk64] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-pro[b-kz6o0byk64] {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(122, 30, 25, 0.1);
    box-shadow: 0 2px 8px rgba(122, 30, 25, 0.05);
}

.section-header-pro[b-kz6o0byk64] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-title-pro[b-kz6o0byk64] {
    font-size: 1.2rem;
    font-weight: 600;
    color: #7a1e19;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-count-pro[b-kz6o0byk64] {
    background: rgba(122, 30, 25, 0.1);
    color: #7a1e19;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.form-row-pro[b-kz6o0byk64] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-pro[b-kz6o0byk64] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label-pro[b-kz6o0byk64] {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.required-star[b-kz6o0byk64] {
    color: #dc3545;
}

.help-text-pro[b-kz6o0byk64] {
    font-size: 0.75rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

.form-control-pro[b-kz6o0byk64] {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(122, 30, 25, 0.2);
    border-radius: 8px;
    background: white;
    color: #495057;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

    .form-control-pro:focus[b-kz6o0byk64] {
        outline: none;
        border-color: #7a1e19;
        box-shadow: 0 0 0 0.2rem rgba(122, 30, 25, 0.15);
    }

    .form-control-pro.error[b-kz6o0byk64] {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
    }

    .form-control-pro.readonly-input[b-kz6o0byk64] {
        background: #e9ecef;
        cursor: not-allowed;
    }

.validation-error-pro[b-kz6o0byk64] {
    color: #dc3545;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Variables Cards Grid */
.variables-cards-grid-pro[b-kz6o0byk64] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.variable-card-container-pro[b-kz6o0byk64] {
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid rgba(122, 30, 25, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .variable-card-container-pro:hover[b-kz6o0byk64] {
        border-color: rgba(122, 30, 25, 0.3);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.1);
    }

    .variable-card-container-pro.primary[b-kz6o0byk64] {
        border-color: rgba(122, 30, 25, 0.3);
        background: linear-gradient(135deg, #fff9f9 0%, #fef5f5 100%);
    }

.variable-card-header-pro[b-kz6o0byk64] {
    padding: 1rem;
    background: rgba(122, 30, 25, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.variable-badge-section[b-kz6o0byk64] {
    display: flex;
    gap: 0.5rem;
}

.badge-primary-pro[b-kz6o0byk64] {
    background: #7a1e19;
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-secondary-pro[b-kz6o0byk64] {
    background: #6c757d;
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-remove-variable-pro[b-kz6o0byk64] {
    width: 32px;
    height: 32px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #dc3545;
}

    .btn-remove-variable-pro:hover[b-kz6o0byk64] {
        background: #dc3545;
        border-color: #dc3545;
        color: white;
    }

    .btn-remove-variable-pro svg[b-kz6o0byk64] {
        width: 16px;
        height: 16px;
    }

.variable-card-body-pro[b-kz6o0byk64] {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-add-variable-pro[b-kz6o0byk64] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #7a1e19;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-add-variable-pro:hover[b-kz6o0byk64] {
        background: #6a1915;
        transform: translateY(-1px);
    }

    .btn-add-variable-pro svg[b-kz6o0byk64] {
        width: 16px;
        height: 16px;
    }

/* Color Picker */
.color-picker-pro[b-kz6o0byk64] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-option-pro[b-kz6o0byk64] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .color-option-pro:hover[b-kz6o0byk64] {
        transform: scale(1.1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .color-option-pro.selected[b-kz6o0byk64] {
        border-color: #2d3748;
        box-shadow: 0 0 0 2px white, 0 0 0 4px #2d3748;
    }

    .color-option-pro svg[b-kz6o0byk64] {
        width: 20px;
        height: 20px;
        color: white;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
    }

.unit-preview-pro[b-kz6o0byk64] {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid rgba(122, 30, 25, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-label[b-kz6o0byk64] {
    font-size: 0.8rem;
    color: #6c757d;
}

.variable-summary-pro[b-kz6o0byk64] {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid;
    margin-top: 0.5rem;
}

.summary-title[b-kz6o0byk64] {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.summary-display[b-kz6o0byk64] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-color-dot[b-kz6o0byk64] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.info-box-pro[b-kz6o0byk64] {
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1e40af;
}

    .info-box-pro svg[b-kz6o0byk64] {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

.checkbox-wrapper-pro[b-kz6o0byk64] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

    .checkbox-wrapper-pro input[type="checkbox"][b-kz6o0byk64] {
        width: 20px;
        height: 20px;
        cursor: pointer;
        margin-top: 0.1rem;
        flex-shrink: 0;
    }

.checkbox-label-pro[b-kz6o0byk64] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

    .checkbox-label-pro .checkbox-text[b-kz6o0byk64] {
        font-weight: 600;
        color: #495057;
    }

    .checkbox-label-pro small[b-kz6o0byk64] {
        color: #6c757d;
        font-size: 0.85rem;
    }

.full-width-checkbox[b-kz6o0byk64] {
    padding: 1rem;
    background: rgba(139, 36, 30, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(139, 36, 30, 0.2);
}

/* =========================================
   MODAL DE PREVISUALIZACIÓN FUTURISTA - MEJORADO
   ========================================= */
.futuristic-modal-backdrop[b-kz6o0byk64] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
    animation: futuristicFadeIn-b-kz6o0byk64 0.4s ease-out;
}

.futuristic-modal-container[b-kz6o0byk64] {
    width: 100%;
    max-width: 1400px;
    max-height: 95vh;
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(122, 30, 25, 0.2);
    box-shadow: 0 25px 50px -12px rgba(122, 30, 25, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: futuristicSlideUp-b-kz6o0byk64 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.futuristic-modal-header[b-kz6o0byk64] {
    padding: 2rem 2rem 1.5rem;
    background: #7a1e19;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.modal-header-content[b-kz6o0byk64] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.modal-title-section h2[b-kz6o0byk64] {
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.modal-title-section p[b-kz6o0byk64] {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.modal-stats[b-kz6o0byk64] {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}

.modal-stat-item[b-kz6o0byk64] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    min-width: 80px;
}

.modal-stat-number[b-kz6o0byk64] {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.modal-stat-label[b-kz6o0byk64] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
    font-weight: 500;
}

.futuristic-close-btn[b-kz6o0byk64] {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .futuristic-close-btn:hover[b-kz6o0byk64] {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.futuristic-modal-content[b-kz6o0byk64] {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background: #f8f9fa;
    max-height: calc(95vh - 200px);
}

/* Dashboard Preview - 2 Columnas - Modo Claro */
.dashboard-preview-compact[b-kz6o0byk64] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.compact-chart-item[b-kz6o0byk64] {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(122, 30, 25, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(122, 30, 25, 0.1);
}

    .compact-chart-item:hover[b-kz6o0byk64] {
        background: white;
        border-color: rgba(122, 30, 25, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(122, 30, 25, 0.15);
    }

    .compact-chart-item.compact-full-width[b-kz6o0byk64] {
        grid-column: 1 / -1;
        background: linear-gradient(135deg, #fdf2f2 0%, #fce8e8 100%);
        border-color: rgba(122, 30, 25, 0.2);
        min-height: 200px;
    }

        .compact-chart-item.compact-full-width[b-kz6o0byk64]::after {
            content: "📏 FULL WIDTH";
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            background: #7a1e19;
            color: white;
            padding: 0.375rem 0.875rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            z-index: 2;
        }

.compact-chart-header[b-kz6o0byk64] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.compact-chart-title[b-kz6o0byk64] {
    flex: 1;
}

    .compact-chart-title h4[b-kz6o0byk64] {
        margin: 0 0 0.5rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: #2d3748;
        line-height: 1.3;
    }

.compact-chart-meta[b-kz6o0byk64] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.compact-type[b-kz6o0byk64] {
    background: rgba(122, 30, 25, 0.1);
    color: #7a1e19;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(122, 30, 25, 0.2);
    white-space: nowrap;
}

.compact-order[b-kz6o0byk64] {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(108, 117, 125, 0.2);
    white-space: nowrap;
}

.compact-chart-visualization[b-kz6o0byk64] {
    width: 100px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.compact-chart-svg[b-kz6o0byk64] {
    width: 100%;
    height: 100%;
}

.compact-chart-variables[b-kz6o0byk64] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    flex-shrink: 0;
}

.compact-variable[b-kz6o0byk64] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.8rem;
    border-left: 3px solid var(--variable-color);
    color: #495057;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 0;
}

    .compact-variable:hover[b-kz6o0byk64] {
        background: #e9ecef;
        transform: translateY(-1px);
    }

.compact-variable-name[b-kz6o0byk64] {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.compact-variable-unit[b-kz6o0byk64] {
    color: #6c757d;
    font-size: 0.75rem;
    white-space: nowrap;
}

.compact-variable-more[b-kz6o0byk64] {
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #6c757d;
    border: 1px dashed #dee2e6;
    text-align: center;
    flex: 1;
}

.compact-empty-state[b-kz6o0byk64] {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
    grid-column: 1 / -1;
}

    .compact-empty-state .empty-state-icon[b-kz6o0byk64] {
        width: 80px;
        height: 80px;
        margin: 0 auto 2rem;
        background: #f8f9fa;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #dee2e6;
    }

        .compact-empty-state .empty-state-icon svg[b-kz6o0byk64] {
            width: 40px;
            height: 40px;
            color: #6c757d;
        }

    .compact-empty-state h3[b-kz6o0byk64] {
        margin: 1rem 0 0.5rem 0;
        color: #495057;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .compact-empty-state p[b-kz6o0byk64] {
        margin: 0 0 2rem 0;
        font-size: 1rem;
        color: #6c757d;
    }

.futuristic-modal-footer[b-kz6o0byk64] {
    padding: 1.5rem 2rem;
    background: white;
    border-top: 1px solid rgba(122, 30, 25, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-futuristic-secondary[b-kz6o0byk64] {
    padding: 0.75rem 1.5rem;
    background: #6c757d;
    border: none;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-futuristic-secondary:hover[b-kz6o0byk64] {
        background: #5a6268;
        transform: translateY(-1px);
    }

/* =========================================
   MODO OSCURO
   ========================================= */

[data-theme="dark"] .dashboard-config-container[b-kz6o0byk64] {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .config-header[b-kz6o0byk64] {
    background: #1e40af;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .back-button[b-kz6o0byk64] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    [data-theme="dark"] .back-button:hover[b-kz6o0byk64] {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }

[data-theme="dark"] .home-button[b-kz6o0byk64] {
    background: #1e40af;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    [data-theme="dark"] .home-button:hover[b-kz6o0byk64] {
        background: #2563eb;
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
        border-color: rgba(255, 255, 255, 0.3);
    }

[data-theme="dark"] .header-title h1[b-kz6o0byk64] {
    color: white;
}

[data-theme="dark"] .subtitle[b-kz6o0byk64] {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .stat-card[b-kz6o0byk64] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .stat-number[b-kz6o0byk64] {
    color: #60a5fa;
}

[data-theme="dark"] .stat-label[b-kz6o0byk64] {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .config-panel[b-kz6o0byk64] {
    background: #1e293b;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid #334155;
}

[data-theme="dark"] .panel-header[b-kz6o0byk64] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-bottom: 1px solid #334155;
}

    [data-theme="dark"] .panel-header h2[b-kz6o0byk64] {
        color: #60a5fa;
    }

[data-theme="dark"] .btn-primary[b-kz6o0byk64] {
    background: #3b82f6;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

    [data-theme="dark"] .btn-primary:hover[b-kz6o0byk64] {
        background: #2563eb;
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
    }

[data-theme="dark"] .ordering-interface[b-kz6o0byk64] {
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

[data-theme="dark"] .ordering-instructions[b-kz6o0byk64] {
    color: #cbd5e1;
}

    [data-theme="dark"] .ordering-instructions svg[b-kz6o0byk64] {
        color: #60a5fa;
    }

[data-theme="dark"] .btn-secondary[b-kz6o0byk64] {
    background: #334155;
    border: 2px solid #475569;
    color: #cbd5e1;
}

    [data-theme="dark"] .btn-secondary:hover:not(:disabled)[b-kz6o0byk64] {
        background: #3b82f6;
        border-color: #3b82f6;
        color: white;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    }

[data-theme="dark"] .chart-list-item[b-kz6o0byk64] {
    background: #1e293b;
    border: 2px solid #334155;
}

    [data-theme="dark"] .chart-list-item:hover[b-kz6o0byk64] {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
        border-color: #475569;
    }

    [data-theme="dark"] .chart-list-item.enabled[b-kz6o0byk64] {
        border-left: 4px solid #10b981;
    }

    [data-theme="dark"] .chart-list-item.disabled[b-kz6o0byk64] {
        background: #0f172a;
        opacity: 0.7;
    }

    [data-theme="dark"] .chart-list-item.full-width-item[b-kz6o0byk64] {
        border-left: 4px solid #8b5cf6;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    }

[data-theme="dark"] .list-item-info h3[b-kz6o0byk64] {
    color: #f1f5f9;
}

[data-theme="dark"] .chart-type-badge[b-kz6o0byk64] {
    background: #3b82f6;
}

[data-theme="dark"] .variable-info[b-kz6o0byk64] {
    color: #94a3b8;
}

[data-theme="dark"] .full-width-indicator[b-kz6o0byk64] {
    background: #8b5cf6;
}

[data-theme="dark"] .order-indicator[b-kz6o0byk64] {
    background: #64748b;
}

[data-theme="dark"] .mini-chart-preview[b-kz6o0byk64] {
    background: #0f172a;
    border: 1px solid #334155;
}

[data-theme="dark"] .list-item-actions[b-kz6o0byk64] {
    border-top: 1px solid #334155;
}

[data-theme="dark"] .reorder-buttons[b-kz6o0byk64] {
    border-right: 1px solid #334155;
}

    [data-theme="dark"] .reorder-buttons .btn-icon[b-kz6o0byk64] {
        background: #334155;
        border: 1px solid #475569;
        color: #cbd5e1;
    }

        [data-theme="dark"] .reorder-buttons .btn-icon:hover:not(:disabled)[b-kz6o0byk64] {
            background: #3b82f6;
            border-color: #3b82f6;
            color: white;
        }

[data-theme="dark"] .btn-icon[b-kz6o0byk64] {
    background: #334155;
    border: 1px solid #475569;
    color: #cbd5e1;
}

    [data-theme="dark"] .btn-icon:hover[b-kz6o0byk64] {
        background: #3b82f6;
        border-color: #3b82f6;
        color: white;
    }

    [data-theme="dark"] .btn-icon.btn-danger:hover[b-kz6o0byk64] {
        background: #ef4444;
        border-color: #ef4444;
    }

[data-theme="dark"] .toggle-switch label[b-kz6o0byk64] {
    background: #475569;
}

[data-theme="dark"] .toggle-switch input:checked + label[b-kz6o0byk64] {
    background: #10b981;
}

[data-theme="dark"] .toggle-switch label[b-kz6o0byk64]:before {
    background: #f1f5f9;
}

[data-theme="dark"] .preview-card[b-kz6o0byk64] {
    background: #1e293b;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid #334155;
}

[data-theme="dark"] .preview-card-header[b-kz6o0byk64] {
    background: #1e40af;
}

[data-theme="dark"] .preview-icon[b-kz6o0byk64] {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .preview-card-body p[b-kz6o0byk64] {
    color: #94a3b8;
}

[data-theme="dark"] .mini-stat[b-kz6o0byk64] {
    background: #0f172a;
    border: 1px solid #334155;
}

[data-theme="dark"] .mini-number[b-kz6o0byk64] {
    color: #60a5fa;
}

[data-theme="dark"] .mini-label[b-kz6o0byk64] {
    color: #94a3b8;
}

[data-theme="dark"] .preview-card-footer[b-kz6o0byk64] {
    background: #0f172a;
    border-top: 1px solid #334155;
}

[data-theme="dark"] .btn-preview-large[b-kz6o0byk64] {
    background: #3b82f6;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

    [data-theme="dark"] .btn-preview-large:hover[b-kz6o0byk64] {
        background: #2563eb;
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
    }

/* Modales - Modo Oscuro */
[data-theme="dark"] .admin-tab-modal-container[b-kz6o0byk64] {
    background: #1e293b;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid #334155;
}

[data-theme="dark"] .admin-tab-modal-header[b-kz6o0byk64] {
    background: #1e40af;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-close[b-kz6o0byk64] {
    background: rgba(255, 255, 255, 0.1);
}

    [data-theme="dark"] .btn-close:hover[b-kz6o0byk64] {
        background: rgba(255, 255, 255, 0.2);
    }

[data-theme="dark"] .admin-tab-modal-body[b-kz6o0byk64] {
    background: #0f172a;
}

[data-theme="dark"] .admin-tab-modal-footer[b-kz6o0byk64] {
    background: #1e293b;
    border-top: 1px solid #334155;
}

[data-theme="dark"] .admin-tab-modal-primary[b-kz6o0byk64] {
    background: #3b82f6;
}

    [data-theme="dark"] .admin-tab-modal-primary:hover:not(:disabled)[b-kz6o0byk64] {
        background: #2563eb;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    }

[data-theme="dark"] .section-pro[b-kz6o0byk64] {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .section-title-pro[b-kz6o0byk64] {
    color: #60a5fa;
}

[data-theme="dark"] .form-label-pro[b-kz6o0byk64] {
    color: #cbd5e1;
}

[data-theme="dark"] .form-control-pro[b-kz6o0byk64] {
    background: #334155;
    border: 1px solid #475569;
    color: #f1f5f9;
}

    [data-theme="dark"] .form-control-pro:focus[b-kz6o0byk64] {
        border-color: #3b82f6;
        box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    }

    [data-theme="dark"] .form-control-pro.error[b-kz6o0byk64] {
        border-color: #ef4444;
        box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
    }

    [data-theme="dark"] .form-control-pro.readonly-input[b-kz6o0byk64] {
        background: #1e293b;
    }

[data-theme="dark"] .variable-card-container-pro[b-kz6o0byk64] {
    background: #0f172a;
    border: 2px solid #334155;
}

    [data-theme="dark"] .variable-card-container-pro:hover[b-kz6o0byk64] {
        border-color: #475569;
    }

    [data-theme="dark"] .variable-card-container-pro.primary[b-kz6o0byk64] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
        border-color: rgba(59, 130, 246, 0.3);
    }

[data-theme="dark"] .variable-card-header-pro[b-kz6o0byk64] {
    background: rgba(59, 130, 246, 0.1);
}

[data-theme="dark"] .badge-primary-pro[b-kz6o0byk64] {
    background: #3b82f6;
}

[data-theme="dark"] .badge-secondary-pro[b-kz6o0byk64] {
    background: #64748b;
}

[data-theme="dark"] .variable-card-body-pro[b-kz6o0byk64] {
    background: transparent;
}

[data-theme="dark"] .btn-add-variable-pro[b-kz6o0byk64] {
    background: #3b82f6;
}

    [data-theme="dark"] .btn-add-variable-pro:hover[b-kz6o0byk64] {
        background: #2563eb;
    }

[data-theme="dark"] .unit-preview-pro[b-kz6o0byk64] {
    background: #1e293b;
    border: 1px solid #334155;
}

[data-theme="dark"] .variable-summary-pro[b-kz6o0byk64] {
    background: #1e293b;
}

[data-theme="dark"] .info-box-pro[b-kz6o0byk64] {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

[data-theme="dark"] .full-width-checkbox[b-kz6o0byk64] {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Vista Previa - Modo Oscuro */
[data-theme="dark"] .futuristic-modal-container[b-kz6o0byk64] {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .futuristic-modal-header[b-kz6o0byk64] {
    background: #1e40af;
}

[data-theme="dark"] .futuristic-modal-content[b-kz6o0byk64] {
    background: #0f172a;
}

[data-theme="dark"] .compact-chart-item[b-kz6o0byk64] {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

    [data-theme="dark"] .compact-chart-item:hover[b-kz6o0byk64] {
        background: #1e293b;
        border-color: #475569;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    }

    [data-theme="dark"] .compact-chart-item.compact-full-width[b-kz6o0byk64] {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
        border-color: rgba(139, 92, 246, 0.3);
    }

[data-theme="dark"] .compact-chart-title h4[b-kz6o0byk64] {
    color: #f1f5f9;
}

[data-theme="dark"] .compact-type[b-kz6o0byk64] {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .compact-order[b-kz6o0byk64] {
    background: rgba(100, 116, 139, 0.2);
    color: #cbd5e1;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

[data-theme="dark"] .compact-variable[b-kz6o0byk64] {
    background: #0f172a;
    color: #cbd5e1;
}

    [data-theme="dark"] .compact-variable:hover[b-kz6o0byk64] {
        background: #1e293b;
    }

[data-theme="dark"] .compact-variable-unit[b-kz6o0byk64] {
    color: #94a3b8;
}

[data-theme="dark"] .compact-variable-more[b-kz6o0byk64] {
    background: #0f172a;
    color: #94a3b8;
    border: 1px dashed #334155;
}

[data-theme="dark"] .compact-empty-state[b-kz6o0byk64] {
    color: #94a3b8;
}

    [data-theme="dark"] .compact-empty-state .empty-state-icon[b-kz6o0byk64] {
        background: #1e293b;
        border: 2px solid #334155;
    }

        [data-theme="dark"] .compact-empty-state .empty-state-icon svg[b-kz6o0byk64] {
            color: #94a3b8;
        }

    [data-theme="dark"] .compact-empty-state h3[b-kz6o0byk64] {
        color: #e2e8f0;
    }

[data-theme="dark"] .futuristic-modal-footer[b-kz6o0byk64] {
    background: #1e293b;
    border-top: 1px solid #334155;
}

[data-theme="dark"] .btn-futuristic-secondary[b-kz6o0byk64] {
    background: #475569;
}

    [data-theme="dark"] .btn-futuristic-secondary:hover[b-kz6o0byk64] {
        background: #374151;
    }

/* Animaciones */
@keyframes futuristicFadeIn-b-kz6o0byk64 {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(20px);
    }
}

@keyframes futuristicSlideUp-b-kz6o0byk64 {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Loading State */
.loading-state[b-kz6o0byk64] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.spinner[b-kz6o0byk64] {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin-b-kz6o0byk64 1s linear infinite;
    margin-bottom: 1rem;
}

.spinner-small[b-kz6o0byk64] {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-left: 2px solid currentColor;
    border-radius: 50%;
    animation: spin-b-kz6o0byk64 1s linear infinite;
}

@keyframes spin-b-kz6o0byk64 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1200px) {
    .config-content[b-kz6o0byk64] {
        grid-template-columns: 1fr;
        max-width: 1000px;
    }

    .preview-button-container[b-kz6o0byk64] {
        position: static;
    }

    .futuristic-modal-container[b-kz6o0byk64] {
        max-width: 95%;
        margin: 1rem;
    }

    .dashboard-preview-compact[b-kz6o0byk64] {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .config-content[b-kz6o0byk64] {
        grid-template-columns: 1fr;
    }

    .preview-button-container[b-kz6o0byk64] {
        position: static;
    }

    .dashboard-preview-compact[b-kz6o0byk64] {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .header-content[b-kz6o0byk64] {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .header-actions[b-kz6o0byk64] {
        order: 3;
        width: 100%;
    }

    .header-title[b-kz6o0byk64] {
        order: 1;
    }

    .header-stats[b-kz6o0byk64] {
        order: 2;
        justify-content: center;
    }

    .panel-header[b-kz6o0byk64] {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .ordering-interface[b-kz6o0byk64] {
        flex-direction: column;
        align-items: stretch;
    }

    .list-item-main[b-kz6o0byk64] {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .list-item-actions[b-kz6o0byk64] {
        justify-content: space-between;
    }

    .reorder-buttons[b-kz6o0byk64] {
        margin-right: 0;
        border-right: none;
        padding-right: 0;
        justify-content: center;
    }

    .futuristic-modal-container[b-kz6o0byk64] {
        max-width: 95%;
        margin: 0.5rem;
    }

    .modal-header-content[b-kz6o0byk64] {
        flex-direction: column;
        gap: 1rem;
    }

    .modal-stats[b-kz6o0byk64] {
        align-self: stretch;
        justify-content: space-around;
    }

    .dashboard-preview-compact[b-kz6o0byk64] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .compact-chart-header[b-kz6o0byk64] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .compact-chart-visualization[b-kz6o0byk64] {
        align-self: center;
        margin-top: 0.5rem;
        width: 80px;
        height: 40px;
    }

    .compact-full-width .compact-chart-visualization[b-kz6o0byk64] {
        width: 100px;
        height: 50px;
    }

    .futuristic-modal-footer[b-kz6o0byk64] {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-futuristic-secondary[b-kz6o0byk64] {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .config-content[b-kz6o0byk64],
    .header-content[b-kz6o0byk64] {
        padding: 0 1rem;
    }

    .stat-card[b-kz6o0byk64] {
        min-width: 100px;
        padding: 0.75rem 1rem;
    }

    .stat-number[b-kz6o0byk64] {
        font-size: 1.5rem;
    }

    .charts-list-vertical[b-kz6o0byk64] {
        padding: 1rem;
    }

    .list-item-content[b-kz6o0byk64] {
        padding: 1rem;
    }

    .list-item-actions[b-kz6o0byk64] {
        flex-wrap: wrap;
        justify-content: center;
    }

    .reorder-buttons[b-kz6o0byk64] {
        order: 1;
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .toggle-switch[b-kz6o0byk64] {
        order: 2;
    }

    .btn-icon[b-kz6o0byk64] {
        order: 3;
    }

    .futuristic-modal-content[b-kz6o0byk64] {
        padding: 1rem;
    }

    .compact-chart-item[b-kz6o0byk64] {
        padding: 1.25rem;
    }

    .modal-stat-item[b-kz6o0byk64] {
        min-width: 70px;
        padding: 0.5rem 0.75rem;
    }

    .modal-stat-number[b-kz6o0byk64] {
        font-size: 1.25rem;
    }

    .compact-chart-title h4[b-kz6o0byk64] {
        font-size: 1rem;
    }

    .compact-chart-meta[b-kz6o0byk64] {
        gap: 0.375rem;
    }

    .compact-type[b-kz6o0byk64],
    .compact-order[b-kz6o0byk64] {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Scrollbar personalizado */
.futuristic-modal-content[b-kz6o0byk64]::-webkit-scrollbar {
    width: 6px;
}

.futuristic-modal-content[b-kz6o0byk64]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.futuristic-modal-content[b-kz6o0byk64]::-webkit-scrollbar-thumb {
    background: rgba(122, 30, 25, 0.3);
    border-radius: 3px;
}

    .futuristic-modal-content[b-kz6o0byk64]::-webkit-scrollbar-thumb:hover {
        background: rgba(122, 30, 25, 0.5);
    }

[data-theme="dark"] .futuristic-modal-content[b-kz6o0byk64]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .futuristic-modal-content[b-kz6o0byk64]::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
}

    [data-theme="dark"] .futuristic-modal-content[b-kz6o0byk64]::-webkit-scrollbar-thumb:hover {
        background: rgba(59, 130, 246, 0.5);
    }
/* /Pages/Admin/DataUpload.razor.rz.scp.css */
/* DATA UPLOAD - Botones de filtro personalizados */

/* TEMA CLARO */
.custom-filter-buttons .btn-group .btn[b-n6w35pjvxt] {
    border: 1px solid #6e6e6e !important;
    background-color: transparent !important;
    color: #7a1e19 !important;
    transition: all 0.3s ease !important;
}

    .custom-filter-buttons .btn-group .btn:hover[b-n6w35pjvxt] {
        background-color: #6a1915 !important;
        border-color: #6a1915 !important;
        color: white !important;
    }

    .custom-filter-buttons .btn-group .btn.btn-primary[b-n6w35pjvxt] {
        background-color: #7a1e19 !important;
        border-color: #7a1e19 !important;
        color: white !important;
    }

    .custom-filter-buttons .btn-group .btn.btn-outline-primary[b-n6w35pjvxt] {
        background-color: transparent !important;
        color: #7a1e19 !important;
        border-color: #6e6e6e !important;
    }

        .custom-filter-buttons .btn-group .btn.btn-outline-primary:hover[b-n6w35pjvxt] {
            background-color: #6a1915 !important;
            border-color: #6a1915 !important;
            color: white !important;
        }

/* TEMA OSCURO */
:root[data-theme="dark"] .custom-filter-buttons .btn-group .btn[b-n6w35pjvxt] {
    border: 1px solid #4a5568 !important;
    background-color: transparent !important;
    color: #90cdf4 !important;
    transition: all 0.3s ease !important;
}

    :root[data-theme="dark"] .custom-filter-buttons .btn-group .btn:hover[b-n6w35pjvxt] {
        background-color: rgba(144, 205, 244, 0.2) !important;
        border-color: #90cdf4 !important;
        color: #90cdf4 !important;
        box-shadow: 0 4px 15px rgba(144, 205, 244, 0.3) !important;
    }

    :root[data-theme="dark"] .custom-filter-buttons .btn-group .btn.btn-primary[b-n6w35pjvxt] {
        background-color: rgba(144, 205, 244, 0.3) !important;
        border-color: #90cdf4 !important;
        color: #90cdf4 !important;
        box-shadow: 0 4px 15px rgba(144, 205, 244, 0.3) !important;
    }

    :root[data-theme="dark"] .custom-filter-buttons .btn-group .btn.btn-outline-primary[b-n6w35pjvxt] {
        background-color: transparent !important;
        color: #90cdf4 !important;
        border-color: #4a5568 !important;
    }

        :root[data-theme="dark"] .custom-filter-buttons .btn-group .btn.btn-outline-primary:hover[b-n6w35pjvxt] {
            background-color: rgba(144, 205, 244, 0.2) !important;
            border-color: #90cdf4 !important;
            color: #90cdf4 !important;
            box-shadow: 0 4px 15px rgba(144, 205, 244, 0.3) !important;
        }

/* /Pages/Admin/SiteConfiguration.razor.rz.scp.css */
/* SiteConfiguration.razor.css - Estilos específicos para la página de configuración */

/* Estilos para el header de configuración */
.config-header h1[b-1y6zj1ofgq] {
    color: #6c757d !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.config-subtitle[b-1y6zj1ofgq] {
    color: #6c757d !important;
    opacity: 0.9;
    font-size: 1.1rem;
    margin: 0;
}

/* Tema oscuro para header */
:root[data-theme="dark"] .config-header h1[b-1y6zj1ofgq] {
    color: #e9ecef !important;
}

:root[data-theme="dark"] .config-subtitle[b-1y6zj1ofgq] {
    color: #adb5bd !important;
}

/* Estilos para títulos de sección */
.section-title[b-1y6zj1ofgq] {
    color: #6c757d !important;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

:root[data-theme="dark"] .section-title[b-1y6zj1ofgq] {
    color: #e9ecef !important;
    border-bottom-color: #495057;
}

/* ========== ESTILOS PARA LOGO ========== */
.logo-config[b-1y6zj1ofgq] {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.logo-preview-container[b-1y6zj1ofgq] {
    flex: 0 0 250px;
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-img-preview[b-1y6zj1ofgq] {
    max-width: 250px;
    max-height: 150px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
    background: #f8f9fa;
}

:root[data-theme="dark"] .logo-img-preview[b-1y6zj1ofgq] {
    background: #2d3748;
    border-color: #4a5568;
}

.logo-placeholder[b-1y6zj1ofgq] {
    width: 250px;
    height: 150px;
    border: 2px dashed #6c757d;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    background: #f8f9fa;
}

:root[data-theme="dark"] .logo-placeholder[b-1y6zj1ofgq] {
    border-color: #adb5bd;
    color: #adb5bd;
    background: #2d3748;
}

.logo-info[b-1y6zj1ofgq] {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #6c757d;
}

:root[data-theme="dark"] .logo-info[b-1y6zj1ofgq] {
    color: #adb5bd;
}

.logo-info small[b-1y6zj1ofgq] {
    display: block;
}

.logo-form[b-1y6zj1ofgq] {
    flex: 1;
}

/* ========== ESTILOS PARA INPUT FILE ========== */
.file-input-control[b-1y6zj1ofgq] {
    width: 100%;
    padding: 0.75rem;
    border: 2px dashed #dee2e6;
    border-radius: 6px;
    background: #f8f9fa;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .file-input-control:hover[b-1y6zj1ofgq] {
        border-color: #7a1e19;
        background: #fdf4f3;
    }

:root[data-theme="dark"] .file-input-control[b-1y6zj1ofgq] {
    background: #2d3748;
    border-color: #4a5568;
    color: #e9ecef;
}

    :root[data-theme="dark"] .file-input-control:hover[b-1y6zj1ofgq] {
        border-color: #7a1e19;
        background: #3a2438;
    }

.file-instructions[b-1y6zj1ofgq] {
    margin-top: 0.5rem;
}

    .file-instructions small[b-1y6zj1ofgq] {
        color: #6c757d !important;
        font-size: 0.875rem;
    }

:root[data-theme="dark"] .file-instructions small[b-1y6zj1ofgq] {
    color: #adb5bd !important;
}

/* ========== ESTILOS PARA SELECCIÓN DE ARCHIVO ========== */
.file-selection-info[b-1y6zj1ofgq] {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

:root[data-theme="dark"] .file-selection-info[b-1y6zj1ofgq] {
    background: #2d3748;
    border-color: #4a5568;
}

.file-info[b-1y6zj1ofgq] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

    .file-info strong[b-1y6zj1ofgq] {
        color: #495057;
    }

:root[data-theme="dark"] .file-info strong[b-1y6zj1ofgq] {
    color: #e9ecef;
}

.file-info span[b-1y6zj1ofgq] {
    color: #6c757d;
    font-size: 0.9rem;
}

:root[data-theme="dark"] .file-info span[b-1y6zj1ofgq] {
    color: #adb5bd;
}

.file-actions[b-1y6zj1ofgq] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ========== ESTILOS PARA VISTA PREVIA ========== */
.preview-actions[b-1y6zj1ofgq] {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

:root[data-theme="dark"] .preview-actions[b-1y6zj1ofgq] {
    background: #2d3748;
    border-color: #4a5568;
}

/* ========== ESTILOS PARA BOTONES ========== */
.form-actions[b-1y6zj1ofgq] {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn[b-1y6zj1ofgq] {
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary[b-1y6zj1ofgq] {
    background-color: #7a1e19;
    color: white;
}

    .btn-primary:hover:not(:disabled)[b-1y6zj1ofgq] {
        background-color: #5c1511;
        transform: translateY(-1px);
    }

.btn-success[b-1y6zj1ofgq] {
    background-color: #28a745;
    color: white;
}

    .btn-success:hover:not(:disabled)[b-1y6zj1ofgq] {
        background-color: #218838;
        transform: translateY(-1px);
    }

.btn-outline-danger[b-1y6zj1ofgq] {
    background-color: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
}

    .btn-outline-danger:hover:not(:disabled)[b-1y6zj1ofgq] {
        background-color: #dc3545;
        color: white;
        transform: translateY(-1px);
    }

.btn-outline-secondary[b-1y6zj1ofgq] {
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
}

    .btn-outline-secondary:hover:not(:disabled)[b-1y6zj1ofgq] {
        background-color: #6c757d;
        color: white;
        transform: translateY(-1px);
    }

.btn:disabled[b-1y6zj1ofgq] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ========== ESTILOS PARA SPINNER ========== */
.spinner[b-1y6zj1ofgq] {
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin-b-1y6zj1ofgq 1s linear infinite;
}

@keyframes spin-b-1y6zj1ofgq {
    to {
        transform: rotate(360deg);
    }
}

/* ========== ESTILOS PARA LOGO ACTUAL ========== */
.current-logo-actions[b-1y6zj1ofgq] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

:root[data-theme="dark"] .current-logo-actions[b-1y6zj1ofgq] {
    border-top-color: #4a5568;
}

/* ========== ESTILOS PARA CAMPO DE NOTA ========== */
.note-field[b-1y6zj1ofgq] {
    margin-top: 1rem;
}

.note-label[b-1y6zj1ofgq] {
    display: block;
    margin-bottom: 0.5rem;
    color: #6c757d;
    font-weight: 500;
}

:root[data-theme="dark"] .note-label[b-1y6zj1ofgq] {
    color: #adb5bd;
}

.note-input[b-1y6zj1ofgq] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #ffffff;
    color: #495057;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .note-input:focus[b-1y6zj1ofgq] {
        outline: none;
        border-color: #7a1e19;
        box-shadow: 0 0 0 2px rgba(122, 30, 25, 0.2);
    }

:root[data-theme="dark"] .note-input[b-1y6zj1ofgq] {
    background: #2d3748;
    border-color: #4a5568;
    color: #e9ecef;
}

    :root[data-theme="dark"] .note-input:focus[b-1y6zj1ofgq] {
        border-color: #7a1e19;
        box-shadow: 0 0 0 2px rgba(122, 30, 25, 0.3);
    }

.note-help[b-1y6zj1ofgq] {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #6c757d;
}

:root[data-theme="dark"] .note-help[b-1y6zj1ofgq] {
    color: #adb5bd;
}

/* ========== ESTILOS PARA BOTÓN DE SELECCIÓN DE ARCHIVO ========== */
.file-select-button[b-1y6zj1ofgq] {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background-color: #7a1e19;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

    .file-select-button:hover[b-1y6zj1ofgq] {
        background-color: #5c1511;
        transform: translateY(-1px);
    }

:root[data-theme="dark"] .file-select-button[b-1y6zj1ofgq] {
    background-color: #7a1e19;
}

    :root[data-theme="dark"] .file-select-button:hover[b-1y6zj1ofgq] {
        background-color: #5c1511;
    }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .logo-config[b-1y6zj1ofgq] {
        flex-direction: column;
    }

    .logo-preview-container[b-1y6zj1ofgq] {
        flex: none;
        width: 100%;
    }

    .logo-img-preview[b-1y6zj1ofgq],
    .logo-placeholder[b-1y6zj1ofgq] {
        width: 100%;
        max-width: 300px;
    }

    .form-actions[b-1y6zj1ofgq] {
        flex-direction: column;
    }

    .btn[b-1y6zj1ofgq] {
        width: 100%;
        justify-content: center;
    }
}
/* /Pages/Admin/Tcp.razor.rz.scp.css */
/* TCP - Botones de filtro personalizados */

/* TEMA CLARO */
.custom-filter-buttons .btn-group .btn[b-4b6q0yvbf0] {
    border: 1px solid #6e6e6e !important;
    background-color: transparent !important;
    color: #7a1e19 !important;
    transition: all 0.3s ease !important;
}

    .custom-filter-buttons .btn-group .btn:hover[b-4b6q0yvbf0] {
        background-color: #6a1915 !important;
        border-color: #6a1915 !important;
        color: white !important;
    }

    .custom-filter-buttons .btn-group .btn.btn-primary[b-4b6q0yvbf0] {
        background-color: #7a1e19 !important;
        border-color: #7a1e19 !important;
        color: white !important;
    }

    .custom-filter-buttons .btn-group .btn.btn-outline-primary[b-4b6q0yvbf0] {
        background-color: transparent !important;
        color: #7a1e19 !important;
        border-color: #6e6e6e !important;
    }

        .custom-filter-buttons .btn-group .btn.btn-outline-primary:hover[b-4b6q0yvbf0] {
            background-color: #6a1915 !important;
            border-color: #6a1915 !important;
            color: white !important;
        }

/* TEMA OSCURO */
:root[data-theme="dark"] .custom-filter-buttons .btn-group .btn[b-4b6q0yvbf0] {
    border: 1px solid #4a5568 !important;
    background-color: transparent !important;
    color: #90cdf4 !important;
    transition: all 0.3s ease !important;
}

    :root[data-theme="dark"] .custom-filter-buttons .btn-group .btn:hover[b-4b6q0yvbf0] {
        background-color: rgba(144, 205, 244, 0.2) !important;
        border-color: #90cdf4 !important;
        color: #90cdf4 !important;
        box-shadow: 0 4px 15px rgba(144, 205, 244, 0.3) !important;
    }

    :root[data-theme="dark"] .custom-filter-buttons .btn-group .btn.btn-primary[b-4b6q0yvbf0] {
        background-color: rgba(144, 205, 244, 0.3) !important;
        border-color: #90cdf4 !important;
        color: #90cdf4 !important;
        box-shadow: 0 4px 15px rgba(144, 205, 244, 0.3) !important;
    }

    :root[data-theme="dark"] .custom-filter-buttons .btn-group .btn.btn-outline-primary[b-4b6q0yvbf0] {
        background-color: transparent !important;
        color: #90cdf4 !important;
        border-color: #4a5568 !important;
    }

        :root[data-theme="dark"] .custom-filter-buttons .btn-group .btn.btn-outline-primary:hover[b-4b6q0yvbf0] {
            background-color: rgba(144, 205, 244, 0.2) !important;
            border-color: #90cdf4 !important;
            color: #90cdf4 !important;
            box-shadow: 0 4px 15px rgba(144, 205, 244, 0.3) !important;
        }
/* /Pages/Analyst/DashboardConfigAnalyst.razor.rz.scp.css */
/* =========================================
   DASHBOARD CONFIGURATION ANALYST - MODO CLARO Y OSCURO
   ========================================= */

/* =========================================
   MODO CLARO (por defecto)
   ========================================= */

.dashboard-config-container[b-vg74br0qa1] {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.config-header[b-vg74br0qa1] {
    background: #7a1e19;
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(122, 30, 25, 0.2);
}

.header-content[b-vg74br0qa1] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
}

/* Header Actions Mejorado */
.header-actions[b-vg74br0qa1] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.back-button[b-vg74br0qa1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    justify-content: center;
    font-weight: 500;
}

    .back-button:hover[b-vg74br0qa1] {
        background: rgba(255, 255, 255, 0.25);
        transform: translateX(-2px);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .back-button svg[b-vg74br0qa1] {
        width: 20px;
        height: 20px;
    }

.home-button[b-vg74br0qa1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #7a1e19;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    width: 100%;
    justify-content: center;
}

    .home-button:hover[b-vg74br0qa1] {
        background: #6a1915;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(122, 30, 25, 0.4);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .home-button svg[b-vg74br0qa1] {
        width: 20px;
        height: 20px;
    }

.header-title h1[b-vg74br0qa1] {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle[b-vg74br0qa1] {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
}

.header-stats[b-vg74br0qa1] {
    display: flex;
    gap: 1rem;
}

.stat-card[b-vg74br0qa1] {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.stat-number[b-vg74br0qa1] {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label[b-vg74br0qa1] {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Config Content */
.config-content[b-vg74br0qa1] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.config-panel[b-vg74br0qa1] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(122, 30, 25, 0.1);
    border: 1px solid rgba(122, 30, 25, 0.1);
    overflow: hidden;
}

.panel-header[b-vg74br0qa1] {
    padding: 2rem;
    border-bottom: 1px solid rgba(122, 30, 25, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

    .panel-header h2[b-vg74br0qa1] {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: #7a1e19;
    }

.btn-primary[b-vg74br0qa1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #7a1e19;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(122, 30, 25, 0.3);
}

    .btn-primary:hover[b-vg74br0qa1] {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(122, 30, 25, 0.4);
        background: #6a1915;
    }

    .btn-primary svg[b-vg74br0qa1] {
        width: 20px;
        height: 20px;
    }

.ordering-interface[b-vg74br0qa1] {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(122, 30, 25, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.ordering-instructions[b-vg74br0qa1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6c757d;
    font-size: 0.9rem;
}

    .ordering-instructions svg[b-vg74br0qa1] {
        width: 20px;
        height: 20px;
        color: #7a1e19;
    }

.btn-secondary[b-vg74br0qa1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid rgba(122, 30, 25, 0.2);
    color: #7a1e19;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-secondary:hover:not(:disabled)[b-vg74br0qa1] {
        border-color: #7a1e19;
        background: #7a1e19;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.3);
    }

    .btn-secondary:disabled[b-vg74br0qa1] {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
        background: #f8f9fa;
        color: #6c757d;
        border-color: #dee2e6;
    }

/* =========================================
   LISTA VERTICAL DE GRÁFICOS - MODO CLARO
   ========================================= */
.charts-list-vertical[b-vg74br0qa1] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

.chart-list-item[b-vg74br0qa1] {
    background: white;
    border-radius: 12px;
    border: 2px solid rgba(122, 30, 25, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

    .chart-list-item:hover[b-vg74br0qa1] {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(122, 30, 25, 0.15);
        border-color: rgba(122, 30, 25, 0.3);
    }

    .chart-list-item.enabled[b-vg74br0qa1] {
        border-left: 4px solid #28a745;
    }

    .chart-list-item.disabled[b-vg74br0qa1] {
        opacity: 0.6;
        background: #f8f9fa;
    }

    .chart-list-item.full-width-item[b-vg74br0qa1] {
        border-left: 4px solid #8b241e;
        background: linear-gradient(135deg, #fdf2f2 0%, #fce8e8 100%);
    }

.list-item-content[b-vg74br0qa1] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-item-main[b-vg74br0qa1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.list-item-info[b-vg74br0qa1] {
    flex: 1;
}

    .list-item-info h3[b-vg74br0qa1] {
        margin: 0 0 0.75rem 0;
        font-size: 1.25rem;
        font-weight: 600;
        color: #2d3748;
    }

.list-item-meta[b-vg74br0qa1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.chart-type-badge[b-vg74br0qa1] {
    background: #7a1e19;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.variable-info[b-vg74br0qa1] {
    color: #6c757d;
    font-size: 0.9rem;
}

.full-width-indicator[b-vg74br0qa1] {
    background: #8b241e;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-indicator[b-vg74br0qa1] {
    background: #6c757d;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.list-item-preview[b-vg74br0qa1] {
    flex-shrink: 0;
}

.mini-chart-preview[b-vg74br0qa1] {
    width: 80px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid rgba(122, 30, 25, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-preview-svg[b-vg74br0qa1] {
    width: 100%;
    height: 100%;
}

.list-item-actions[b-vg74br0qa1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-end;
    border-top: 1px solid rgba(122, 30, 25, 0.1);
    padding-top: 1rem;
}

/* Botones de reordenamiento en lista */
.reorder-buttons[b-vg74br0qa1] {
    display: flex;
    gap: 0.25rem;
    margin-right: 0.5rem;
    border-right: 1px solid rgba(122, 30, 25, 0.1);
    padding-right: 0.75rem;
}

    .reorder-buttons .btn-icon[b-vg74br0qa1] {
        width: 32px;
        height: 32px;
        background: white;
        border: 1px solid rgba(122, 30, 25, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s ease;
        color: #6c757d;
        flex-shrink: 0;
    }

        .reorder-buttons .btn-icon:hover:not(:disabled)[b-vg74br0qa1] {
            background: #7a1e19;
            border-color: #7a1e19;
            color: white;
            transform: scale(1.05);
        }

        .reorder-buttons .btn-icon:disabled[b-vg74br0qa1] {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .reorder-buttons .btn-icon svg[b-vg74br0qa1] {
            width: 16px;
            height: 16px;
        }

/* =========================================
   TOGGLE SWITCH - CORREGIDO
   ========================================= */

/* Toggle Switch - Corregido */
.toggle-switch[b-vg74br0qa1] {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

    .toggle-switch input[b-vg74br0qa1] {
        opacity: 0;
        width: 0;
        height: 0;
        position: absolute;
    }

    .toggle-switch label[b-vg74br0qa1] {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ced4da;
        border-radius: 34px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
    }

        .toggle-switch label[b-vg74br0qa1]:before {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            left: 3px;
            bottom: 3px;
            background: white;
            border-radius: 50%;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            transform: translateX(0);
        }

    .toggle-switch input:checked + label[b-vg74br0qa1] {
        background: #28a745;
    }

        .toggle-switch input:checked + label[b-vg74br0qa1]:before {
            transform: translateX(24px);
        }

.btn-icon[b-vg74br0qa1] {
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid rgba(122, 30, 25, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6c757d;
    flex-shrink: 0;
}

    .btn-icon:hover[b-vg74br0qa1] {
        background: #7a1e19;
        border-color: #7a1e19;
        color: white;
        transform: scale(1.05);
    }

    .btn-icon.btn-danger:hover[b-vg74br0qa1] {
        background: #dc3545;
        border-color: #dc3545;
    }

    .btn-icon svg[b-vg74br0qa1] {
        width: 18px;
        height: 18px;
    }

/* =========================================
   BOTÓN DE PREVISUALIZACIÓN MEJORADO - MODO CLARO
   ========================================= */
.preview-button-container[b-vg74br0qa1] {
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.preview-card[b-vg74br0qa1] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(122, 30, 25, 0.1);
    border: 1px solid rgba(122, 30, 25, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .preview-card:hover[b-vg74br0qa1] {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(122, 30, 25, 0.15);
    }

.preview-card-header[b-vg74br0qa1] {
    padding: 1.5rem;
    background: #7a1e19;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .preview-card-header h3[b-vg74br0qa1] {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
        color: white;
    }

.preview-icon[b-vg74br0qa1] {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .preview-icon svg[b-vg74br0qa1] {
        width: 24px;
        height: 24px;
        color: rgba(255, 255, 255, 0.9);
    }

.preview-card-body[b-vg74br0qa1] {
    padding: 1.5rem;
}

    .preview-card-body p[b-vg74br0qa1] {
        margin: 0 0 1.5rem 0;
        color: #6c757d;
        line-height: 1.5;
    }

.preview-stats-mini[b-vg74br0qa1] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mini-stat[b-vg74br0qa1] {
    text-align: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid rgba(122, 30, 25, 0.1);
}

.mini-number[b-vg74br0qa1] {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7a1e19;
    margin-bottom: 0.25rem;
}

.mini-label[b-vg74br0qa1] {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

.preview-card-footer[b-vg74br0qa1] {
    padding: 1.5rem;
    border-top: 1px solid rgba(122, 30, 25, 0.1);
    background: #f8f9fa;
}

.btn-preview-large[b-vg74br0qa1] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #7a1e19;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(122, 30, 25, 0.3);
}

    .btn-preview-large:hover[b-vg74br0qa1] {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(122, 30, 25, 0.4);
        background: #6a1915;
    }

    .btn-preview-large svg[b-vg74br0qa1] {
        width: 20px;
        height: 20px;
    }

/* =========================================
   MODALES - MODO CLARO - CENTRADOS Y CORREGIDOS
   ========================================= */

/* Modal Backdrop corregido para centrado perfecto */
.admin-tab-modal-backdrop[b-vg74br0qa1] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    overflow-y: auto;
}

/* Container del modal centrado - CORREGIDO */
.admin-tab-modal-container[b-vg74br0qa1] {
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    margin: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(122, 30, 25, 0.3);
    border: 1px solid rgba(122, 30, 25, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.admin-tab-modal-dialog[b-vg74br0qa1] {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Contenido del modal ajustado - CORREGIDO */
.admin-tab-modal-content[b-vg74br0qa1] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-height: 90vh;
}

.admin-tab-modal-header[b-vg74br0qa1] {
    padding: 1.5rem 2rem;
    background: #7a1e19;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

    .admin-tab-modal-header h5[b-vg74br0qa1] {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: white;
    }

.btn-close[b-vg74br0qa1] {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    font-weight: 300;
}

    .btn-close:hover[b-vg74br0qa1] {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.admin-tab-modal-body[b-vg74br0qa1] {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background: #f7fafc;
}

.admin-tab-modal-footer[b-vg74br0qa1] {
    padding: 1.5rem 2rem;
    background: white;
    border-top: 1px solid rgba(122, 30, 25, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

.admin-tab-modal-secondary[b-vg74br0qa1] {
    padding: 0.75rem 1.5rem;
    background: #6c757d;
    border: none;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .admin-tab-modal-secondary:hover[b-vg74br0qa1] {
        background: #5a6268;
        transform: translateY(-1px);
    }

.admin-tab-modal-primary[b-vg74br0qa1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #7a1e19;
    border: none;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .admin-tab-modal-primary:hover:not(:disabled)[b-vg74br0qa1] {
        background: #6a1915;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.4);
    }

    .admin-tab-modal-primary:disabled[b-vg74br0qa1] {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

/* Formularios del Modal - ESTILOS COMPLETOS */
.modal-form-pro[b-vg74br0qa1] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-pro[b-vg74br0qa1] {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(122, 30, 25, 0.1);
    box-shadow: 0 2px 8px rgba(122, 30, 25, 0.05);
}

.section-header-pro[b-vg74br0qa1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-title-pro[b-vg74br0qa1] {
    font-size: 1.2rem;
    font-weight: 600;
    color: #7a1e19;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-count-pro[b-vg74br0qa1] {
    background: rgba(122, 30, 25, 0.1);
    color: #7a1e19;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.form-row-pro[b-vg74br0qa1] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-pro[b-vg74br0qa1] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label-pro[b-vg74br0qa1] {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.required-star[b-vg74br0qa1] {
    color: #dc3545;
}

.help-text-pro[b-vg74br0qa1] {
    font-size: 0.75rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

.form-control-pro[b-vg74br0qa1] {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(122, 30, 25, 0.2);
    border-radius: 8px;
    background: white;
    color: #495057;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

    .form-control-pro:focus[b-vg74br0qa1] {
        outline: none;
        border-color: #7a1e19;
        box-shadow: 0 0 0 0.2rem rgba(122, 30, 25, 0.15);
    }

    .form-control-pro.error[b-vg74br0qa1] {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
    }

    .form-control-pro.readonly-input[b-vg74br0qa1] {
        background: #e9ecef;
        cursor: not-allowed;
    }

.validation-error-pro[b-vg74br0qa1] {
    color: #dc3545;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Variables Cards Grid - MEJORADO */
.variables-cards-grid-pro[b-vg74br0qa1] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.variable-card-container-pro[b-vg74br0qa1] {
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid rgba(122, 30, 25, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .variable-card-container-pro:hover[b-vg74br0qa1] {
        border-color: rgba(122, 30, 25, 0.3);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.1);
    }

    .variable-card-container-pro.primary[b-vg74br0qa1] {
        border-color: rgba(122, 30, 25, 0.3);
        background: linear-gradient(135deg, #fff9f9 0%, #fef5f5 100%);
    }

.variable-card-header-pro[b-vg74br0qa1] {
    padding: 1rem;
    background: rgba(122, 30, 25, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.variable-badge-section[b-vg74br0qa1] {
    display: flex;
    gap: 0.5rem;
}

.badge-primary-pro[b-vg74br0qa1] {
    background: #7a1e19;
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-secondary-pro[b-vg74br0qa1] {
    background: #6c757d;
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-remove-variable-pro[b-vg74br0qa1] {
    width: 32px;
    height: 32px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #dc3545;
}

    .btn-remove-variable-pro:hover[b-vg74br0qa1] {
        background: #dc3545;
        border-color: #dc3545;
        color: white;
    }

    .btn-remove-variable-pro svg[b-vg74br0qa1] {
        width: 16px;
        height: 16px;
    }

.variable-card-body-pro[b-vg74br0qa1] {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-add-variable-pro[b-vg74br0qa1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #7a1e19;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-add-variable-pro:hover[b-vg74br0qa1] {
        background: #6a1915;
        transform: translateY(-1px);
    }

    .btn-add-variable-pro svg[b-vg74br0qa1] {
        width: 16px;
        height: 16px;
    }

/* Color Picker - MEJORADO */
.color-picker-pro[b-vg74br0qa1] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-option-pro[b-vg74br0qa1] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .color-option-pro:hover[b-vg74br0qa1] {
        transform: scale(1.1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .color-option-pro.selected[b-vg74br0qa1] {
        border-color: #2d3748;
        box-shadow: 0 0 0 2px white, 0 0 0 4px #2d3748;
    }

    .color-option-pro svg[b-vg74br0qa1] {
        width: 20px;
        height: 20px;
        color: white;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
    }

.unit-preview-pro[b-vg74br0qa1] {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid rgba(122, 30, 25, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-label[b-vg74br0qa1] {
    font-size: 0.8rem;
    color: #6c757d;
}

.variable-summary-pro[b-vg74br0qa1] {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid;
    margin-top: 0.5rem;
}

.summary-title[b-vg74br0qa1] {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.summary-display[b-vg74br0qa1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-color-dot[b-vg74br0qa1] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.info-box-pro[b-vg74br0qa1] {
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1e40af;
}

    .info-box-pro svg[b-vg74br0qa1] {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

.checkbox-wrapper-pro[b-vg74br0qa1] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

    .checkbox-wrapper-pro input[type="checkbox"][b-vg74br0qa1] {
        width: 20px;
        height: 20px;
        cursor: pointer;
        margin-top: 0.1rem;
        flex-shrink: 0;
    }

.checkbox-label-pro[b-vg74br0qa1] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

    .checkbox-label-pro .checkbox-text[b-vg74br0qa1] {
        font-weight: 600;
        color: #495057;
    }

    .checkbox-label-pro small[b-vg74br0qa1] {
        color: #6c757d;
        font-size: 0.85rem;
    }

.full-width-checkbox[b-vg74br0qa1] {
    padding: 1rem;
    background: rgba(139, 36, 30, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(139, 36, 30, 0.2);
}

/* =========================================
   MODAL DE PREVISUALIZACIÓN FUTURISTA - MEJORADO
   ========================================= */
.futuristic-modal-backdrop[b-vg74br0qa1] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
    animation: futuristicFadeIn-b-vg74br0qa1 0.4s ease-out;
}

.futuristic-modal-container[b-vg74br0qa1] {
    width: 100%;
    max-width: 1400px;
    max-height: 95vh;
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(122, 30, 25, 0.2);
    box-shadow: 0 25px 50px -12px rgba(122, 30, 25, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: futuristicSlideUp-b-vg74br0qa1 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.futuristic-modal-header[b-vg74br0qa1] {
    padding: 2rem 2rem 1.5rem;
    background: #7a1e19;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.modal-header-content[b-vg74br0qa1] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.modal-title-section h2[b-vg74br0qa1] {
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.modal-title-section p[b-vg74br0qa1] {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.modal-stats[b-vg74br0qa1] {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}

.modal-stat-item[b-vg74br0qa1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    min-width: 80px;
}

.modal-stat-number[b-vg74br0qa1] {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.modal-stat-label[b-vg74br0qa1] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
    font-weight: 500;
}

.futuristic-close-btn[b-vg74br0qa1] {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .futuristic-close-btn:hover[b-vg74br0qa1] {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.futuristic-modal-content[b-vg74br0qa1] {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background: #f8f9fa;
    max-height: calc(95vh - 200px);
}

/* Dashboard Preview - 2 Columnas - Modo Claro */
.dashboard-preview-compact[b-vg74br0qa1] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.compact-chart-item[b-vg74br0qa1] {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(122, 30, 25, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(122, 30, 25, 0.1);
}

    .compact-chart-item:hover[b-vg74br0qa1] {
        background: white;
        border-color: rgba(122, 30, 25, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(122, 30, 25, 0.15);
    }

    .compact-chart-item.compact-full-width[b-vg74br0qa1] {
        grid-column: 1 / -1;
        background: linear-gradient(135deg, #fdf2f2 0%, #fce8e8 100%);
        border-color: rgba(122, 30, 25, 0.2);
        min-height: 200px;
    }

        .compact-chart-item.compact-full-width[b-vg74br0qa1]::after {
            content: "📏 FULL WIDTH";
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            background: #7a1e19;
            color: white;
            padding: 0.375rem 0.875rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            z-index: 2;
        }

.compact-chart-header[b-vg74br0qa1] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.compact-chart-title[b-vg74br0qa1] {
    flex: 1;
}

    .compact-chart-title h4[b-vg74br0qa1] {
        margin: 0 0 0.5rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: #2d3748;
        line-height: 1.3;
    }

.compact-chart-meta[b-vg74br0qa1] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.compact-type[b-vg74br0qa1] {
    background: rgba(122, 30, 25, 0.1);
    color: #7a1e19;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(122, 30, 25, 0.2);
    white-space: nowrap;
}

.compact-order[b-vg74br0qa1] {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(108, 117, 125, 0.2);
    white-space: nowrap;
}

.compact-chart-visualization[b-vg74br0qa1] {
    width: 100px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.compact-chart-svg[b-vg74br0qa1] {
    width: 100%;
    height: 100%;
}

.compact-chart-variables[b-vg74br0qa1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    flex-shrink: 0;
}

.compact-variable[b-vg74br0qa1] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.8rem;
    border-left: 3px solid var(--variable-color);
    color: #495057;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 0;
}

    .compact-variable:hover[b-vg74br0qa1] {
        background: #e9ecef;
        transform: translateY(-1px);
    }

.compact-variable-name[b-vg74br0qa1] {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.compact-variable-unit[b-vg74br0qa1] {
    color: #6c757d;
    font-size: 0.75rem;
    white-space: nowrap;
}

.compact-variable-more[b-vg74br0qa1] {
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #6c757d;
    border: 1px dashed #dee2e6;
    text-align: center;
    flex: 1;
}

.compact-empty-state[b-vg74br0qa1] {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
    grid-column: 1 / -1;
}

    .compact-empty-state .empty-state-icon[b-vg74br0qa1] {
        width: 80px;
        height: 80px;
        margin: 0 auto 2rem;
        background: #f8f9fa;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #dee2e6;
    }

        .compact-empty-state .empty-state-icon svg[b-vg74br0qa1] {
            width: 40px;
            height: 40px;
            color: #6c757d;
        }

    .compact-empty-state h3[b-vg74br0qa1] {
        margin: 1rem 0 0.5rem 0;
        color: #495057;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .compact-empty-state p[b-vg74br0qa1] {
        margin: 0 0 2rem 0;
        font-size: 1rem;
        color: #6c757d;
    }

.futuristic-modal-footer[b-vg74br0qa1] {
    padding: 1.5rem 2rem;
    background: white;
    border-top: 1px solid rgba(122, 30, 25, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-futuristic-secondary[b-vg74br0qa1] {
    padding: 0.75rem 1.5rem;
    background: #6c757d;
    border: none;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-futuristic-secondary:hover[b-vg74br0qa1] {
        background: #5a6268;
        transform: translateY(-1px);
    }

/* =========================================
   MODO OSCURO
   ========================================= */

[data-theme="dark"] .dashboard-config-container[b-vg74br0qa1] {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .config-header[b-vg74br0qa1] {
    background: #1e40af;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .back-button[b-vg74br0qa1] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    [data-theme="dark"] .back-button:hover[b-vg74br0qa1] {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }

[data-theme="dark"] .home-button[b-vg74br0qa1] {
    background: #1e40af;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    [data-theme="dark"] .home-button:hover[b-vg74br0qa1] {
        background: #2563eb;
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
        border-color: rgba(255, 255, 255, 0.3);
    }

[data-theme="dark"] .header-title h1[b-vg74br0qa1] {
    color: white;
}

[data-theme="dark"] .subtitle[b-vg74br0qa1] {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .stat-card[b-vg74br0qa1] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .stat-number[b-vg74br0qa1] {
    color: #60a5fa;
}

[data-theme="dark"] .stat-label[b-vg74br0qa1] {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .config-panel[b-vg74br0qa1] {
    background: #1e293b;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid #334155;
}

[data-theme="dark"] .panel-header[b-vg74br0qa1] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-bottom: 1px solid #334155;
}

    [data-theme="dark"] .panel-header h2[b-vg74br0qa1] {
        color: #60a5fa;
    }

[data-theme="dark"] .btn-primary[b-vg74br0qa1] {
    background: #3b82f6;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

    [data-theme="dark"] .btn-primary:hover[b-vg74br0qa1] {
        background: #2563eb;
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
    }

[data-theme="dark"] .ordering-interface[b-vg74br0qa1] {
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

[data-theme="dark"] .ordering-instructions[b-vg74br0qa1] {
    color: #cbd5e1;
}

    [data-theme="dark"] .ordering-instructions svg[b-vg74br0qa1] {
        color: #60a5fa;
    }

[data-theme="dark"] .btn-secondary[b-vg74br0qa1] {
    background: #334155;
    border: 2px solid #475569;
    color: #cbd5e1;
}

    [data-theme="dark"] .btn-secondary:hover:not(:disabled)[b-vg74br0qa1] {
        background: #3b82f6;
        border-color: #3b82f6;
        color: white;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    }

[data-theme="dark"] .chart-list-item[b-vg74br0qa1] {
    background: #1e293b;
    border: 2px solid #334155;
}

    [data-theme="dark"] .chart-list-item:hover[b-vg74br0qa1] {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
        border-color: #475569;
    }

    [data-theme="dark"] .chart-list-item.enabled[b-vg74br0qa1] {
        border-left: 4px solid #10b981;
    }

    [data-theme="dark"] .chart-list-item.disabled[b-vg74br0qa1] {
        background: #0f172a;
        opacity: 0.7;
    }

    [data-theme="dark"] .chart-list-item.full-width-item[b-vg74br0qa1] {
        border-left: 4px solid #8b5cf6;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    }

[data-theme="dark"] .list-item-info h3[b-vg74br0qa1] {
    color: #f1f5f9;
}

[data-theme="dark"] .chart-type-badge[b-vg74br0qa1] {
    background: #3b82f6;
}

[data-theme="dark"] .variable-info[b-vg74br0qa1] {
    color: #94a3b8;
}

[data-theme="dark"] .full-width-indicator[b-vg74br0qa1] {
    background: #8b5cf6;
}

[data-theme="dark"] .order-indicator[b-vg74br0qa1] {
    background: #64748b;
}

[data-theme="dark"] .mini-chart-preview[b-vg74br0qa1] {
    background: #0f172a;
    border: 1px solid #334155;
}

[data-theme="dark"] .list-item-actions[b-vg74br0qa1] {
    border-top: 1px solid #334155;
}

[data-theme="dark"] .reorder-buttons[b-vg74br0qa1] {
    border-right: 1px solid #334155;
}

    [data-theme="dark"] .reorder-buttons .btn-icon[b-vg74br0qa1] {
        background: #334155;
        border: 1px solid #475569;
        color: #cbd5e1;
    }

        [data-theme="dark"] .reorder-buttons .btn-icon:hover:not(:disabled)[b-vg74br0qa1] {
            background: #3b82f6;
            border-color: #3b82f6;
            color: white;
        }

[data-theme="dark"] .btn-icon[b-vg74br0qa1] {
    background: #334155;
    border: 1px solid #475569;
    color: #cbd5e1;
}

    [data-theme="dark"] .btn-icon:hover[b-vg74br0qa1] {
        background: #3b82f6;
        border-color: #3b82f6;
        color: white;
    }

    [data-theme="dark"] .btn-icon.btn-danger:hover[b-vg74br0qa1] {
        background: #ef4444;
        border-color: #ef4444;
    }

[data-theme="dark"] .toggle-switch label[b-vg74br0qa1] {
    background: #475569;
}

[data-theme="dark"] .toggle-switch input:checked + label[b-vg74br0qa1] {
    background: #10b981;
}

[data-theme="dark"] .toggle-switch label[b-vg74br0qa1]:before {
    background: #f1f5f9;
}

[data-theme="dark"] .preview-card[b-vg74br0qa1] {
    background: #1e293b;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid #334155;
}

[data-theme="dark"] .preview-card-header[b-vg74br0qa1] {
    background: #1e40af;
}

[data-theme="dark"] .preview-icon[b-vg74br0qa1] {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .preview-card-body p[b-vg74br0qa1] {
    color: #94a3b8;
}

[data-theme="dark"] .mini-stat[b-vg74br0qa1] {
    background: #0f172a;
    border: 1px solid #334155;
}

[data-theme="dark"] .mini-number[b-vg74br0qa1] {
    color: #60a5fa;
}

[data-theme="dark"] .mini-label[b-vg74br0qa1] {
    color: #94a3b8;
}

[data-theme="dark"] .preview-card-footer[b-vg74br0qa1] {
    background: #0f172a;
    border-top: 1px solid #334155;
}

[data-theme="dark"] .btn-preview-large[b-vg74br0qa1] {
    background: #3b82f6;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

    [data-theme="dark"] .btn-preview-large:hover[b-vg74br0qa1] {
        background: #2563eb;
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
    }

/* Modales - Modo Oscuro */
[data-theme="dark"] .admin-tab-modal-container[b-vg74br0qa1] {
    background: #1e293b;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid #334155;
}

[data-theme="dark"] .admin-tab-modal-header[b-vg74br0qa1] {
    background: #1e40af;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-close[b-vg74br0qa1] {
    background: rgba(255, 255, 255, 0.1);
}

    [data-theme="dark"] .btn-close:hover[b-vg74br0qa1] {
        background: rgba(255, 255, 255, 0.2);
    }

[data-theme="dark"] .admin-tab-modal-body[b-vg74br0qa1] {
    background: #0f172a;
}

[data-theme="dark"] .admin-tab-modal-footer[b-vg74br0qa1] {
    background: #1e293b;
    border-top: 1px solid #334155;
}

[data-theme="dark"] .admin-tab-modal-primary[b-vg74br0qa1] {
    background: #3b82f6;
}

    [data-theme="dark"] .admin-tab-modal-primary:hover:not(:disabled)[b-vg74br0qa1] {
        background: #2563eb;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    }

[data-theme="dark"] .section-pro[b-vg74br0qa1] {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .section-title-pro[b-vg74br0qa1] {
    color: #60a5fa;
}

[data-theme="dark"] .form-label-pro[b-vg74br0qa1] {
    color: #cbd5e1;
}

[data-theme="dark"] .form-control-pro[b-vg74br0qa1] {
    background: #334155;
    border: 1px solid #475569;
    color: #f1f5f9;
}

    [data-theme="dark"] .form-control-pro:focus[b-vg74br0qa1] {
        border-color: #3b82f6;
        box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    }

    [data-theme="dark"] .form-control-pro.error[b-vg74br0qa1] {
        border-color: #ef4444;
        box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
    }

    [data-theme="dark"] .form-control-pro.readonly-input[b-vg74br0qa1] {
        background: #1e293b;
    }

[data-theme="dark"] .variable-card-container-pro[b-vg74br0qa1] {
    background: #0f172a;
    border: 2px solid #334155;
}

    [data-theme="dark"] .variable-card-container-pro:hover[b-vg74br0qa1] {
        border-color: #475569;
    }

    [data-theme="dark"] .variable-card-container-pro.primary[b-vg74br0qa1] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
        border-color: rgba(59, 130, 246, 0.3);
    }

[data-theme="dark"] .variable-card-header-pro[b-vg74br0qa1] {
    background: rgba(59, 130, 246, 0.1);
}

[data-theme="dark"] .badge-primary-pro[b-vg74br0qa1] {
    background: #3b82f6;
}

[data-theme="dark"] .badge-secondary-pro[b-vg74br0qa1] {
    background: #64748b;
}

[data-theme="dark"] .variable-card-body-pro[b-vg74br0qa1] {
    background: transparent;
}

[data-theme="dark"] .btn-add-variable-pro[b-vg74br0qa1] {
    background: #3b82f6;
}

    [data-theme="dark"] .btn-add-variable-pro:hover[b-vg74br0qa1] {
        background: #2563eb;
    }

[data-theme="dark"] .unit-preview-pro[b-vg74br0qa1] {
    background: #1e293b;
    border: 1px solid #334155;
}

[data-theme="dark"] .variable-summary-pro[b-vg74br0qa1] {
    background: #1e293b;
}

[data-theme="dark"] .info-box-pro[b-vg74br0qa1] {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

[data-theme="dark"] .full-width-checkbox[b-vg74br0qa1] {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Vista Previa - Modo Oscuro */
[data-theme="dark"] .futuristic-modal-container[b-vg74br0qa1] {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .futuristic-modal-header[b-vg74br0qa1] {
    background: #1e40af;
}

[data-theme="dark"] .futuristic-modal-content[b-vg74br0qa1] {
    background: #0f172a;
}

[data-theme="dark"] .compact-chart-item[b-vg74br0qa1] {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

    [data-theme="dark"] .compact-chart-item:hover[b-vg74br0qa1] {
        background: #1e293b;
        border-color: #475569;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    }

    [data-theme="dark"] .compact-chart-item.compact-full-width[b-vg74br0qa1] {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
        border-color: rgba(139, 92, 246, 0.3);
    }

[data-theme="dark"] .compact-chart-title h4[b-vg74br0qa1] {
    color: #f1f5f9;
}

[data-theme="dark"] .compact-type[b-vg74br0qa1] {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .compact-order[b-vg74br0qa1] {
    background: rgba(100, 116, 139, 0.2);
    color: #cbd5e1;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

[data-theme="dark"] .compact-variable[b-vg74br0qa1] {
    background: #0f172a;
    color: #cbd5e1;
}

    [data-theme="dark"] .compact-variable:hover[b-vg74br0qa1] {
        background: #1e293b;
    }

[data-theme="dark"] .compact-variable-unit[b-vg74br0qa1] {
    color: #94a3b8;
}

[data-theme="dark"] .compact-variable-more[b-vg74br0qa1] {
    background: #0f172a;
    color: #94a3b8;
    border: 1px dashed #334155;
}

[data-theme="dark"] .compact-empty-state[b-vg74br0qa1] {
    color: #94a3b8;
}

    [data-theme="dark"] .compact-empty-state .empty-state-icon[b-vg74br0qa1] {
        background: #1e293b;
        border: 2px solid #334155;
    }

        [data-theme="dark"] .compact-empty-state .empty-state-icon svg[b-vg74br0qa1] {
            color: #94a3b8;
        }

    [data-theme="dark"] .compact-empty-state h3[b-vg74br0qa1] {
        color: #e2e8f0;
    }

[data-theme="dark"] .futuristic-modal-footer[b-vg74br0qa1] {
    background: #1e293b;
    border-top: 1px solid #334155;
}

[data-theme="dark"] .btn-futuristic-secondary[b-vg74br0qa1] {
    background: #475569;
}

    [data-theme="dark"] .btn-futuristic-secondary:hover[b-vg74br0qa1] {
        background: #374151;
    }

/* Animaciones */
@keyframes futuristicFadeIn-b-vg74br0qa1 {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(20px);
    }
}

@keyframes futuristicSlideUp-b-vg74br0qa1 {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Loading State */
.loading-state[b-vg74br0qa1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.spinner[b-vg74br0qa1] {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin-b-vg74br0qa1 1s linear infinite;
    margin-bottom: 1rem;
}

.spinner-small[b-vg74br0qa1] {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-left: 2px solid currentColor;
    border-radius: 50%;
    animation: spin-b-vg74br0qa1 1s linear infinite;
}

@keyframes spin-b-vg74br0qa1 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1200px) {
    .config-content[b-vg74br0qa1] {
        grid-template-columns: 1fr;
        max-width: 1000px;
    }

    .preview-button-container[b-vg74br0qa1] {
        position: static;
    }

    .futuristic-modal-container[b-vg74br0qa1] {
        max-width: 95%;
        margin: 1rem;
    }

    .dashboard-preview-compact[b-vg74br0qa1] {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .config-content[b-vg74br0qa1] {
        grid-template-columns: 1fr;
    }

    .preview-button-container[b-vg74br0qa1] {
        position: static;
    }

    .dashboard-preview-compact[b-vg74br0qa1] {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .header-content[b-vg74br0qa1] {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .header-actions[b-vg74br0qa1] {
        order: 3;
        width: 100%;
    }

    .header-title[b-vg74br0qa1] {
        order: 1;
    }

    .header-stats[b-vg74br0qa1] {
        order: 2;
        justify-content: center;
    }

    .panel-header[b-vg74br0qa1] {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .ordering-interface[b-vg74br0qa1] {
        flex-direction: column;
        align-items: stretch;
    }

    .list-item-main[b-vg74br0qa1] {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .list-item-actions[b-vg74br0qa1] {
        justify-content: space-between;
    }

    .reorder-buttons[b-vg74br0qa1] {
        margin-right: 0;
        border-right: none;
        padding-right: 0;
        justify-content: center;
    }

    .futuristic-modal-container[b-vg74br0qa1] {
        max-width: 95%;
        margin: 0.5rem;
    }

    .modal-header-content[b-vg74br0qa1] {
        flex-direction: column;
        gap: 1rem;
    }

    .modal-stats[b-vg74br0qa1] {
        align-self: stretch;
        justify-content: space-around;
    }

    .dashboard-preview-compact[b-vg74br0qa1] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .compact-chart-header[b-vg74br0qa1] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .compact-chart-visualization[b-vg74br0qa1] {
        align-self: center;
        margin-top: 0.5rem;
        width: 80px;
        height: 40px;
    }

    .compact-full-width .compact-chart-visualization[b-vg74br0qa1] {
        width: 100px;
        height: 50px;
    }

    .futuristic-modal-footer[b-vg74br0qa1] {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-futuristic-secondary[b-vg74br0qa1] {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .config-content[b-vg74br0qa1],
    .header-content[b-vg74br0qa1] {
        padding: 0 1rem;
    }

    .stat-card[b-vg74br0qa1] {
        min-width: 100px;
        padding: 0.75rem 1rem;
    }

    .stat-number[b-vg74br0qa1] {
        font-size: 1.5rem;
    }

    .charts-list-vertical[b-vg74br0qa1] {
        padding: 1rem;
    }

    .list-item-content[b-vg74br0qa1] {
        padding: 1rem;
    }

    .list-item-actions[b-vg74br0qa1] {
        flex-wrap: wrap;
        justify-content: center;
    }

    .reorder-buttons[b-vg74br0qa1] {
        order: 1;
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .toggle-switch[b-vg74br0qa1] {
        order: 2;
    }

    .btn-icon[b-vg74br0qa1] {
        order: 3;
    }

    .futuristic-modal-content[b-vg74br0qa1] {
        padding: 1rem;
    }

    .compact-chart-item[b-vg74br0qa1] {
        padding: 1.25rem;
    }

    .modal-stat-item[b-vg74br0qa1] {
        min-width: 70px;
        padding: 0.5rem 0.75rem;
    }

    .modal-stat-number[b-vg74br0qa1] {
        font-size: 1.25rem;
    }

    .compact-chart-title h4[b-vg74br0qa1] {
        font-size: 1rem;
    }

    .compact-chart-meta[b-vg74br0qa1] {
        gap: 0.375rem;
    }

    .compact-type[b-vg74br0qa1],
    .compact-order[b-vg74br0qa1] {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Scrollbar personalizado */
.futuristic-modal-content[b-vg74br0qa1]::-webkit-scrollbar {
    width: 6px;
}

.futuristic-modal-content[b-vg74br0qa1]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.futuristic-modal-content[b-vg74br0qa1]::-webkit-scrollbar-thumb {
    background: rgba(122, 30, 25, 0.3);
    border-radius: 3px;
}

    .futuristic-modal-content[b-vg74br0qa1]::-webkit-scrollbar-thumb:hover {
        background: rgba(122, 30, 25, 0.5);
    }

[data-theme="dark"] .futuristic-modal-content[b-vg74br0qa1]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .futuristic-modal-content[b-vg74br0qa1]::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
}

    [data-theme="dark"] .futuristic-modal-content[b-vg74br0qa1]::-webkit-scrollbar-thumb:hover {
        background: rgba(59, 130, 246, 0.5);
    }

/* Header Actions Mejorado */
.header-actions[b-vg74br0qa1] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.back-button[b-vg74br0qa1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    justify-content: center;
    font-weight: 500;
}

    .back-button:hover[b-vg74br0qa1] {
        background: rgba(255, 255, 255, 0.25);
        transform: translateX(-2px);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .back-button svg[b-vg74br0qa1] {
        width: 20px;
        height: 20px;
    }

[data-theme="dark"] .back-button[b-vg74br0qa1] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    [data-theme="dark"] .back-button:hover[b-vg74br0qa1] {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }
/* /Pages/Analyst/HomeAnalyst.razor.rz.scp.css */
/* HomeAnalyst.razor.css - Estilos estandarizados para el dashboard de análisis */

.analyst-dashboard-container[b-bkz3isbbna] {
    min-height: 100vh;
    background-color: #ffffff;
    padding: 2rem;
}

/* Header del Analyst - CORREGIDO con fondo vino y texto blanco */
.analyst-dashboard-header[b-bkz3isbbna] {
    background: linear-gradient(135deg, #7a1e19 0%, #5c1511 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(122, 30, 25, 0.2);
}

.header-content[b-bkz3isbbna] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-title h1[b-bkz3isbbna] {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.subtitle[b-bkz3isbbna] {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
}

.header-stats[b-bkz3isbbna] {
    display: flex;
    gap: 1rem;
}

.stat-card[b-bkz3isbbna] {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    min-width: 120px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .stat-card:hover[b-bkz3isbbna] {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

.stat-number[b-bkz3isbbna] {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label[b-bkz3isbbna] {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Alertas */
.alert[b-bkz3isbbna] {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.alert-info[b-bkz3isbbna] {
    background: #f0f9ff;
    border-left: 4px solid #7a1e19;
    color: #2d3748;
}

.alert-warning[b-bkz3isbbna] {
    background: #fffbeb;
    border-left: 4px solid #d69e2e;
    color: #744210;
    grid-column: 1 / -1;
}

/* Grid de Dashboard del Analyst */
.analyst-dashboard-grid[b-bkz3isbbna] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

/* Contenedor de gráficos del Analyst */
.analyst-chart-container[b-bkz3isbbna] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

    .analyst-chart-container:hover[b-bkz3isbbna] {
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
        border-color: #7a1e19;
    }

    /* Gráfico de ancho completo */
    .analyst-chart-container.full-width[b-bkz3isbbna] {
        grid-column: 1 / -1;
        background: white;
        border: 1px solid #e2e8f0;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
        min-height: 500px;
    }

        .analyst-chart-container.full-width:hover[b-bkz3isbbna] {
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
            transform: translateY(-4px);
        }

/* Badge de ancho completo */
.full-width-badge[b-bkz3isbbna] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #7a1e19;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Estados de carga */
.loading-state[b-bkz3isbbna] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #718096;
    grid-column: 1 / -1;
}

.spinner[b-bkz3isbbna] {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-left: 4px solid #7a1e19;
    border-radius: 50%;
    animation: spin-b-bkz3isbbna 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-bkz3isbbna {
    to {
        transform: rotate(360deg);
    }
}

/* Botones */
.btn[b-bkz3isbbna] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary[b-bkz3isbbna] {
    background-color: #7a1e19;
    color: white;
}

    .btn-primary:hover[b-bkz3isbbna] {
        background-color: #5c1511;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.4);
    }

/* Filtros de Análisis (MANTENIDOS porque son útiles) */
.analysis-filters-section[b-bkz3isbbna] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.filters-header[b-bkz3isbbna] {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

    .filters-header h3[b-bkz3isbbna] {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
        color: #1e293b;
    }

.filters-actions[b-bkz3isbbna] {
    display: flex;
    gap: 1rem;
}

.btn-analysis[b-bkz3isbbna] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #7a1e19 0%, #5c1511 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-analysis:hover[b-bkz3isbbna] {
        background: linear-gradient(135deg, #5c1511 0%, #4a110e 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(122, 30, 25, 0.4);
    }

    .btn-analysis svg[b-bkz3isbbna] {
        width: 18px;
        height: 18px;
    }

.filters-grid[b-bkz3isbbna] {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.filter-group[b-bkz3isbbna] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .filter-group label[b-bkz3isbbna] {
        font-weight: 600;
        color: #374151;
        font-size: 0.875rem;
    }

.filter-select[b-bkz3isbbna], .date-input[b-bkz3isbbna] {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .filter-select:focus[b-bkz3isbbna], .date-input:focus[b-bkz3isbbna] {
        outline: none;
        border-color: #7a1e19;
        box-shadow: 0 0 0 3px rgba(122, 30, 25, 0.1);
    }

/* Responsive Design */
@media (max-width: 1200px) {
    .analyst-dashboard-grid[b-bkz3isbbna] {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    }
}

@media (max-width: 768px) {
    .analyst-dashboard-container[b-bkz3isbbna] {
        padding: 1rem;
    }

    .header-content[b-bkz3isbbna] {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .header-title h1[b-bkz3isbbna] {
        font-size: 2rem;
    }

    .header-stats[b-bkz3isbbna] {
        justify-content: center;
    }

    .analyst-dashboard-grid[b-bkz3isbbna] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .analyst-chart-container[b-bkz3isbbna] {
        min-height: 400px;
    }

        .analyst-chart-container.full-width[b-bkz3isbbna] {
            grid-column: 1;
            min-height: 450px;
        }

    .filters-header[b-bkz3isbbna] {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .filters-grid[b-bkz3isbbna] {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .full-width-badge[b-bkz3isbbna] {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 1rem;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .analyst-dashboard-container[b-bkz3isbbna] {
        padding: 0.5rem;
    }

    .header-title h1[b-bkz3isbbna] {
        font-size: 1.75rem;
    }

    .stat-card[b-bkz3isbbna] {
        min-width: 100px;
        padding: 0.75rem 1rem;
    }

    .stat-number[b-bkz3isbbna] {
        font-size: 1.5rem;
    }

    .analyst-dashboard-grid[b-bkz3isbbna] {
        gap: 1rem;
    }

    .analyst-chart-container[b-bkz3isbbna] {
        border-radius: 8px;
        min-height: 350px;
    }

    .theme-toggle-btn[b-bkz3isbbna] {
        padding: 0.375rem 0.625rem;
    }

        .theme-toggle-btn .icon[b-bkz3isbbna] {
            width: 18px;
            height: 18px;
        }

    .logout-btn[b-bkz3isbbna], .login-btn[b-bkz3isbbna] {
        padding: 0.375rem 0.875rem;
        font-size: 0.813rem;
    }

        .logout-btn svg[b-bkz3isbbna], .login-btn svg[b-bkz3isbbna] {
            width: 16px;
            height: 16px;
        }
}

/* ===== TEMA OSCURO ===== */
:root[data-theme="dark"] .analyst-dashboard-container[b-bkz3isbbna] {
    background-color: #1a202c;
}

:root[data-theme="dark"] .analyst-dashboard-header[b-bkz3isbbna] {
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(43, 108, 176, 0.3);
}

:root[data-theme="dark"] .header-title h1[b-bkz3isbbna] {
    color: white;
}

:root[data-theme="dark"] .subtitle[b-bkz3isbbna] {
    color: rgba(255, 255, 255, 0.9);
}

:root[data-theme="dark"] .stat-card[b-bkz3isbbna] {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

    :root[data-theme="dark"] .stat-card:hover[b-bkz3isbbna] {
        background: rgba(255, 255, 255, 0.25);
    }

:root[data-theme="dark"] .stat-number[b-bkz3isbbna] {
    color: white;
}

:root[data-theme="dark"] .stat-label[b-bkz3isbbna] {
    color: rgba(255, 255, 255, 0.9);
}

:root[data-theme="dark"] .alert-info[b-bkz3isbbna] {
    background: #1a365d;
    border-left-color: #2b6cb0;
    color: #e2e8f0;
}

:root[data-theme="dark"] .alert-warning[b-bkz3isbbna] {
    background: #744210;
    border-left-color: #d69e2e;
    color: #faf089;
}

:root[data-theme="dark"] .analyst-chart-container[b-bkz3isbbna] {
    background: #2d3748;
    border-color: #4a5568;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

    :root[data-theme="dark"] .analyst-chart-container:hover[b-bkz3isbbna] {
        border-color: #90cdf4;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }

    :root[data-theme="dark"] .analyst-chart-container.full-width[b-bkz3isbbna] {
        background: #2d3748;
        border-color: #4a5568;
    }

:root[data-theme="dark"] .full-width-badge[b-bkz3isbbna] {
    background: #2b6cb0;
    color: white;
}

:root[data-theme="dark"] .spinner[b-bkz3isbbna] {
    border: 4px solid #4a5568;
    border-left: 4px solid #90cdf4;
}

:root[data-theme="dark"] .loading-state[b-bkz3isbbna] {
    color: #a0aec0;
}

:root[data-theme="dark"] .btn-primary[b-bkz3isbbna] {
    background-color: #2b6cb0;
}

    :root[data-theme="dark"] .btn-primary:hover[b-bkz3isbbna] {
        background-color: #2c5282;
        box-shadow: 0 4px 12px rgba(43, 108, 176, 0.4);
    }

:root[data-theme="dark"] .analysis-filters-section[b-bkz3isbbna] {
    background: #1e293b;
    border-color: #334155;
}

:root[data-theme="dark"] .filters-header[b-bkz3isbbna] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-bottom-color: #475569;
}

    :root[data-theme="dark"] .filters-header h3[b-bkz3isbbna] {
        color: #f1f5f9;
    }

:root[data-theme="dark"] .filter-group label[b-bkz3isbbna] {
    color: #e2e8f0;
}

:root[data-theme="dark"] .filter-select[b-bkz3isbbna],
:root[data-theme="dark"] .date-input[b-bkz3isbbna] {
    background: #334155;
    border-color: #475569;
    color: #f1f5f9;
}

    :root[data-theme="dark"] .filter-select:focus[b-bkz3isbbna],
    :root[data-theme="dark"] .date-input:focus[b-bkz3isbbna] {
        border-color: #90cdf4;
        box-shadow: 0 0 0 3px rgba(144, 205, 244, 0.2);
    }

:root[data-theme="dark"] .btn-analysis[b-bkz3isbbna] {
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%);
}

    :root[data-theme="dark"] .btn-analysis:hover[b-bkz3isbbna] {
        background: linear-gradient(135deg, #2c5282 0%, #2a4365 100%);
        box-shadow: 0 8px 20px rgba(43, 108, 176, 0.4);
    }

/* Header Actions Mejorado */
.header-actions[b-bkz3isbbna] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.back-button[b-bkz3isbbna] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    justify-content: center;
    font-weight: 500;
}

    .back-button:hover[b-bkz3isbbna] {
        background: rgba(255, 255, 255, 0.25);
        transform: translateX(-2px);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .back-button svg[b-bkz3isbbna] {
        width: 20px;
        height: 20px;
    }

[data-theme="dark"] .back-button[b-bkz3isbbna] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    [data-theme="dark"] .back-button:hover[b-bkz3isbbna] {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }

/* /Pages/Analyst/MainHomeAnalyst.razor.rz.scp.css */
/* Variables de color futuristas */
:root[b-xpkw8xs5kg] {
    --primary-blue: #7a1e19;
    --secondary-purple: #6a1915;
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --card-bg: rgba(15, 23, 42, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #6e6e6e;
    --glow-color: #7a1e19;
}

/* Container principal */
.admin-home-container[b-xpkw8xs5kg] {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    overflow: hidden;
}

/* Content Wrapper */
.content-wrapper[b-xpkw8xs5kg] {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 3rem 2rem;
}

/* Welcome Section */
.welcome-section[b-xpkw8xs5kg] {
    max-width: 900px;
    text-align: center;
    animation: fade-in-up-b-xpkw8xs5kg 0.8s ease-out;
}

@keyframes fade-in-up-b-xpkw8xs5kg {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.climate-emoji[b-xpkw8xs5kg] {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: float-b-xpkw8xs5kg 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px #7a1e19);
}

@keyframes float-b-xpkw8xs5kg {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.main-title[b-xpkw8xs5kg] {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.subtitle-container[b-xpkw8xs5kg] {
    background: var(--card-bg);
    border: 1px solid #6e6e6e;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px #6e6e6e;
}

.subtitle[b-xpkw8xs5kg] {
    color: #6e6e6e;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
}

    .subtitle strong[b-xpkw8xs5kg] {
        color: var(--primary-blue);
        font-weight: 700;
    }

/* Modo oscuro para el subtitle */
:root[data-theme="dark"] .subtitle[b-xpkw8xs5kg] {
    color: #ffffff;
}

/* Features Grid */
.features-grid[b-xpkw8xs5kg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card[b-xpkw8xs5kg] {
    background: var(--card-bg);
    border: 1px solid #999999;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: default;
}

    .feature-card:hover[b-xpkw8xs5kg] {
        transform: translateY(-5px);
        border-color: #7a1e19;
        box-shadow: 0 10px 30px #7a1e19;
    }

/* ICONOS CARDS CORREGIDOS */
.feature-icon[b-xpkw8xs5kg] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

    .feature-icon svg[b-xpkw8xs5kg] {
        width: 2.5rem;
        height: 2.5rem;
        fill: none;
        stroke: #7a1e19; /* color normal */
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        shape-rendering: geometricPrecision;
        transition: all 0.3s ease;
    }

.feature-card:hover .feature-icon svg[b-xpkw8xs5kg] {
    stroke: #6a1915; /* color hover */
    transform: scale(1.1);
}

.feature-card h3[b-xpkw8xs5kg] {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-card p[b-xpkw8xs5kg] {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Botones */
.start-button[b-xpkw8xs5kg],
.additional-section .section-button[b-xpkw8xs5kg] {
    position: relative;
    background: linear-gradient(135deg, #7a1e19, #6a1915);
    border: none;
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(122,30,25,0.4);
}

    .start-button[b-xpkw8xs5kg]::before,
    .additional-section .section-button[b-xpkw8xs5kg]::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.6s;
    }

    .start-button:hover[b-xpkw8xs5kg]::before,
    .additional-section .section-button:hover[b-xpkw8xs5kg]::before {
        left: 100%;
    }

    .start-button:hover[b-xpkw8xs5kg],
    .additional-section .section-button:hover[b-xpkw8xs5kg] {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 12px 40px #6a1915;
    }

    .start-button:active[b-xpkw8xs5kg],
    .additional-section .section-button:active[b-xpkw8xs5kg] {
        transform: translateY(-1px) scale(1.02);
    }

.button-text[b-xpkw8xs5kg],
.button-icon[b-xpkw8xs5kg] {
    position: relative;
    z-index: 1;
}

.button-icon[b-xpkw8xs5kg] {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.start-button:hover .button-icon[b-xpkw8xs5kg],
.additional-section .section-button:hover .button-icon[b-xpkw8xs5kg] {
    transform: translateX(5px);
}

.button-glow[b-xpkw8xs5kg] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #7a1e19 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.start-button:hover .button-glow[b-xpkw8xs5kg],
.additional-section .section-button:hover .button-glow[b-xpkw8xs5kg] {
    opacity: 1;
    animation: glow-pulse-b-xpkw8xs5kg 1.5s ease-in-out infinite;
}

@keyframes glow-pulse-b-xpkw8xs5kg {
    0%,100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Additional Sections */
.additional-section[b-xpkw8xs5kg] {
    background: var(--card-bg);
    border: 1px solid #999999;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
    cursor: default;
}

    .additional-section:hover[b-xpkw8xs5kg] {
        transform: translateY(-3px);
        border-color: var(--primary-blue);
        box-shadow: 0 10px 30px #6a1915;
    }

    .additional-section .section-icon svg[b-xpkw8xs5kg] {
        width: 2.5rem;
        height: 2.5rem;
        fill: none;
        stroke: #7a1e19;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        shape-rendering: geometricPrecision;
        transition: all 0.3s ease;
    }

    .additional-section:hover .section-icon svg[b-xpkw8xs5kg] {
        stroke: #6a1915;
        transform: scale(1.1);
    }

/* Section Header & Description */
.section-header[b-xpkw8xs5kg] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .section-header h3[b-xpkw8xs5kg] {
        color: var(--text-primary);
        font-size: 1.3rem;
        margin: 0;
        font-weight: 600;
    }

.section-description[b-xpkw8xs5kg] {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title[b-xpkw8xs5kg] {
        font-size: 2.5rem;
    }

    .subtitle[b-xpkw8xs5kg] {
        font-size: 1rem;
    }

    .features-grid[b-xpkw8xs5kg] {
        grid-template-columns: 1fr;
    }

    .start-button[b-xpkw8xs5kg], .additional-section .section-button[b-xpkw8xs5kg] {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .climate-emoji[b-xpkw8xs5kg] {
        font-size: 4rem;
    }

    .additional-section[b-xpkw8xs5kg] {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .section-header[b-xpkw8xs5kg] {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* AdditionalSection.razor.css - Solo estilos para modo oscuro */

/* MODO OSCURO - AdditionalSection */
:root[data-theme="dark"] .additional-section[b-xpkw8xs5kg] {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid #4a5568;
    backdrop-filter: blur(10px);
}

    :root[data-theme="dark"] .additional-section:hover[b-xpkw8xs5kg] {
        border-color: #90cdf4;
        box-shadow: 0 10px 30px rgba(144, 205, 244, 0.3);
    }

    :root[data-theme="dark"] .additional-section .section-icon svg[b-xpkw8xs5kg] {
        stroke: #90cdf4;
    }

    :root[data-theme="dark"] .additional-section:hover .section-icon svg[b-xpkw8xs5kg] {
        stroke: #63b3ed;
        transform: scale(1.1);
    }

    :root[data-theme="dark"] .additional-section .section-button[b-xpkw8xs5kg] {
        background: linear-gradient(135deg, #2b6cb0, #2c5282);
        box-shadow: 0 8px 30px rgba(43, 108, 176, 0.4);
    }

        :root[data-theme="dark"] .additional-section .section-button:hover[b-xpkw8xs5kg] {
            box-shadow: 0 12px 40px rgba(43, 108, 176, 0.6);
        }

/* MODO OSCURO - FeatureCard */
:root[data-theme="dark"] .feature-card[b-xpkw8xs5kg] {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid #4a5568;
    backdrop-filter: blur(10px);
}

    :root[data-theme="dark"] .feature-card:hover[b-xpkw8xs5kg] {
        border-color: #90cdf4;
        box-shadow: 0 10px 30px rgba(144, 205, 244, 0.3);
    }

:root[data-theme="dark"] .feature-icon svg[b-xpkw8xs5kg] {
    stroke: #90cdf4;
}

:root[data-theme="dark"] .feature-card:hover .feature-icon svg[b-xpkw8xs5kg] {
    stroke: #63b3ed;
    transform: scale(1.1);
}

/* MODO OSCURO - Icon colors y blur */
:root[data-theme="dark"] .admin-home-container[b-xpkw8xs5kg] {
    background: linear-gradient(135deg, #0a0e27 0%, #1a202c 100%);
}

:root[data-theme="dark"] .subtitle-container[b-xpkw8xs5kg] {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid #4a5568;
    backdrop-filter: blur(10px);
}

:root[data-theme="dark"] .climate-emoji[b-xpkw8xs5kg] {
    filter: drop-shadow(0 0 30px #90cdf4);
}

:root[data-theme="dark"] .subtitle strong[b-xpkw8xs5kg] {
    color: #90cdf4;
}
/* AdditionalSection.razor.css - Corrección hover botones modo oscuro */

/* MODO OSCURO - AdditionalSection Botones */
:root[data-theme="dark"] .additional-section .section-button:hover[b-xpkw8xs5kg] {
    background: linear-gradient(135deg, #2c5282, #2b6cb0);
    box-shadow: 0 12px 40px rgba(43, 108, 176, 0.6);
    border-color: #90cdf4;
}

    :root[data-theme="dark"] .additional-section .section-button:hover[b-xpkw8xs5kg]::before {
        background: linear-gradient(90deg, transparent, rgba(144, 205, 244, 0.3), transparent);
    }

    :root[data-theme="dark"] .additional-section .section-button:hover .button-glow[b-xpkw8xs5kg] {
        background: radial-gradient(circle, #2b6cb0 0%, transparent 70%);
    }
/* /Pages/Home.razor.rz.scp.css */
/* Home.razor.css - Estilos específicos para la página Home */

/* =========================================
   HOME DASHBOARD - ESTILOS MEJORADOS
   ========================================= */

.dashboard-container[b-6zladpnh3q] {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 2rem;
    max-width: 1800px;
    margin: 0 auto;
}

.dashboard-header[b-6zladpnh3q] {
    text-align: center;
    margin-bottom: 32px;
}

.dashboard-title[b-6zladpnh3q] {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.subtitle[b-6zladpnh3q] {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

/* 🔥 GRID INTELIGENTE DE 3 COLUMNAS - MEJORADO */
.dashboard-grid[b-6zladpnh3q] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
    width: 100%;
}

/* =========================================
   TIPOS DE CONTENEDORES DE GRÁFICOS
   ========================================= */

/* Gráfico estándar (ocupa 1 celda) */
.chart-container.standard-chart[b-6zladpnh3q] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

/* Tarjetas de últimas variables (más compactas) */
.chart-container.latest-variables-card[b-6zladpnh3q] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

/* Gráfico de ancho completo (ocupa todas las columnas) */
.chart-container.full-width[b-6zladpnh3q] {
    grid-column: 1 / -1;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: slideInFullWidth-b-6zladpnh3q 0.5s ease-out;
    min-height: 420px;
}

/* Efectos hover para todos los tipos */
.chart-container:hover[b-6zladpnh3q] {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.chart-container.full-width:hover[b-6zladpnh3q] {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

@keyframes slideInFullWidth-b-6zladpnh3q {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Indicador visual de ancho completo */
.full-width-badge[b-6zladpnh3q] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #64748b;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* =========================================
   ESTILOS ESPECÍFICOS PARA EL MAPA - CORREGIDOS
   ========================================= */

/* Contenedor principal del mapa */
.map-card[b-6zladpnh3q] {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    background: white;
    grid-column: 1 / -1;
}

    .map-card .card-header[b-6zladpnh3q] {
        border: none;
        padding: 1.5rem;
        background: white !important;
        color: #1e293b;
        border-bottom: 1px solid #e2e8f0;
    }

        .map-card .card-header h3[b-6zladpnh3q] {
            margin: 0;
            font-weight: 600;
            color: #1e293b;
        }

/* CONTENEDOR DEL MAPA - ESTILOS CRÍTICOS CORREGIDOS */
.map-container[b-6zladpnh3q] {
    height: 500px;
    width: 100%;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

/* Estados de carga del mapa */
.map-loading[b-6zladpnh3q] {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    border-radius: 0 0 16px 16px;
}

/* ESTILOS DE LEAFLET - ESENCIALES PARA QUE FUNCIONE */
.map-container .leaflet-container[b-6zladpnh3q] {
    height: 100% !important;
    width: 100% !important;
    border-radius: 0 0 16px 16px;
    font-family: inherit;
}

/* Corregir iconos de marcadores */
.map-container .leaflet-marker-icon[b-6zladpnh3q] {
    margin-left: -12px !important;
    margin-top: -41px !important;
}

.map-container .leaflet-popup-content-wrapper[b-6zladpnh3q] {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.map-container .leaflet-popup-content[b-6zladpnh3q] {
    margin: 12px 16px;
    font-family: inherit;
}

.map-container .leaflet-control-zoom a[b-6zladpnh3q] {
    border-radius: 4px !important;
    color: #333 !important;
    font-weight: bold;
}

/* Estados de carga */
.loading-state[b-6zladpnh3q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #64748b;
    grid-column: 1 / -1;
}

.spinner[b-6zladpnh3q] {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin-b-6zladpnh3q 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-6zladpnh3q {
    to {
        transform: rotate(360deg);
    }
}

/* Alertas */
.alert[b-6zladpnh3q] {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    grid-column: 1 / -1;
}

.alert-info[b-6zladpnh3q] {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.alert-warning[b-6zladpnh3q] {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

/* =========================================
   RESPONSIVE DESIGN - MEJORADO
   ========================================= */

/* Desktop grande - Hasta 4 columnas cuando hay espacio */
@media (min-width: 1920px) {
    .dashboard-grid[b-6zladpnh3q] {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
}

/* Desktop estándar - 3 columnas */
@media (max-width: 1600px) {
    .dashboard-container[b-6zladpnh3q] {
        padding: 1.5rem;
    }

    .dashboard-grid[b-6zladpnh3q] {
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
        gap: 1.25rem;
    }
}

/* Tablets grandes - 2 columnas */
@media (max-width: 1200px) {
    .dashboard-grid[b-6zladpnh3q] {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 1rem;
    }

    .chart-container.standard-chart[b-6zladpnh3q] {
        min-height: 300px;
    }

    .chart-container.latest-variables-card[b-6zladpnh3q] {
        min-height: 260px;
    }
}

/* Tablets - 2 columnas más compactas */
@media (max-width: 992px) {
    .dashboard-grid[b-6zladpnh3q] {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .chart-container.standard-chart[b-6zladpnh3q],
    .chart-container.latest-variables-card[b-6zladpnh3q] {
        min-height: 280px;
    }

    .chart-container.full-width[b-6zladpnh3q] {
        min-height: 380px;
    }
}

/* Tablets pequeñas y móviles grandes - 1 columna */
@media (max-width: 768px) {
    .dashboard-container[b-6zladpnh3q] {
        padding: 1rem;
    }

    .dashboard-grid[b-6zladpnh3q] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .chart-container.standard-chart[b-6zladpnh3q] {
        min-height: 320px;
    }

    .chart-container.latest-variables-card[b-6zladpnh3q] {
        min-height: 280px;
    }

    .chart-container.full-width[b-6zladpnh3q] {
        min-height: 350px;
    }

    .full-width-badge[b-6zladpnh3q] {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 1rem;
        display: inline-block;
    }

    /* Mapa en móviles */
    .map-container[b-6zladpnh3q] {
        height: 350px;
    }

    .map-loading[b-6zladpnh3q] {
        height: 350px;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .dashboard-title[b-6zladpnh3q] {
        font-size: 1.5rem;
    }

    .dashboard-grid[b-6zladpnh3q] {
        gap: 0.75rem;
    }

    .chart-container[b-6zladpnh3q] {
        border-radius: 8px;
        min-height: 300px;
    }

        .chart-container.latest-variables-card[b-6zladpnh3q] {
            min-height: 260px;
        }

    .dashboard-container[b-6zladpnh3q] {
        padding: 0.75rem;
    }

    /* Mapa en móviles pequeños */
    .map-container[b-6zladpnh3q] {
        height: 300px;
    }

    .map-loading[b-6zladpnh3q] {
        height: 300px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
    .dashboard-grid[b-6zladpnh3q] {
        grid-template-columns: 1fr;
    }

    .chart-container.standard-chart[b-6zladpnh3q],
    .chart-container.latest-variables-card[b-6zladpnh3q] {
        min-height: 280px;
    }

    .dashboard-container[b-6zladpnh3q] {
        padding: 0.5rem;
    }
}

/* =========================================
   DARK MODE SUPPORT - CORREGIDO
   ========================================= */

[data-theme="dark"] .dashboard-container[b-6zladpnh3q] {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .dashboard-title[b-6zladpnh3q] {
    color: #f1f5f9;
}

[data-theme="dark"] .subtitle[b-6zladpnh3q] {
    color: #cbd5e1;
}

[data-theme="dark"] .chart-container.standard-chart[b-6zladpnh3q],
[data-theme="dark"] .chart-container.latest-variables-card[b-6zladpnh3q] {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .chart-container.full-width[b-6zladpnh3q] {
    background: #1e293b;
    border-color: #475569;
}

[data-theme="dark"] .full-width-badge[b-6zladpnh3q] {
    background: #475569;
}

[data-theme="dark"] .map-card[b-6zladpnh3q] {
    background: #1e293b;
}

    [data-theme="dark"] .map-card .card-header[b-6zladpnh3q] {
        background: #1e293b !important;
        color: #f1f5f9;
        border-bottom: 1px solid #334155;
    }

        [data-theme="dark"] .map-card .card-header h3[b-6zladpnh3q] {
            color: #f1f5f9;
        }

/* Dark mode para el mapa */
[data-theme="dark"] .map-container[b-6zladpnh3q] {
    background: #0f172a;
}

[data-theme="dark"] .map-loading[b-6zladpnh3q] {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #cbd5e1;
}

/* Estilos para tiles de mapa en dark mode */
[data-theme="dark"] .map-container .leaflet-container[b-6zladpnh3q] {
    background: #1e293b;
}

[data-theme="dark"] .alert-info[b-6zladpnh3q] {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #dbeafe;
}

[data-theme="dark"] .alert-warning[b-6zladpnh3q] {
    background: linear-gradient(135deg, #92400e 0%, #b45309 100%);
    color: #fef3c7;
}

/* Asegurar que el grid funcione correctamente */
.dashboard-grid[b-6zladpnh3q] {
    width: 100%;
}

/* Estilos para el componente ChartContainer dentro del home */
.chart-container[b-6zladpnh3q]  .chart-card {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Asegurar que el contenido del gráfico ocupe todo el espacio */
.chart-container[b-6zladpnh3q]  .chart-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Transiciones suaves */
.chart-container[b-6zladpnh3q] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mejora para textos en estados de carga en dark mode */
[data-theme="dark"] .loading-state[b-6zladpnh3q] {
    color: #cbd5e1;
}

[data-theme="dark"] .spinner[b-6zladpnh3q] {
    border: 4px solid #334155;
    border-left: 4px solid #60a5fa;
}

/* Header con título y buscador en una columna centrada */
.dashboard-header-row[b-6zladpnh3q] {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 32px !important;
    gap: 0.5rem !important;
    width: 100% !important;
}

.title-section[b-6zladpnh3q] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}

.dashboard-label[b-6zladpnh3q] {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
}

.dashboard-title[b-6zladpnh3q] {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.header-seeker[b-6zladpnh3q] {
    width: 100% !important;
    max-width: 600px !important;
    min-width: 300px !important;
}

.subtitle[b-6zladpnh3q] {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}
/* =========================================
   HEADER MEJORADO - DISEÑO PROFESIONAL
   ========================================= */

.dashboard-header-container[b-6zladpnh3q] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(10px);
}

.dashboard-header-content[b-6zladpnh3q] {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.header-title-section[b-6zladpnh3q] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    min-width: 280px;
}

.dashboard-main-title[b-6zladpnh3q] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #7a1e19; /* Color específico para modo claro */
    white-space: nowrap;
    letter-spacing: -0.025em;
    position: relative;
}

.title-divider[b-6zladpnh3q] {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, #e2e8f0 20%, #e2e8f0 80%, transparent 100%);
    border-radius: 1px;
    flex-shrink: 0;
}

.header-search-section[b-6zladpnh3q] {
    flex: 1;
    min-width: 0;
    max-width: 600px;
}

/* Efectos hover para el contenedor principal */
.dashboard-header-container:hover[b-6zladpnh3q] {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* =========================================
   ANIMACIONES Y MEJORAS VISUALES - CORREGIDAS
   ========================================= */

.dashboard-header-container[b-6zladpnh3q] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-main-title[b-6zladpnh3q] {
    position: relative;
    padding-right: 0.5rem;
}

    .dashboard-main-title[b-6zladpnh3q]::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: #7a1e19; /* Mismo color que el texto para modo claro */
        transition: width 0.3s ease;
        border-radius: 1px;
    }

.dashboard-header-container:hover .dashboard-main-title[b-6zladpnh3q]::after {
    width: 100%;
}

/* =========================================
   DARK MODE PARA EL HEADER (MANTENIENDO LO ANTERIOR)
   ========================================= */

[data-theme="dark"] .dashboard-header-container[b-6zladpnh3q] {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .dashboard-main-title[b-6zladpnh3q] {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback para navegadores que no soportan gradient text */
}

[data-theme="dark"] .title-divider[b-6zladpnh3q] {
    background: linear-gradient(180deg, transparent 0%, #475569 20%, #475569 80%, transparent 100%);
}

[data-theme="dark"] .dashboard-header-container:hover[b-6zladpnh3q] {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .dashboard-main-title[b-6zladpnh3q]::after {
    background: linear-gradient(90deg, #60a5fa, #3b82f6); /* Gradiente azul para dark mode */
}

/* =========================================
   RESPONSIVE DESIGN PARA EL HEADER
   ========================================= */

/* Tablets */
@media (max-width: 1024px) {
    .dashboard-header-content[b-6zladpnh3q] {
        gap: 1.5rem;
    }

    .header-title-section[b-6zladpnh3q] {
        min-width: 240px;
    }

    .dashboard-main-title[b-6zladpnh3q] {
        font-size: 1.5rem;
    }
}

/* Tablets pequeñas */
@media (max-width: 768px) {
    .dashboard-header-container[b-6zladpnh3q] {
        padding: 1.25rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .dashboard-header-content[b-6zladpnh3q] {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .header-title-section[b-6zladpnh3q] {
        min-width: auto;
        justify-content: center;
        gap: 1rem;
    }

    .dashboard-main-title[b-6zladpnh3q] {
        font-size: 1.375rem;
        text-align: center;
    }

    .title-divider[b-6zladpnh3q] {
        height: 2px;
        width: 60px;
        background: linear-gradient(90deg, transparent 0%, #e2e8f0 20%, #e2e8f0 80%, transparent 100%);
    }

    .header-search-section[b-6zladpnh3q] {
        max-width: none;
    }
}

/* Para el modo oscuro en diseño móvil */
@media (max-width: 768px) and [data-theme="dark"] {
    .title-divider[b-6zladpnh3q] {
        background: linear-gradient(90deg, transparent 0%, #475569 20%, #475569 80%, transparent 100%);
    }
}

/* Móviles */
@media (max-width: 480px) {
    .dashboard-header-container[b-6zladpnh3q] {
        padding: 1rem 1.25rem;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .dashboard-main-title[b-6zladpnh3q] {
        font-size: 1.25rem;
    }

    .header-title-section[b-6zladpnh3q] {
        gap: 0.75rem;
    }

    .title-divider[b-6zladpnh3q] {
        width: 40px;
    }
}

/* Mejora para el componente Seeker dentro del header */
.header-search-section[b-6zladpnh3q]  .seeker-container {
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    transition: all 0.3s ease;
}

    .header-search-section[b-6zladpnh3q]  .seeker-container:focus-within {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

[data-theme="dark"] .header-search-section[b-6zladpnh3q]  .seeker-container {
    border-color: #475569;
}

    [data-theme="dark"] .header-search-section[b-6zladpnh3q]  .seeker-container:focus-within {
        border-color: #60a5fa;
        box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
    }
/* /Pages/Login.razor.rz.scp.css */
/* Login.razor.css - Solo estilos del botón para modo claro y oscuro */

.btn-login[b-z00tgmp3qq] {
    width: 100%;
    background-color: #7a1e19;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

    .btn-login:hover:not(:disabled)[b-z00tgmp3qq] {
        background-color: #5c1511;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.4);
    }

    .btn-login:disabled[b-z00tgmp3qq] {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

/* MODO OSCURO - Botón login */
:root[data-theme="dark"] .btn-login[b-z00tgmp3qq] {
    background-color: #2b6cb0;
}

    :root[data-theme="dark"] .btn-login:hover:not(:disabled)[b-z00tgmp3qq] {
        background-color: #2c5282;
        box-shadow: 0 4px 12px rgba(43, 108, 176, 0.4);
    }

.spinner[b-z00tgmp3qq] {
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin-b-z00tgmp3qq 1s linear infinite;
}

@keyframes spin-b-z00tgmp3qq {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Placeholder específico para login */
.login-logo .logo-placeholder[b-z00tgmp3qq] {
    width: 200px;
    height: 80px;
    background: linear-gradient(135deg, #7a1e19, #9d2b25);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(122, 30, 25, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .login-logo .logo-placeholder:hover[b-z00tgmp3qq] {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(122, 30, 25, 0.3);
    }

/* Tema oscuro para placeholder del login */
:root[data-theme="dark"] .login-logo .logo-placeholder[b-z00tgmp3qq] {
    background: linear-gradient(135deg, #2b6cb0, #4299e1);
    border-color: #4b5563;
    box-shadow: 0 2px 8px rgba(43, 108, 176, 0.3);
}
