/* ========== DARK MODE STYLES ========== */
:root {
    --light-bg: #ffffff;
    --light-text: #212529;
    --light-card-bg: #ffffff;
    --light-border: #dee2e6;
    --dark-bg: #0d0d0d;
    --dark-text: #ffffff;
    --dark-card-bg: #1a1a1a;
    --dark-border: #2d2d2d;
    --gradient-1: #ff00c8;
    --gradient-2: cyan;
}

/* Light Mode */
body.light-mode {
    background-color: var(--light-bg);
    color: var(--light-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode .card {
    background-color: var(--light-card-bg);
    color: var(--light-text);
    border-color: var(--light-border);
}

body.light-mode footer {
    background-color: #f8f9fa !important;
    color: var(--light-text);
    border-top-color: var(--light-border);
}

body.light-mode .table {
    color: var(--light-text);
}

body.light-mode .modal-content {
    background-color: var(--light-card-bg);
    color: var(--light-text);
}

/* Dark Mode */
body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--dark-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode .card {
    background-color: var(--dark-card-bg);
    color: var(--dark-text);
    border-color: var(--dark-border);
}

body.dark-mode .card-header {
    background-color: #2d2d2d !important;
    border-bottom-color: var(--dark-border) !important;
    color: var(--dark-text) !important;
}

/* Mantener colores de headers específicos en dark mode */
body.dark-mode .card-header.bg-primary {
    background-color: #0d6efd !important;
    color: #ffffff !important;
}

body.dark-mode .card-header.bg-warning {
    background-color: #ffc107 !important;
    color: #000000 !important;
}

body.dark-mode .card-header.bg-success {
    background-color: #198754 !important;
    color: #ffffff !important;
}

body.dark-mode .card-header.bg-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

body.dark-mode .card-header.bg-info {
    background-color: #0dcaf0 !important;
    color: #000000 !important;
}

body.dark-mode footer {
    background-color: #1a1a1a !important;
    color: var(--dark-text) !important;
    border-top-color: var(--dark-border);
}

body.dark-mode .text-muted {
    color: #b0b0b0 !important;
}

body.dark-mode .table {
    color: var(--dark-text);
}

body.dark-mode .table thead {
    background-color: #2d2d2d;
}

body.dark-mode .modal-content {
    background-color: var(--dark-card-bg);
    color: var(--dark-text);
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #2d2d2d;
    color: var(--dark-text);
    border-color: var(--dark-border);
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    background-color: #2d2d2d;
    color: var(--dark-text);
}

/* Placeholders en dark mode - hacerlos visibles con todos los prefijos de navegador */
body.dark-mode .form-control::placeholder,
body.dark-mode .form-select::placeholder,
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #b0b0b0 !important;
    opacity: 1 !important;
}

body.dark-mode .form-control::-webkit-input-placeholder,
body.dark-mode .form-select::-webkit-input-placeholder,
body.dark-mode input::-webkit-input-placeholder,
body.dark-mode textarea::-webkit-input-placeholder {
    color: #b0b0b0 !important;
    opacity: 1 !important;
}

body.dark-mode .form-control::-moz-placeholder,
body.dark-mode .form-select::-moz-placeholder,
body.dark-mode input::-moz-placeholder,
body.dark-mode textarea::-moz-placeholder {
    color: #b0b0b0 !important;
    opacity: 1 !important;
}

body.dark-mode .form-control:-ms-input-placeholder,
body.dark-mode .form-select:-ms-input-placeholder,
body.dark-mode input:-ms-input-placeholder,
body.dark-mode textarea:-ms-input-placeholder {
    color: #b0b0b0 !important;
    opacity: 1 !important;
}

body.dark-mode .form-control::-ms-input-placeholder,
body.dark-mode .form-select::-ms-input-placeholder,
body.dark-mode input::-ms-input-placeholder,
body.dark-mode textarea::-ms-input-placeholder {
    color: #b0b0b0 !important;
    opacity: 1 !important;
}

/* Títulos principales en dark mode */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: var(--dark-text) !important;
}

/* Labels en dark mode */
body.dark-mode .form-label,
body.dark-mode label {
    color: #e0e0e0 !important;
}

/* Textos de ayuda (form-text) en dark mode */
body.dark-mode .form-text {
    color: #b0b0b0 !important;
}

/* Text en inputs en dark mode */
body.dark-mode .input-group-text {
    background-color: #2d2d2d;
    color: var(--dark-text);
    border-color: var(--dark-border);
}

/* Card footer en dark mode */
body.dark-mode .card-footer {
    background-color: #2d2d2d !important;
    border-top-color: var(--dark-border) !important;
}

body.dark-mode .card-footer.bg-light {
    background-color: #2d2d2d !important;
}

body.dark-mode .bg-light {
    background-color: #2d2d2d !important;
}

/* Textos pequeños en dark mode */
body.dark-mode .small,
body.dark-mode small {
    color: #b0b0b0 !important;
}

body.dark-mode .navbar.bg-dark-custom {
    background-color: #1a1a1a !important;
}

body.dark-mode .alert {
    background-color: #2d2d2d;
    color: var(--dark-text);
    border-color: var(--dark-border);
}

/* Ajustar títulos y textos específicos en dark mode */
body.dark-mode .dashboardCardTitle_t4k7s,
body.dark-mode .dashboardCardValue_v2h5n,
body.dark-mode .dashboardChartTitle_n8k4l,
body.dark-mode .dashboardTableTitle_t4k7s,
body.dark-mode .salesTitle_t4k7s,
body.dark-mode .stockTitle_t4k7s,
body.dark-mode .productsTitle_t4k7s,
body.dark-mode .monthlySalesTitle_t4k7s,
body.dark-mode .earningsTitle_t4k7s,
body.dark-mode .investmentTitle_t4k7s {
    color: var(--dark-text) !important;
}

body.dark-mode .stockHeader_f6j9d,
body.dark-mode .salesHeader_f6j9d,
body.dark-mode .productsHeader_f6j9d,
body.dark-mode .monthlySalesHeader_f6j9d,
body.dark-mode .earningsHeader_f6j9d,
body.dark-mode .investmentHeader_f6j9d,
body.dark-mode .dashboardChartHeader_v9f2c,
body.dark-mode .dashboardTableHeader_p3q8r {
    background-color: #2d2d2d !important;
    border-bottom-color: var(--dark-border);
}

body.dark-mode .stockThead_v9f2c,
body.dark-mode .salesThead_v9f2c,
body.dark-mode .productsThead_v9f2c,
body.dark-mode .monthlySalesThead_v9f2c,
body.dark-mode .earningsThead_v9f2c,
body.dark-mode .investmentThead_v9f2c,
body.dark-mode .dashboardTableThead_v9f2c {
    background-color: #2d2d2d !important;
}

body.dark-mode .stockTr_l3p9o:hover,
body.dark-mode .salesTr_l3p9o:hover,
body.dark-mode .productsTr_l3p9o:hover,
body.dark-mode .monthlySalesTr_l3p9o:hover,
body.dark-mode .earningsTr_l3p9o:hover,
body.dark-mode .investmentTr_l3p9o:hover,
body.dark-mode .dashboardTableTr_l3p9o:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode .dashboardContainer_y8p3q {
    background-color: var(--dark-bg);
}

/* Select2 en dark mode */
body.dark-mode .select2-container--classic .select2-selection--single {
    background-color: #2d2d2d;
    border-color: var(--dark-border);
    color: var(--dark-text);
}

body.dark-mode .select2-container--classic .select2-results__option {
    background-color: #2d2d2d;
    color: var(--dark-text);
}

body.dark-mode .select2-container--classic .select2-results__option--highlighted {
    background-color: #3d3d3d;
}

/* DataTables en dark mode */
body.dark-mode .dataTables_wrapper {
    color: var(--dark-text);
}

body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: var(--dark-text) !important;
}

body.dark-mode .dataTables_wrapper .dataTables_info {
    color: var(--dark-text);
}

/* ========== CARD ANIMATIONS ========== */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150%;
    background-image: linear-gradient(180deg, var(--gradient-1), var(--gradient-2));
    animation: rotate-border 4s linear infinite;
    transition: all 0.3s linear;
    opacity: 0;
    z-index: 0;
}

.card:hover::before {
    opacity: 1;
}

.card::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--light-card-bg);
    border-radius: 17px;
    z-index: 1;
}

body.dark-mode .card::after {
    background: var(--dark-card-bg);
}

.card > * {
    position: relative;
    z-index: 2;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes rotate-border {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ========== BASE STYLES ========== */
html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    /* Hace que el contenido principal ocupe el espacio disponible */
}

footer {
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-top: 2px solid #dee2e6;
    font-weight: bold;
    font-size: 14px;
    /* Se ajusta bien en móviles */
}

/* Estilos para la barra de progreso del login */
.login_x7f3p_loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 30px;
    margin: 20px 0;
    display: none;
    /* Oculto inicialmente */
}

.login_x7f3p_dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #3498db;
            opacity: 0.3;
            animation: login_x7f3p_pulse 1.5s infinite ease-in-out;
        }

        .login_x7f3p_dot:nth-child(1) {
            animation-delay: 0s;
        }

        .login_x7f3p_dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .login_x7f3p_dot:nth-child(3) {
            animation-delay: 0.4s;
        }

        .login_x7f3p_dot:nth-child(4) {
            animation-delay: 0.6s;
        }

        .login_x7f3p_dot:nth-child(5) {
            animation-delay: 0.8s;
        }
        /* Estilos personalizados randomizados */
.stockCard_r7m2n {
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

.stockHeader_f6j9d {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

.stockTitle_t4k7s {
    font-size: 1.1rem;
    font-weight: 600;
    color: #344767;
    margin-bottom: 0;
}

.stockBadge_p3q8r {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    border-radius: 0.25rem;
}

.stockTable_s4d9f {
    max-height: 500px;
    overflow-y: auto;
}

.stockTableMain_j7g3k {
    margin-bottom: 0;
}

.stockThead_v9f2c {
    background-color: #f6f9fc;
}

.stockTh_n8k4l {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
}

.stockTbody_q1j7m tr:not(:last-child) {
    border-bottom: 1px solid #f0f2f5;
}

.stockTr_l3p9o:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.stockTd_k8j2w {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.stockQuantity_b4j7k {
    min-width: 40px;
    font-size: 0.7rem;
    padding: 0.35em 0.65em;
}

.stockBtn_q5j9p {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.stockEmpty_d8j3k {
    padding: 2rem !important;
}

.stockEmptyText_r4t9m {
    color: #6c757d;
    font-size: 0.85rem;
}

.stockBackBtn_h3j8k {
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .stockTable_s4d9f {
        max-height: none;
        overflow-x: auto;
        display: block;
        width: 100%;
        -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
    }
    
    .stockTh_n8k4l, 
    .stockTd_k8j2w {
        padding: 0.75rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .stockBtn_q5j9p {
        font-size: 0.6rem;
    }
    
    .stockTitle_t4k7s {
        font-size: 1rem;
    }
}

        @keyframes login_x7f3p_pulse {

            0%,
            100% {
                opacity: 0.3;
                transform: scale(0.8);
            }

            50% {
                opacity: 1;
                transform: scale(1.1);
            }
        }

        @media (min-width: 768px) {
            footer {
                font-size: 16px;
                /* Aumenta el tamaño del texto en pantallas más grandes */
                padding: 20px;
            }
        }
/* Estilos personalizados randomizados para ventas */
.salesCard_r7m2n {
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

.salesHeader_f6j9d {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

.salesTitle_t4k7s {
    font-size: 1.1rem;
    font-weight: 600;
    color: #344767;
    margin-bottom: 0;
}

.salesBadge_p3q8r {
    font-size: 0.75rem;
    padding: 0.5em 0.75em;
    border-radius: 0.25rem;
}

.salesTable_s4d9f {
    max-height: 600px;
    overflow-y: auto;
}

.salesTableMain_j7g3k {
    margin-bottom: 0;
}

.salesThead_v9f2c {
    background-color: #f6f9fc;
    position: sticky;
    top: 0;
    z-index: 1;
}

.salesTh_n8k4l {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
    white-space: nowrap;
}

.salesTbody_q1j7m tr:not(:last-child) {
    border-bottom: 1px solid #f0f2f5;
}

.salesTr_l3p9o:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.salesTd_k8j2w {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.salesBtn_q5j9p {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    min-width: 90px;
}

.salesDetail_f7k2n {
    background-color: #f8fafc !important;
}

.salesDetailTable_h3j8k {
    background-color: white;
    border-radius: 0.25rem;
}

.salesDetailTh_k3j9l {
    background-color: #f1f5f9;
    font-weight: 600 !important;
}

.salesDetailTd_j8k2l {
    padding: 0.5rem 0.75rem !important;
}

.salesEmpty_d8j3k {
    padding: 2rem !important;
}

.salesEmptyText_r4t9m {
    color: #6c757d;
    font-size: 0.85rem;
}

.salesBackBtn_h3j8k {
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .salesTable_s4d9f {
        max-height: none;
        overflow-x: auto;
        display: block;
        width: 100%;
        -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
    }
    
    .salesTh_n8k4l, 
    .salesTd_k8j2w {
        padding: 0.75rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .salesBtn_q5j9p {
        font-size: 0.6rem;
        min-width: 80px;
    }
    
    .salesTitle_t4k7s {
        font-size: 1rem;
    }
    
    .salesStats_g5h3k {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .salesBadge_p3q8r {
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }
}
/* Estilos personalizados randomizados para productos */
.productsCard_r7m2n {
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

.productsHeader_f6j9d {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

.productsTitle_t4k7s {
    font-size: 1.1rem;
    font-weight: 600;
    color: #344767;
    margin-bottom: 0;
}

.productsBadge_p3q8r {
    font-size: 0.75rem;
    padding: 0.5em 0.75em;
    border-radius: 0.25rem;
}

.productsTable_s4d9f {
    max-height: 600px;
    overflow-y: auto;
}

.productsTableMain_j7g3k {
    margin-bottom: 0;
}

.productsThead_v9f2c {
    background-color: #f6f9fc;
    position: sticky;
    top: 0;
    z-index: 1;
}

.productsTh_n8k4l {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
    white-space: nowrap;
}

.productsTbody_q1j7m tr:not(:last-child) {
    border-bottom: 1px solid #f0f2f5;
}

.productsTr_l3p9o:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.productsTd_k8j2w {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.productsStock_b4j7k {
    min-width: 40px;
    font-size: 0.7rem;
    padding: 0.35em 0.65em;
}

.productsEmpty_d8j3k {
    padding: 2rem !important;
}

.productsEmptyText_r4t9m {
    color: #6c757d;
    font-size: 0.85rem;
}

.productsBackBtn_h3j8k {
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .productsTable_s4d9f {
        max-height: none;
        overflow-x: auto;
        display: block;
        width: 100%;
        -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
    }
    
    .productsTh_n8k4l, 
    .productsTd_k8j2w {
        padding: 0.75rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .productsTitle_t4k7s {
        font-size: 1rem;
    }
    
    .productsStats_g5h3k {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .productsBadge_p3q8r {
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }
}

@media (max-width: 768px) {
    .productsTable_s4d9f {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
    }
}

/* Estilos personalizados randomizados para ventas mensuales */
.monthlySalesCard_r7m2n {
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

.monthlySalesHeader_f6j9d {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

.monthlySalesTitle_t4k7s {
    font-size: 1.5rem; /* Tamaño de fuente aumentado */
    font-weight: 600;
    color: #344767;
    margin-bottom: 0;
}

.monthlySalesBadge_p3q8r {
    font-size: 0.8rem;
    padding: 0.5em 0.9em;
    border-radius: 0.3rem;
}

.monthlySalesTable_s4d9f {
    max-height: 600px;
    overflow-y: auto;
}

.monthlySalesTableMain_j7g3k {
    margin-bottom: 0;
}

.monthlySalesThead_v9f2c {
    background-color: #f6f9fc;
    position: sticky;
    top: 0;
    z-index: 1;
}

.monthlySalesTh_n8k4l {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
    white-space: nowrap;
}

.monthlySalesTbody_q1j7m tr:not(:last-child) {
    border-bottom: 1px solid #f0f2f5;
}

.monthlySalesTr_l3p9o:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.monthlySalesTd_k8j2w {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.monthlySalesBtn_q5j9p {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    min-width: 90px;
}

.monthlySalesDetail_f7k2n {
    background-color: #f8fafc !important;
}

.monthlySalesDetailTable_h3j8k {
    background-color: white;
    border-radius: 0.3rem;
}

.monthlySalesDetailTh_k3j9l {
    background-color: #f1f5f9;
    font-weight: 600 !important;
}

.monthlySalesDetailTd_j8k2l {
    padding: 0.5rem 0.75rem !important;
}

.monthlySalesEmpty_d8j3k {
    padding: 2.5rem !important;
}

.monthlySalesEmptyText_r4t9m {
    color: #6c757d;
    font-size: 0.9rem;
}

.monthlySalesBackBtn_h3j8k {
    border-radius: 0.5rem;
    padding: 0.6rem 1.75rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .monthlySalesTable_s4d9f {
        max-height: none;
        overflow-x: auto;
        display: block;
        width: 100%;
        -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
    }
    
    .monthlySalesTh_n8k4l, 
    .monthlySalesTd_k8j2w {
        padding: 0.8rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .monthlySalesBtn_q5j9p {
        font-size: 0.6rem;
        min-width: 80px;
    }
    
    .monthlySalesTitle_t4k7s {
        font-size: 1.2rem;
    }
    
    .monthlySalesStats_g5h3k {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .monthlySalesBadge_p3q8r {
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }
}
/* Estilos base para el dashboard */
.dashboardContainer_y8p3q {
    background-color: #f8f9fa;
}

/* Tarjetas de resumen */
.dashboardCard_r7m2n {
    border-radius: 12px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboardCard_r7m2n:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.dashboardCardBody_w2h5x {
    padding: 1.25rem;
}

.dashboardCardTitle_t4k7s {
    font-size: 0.8rem;
    color: #6c757d;
    letter-spacing: 0.5px;
}

.dashboardCardValue_v2h5n {
    font-size: 1.5rem;
    color: #344767;
    margin: 0.5rem 0;
}

.dashboardCardSubtext_r9t4m {
    font-size: 0.85rem;
}

.dashboardIcon_f6j9d {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Gráficos */
.dashboardChartCard_j7g3k {
    border-radius: 12px;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.dashboardChartHeader_v9f2c {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboardChartTitle_n8k4l {
    font-size: 1rem;
    font-weight: 600;
    color: #344767;
    margin-bottom: 0;
}

.dashboardChartBody_k8j2w {
    padding: 1.25rem;
    position: relative;
}

/* Tablas */
.dashboardTableCard_j8k2l {
    border-radius: 12px;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.dashboardTableHeader_p3q8r {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboardTableTitle_t4k7s {
    font-size: 1rem;
    font-weight: 600;
    color: #344767;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.dashboardTableBody_w2h5x {
    padding: 0;
}

.dashboardTable_j7g3k {
    margin-bottom: 0;
}

.dashboardTableThead_v9f2c {
    background-color: #f8f9fa;
}

.dashboardTableTh_n8k4l {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    padding: 1rem 1.25rem;
}

.dashboardTableTd_k8j2w {
    padding: 0.75rem 1.25rem;
    vertical-align: middle;
    font-size: 0.85rem;
}

.dashboardTableTr_l3p9o:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.dashboardTableEmpty_d8j3k {
    padding: 1.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Gradientes */
.bg-gradient-primary {
    background: linear-gradient(310deg, #7928CA, #FF0080);
}

.bg-gradient-success {
    background: linear-gradient(310deg, #17ad37, #98ec2d);
}

.bg-gradient-warning {
    background: linear-gradient(310deg, #f53939, #fbcf33);
}

.bg-gradient-danger {
    background: linear-gradient(310deg, #ea0606, #ff667c);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .dashboardCardValue_v2h5n {
        font-size: 1.3rem;
    }
}

@media (max-width: 991.98px) {
    .dashboardCard_r7m2n {
        margin-bottom: 1rem;
    }
    
    .dashboardChartCard_j7g3k {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .dashboardCardValue_v2h5n {
        font-size: 1.5rem;
    }
    
    .dashboardTableTh_n8k4l,
    .dashboardTableTd_k8j2w {
        padding: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .dashboardCardBody_w2h5x {
        padding: 1rem;
    }
    
    .dashboardCardValue_v2h5n {
        font-size: 1.3rem;
    }
    
    .dashboardIcon_f6j9d {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* Estilos personalizados randomizados para reporte de ganancias */
.earningsCard_r7m2n {
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

.earningsHeader_f6j9d {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

.earningsTitle_t4k7s {
    font-size: 1.4rem;
    font-weight: 600;
    color: #344767;
    margin-bottom: 0;
}

.earningsBadge_p3q8r {
    font-size: 0.9rem;
    padding: 0.5em 0.9em;
    border-radius: 0.3rem;
}

.earningsTable_s4d9f {
    max-height: 600px;
    overflow-y: auto;
}

.earningsTableMain_j7g3k {
    margin-bottom: 0;
}

.earningsThead_v9f2c {
    background-color: #f6f9fc;
    position: sticky;
    top: 0;
    z-index: 1;
}

.earningsTh_n8k4l {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
    white-space: nowrap;
}

.earningsTbody_q1j7m tr:not(:last-child) {
    border-bottom: 1px solid #f0f2f5;
}

.earningsTr_l3p9o:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.earningsTd_k8j2w {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.earningsAmount_b4j7k {
    min-width: 90px;
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
}

.earningsEmpty_d8j3k {
    padding: 2.5rem !important;
}

.earningsEmptyText_r4t9m {
    color: #6c757d;
    font-size: 0.9rem;
}

.earningsBackBtn_h3j8k {
    border-radius: 0.5rem;
    padding: 0.6rem 1.75rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.earningsBackBtn_h3j8k:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .earningsTable_s4d9f {
        max-height: none;
        overflow-x: auto;
        display: block;
        width: 100%;
        -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
    }
    
    .earningsTh_n8k4l, 
    .earningsTd_k8j2w {
        padding: 0.8rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .earningsTitle_t4k7s {
        font-size: 1.2rem;
    }
    
    .earningsBadge_p3q8r {
        font-size: 0.8rem;
    }
    
    .earningsAmount_b4j7k {
        min-width: 80px;
    }
}

@media (max-width: 576px) {
    .earningsHeader_f6j9d {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .earningsTotal_g5h3k {
        margin-top: 0.5rem;
    }
    
    .earningsBackBtn_h3j8k {
        width: 100%;
    }
}
/* Estilos personalizados randomizados para reporte de inversión */
.investmentCard_r7m2n {
    border-radius: 12px;
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.investmentCard_r7m2n:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.investmentHeader_f6j9d {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

.investmentTitle_t4k7s {
    font-size: 1.4rem;
    font-weight: 600;
    color: #344767;
    margin-bottom: 0;
}

.investmentBadge_p3q8r {
    font-size: 0.9rem;
    padding: 0.5em 0.9em;
    border-radius: 0.3rem;
}

.investmentTable_s4d9f {
    max-height: 600px;
    overflow-y: auto;
}

.investmentTableMain_j7g3k {
    margin-bottom: 0;
}

.investmentThead_v9f2c {
    background-color: #f6f9fc;
    position: sticky;
    top: 0;
    z-index: 1;
}

.investmentTh_n8k4l {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
    white-space: nowrap;
}

.investmentTbody_q1j7m tr:not(:last-child) {
    border-bottom: 1px solid #f0f2f5;
}

.investmentTr_l3p9o:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.investmentTd_k8j2w {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.investmentAmount_b4j7k {
    min-width: 90px;
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
}

.investmentEmpty_d8j3k {
    padding: 2.5rem !important;
}

.investmentEmptyText_r4t9m {
    color: #6c757d;
    font-size: 0.9rem;
}

.investmentBackBtn_h3j8k {
    border-radius: 0.5rem;
    padding: 0.6rem 1.75rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.investmentBackBtn_h3j8k:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Colores temáticos para inversión */
.bg-investment-primary {
    background-color: #4e73df;
    color: white;
}

.text-investment-primary {
    color: #4e73df;
}

/* Responsive */
@media (max-width: 768px) {
    .investmentTable_s4d9f {
        max-height: none;
        overflow-x: auto;
        display: block;
        width: 100%;
        -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
    }
    .investmentTableMain_j7g3k {
        min-width: 600px; /* Fuerza el scroll horizontal */
    }
    
    .investmentTh_n8k4l, 
    .investmentTd_k8j2w {
        padding: 0.8rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .investmentTitle_t4k7s {
        font-size: 1.2rem;
    }
    
    .investmentBadge_p3q8r {
        font-size: 0.8rem;
    }
    
    .investmentAmount_b4j7k {
        min-width: 80px;
    }
}

@media (max-width: 576px) {
    .investmentHeader_f6j9d {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .investmentTotal_g5h3k {
        margin-top: 0.5rem;
    }
    
    .investmentBackBtn_h3j8k {
        width: 100%;
    }
}