@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.84wtju4z0n.bundle.scp.css';

/* /UI/Components/Core/Feedback/Alerts/AlertContainer.razor.rz.scp.css */
.alert-container[b-1wb6sxgxnl] {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 350px;
}

.alert-item[b-1wb6sxgxnl] {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    background: rgba(0,0,0,0.85);
    animation: slideInRight-b-1wb6sxgxnl 0.8s ease;
    position: relative;
}

.alert-header[b-1wb6sxgxnl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.alert-message[b-1wb6sxgxnl] {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.alert-close[b-1wb6sxgxnl] {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
}

.alert-expand[b-1wb6sxgxnl] {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 12px;
    margin-top: 4px;
}

/* Colores con transparencia */
.alert-item.success[b-1wb6sxgxnl] {
    background: rgba(25, 135, 84, 0.95);
}

.alert-item.danger[b-1wb6sxgxnl] {
    background: rgba(220, 53, 69, 0.95);
}

.alert-item.warning[b-1wb6sxgxnl] {
    background: rgba(255, 193, 7, 0.95);
    color: #111;
}

.alert-item.info[b-1wb6sxgxnl] {
    background: rgba(13, 110, 253, 0.95);
}

@keyframes slideInRight-b-1wb6sxgxnl {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* /UI/Components/Core/Indicators/OfflineIndicator.razor.rz.scp.css */
.status-bar[b-h95t0lnlsw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: var(--bg-card);
    border-top: 1px solid #eee;
    font-size: 14px;
    height: 40px;
}

.status-btn[b-h95t0lnlsw] {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding:0;
    color:var(--text-color);
}

.status-btn:hover[b-h95t0lnlsw]{
    opacity: 0.7;
}

@media (max-width: 768px){
    .status-bar[b-h95t0lnlsw]{
        width: 100%;
        margin-left: 0;
    }
}

.status-text[b-h95t0lnlsw] {
    font-size: 14px;
    color: var(--text-color);
}
/* /UI/Components/Core/Layouts/ListItemLayout.razor.rz.scp.css */
.list-item[b-wm2d1dhuww] {
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #eee;
    background: #fff;
    transition: background 0.2s ease;
}

    .list-item:hover[b-wm2d1dhuww] {
        background: #fafafa;
    }

.list-item-left[b-wm2d1dhuww] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.list-item-right[b-wm2d1dhuww] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

@media (min-width:768px) {
    .list-item[b-wm2d1dhuww] {
        align-items: center;
    }

    .list-item-left[b-wm2d1dhuww] {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        flex: 1;
    }

    .list-item-right[b-wm2d1dhuww] {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}
/* /UI/Components/DataDisplay/Pagination.razor.rz.scp.css */
.custom-pagination[b-i62gmt7lmx] {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    margin-top: 1rem;
}

    .custom-pagination button[b-i62gmt7lmx] {
        padding: 0.3rem 0.6rem;
        border: 1px solid #ccc;
        background: white;
        cursor: pointer;
    }

        .custom-pagination button.active[b-i62gmt7lmx] {
            background: #007bff;
            color: white;
        }
/* /UI/Components/Features/Cliente/ClienteHeader.razor.rz.scp.css */
.cliente-header[b-5gwown7b2t] {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.header-top[b-5gwown7b2t] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cliente-name[b-5gwown7b2t] {
    font-weight: 600;
    font-size: 1.1rem;
}

.cliente-info[b-5gwown7b2t] {
    font-size: 0.85rem;
    color: #666;
    margin-top: 3px;
}
/* /UI/Components/Features/Cliente/ClienteItem.razor.rz.scp.css */
.cliente-item[b-2c18c2zvuy] {
    border-left: 4px solid transparent;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #fff;
    transition: all 0.2s ease;
}

    .cliente-item.critico[b-2c18c2zvuy] {
        border-color: #e55353;
        background: #fff5f5;
    }

    .cliente-item.riesgo[b-2c18c2zvuy] {
        border-color: #f6c343;
    }

    .cliente-item.normal[b-2c18c2zvuy] {
        border-color: #2c7be5;
    }

.cliente-name[b-2c18c2zvuy] {
    font-size: 1rem;
    font-weight: 600;
}

.cliente-phone[b-2c18c2zvuy] {
    font-size: 0.80rem;
    color: #666;
}

.cliente-meta[b-2c18c2zvuy] {
    font-size: 0.8rem;
    margin-top: 4px;
    color: #555;
}

/* ESTADOS */
.cliente-indicador.normal[b-2c18c2zvuy] {
    color: #2eb85c;
}

.cliente-indicador.riesgo[b-2c18c2zvuy] {
    color: #f6c343;
}

.cliente-indicador.critico[b-2c18c2zvuy] {
    color: #e55353;
}
/* /UI/Components/Features/Cliente/ClienteResumen.razor.rz.scp.css */
.cliente-resumen[b-y0er688hb8] {
    display: flex;
    gap: 15px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.resumen-item[b-y0er688hb8] {
    font-weight: 500;
}

.estado.normal[b-y0er688hb8] {
    color: #2eb85c;
}

.estado.riesgo[b-y0er688hb8] {
    color: #f6c343;
}

.estado.critico[b-y0er688hb8] {
    color: #e55353;
}
/* /UI/Components/Features/Cuota/CuotaItem.razor.rz.scp.css */
.progress-container[b-gvqwohldzj] {
    display: flex;
    gap: 12px;
}

.cuota-progress-bar[b-gvqwohldzj] {
    width: 6px;
    border-radius: 10px;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.progress-fill[b-gvqwohldzj] {
    position: absolute;
    top: 0;
    width: 100%;
    background: #2eb85c;
    transition: height 0.3s ease;
}

.progress-list[b-gvqwohldzj] {
    flex: 1;
}

.cuota-item[b-gvqwohldzj] {
    margin-bottom: 12px;
}

.cuota-content[b-gvqwohldzj] {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px 12px;
}

/* ESTADOS */

.cuota-item.pagado .cuota-content[b-gvqwohldzj] {
    background: #f0fff4;
}

.cuota-item.pagado .estado[b-gvqwohldzj],
.cuota-item.pagado .monto[b-gvqwohldzj] {
    color: #2eb85c;
}

.cuota-item.pendiente .estado[b-gvqwohldzj] {
    color: #f6c343;
}

.cuota-item.atrasado .cuota-content[b-gvqwohldzj] {
    background: #fff5f5;
}

.cuota-item.atrasado .estado[b-gvqwohldzj],
.cuota-item.atrasado .monto[b-gvqwohldzj] {
    color: #e55353;
}

/* TEXTOS */

.top[b-gvqwohldzj] {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
}

.buttom[b-gvqwohldzj] {
    font-size: 0.75rem;
    color: #777;
    margin-top: 3px;
}
/* /UI/Components/Features/Cuota/CuotasList.razor.rz.scp.css */
.cuotas-list[b-6j9nahl1gq] {
    display: flex;
    flex-direction:column;
    align-items:flex-start;
    gap: 12px;
}

.empty[b-6j9nahl1gq] {
    font-size: 0.8rem;
    color: #999;
}
/* /UI/Components/Features/Prestamo/PrestamoHeader.razor.rz.scp.css */
.prestamo-header[b-egln2phk8p] {
    border-radius: 16px;
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

    /* Estados */
    .prestamo-header.atrasado[b-egln2phk8p] {
        border-left: 5px solid #e55353;
        background: #fff5f5;
    }

    .prestamo-header.proximo[b-egln2phk8p] {
        border-left: 5px solid #f6c343;
    }

    .prestamo-header.normal[b-egln2phk8p] {
        border-left: 5px solid #2c7be5;
    }

.header-top[b-egln2phk8p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cliente[b-egln2phk8p] {
    font-weight: 600;
    font-size: 1rem;
    color: #222;
}

.header-monto[b-egln2phk8p] {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c7be5;
}

.header-fechas[b-egln2phk8p] {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
}

.header-fechas .label[b-egln2phk8p]{
    display: block;
    font-size: 0.7rem;
    color: #999;
}
/* /UI/Components/Features/Prestamo/PrestamoItem.razor.rz.scp.css */
.prestamo-item[b-n92flaweq8] {
    border-left: 4px solid transparent;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #fff;
    transition: all 0.2s ease;
}

    .prestamo-item.atrasado[b-n92flaweq8] {
        border-color: #e55353;
        background: #fff5f5;
    }

    .prestamo-item.proximo[b-n92flaweq8] {
        border-color: #f6c343;
    }

    .prestamo-item.normal[b-n92flaweq8] {
        border-color: #2c7be5;
    }

.prestamo-cliente[b-n92flaweq8] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
}

.prestamo-monto[b-n92flaweq8] {
    font-size: 0.9rem;
    color: #2c7be5;
    font-weight: 500;
}

.prestamo-fecha[b-n92flaweq8] {
    font-size: 0.8rem;
    color: #777;
}

.prestamo-indicadores[b-n92flaweq8] {
    margin-top: 6px;
    font-size: 0.8rem;
}

.prestamo-progress-bar[b-n92flaweq8] {
    margin-top: 6px;
    height: 6px;
    border-radius: 4px;
    background: #e9ecef;
    overflow: hidden;
}

.prestamo-progress-fill[b-n92flaweq8]{
    height: 100%;
    background: #2c7be5;
    transition: width 0.3s ease;
}

@media (min-width: 768px) {

    .prestamo-cliente[b-n92flaweq8] {
        min-width: 180px;
    }

    .prestamo-monto[b-n92flaweq8] {
        min-width: 140px;
    }

    .prestamo-fecha[b-n92flaweq8] {
        min-width: 140px;
    }
}
/* /UI/Components/Features/Prestamo/PrestamoResumen.razor.rz.scp.css */
.prestamo-resumen[b-2tgvqnz0az] {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resumen-grid[b-2tgvqnz0az] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.resumen-card[b-2tgvqnz0az] {
    flex: 1;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

    .resumen-card .label[b-2tgvqnz0az] {
        font-size: 0.75rem;
        color: #777;
    }

    .resumen-card .value[b-2tgvqnz0az] {
        font-size: 1.1rem;
        font-weight: bold;
    }

.resumen-progreso[b-2tgvqnz0az] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.progreso-texto[b-2tgvqnz0az] {
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

.resumen-progreso .barra[b-2tgvqnz0az] {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.resumen-progreso .fill[b-2tgvqnz0az] {
    height: 100%;
    background: #2c7be5;
    transition: width 0.3s ease;
}

.resumen-cuotas[b-2tgvqnz0az] {
    font-size: 0.85rem;
    color: #666;
    text-align: right;
}
/* /UI/Components/Features/PrestamoD/PrestamoDItem.razor.rz.scp.css */
.prestamo-d-item[b-nzod5yhepx] {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

    .prestamo-d-item:hover[b-nzod5yhepx] {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    }


.item-header[b-nzod5yhepx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.info[b-nzod5yhepx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.articulo[b-nzod5yhepx] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #222;
}

.meta[b-nzod5yhepx] {
    font-size: 0.8rem;
    color: #666;
}

.acciones[b-nzod5yhepx] {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .acciones i[b-nzod5yhepx] {
        font-size: 0.85rem;
        color: #888;
        transition: transform 0.2s ease;
    }

.prestamo-d-item.open .acciones i[b-nzod5yhepx] {
    transform: rotate(180deg);
}

.item-body[b-nzod5yhepx] {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    animation: fadeIn-b-nzod5yhepx 0.2s ease;
}

@keyframes fadeIn-b-nzod5yhepx {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}
/* /UI/Components/Features/PrestamoD/PrestamoDList.razor.rz.scp.css */
.prestamo-d-list[b-w30xtjz62b] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* /UI/Components/Forms/Containers/FormContainer.razor.rz.scp.css */
.form-container[b-k9x1n5nyhz] {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-body[b-k9x1n5nyhz] {
    display: grid;
    gap: var(--spacing-md);
    grid-template-columns: 1fr;
}

@media (min-width: 768px){
    .form-body[b-k9x1n5nyhz]{
        grid-template-columns: repeat(2,1fr);
    }
}

.form-actions[b-k9x1n5nyhz] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
/* /UI/Components/Forms/Containers/FormPageContainer.razor.rz.scp.css */
.form-page[b-omd1zh72vk] {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.form-card[b-omd1zh72vk] {
    width: 100%;
    max-width: 700px;
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
/* /UI/Components/Forms/Fields/BaseField.razor.rz.scp.css */
.fluent-field[b-znh81mlp5r] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fluent-label[b-znh81mlp5r] {
    font-weight: 500;
}

.input-wrapper[b-znh81mlp5r] {
    border-radius: 6px;
}

.input-error[b-znh81mlp5r] {
    border: 1px solid #d13438; 
    padding: 2px;
}
/* /UI/Components/Forms/Fields/Specialized/FlPasswordField.razor.rz.scp.css */
.password-wrapper[b-r8qo69urp0] {
    display: flex;
    align-items: center; 
    position: relative;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding-right: 2.5rem; 
}


.toggle-icon[b-r8qo69urp0] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 1rem;
}

    .toggle-icon:hover[b-r8qo69urp0] {
        color: #000;
    }
/* /UI/Components/Navigation/CrudToolbar.razor.rz.scp.css */
.crud-toolbar[b-8cgcwwi7el] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.search-box[b-8cgcwwi7el] {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.9rem;
}

@media (min-width: 600px) {
    .search-box[b-8cgcwwi7el] {
        flex: 2;
    }

    .filter-select[b-8cgcwwi7el] {
        flex: 1;
    }
}

.filter-select[b-8cgcwwi7el] {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.9rem;
    background: #fff;
}

.add-btn[b-8cgcwwi7el] {
    background: #007bff;
    color: #fff;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .add-btn:hover[b-8cgcwwi7el] {
        background: #0056b3;
    }
/* /UI/Components/Navigation/FilterBar.razor.rz.scp.css */
.filter-bar[b-pztrpceht3] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-select[b-pztrpceht3], .filter-date[b-pztrpceht3] {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.9rem;
    background: #fff;
}
/* /UI/Components/Navigation/SmartToolbar.razor.rz.scp.css */
.smart-toolbar[b-7p5k7cf6ca] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: center;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 100;
    background: var(--bg-main);
    padding: 0.75rem 0.5rem;
    box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}

.smart-search-box[b-7p5k7cf6ca] {
    flex: 1;
    min-width: 180px;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

select[b-7p5k7cf6ca], input[type="date"][b-7p5k7cf6ca] {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.smart-add-btn[b-7p5k7cf6ca] {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
}

    .smart-add-btn:hover[b-7p5k7cf6ca] {
        background: #0056b3;
    }

.smart-risk-btn[b-7p5k7cf6ca] {
    background: #fff3cd;
    border: 1px solid #f6c343;
    color: #f6c343;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

    .smart-risk-btn:hover[b-7p5k7cf6ca] {
        background: #ffe69c;
    }
/* /UI/Components/Shared_Common/Badge.razor.rz.scp.css */
.p-badge[b-t9p7rpjky5] {
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
}

.badge-success[b-t9p7rpjky5] {
    background: #d4edda;
    color: #155724;
}

.badge-danger[b-t9p7rpjky5] {
    background: #f8d7da;
    color: #721c24;
}

.badge-warning[b-t9p7rpjky5] {
    background: #fff3cd;
    color: #856404;
}

.badge-default[b-t9p7rpjky5] {
    background: #eee;
    color: #444;
}
/* /UI/Components/Shared_Common/DropdownMenu.razor.rz.scp.css */
.menu-dropdown[b-zi5b1nojv3] {
    position: relative;
}

.menu-btn[b-zi5b1nojv3] {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #555;
}

.menu-list[b-zi5b1nojv3] {
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    list-style: none;
    padding: 0.4rem 0;
    margin: 0;
    z-index: 10;
    min-width: 120px;
}

    .menu-list li[b-zi5b1nojv3] {
        padding: 0.4rem 0.8rem;
        cursor: pointer;
        font-size: 0.85rem;
    }

        .menu-list li:hover[b-zi5b1nojv3] {
            background: #f5f5f5;
        }
/* /UI/Layout/AuthLayout.razor.rz.scp.css */
.auth-container[b-fzku8xloqb] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1f2937, #111827);
}

.auth-main[b-fzku8xloqb] {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-card[b-fzku8xloqb] {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.auth-footer[b-fzku8xloqb] {
    text-align: center;
    padding: 10px;
    color: #ccc;
}

@media (max-width: 768) {
    .auth-card[b-fzku8xloqb]{
        padding: 20px;
        border-radius: 10px;
    }
}
/* /UI/Layout/MainLayout.razor.rz.scp.css */
.layout[b-spnpcgf5ay] {
    display: flex;
    min-height: 100vh;
}

.content[b-spnpcgf5ay] {
    flex: 1;
    overflow-y: auto;
    padding: 0px 20px 20px 20px;
    background: var(--bg-main);
}

.sidebar[b-spnpcgf5ay] {
    width: 240px;
    background: var(--bg-sidebar);
    color: white;
    position: fixed;
    height: 100%;
    left: 0;
    transform: translateX(0);
    transition: transform 0.3s ease;
    z-index: 1000;
}

@media (max-width: 768px) {
    .sidebar[b-spnpcgf5ay] {
        transform: translateX(-100%);
    }

        .sidebar.open[b-spnpcgf5ay] {
            transform: translateX(0);
        }
}

.overlay[b-spnpcgf5ay] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 900;
}

.main[b-spnpcgf5ay] {
    flex: 1;
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

@media (max-width: 768px) {
    .main[b-spnpcgf5ay] {
        margin-left: 0;
    }
}

.header[b-spnpcgf5ay] {
    height: 60px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 800;
}

/* IZQUIERDA */
.header-left[b-spnpcgf5ay] {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* DERECHA */
.header-right[b-spnpcgf5ay] {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.menu-btn[b-spnpcgf5ay] {
    font-size: 20px;
    background: none;
    border: none;
}

.search[b-spnpcgf5ay] {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .search input[b-spnpcgf5ay] {
        padding: 6px 10px;
        border: 1px solid var(--border-color);
        border-radius: 6px;
    }

    .search button[b-spnpcgf5ay] {
        border: none;
        background: var(--color-primary);
        color: white;
        padding: 6px 10px;
        border-radius: 6px;
    }

.icon-btn[b-spnpcgf5ay] {
    background: none;
    border: none;
    font-size: 18px;
    position: relative;
}

.user-box[b-spnpcgf5ay] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .user-box img[b-spnpcgf5ay] {
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }

.logout-btn[b-spnpcgf5ay] {
    border: none;
    background: none;
    color: var(--color-danger);
    font-size: 18px;
}

    .icon-btn:hover[b-spnpcgf5ay],
    .logout-btn:hover[b-spnpcgf5ay] {
        opacity: 0.7;
        cursor: pointer;
    }


.footer-modern[b-spnpcgf5ay] {
    background: var(--bg-card);
    border-top: 1px solid #eee;
}

@media (max-width: 768px){
    .footer-modern[b-spnpcgf5ay] {
        margin-left: 0;
    }
}
/* /UI/Layout/NavMenu.razor.rz.scp.css */
.nav-container[b-imm16irm3o] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-header[b-imm16irm3o] {
    padding: 20px;
    border-bottom: 1px solid #374151;
    text-align: center;
}

    .nav-header h5[b-imm16irm3o] {
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

.menu[b-imm16irm3o] {
    display: flex;
    flex-direction: column;
}

[b-imm16irm3o] .nav-item-custom {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    margin: 5px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

    [b-imm16irm3o] .nav-item-custom i {
        width: 20px;
        text-align: center;
    }

    [b-imm16irm3o] .nav-item-custom:hover {
        background-color: #374151;
        color: #fff;
    }

    [b-imm16irm3o] .nav-item-custom.active {
        background-color: #0d6efd;
        color: #fff;
    }

@media (max-width: 768px) {
    .nav-header[b-imm16irm3o] {
        text-align: left;
    }
}


/* HEADER DE GRUPO */
.nav-group-header[b-imm16irm3o] {
    /*justify-content: space-between;*/
    cursor: pointer;
}

/* SUBMEN� */
.nav-submenu[b-imm16irm3o] {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}

/* ITEMS HIJOS */
[b-imm16irm3o] .nav-sub-item {
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    margin: 2px 10px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

    [b-imm16irm3o] .nav-sub-item:hover {
        background-color: #374151;
        color: #fff;
    }

    [b-imm16irm3o] .nav-sub-item.active {
        background-color: #0d6efd;
        color: #fff;
    }

/* ICONO FLECHA */
.toggle-icon[b-imm16irm3o] {
    font-size: 12px;
}
/* /UI/Pages/Cliente/ClienteDetail.razor.rz.scp.css */
.cliente-prestamos h4[b-ipwygqeulf] {
    margin-bottom: 8px;
}
/* /UI/Pages/Cliente/ClienteRiesgo.razor.rz.scp.css */
.riesgo-header[b-fmr57fb31h] {
    margin-bottom: 15px;
}

.riesgo-resumen[b-fmr57fb31h] {
    display: flex;
    gap: 15px;
    font-weight: 500;
}

    .riesgo-resumen .critico[b-fmr57fb31h] {
        color: #e55353;
    }

    .riesgo-resumen .riesgo[b-fmr57fb31h] {
        color: #f6c343;
    }

    .riesgo-resumen .normal[b-fmr57fb31h] {
        color: #2eb85c;
    }

.grupo[b-fmr57fb31h] {
    margin-bottom: 20px;
}

    .grupo h4[b-fmr57fb31h] {
        margin-bottom: 8px;
    }

.cliente-card[b-fmr57fb31h] {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: 0.2s;
}

    .cliente-card:hover[b-fmr57fb31h] {
        transform: scale(1.01);
    }

    .cliente-card.critico[b-fmr57fb31h] {
        background: #fff5f5;
        border-left: 4px solid #e55353;
    }

    .cliente-card.riesgo[b-fmr57fb31h] {
        background: #fff9e6;
        border-left: 4px solid #f6c343;
    }

    .cliente-card.normal[b-fmr57fb31h] {
        background: #f0fff4;
        border-left: 4px solid #2eb85c;
    }

.nombre[b-fmr57fb31h]{
    font-weight:600;
}

.meta[b-fmr57fb31h]{
    font-size:0.8rem;
    color: #666;
}
/* /UI/Pages/Cliente/ClientesList.razor.rz.scp.css */
/* /UI/Pages/Prestamo/PrestamoDetail.razor.rz.scp.css */
.prestamo-detail[b-ys0o3h4c6v] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px;
}
/* /UI/Pages/Prestamo/PrestamosList.razor.rz.scp.css */
.prestamos-list[b-6zounalnc1] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* /UI/Pages/Reportes/Cobros.razor.rz.scp.css */
.cobros[b-yhrfwweig7] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ===== KPIs ===== */
.cobros-kpis[b-yhrfwweig7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.kpi-card[b-yhrfwweig7] {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    transition: all 0.2s ease;
}

    .kpi-card:hover[b-yhrfwweig7] {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    }

.kpi-icon[b-yhrfwweig7] {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f3f4f6;
    color: #2563eb;
}

.kpi-value[b-yhrfwweig7] {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.kpi-info small[b-yhrfwweig7] {
    color: #6b7280;
}

/* ===== GRID ===== */
.cobros-grid[b-yhrfwweig7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .cobros-grid[b-yhrfwweig7] {
        grid-template-columns: 1fr;
    }
}

/* ===== CARD ===== */
.card[b-yhrfwweig7] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
}

.card-header[b-yhrfwweig7] {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
}

    .card-header h4[b-yhrfwweig7] {
        font-size: 15px;
        color: #111827;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.card-body[b-yhrfwweig7] {
    padding: 10px 16px;
}

/* ===== LIST ===== */
.list-item[b-yhrfwweig7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px solid #f1f5f9;
}

    .list-item:last-child[b-yhrfwweig7] {
        border-bottom: none;
    }

.left[b-yhrfwweig7] {
    display: flex;
    flex-direction: column;
}

.amount[b-yhrfwweig7] {
    font-weight: 600;
    color: #16a34a;
}

.right.success[b-yhrfwweig7] {
    color: #16a34a;
}

/* ===== EMPTY ===== */
.empty[b-yhrfwweig7] {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}
/* /UI/Pages/Reportes/Dashboard.razor.rz.scp.css */
.dashboard[b-mvzzuzn1kh] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 10px;
}

/* ===== KPIs ===== */
.kpi-grid[b-mvzzuzn1kh] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.kpi[b-mvzzuzn1kh] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

    .kpi:hover[b-mvzzuzn1kh] {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    }

    .kpi i[b-mvzzuzn1kh] {
        font-size: 18px;
        color: #6b7280;
    }

    .kpi span[b-mvzzuzn1kh] {
        font-size: 22px;
        font-weight: 700;
        color: #111827;
    }

    .kpi small[b-mvzzuzn1kh] {
        font-size: 13px;
        color: #6b7280;
    }

    /* indicador lateral */
    .kpi[b-mvzzuzn1kh]::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: #2563eb;
    }

/* ===== PROGRESO ===== */
.progreso[b-mvzzuzn1kh] {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

    .progreso h4[b-mvzzuzn1kh] {
        margin-bottom: 10px;
        color: #111827;
    }

    .progreso .barra[b-mvzzuzn1kh] {
        height: 12px;
        background: #e5e7eb;
        border-radius: 10px;
        overflow: hidden;
    }

    .progreso .fill[b-mvzzuzn1kh] {
        height: 100%;
        background: linear-gradient(90deg, #2563eb, #16a34a);
        transition: width 0.3s ease;
    }

    .progreso .detalle[b-mvzzuzn1kh] {
        margin-top: 8px;
        font-size: 13px;
        color: #6b7280;
    }

/* ===== GRID INFERIOR ===== */
.dashboard-bottom[b-mvzzuzn1kh] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .dashboard-bottom[b-mvzzuzn1kh] {
        grid-template-columns: 1fr;
    }
}

/* ===== ALERTAS ===== */
.alertas[b-mvzzuzn1kh] {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alerta[b-mvzzuzn1kh] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}

    /* crítico */
    .alerta.critico[b-mvzzuzn1kh] {
        background: #fee2e2;
        color: #dc2626;
    }

    /* warning */
    .alerta.warning[b-mvzzuzn1kh] {
        background: #fef9c3;
        color: #ca8a04;
    }

/* ===== TOP CLIENTES ===== */
.top-clientes[b-mvzzuzn1kh] {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid #e5e7eb;
}

    .top-clientes h4[b-mvzzuzn1kh] {
        margin-bottom: 10px;
        color: #111827;
    }

    .top-clientes .cliente[b-mvzzuzn1kh] {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .top-clientes .cliente:hover[b-mvzzuzn1kh] {
            background: #f3f4f6;
        }

        .top-clientes .cliente span:first-child[b-mvzzuzn1kh] {
            color: #111827;
        }

        .top-clientes .cliente span:last-child[b-mvzzuzn1kh] {
            color: #16a34a;
            font-weight: 600;
        }
/* /UI/Pages/Reportes/Deuda.razor.rz.scp.css */
.deuda[b-w3oz77g6l7] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* HEADER */
.deuda-header h2[b-w3oz77g6l7] {
    margin: 0;
    font-size: 20px;
    color: #111827;
}

.deuda-header span[b-w3oz77g6l7] {
    font-size: 13px;
    color: #6b7280;
}

/* KPI */
.deuda-total[b-w3oz77g6l7] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

    .deuda-total small[b-w3oz77g6l7] {
        color: #6b7280;
    }

    .deuda-total h1[b-w3oz77g6l7] {
        margin: 5px 0 0;
        font-size: 28px;
        color: #dc2626;
    }

/* GRID */
.deuda-grid[b-w3oz77g6l7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .deuda-grid[b-w3oz77g6l7] {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.deuda-card[b-w3oz77g6l7] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
}

/* HEADER CARD */
.card-header[b-w3oz77g6l7] {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
}

    .card-header h4[b-w3oz77g6l7] {
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

/* SCROLL */
.scroll[b-w3oz77g6l7] {
    max-height: 350px;
    overflow-y: auto;
}

/* ITEM */
.deuda-item[b-w3oz77g6l7] {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
}

    .deuda-item:last-child[b-w3oz77g6l7] {
        border-bottom: none;
    }

    .deuda-item .amount[b-w3oz77g6l7] {
        font-weight: 600;
        color: #111827;
    }

    /* ATRASADO */
    .deuda-item.atrasado[b-w3oz77g6l7] {
        background: #fff5f5;
    }

.right.danger[b-w3oz77g6l7] {
    color: #dc2626;
    font-weight: 600;
}

/* PENDIENTE */
.right.muted[b-w3oz77g6l7] {
    color: #6b7280;
}

/* EMPTY */
.empty[b-w3oz77g6l7] {
    text-align: center;
    padding: 20px;
    color: #9ca3af;
}
/* /UI/Pages/Reportes/Riesgo.razor.rz.scp.css */
.riesgo-container[b-li2zzcils1] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== HEADER ===== */
.riesgo-header[b-li2zzcils1] {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

    .riesgo-header h3[b-li2zzcils1] {
        margin-bottom: 12px;
        font-weight: 600;
    }

.riesgo-stats[b-li2zzcils1] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stat[b-li2zzcils1] {
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

    .stat.critico[b-li2zzcils1] {
        background: #fee2e2;
        color: #dc2626;
    }

    .stat.riesgo[b-li2zzcils1] {
        background: #fef3c7;
        color: #d97706;
    }

    .stat.normal[b-li2zzcils1] {
        background: #dcfce7;
        color: #16a34a;
    }

/* ===== GRID ===== */
.riesgo-grid[b-li2zzcils1] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .riesgo-grid[b-li2zzcils1] {
        grid-template-columns: 1fr;
    }
}

/* ===== GRUPOS ===== */
.grupo-card[b-li2zzcils1] {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.grupo-header[b-li2zzcils1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

    .grupo-header h4[b-li2zzcils1] {
        font-size: 15px;
        font-weight: 600;
    }

/* Scroll interno */
.grupo-body[b-li2zzcils1] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 5px;
}

/* ===== ITEMS ===== */
.item[b-li2zzcils1] {
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #f1f5f9;
}

    .item:hover[b-li2zzcils1] {
        background: #f9fafb;
        transform: translateX(2px);
    }

    /* Estados */
    .item.critico[b-li2zzcils1] {
        border-left: 4px solid #dc2626;
        background: #fff5f5;
    }

    .item.riesgo[b-li2zzcils1] {
        border-left: 4px solid #f59e0b;
        background: #fffaf0;
    }

    .item.normal[b-li2zzcils1] {
        border-left: 4px solid #10b981;
    }

/* Contenido */
.nombre[b-li2zzcils1] {
    font-weight: 600;
    font-size: 14px;
}

.meta[b-li2zzcils1] {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}
/* /UI/Pages/Reportes/Vencimientos.razor.rz.scp.css */
.vencimientos[b-7rt2mtuur0] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 10px;
}

/* HEADER */
.header h2[b-7rt2mtuur0] {
    margin: 0;
    font-size: 22px;

}

.header .sub[b-7rt2mtuur0] {
    font-size: 13px;
    color: #6b7280;
}

/* KPIs */
.kpi-grid[b-7rt2mtuur0] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.kpi[b-7rt2mtuur0] {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

    .kpi span[b-7rt2mtuur0] {
        font-size: 20px;
        font-weight: bold;
        display: block;
    }

    .kpi small[b-7rt2mtuur0] {
        font-size: 12px;
        color: #6b7280;
    }

    .kpi.danger[b-7rt2mtuur0] {
        border-left: 4px solid #e63737;
    }

    .kpi.warning[b-7rt2mtuur0] {
        border-left: 4px solid #f59e0b;
    }

    .kpi.success[b-7rt2mtuur0] {
        border-left: 4px solid #2ab388;
    }

/* GRID */
.grid[b-7rt2mtuur0] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

/* CARDS */
.card[b-7rt2mtuur0] {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid #e5e7eb;
}

    .card h4[b-7rt2mtuur0] {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
    }

/* LISTA */
.list[b-7rt2mtuur0] {
    display: flex;
    flex-direction: column;
}

.scroll[b-7rt2mtuur0] {
    max-height: 300px;
    overflow-y: auto;
}

/* ITEM */
.item[b-7rt2mtuur0] {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s;
}

    .item:hover[b-7rt2mtuur0] {
        background: #f9fafb;
    }

/* CONTENIDO */
.left[b-7rt2mtuur0] {
    display: flex;
    flex-direction: column;
}

.monto[b-7rt2mtuur0] {
    font-weight: 600;
}

.left small[b-7rt2mtuur0] {
    font-size: 12px;
    color: #6b7280;
}

.right[b-7rt2mtuur0] {
    font-weight: 600;
}

/* ESTADOS */
.atrasado[b-7rt2mtuur0] {
    border-left: 3px solid #e63737;
}

.hoy[b-7rt2mtuur0] {
    border-left: 3px solid #f59e0b;
}

.right.danger[b-7rt2mtuur0] {
    color: #e63737;
}

.right.warning[b-7rt2mtuur0] {
    color: #f59e0b;
}
