/* _content/MisodsMarket.Admin/Components/Resumenes/LoteriasList.razor.rz.scp.css */
.loterias-wrapper[b-iv7z0m2cfw] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ----- Lotería Card ----- */
.loteria-card[b-iv7z0m2cfw] {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.loteria-header[b-iv7z0m2cfw] {
    width: 100%;
    border: none;
    background: linear-gradient(90deg, #0f172a 0%, #0b4e92 55%, #0ea5e9 100%);
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.loteria-header-left[b-iv7z0m2cfw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.loteria-pill[b-iv7z0m2cfw] {
    display: inline-flex;
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

.loteria-name[b-iv7z0m2cfw] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.loteria-meta[b-iv7z0m2cfw] {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
}

.loteria-header-right[b-iv7z0m2cfw] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.loteria-toggle-text[b-iv7z0m2cfw] {
    display: none; /* si quieres texto visible, quita esta línea */
}

/* chevron */
.chevron[b-iv7z0m2cfw] {
    width: 8px;
    height: 8px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
}

.chevron-open[b-iv7z0m2cfw] {
    transform: rotate(-135deg);
}

/* ----- Cuerpo Lotería ----- */
.loteria-body[b-iv7z0m2cfw] {
    padding: 14px 18px 16px 18px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

/* ----- Entidad ----- */
.entidad-block[b-iv7z0m2cfw] {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
    border: 1px solid #e5e7eb;
}

.entidad-header[b-iv7z0m2cfw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.entidad-name[b-iv7z0m2cfw] {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
}

.entidad-meta[b-iv7z0m2cfw] {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: #6b7280;
}

/* ----- Canales ----- */
.canales-list[b-iv7z0m2cfw] {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.canal-row[b-iv7z0m2cfw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 6px 4px 2px;
}

.canal-main[b-iv7z0m2cfw] {
    flex: 1;
    min-width: 0;
}

.canal-title-line[b-iv7z0m2cfw] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.canal-name[b-iv7z0m2cfw] {
    font-weight: 500;
    color: #111827;
    font-size: 0.9rem;
}

.canal-url[b-iv7z0m2cfw] {
    display: inline-block;
    margin-top: 2px;
    font-size: 0.8rem;
    color: #2563eb;
    text-decoration: none;
    word-break: break-all;
}

    .canal-url:hover[b-iv7z0m2cfw] {
        text-decoration: underline;
    }

/* ----- Productos ----- */
.productos-list[b-iv7z0m2cfw] {
    list-style: none;
    padding: 4px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.producto-item[b-iv7z0m2cfw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #f3f4f6;
}

.producto-info[b-iv7z0m2cfw] {
    flex: 1;
    min-width: 0;
}

.producto-name[b-iv7z0m2cfw] {
    font-size: 0.85rem;
    color: #111827;
}

/* botón "Ir a pedido" */
.btn-ir-pedido[b-iv7z0m2cfw] {
    border-radius: 999px;
    padding: 6px 12px;
    border: none;
    background: linear-gradient(90deg, #0b4e92, #0369a1);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

    .btn-ir-pedido:hover[b-iv7z0m2cfw] {
        text-decoration: none;
        filter: brightness(1.05);
    }

/* ----- Chip buttons ----- */
.chip-link[b-iv7z0m2cfw] {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    border: 1px solid #0b4e92;
    background: #eff6ff;
    color: #0b4e92;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.chip-secondary[b-iv7z0m2cfw] {
    border-color: #6b7280;
    background: #f3f4f6;
    color: #374151;
}

.chip-link:hover[b-iv7z0m2cfw] {
    filter: brightness(1.03);
}

/* ----- Empty state ----- */
.loterias-empty[b-iv7z0m2cfw] {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
}

/* responsive */
@media (max-width: 768px) {
    .loteria-header[b-iv7z0m2cfw] {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
    }

    .loteria-name[b-iv7z0m2cfw] {
        font-size: 1rem;
    }

    .entidad-block[b-iv7z0m2cfw] {
        padding: 8px 10px;
    }

    .canal-row[b-iv7z0m2cfw] {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-ir-pedido[b-iv7z0m2cfw] {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
/* _content/MisodsMarket.Admin/Components/Widgets/PedidosWeeklyWidget.razor.rz.scp.css */
.pedidos-weekly-chart-container[b-tu9m71hlrl] {
    position: relative;
    height: 260px; /* key: give it a height */
    padding: 10px;
}

    .pedidos-weekly-chart-container canvas[b-tu9m71hlrl] {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }
.tiendas-charts-grid[b-tu9m71hlrl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* each tienda card */
.tienda-card[b-tu9m71hlrl] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    padding: 0.75rem 1rem 1rem;
    display: flex;
    flex-direction: column;
}

.tienda-card-header[b-tu9m71hlrl] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.tienda-title[b-tu9m71hlrl] {
    font-weight: 600;
    font-size: 0.95rem;
}

.tienda-stats[b-tu9m71hlrl] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.8rem;
    color: #666;
}

    .tienda-stats span:first-child[b-tu9m71hlrl] {
        font-weight: 600;
        color: #1976d2;
    }

.tienda-card-chart[b-tu9m71hlrl] {
    margin-top: 0.5rem;
    height: 160px; /* <-- small chart */
    position: relative;
}

    .tienda-card-chart canvas[b-tu9m71hlrl] {
        width: 100% !important;
        height: 100% !important;
    }


.dashboard-card-full[b-tu9m71hlrl] {
    padding: 16px 18px 18px;
}

.pedidos-header[b-tu9m71hlrl] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 12px;
}

.pedidos-summary-row[b-tu9m71hlrl] {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 10px;
}

/* reuse summary style, just a compact version */
.summary-card.small[b-tu9m71hlrl] {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    padding: 8px 10px;
}

    .summary-card.small .summary-label[b-tu9m71hlrl] {
        font-size: 0.75rem;
        color: #777;
    }

    .summary-card.small .summary-value[b-tu9m71hlrl] {
        font-size: 1.3rem;
        font-weight: 600;
        margin-top: 2px;
    }

    .summary-card.small .summary-sub[b-tu9m71hlrl] {
        font-size: 0.7rem;
        color: #aaa;
    }

/* section title above charts */
.pedidos-body-title[b-tu9m71hlrl] {
    margin-top: 10px;
    margin-bottom: 8px;
}

/* grid of tienda cards (you already had something similar) */
.tiendas-charts-grid[b-tu9m71hlrl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

/* tienda cards */
.tienda-card[b-tu9m71hlrl] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    padding: 0.75rem 1rem 1rem;
    display: flex;
    flex-direction: column;
}

.tienda-card-header[b-tu9m71hlrl] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.tienda-title[b-tu9m71hlrl] {
    font-weight: 600;
    font-size: 0.95rem;
}

.tienda-stats[b-tu9m71hlrl] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.8rem;
    color: #666;
}

    .tienda-stats span:first-child[b-tu9m71hlrl] {
        font-weight: 600;
        color: #1976d2;
    }

.tienda-card-chart[b-tu9m71hlrl] {
    margin-top: 0.5rem;
    height: 160px;
    position: relative;
}

    .tienda-card-chart canvas[b-tu9m71hlrl] {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }

@media (max-width: 992px) {
    .pedidos-header[b-tu9m71hlrl] {
        flex-direction: column;
        align-items: stretch;
    }

    .pedidos-summary-row[b-tu9m71hlrl] {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

.widget-header[b-tu9m71hlrl] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.btn-pedidos[b-tu9m71hlrl] {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

    .btn-pedidos:hover[b-tu9m71hlrl] {
        background: #0065d1;
    }

/* CARD LOOK A LITTLE MORE PREMIUM */
.dashboard-card-full[b-tu9m71hlrl] {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    padding: 18px 20px 22px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* TOP ROW: TITLE + BUTTON */
.pedidos-top-row[b-tu9m71hlrl] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 16px;
}

/* TITLE BLOCK WITH ICON */
.pedidos-title-block[b-tu9m71hlrl] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pedidos-icon[b-tu9m71hlrl] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.pedidos-main-title[b-tu9m71hlrl] {
    font-size: 1.05rem;
    margin: 0;
}

.pedidos-main-subtitle[b-tu9m71hlrl] {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: #6b7280;
}

/* GO TO ALL ORDERS BUTTON */
.btn-pedidos-primary[b-tu9m71hlrl] {
    background: #0d6efd;
    color: #ffffff;
    border: none;
    padding: 7px 16px;
    font-size: 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

    .btn-pedidos-primary:hover[b-tu9m71hlrl] {
        background: #0b5ed7;
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(37, 99, 235, 0.45);
    }

    .btn-pedidos-primary:active[b-tu9m71hlrl] {
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }

/* KPI ROW */
.pedidos-summary-row[b-tu9m71hlrl] {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.summary-card.small[b-tu9m71hlrl] {
    background: #f9fafb;
    border-radius: 12px;
    padding: 8px 10px;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

    .summary-card.small .summary-label[b-tu9m71hlrl] {
        font-size: 0.75rem;
        color: #6b7280;
    }

    .summary-card.small .summary-value[b-tu9m71hlrl] {
        font-size: 1.3rem;
        font-weight: 600;
        margin-top: 3px;
    }

    .summary-card.small .summary-sub[b-tu9m71hlrl] {
        font-size: 0.7rem;
        color: #9ca3af;
        margin-top: 2px;
    }

/* CHARTS TITLE AREA */
.pedidos-body-title[b-tu9m71hlrl] {
    margin-bottom: 10px;
}

.pedidos-charts-title[b-tu9m71hlrl] {
    margin: 0 0 2px;
    font-size: 1rem;
}

/* KEEP IT RESPONSIVE */
@media (max-width: 992px) {
    .pedidos-top-row[b-tu9m71hlrl] {
        flex-direction: column;
        align-items: flex-start;
    }

    .pedidos-summary-row[b-tu9m71hlrl] {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 576px) {
    .pedidos-summary-row[b-tu9m71hlrl] {
        grid-template-columns: 1fr;
    }
}

/* Scrollable area for tienda charts inside the widget */
.pedidos-charts-scroll[b-tu9m71hlrl] {
    max-height: 420px; /* adjust to taste */
    overflow-y: auto;
    margin-top: 6px;
    padding-right: 6px; /* mini space for scrollbar */
}

    /* Optional: nice thin scrollbar (WebKit-based browsers) */
    .pedidos-charts-scroll[b-tu9m71hlrl]::-webkit-scrollbar {
        width: 6px;
    }

    .pedidos-charts-scroll[b-tu9m71hlrl]::-webkit-scrollbar-track {
        background: transparent;
    }

    .pedidos-charts-scroll[b-tu9m71hlrl]::-webkit-scrollbar-thumb {
        background: rgba(148, 163, 184, 0.7);
        border-radius: 999px;
    }

        .pedidos-charts-scroll[b-tu9m71hlrl]::-webkit-scrollbar-thumb:hover {
            background: rgba(100, 116, 139, 0.9);
        }
/* Title wrapper */
.pedidos-body-title[b-tu9m71hlrl] {
    width: 100%;
    text-align: center;
    margin: 25px 0 20px;
}

/* Main title text */
.pedidos-charts-title[b-tu9m71hlrl] {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b; /* slate-800 — professional dark grey */
    letter-spacing: -0.3px;
    margin: 0;
    padding: 0;
}

    /* Optional subtle underline */
    .pedidos-charts-title[b-tu9m71hlrl]::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background: #2563eb; /* blue-600 */
        margin: 10px auto 0;
        border-radius: 2px;
        opacity: 0.8;
    }

.tienda-card[b-tu9m71hlrl] {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
}

.tienda-card-chart[b-tu9m71hlrl] {
    height: 120px; /* a bit taller for readability */
    margin-top: 4px;
}
/* _content/MisodsMarket.Admin/Components/Widgets/RendimientoProductos.razor.rz.scp.css */
/* Header actions aligned with Pedidos header layout */
.productos-header-actions[b-ou7wjzo8qu] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Arrow buttons that look like dashboard controls (neutral + premium) */
.productos-arrow-btn[b-ou7wjzo8qu] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.06);
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}

    .productos-arrow-btn:hover[b-ou7wjzo8qu] {
        transform: translateY(-1px);
        background: rgba(255,255,255,0.10);
    }

/* Carousel wrapper */
.productos-carousel[b-ou7wjzo8qu] {
    position: relative;
    margin-top: 12px;
}

/* Horizontal track */
.productos-track[b-ou7wjzo8qu] {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 6px 8px 14px 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

    /* optional scrollbar */
    .productos-track[b-ou7wjzo8qu]::-webkit-scrollbar {
        height: 8px;
    }

    .productos-track[b-ou7wjzo8qu]::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.14);
        border-radius: 999px;
    }

/* Micro-card style (new, but coherent with dashboard) */
.productos-card[b-ou7wjzo8qu] {
    scroll-snap-align: start;
    min-width: 340px;
    max-width: 340px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.85);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .productos-card:hover[b-ou7wjzo8qu] {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

/* Media area */
.productos-card-media[b-ou7wjzo8qu] {
    height: 160px;
    background: rgba(0,0,0,0.03);
}

.productos-card-img[b-ou7wjzo8qu] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Body */
.productos-card-body[b-ou7wjzo8qu] {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.productos-card-title-row[b-ou7wjzo8qu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.productos-card-title[b-ou7wjzo8qu] {
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* KPIs */
.productos-kpis[b-ou7wjzo8qu] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.productos-kpi[b-ou7wjzo8qu] {
    border-radius: 12px;
    padding: 10px 10px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(0,0,0,0.02);
}

.productos-kpi-label[b-ou7wjzo8qu] {
    font-size: 12px;
    opacity: .75;
    margin-bottom: 4px;
}

.productos-kpi-value[b-ou7wjzo8qu] {
    font-weight: 800;
    font-size: 13px;
}

/* Accent KPI (donation) */
.productos-kpi-accent[b-ou7wjzo8qu] {
    grid-column: span 2;
    background: rgba(13,110,253,0.08);
    border-color: rgba(13,110,253,0.18);
}

/* Footer buttons aligned like admin actions */
.productos-card-footer[b-ou7wjzo8qu] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* ===== Shared widget header look (Pedidos-style) ===== */

/* icon tile (same as Pedidos) */
.widget-icon-tile[b-ou7wjzo8qu] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
    flex: 0 0 auto;
}

    .widget-icon-tile i[b-ou7wjzo8qu] {
        font-size: 14px;
        line-height: 1;
    }

/* title + subtitle */
.widget-title[b-ou7wjzo8qu] {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

/* underline under the title (Pedidos-style) */
.widget-title-underline[b-ou7wjzo8qu] {
    display: inline-block; /* critical so underline matches text width */
    position: relative;
}

    .widget-title-underline[b-ou7wjzo8qu]::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background: #2563eb;
        margin-top: 8px;
        border-radius: 2px;
        opacity: 0.85;
    }

/* subtitle */
.widget-subtitle[b-ou7wjzo8qu] {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: #6b7280;
}

/* FORCE Productos header to look exactly like Pedidos */

.pedidos-title-block[b-ou7wjzo8qu] {
    align-items: center;
}

.pedidos-charts-title[b-ou7wjzo8qu] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
    margin: 0;
    padding: 0;
}

    /* Underline */
    .pedidos-charts-title[b-ou7wjzo8qu]::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background: #2563eb;
        margin-top: 8px;
        border-radius: 2px;
        opacity: 0.85;
    }

/* Subtitle spacing */
.pedidos-main-subtitle[b-ou7wjzo8qu] {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #6b7280;
}

/* Icon tile */
.pedidos-icon[b-ou7wjzo8qu] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

    .pedidos-icon i[b-ou7wjzo8qu] {
        font-size: 14px;
        line-height: 1;
    }


.pedidos-top-row[b-ou7wjzo8qu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 16px;
}

.pedidos-title-block[b-ou7wjzo8qu] {
    display: flex;
    align-items: center;
    gap: 12px;
}
/* _content/MisodsMarket.Admin/Pages/Clientes.razor.rz.scp.css */
/* Overlay */
.admin-modal-overlay[b-6dyieujmmq] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55); /* dark blur overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

/* Dialog shell */
.admin-modal-dialog[b-6dyieujmmq] {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    width: min(900px, 96vw);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Optional "lg" size (you already use admin-modal-lg) */
.admin-modal-lg[b-6dyieujmmq] {
    width: min(1100px, 96vw);
}

/* Header */
.admin-modal-header[b-6dyieujmmq] {
    padding: 14px 22px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-modal-title[b-6dyieujmmq] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
}

/* Close button (X) */
.admin-modal-close[b-6dyieujmmq] {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #9ca3af;
    padding: 2px 4px;
    border-radius: 999px;
}

    .admin-modal-close:hover[b-6dyieujmmq] {
        background: #f3f4f6;
        color: #374151;
    }

/* Body */
.admin-modal-body[b-6dyieujmmq] {
    padding: 16px 22px 12px;
    overflow-y: auto;
}

    /* Tables inside modal: cap height and scroll */
    .admin-modal-body .table-admin-container[b-6dyieujmmq] {
        max-height: 50vh;
        overflow-y: auto;
    }

/* Footer */
.admin-modal-footer[b-6dyieujmmq] {
    padding: 12px 22px 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Optional: lighten background behind the modal table */
.admin-modal-body .info-card[b-6dyieujmmq] {
    border-radius: 12px;
}
/* _content/MisodsMarket.Admin/Pages/EnviarMail.razor.rz.scp.css */
/* PAGE WRAPPER */
.emails-page[b-x4hl1bg1mw] {
    padding: 24px;
}

    .emails-page .admin-card-header[b-x4hl1bg1mw] {
        margin-bottom: 12px;
    }

        .emails-page .admin-card-header h4[b-x4hl1bg1mw] {
            margin: 0;
            font-size: 1.4rem;
            font-weight: 600;
        }

    /* WHITE CARDS */
    .emails-page .white-card[b-x4hl1bg1mw] {
        background: #ffffff;
        border-radius: 14px;
        padding: 18px 22px;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
        border: 1px solid #edf2f7;
    }

    .emails-page .email-content-card[b-x4hl1bg1mw] {
        margin-bottom: 18px;
    }

    .emails-page .email-recipients-card[b-x4hl1bg1mw] {
        margin-top: 4px;
    }

    /* MAIN BODY + PREVIEW LAYOUT */
    .emails-page .email-main-row[b-x4hl1bg1mw] {
        margin-top: 8px;
        display: flex;
        flex-wrap: wrap;
        gap: 18px;
        align-items: stretch;
    }

@media (min-width: 992px) {
    .emails-page .email-body-group[b-x4hl1bg1mw] {
        flex: 0 0 55%;
        max-width: 55%;
    }

    .emails-page .email-preview-group[b-x4hl1bg1mw] {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

.emails-page .email-body-group[b-x4hl1bg1mw],
.emails-page .email-preview-group[b-x4hl1bg1mw] {
    display: flex;
    flex-direction: column;
}

    /* TEXTAREA */
    .emails-page .email-body-group textarea.form-control[b-x4hl1bg1mw] {
        min-height: 180px;
        max-height: 260px;
        resize: vertical;
    }

/* PREVIEW */
.emails-page .email-preview[b-x4hl1bg1mw] {
    background-color: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 10px;
    min-height: 260px;
    max-height: 360px;
    overflow: auto;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

    .emails-page .email-preview > table[b-x4hl1bg1mw] {
        border-radius: 10px;
        overflow: hidden;
    }

/* FILTERS + TABLE */
.emails-page .email-table-card .table-admin-container[b-x4hl1bg1mw] {
    max-height: 360px;
}

.emails-page .email-table-card .table-admin thead th[b-x4hl1bg1mw] {
    position: sticky;
    top: 0;
    background-color: #f9fafb;
    z-index: 1;
}

/* FOOTER */
.emails-page .mt-3.d-flex[b-x4hl1bg1mw] {
    margin-top: 18px !important;
    align-items: center;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .emails-page[b-x4hl1bg1mw] {
        padding: 16px;
    }

        .emails-page .white-card[b-x4hl1bg1mw] {
            padding: 14px 16px;
        }

        .emails-page .email-main-row[b-x4hl1bg1mw] {
            gap: 12px;
        }

        .emails-page .email-body-group[b-x4hl1bg1mw],
        .emails-page .email-preview-group[b-x4hl1bg1mw] {
            flex: 0 0 100%;
            max-width: 100%;
        }

        .emails-page .email-preview[b-x4hl1bg1mw] {
            min-height: 200px;
            max-height: none;
        }
}

/* MAIN CONTAINER */
.email-compose[b-x4hl1bg1mw] {
    max-width: 850px; /* clean center width */
    margin: 0 auto 24px auto;
    padding: 30px;
}

/* FIRST ROW (Subject + template) */
.compose-row[b-x4hl1bg1mw] {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.compose-col[b-x4hl1bg1mw] {
    flex: 1;
}

/* BODY SECTION */
.compose-body[b-x4hl1bg1mw] {
    margin-bottom: 24px;
}

.compose-textarea[b-x4hl1bg1mw] {
    min-height: 160px; /* perfect height */
    max-height: 260px;
    resize: vertical;
}

/* PREVIEW SECTION */
.compose-preview[b-x4hl1bg1mw] {
    margin-top: 20px;
    margin-bottom: 24px;
}

/* Outer frame (full width) */
.preview-shell[b-x4hl1bg1mw] {
    background: #f1f3f5;
    border: 1px solid #d7dde3;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Real email width (centered inside shell) */
.preview-email[b-x4hl1bg1mw] {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    max-width: 650px; /* REAL EMAIL SIZE */
    margin: 0 auto;
    overflow: auto;
    max-height: 420px;
}

/* TEST EMAIL SECTION */
.compose-test[b-x4hl1bg1mw] {
    margin-top: 10px;
}

    .compose-test .btn[b-x4hl1bg1mw] {
        width: 100%;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .compose-row[b-x4hl1bg1mw] {
        flex-direction: column;
        gap: 10px;
    }

    .email-compose[b-x4hl1bg1mw] {
        padding: 20px;
        max-width: 100%;
    }
}
/* MAIN 2-COLUMN LAYOUT */
.emails-page .emails-main-row[b-x4hl1bg1mw] {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Left column = email, Right column = recipients */
.emails-page .emails-col-left[b-x4hl1bg1mw] {
    flex: 0 0 60%;
    max-width: 60%;
}

.emails-page .emails-col-right[b-x4hl1bg1mw] {
    flex: 0 0 40%;
    max-width: 40%;
}

    /* Cards fill their columns */
    .emails-page .emails-col-left .white-card[b-x4hl1bg1mw],
    .emails-page .emails-col-right .white-card[b-x4hl1bg1mw] {
        height: 100%;
    }

/* Override previous centering on email-compose */
.emails-page .email-compose[b-x4hl1bg1mw] {
    max-width: 100%;
    margin: 0;
}

/* Make recipients table scroll nicely in its card */
.emails-page .email-recipients-card .table-admin-container[b-x4hl1bg1mw] {
    max-height: 430px;
    overflow-y: auto;
}

/* Sticky header optional */
.emails-page .email-recipients-card .table-admin thead th[b-x4hl1bg1mw] {
    position: sticky;
    top: 0;
    background-color: #f9fafb;
    z-index: 1;
}

/* Responsive: stack on small screens */
@media (max-width: 1200px) {
    .emails-page .emails-main-row[b-x4hl1bg1mw] {
        flex-direction: column;
    }

    .emails-page .emails-col-left[b-x4hl1bg1mw],
    .emails-page .emails-col-right[b-x4hl1bg1mw] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* Footer inside the recipient card */
.email-recipients-card .recipients-footer[b-x4hl1bg1mw] {
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    margin-top: 14px;
}

    .email-recipients-card .recipients-footer small[b-x4hl1bg1mw] {
        font-size: 0.80rem;
    }

    .email-recipients-card .recipients-footer .btn[b-x4hl1bg1mw] {
        padding: 6px 16px;
        font-size: 0.85rem;
    }



/* Recipients table inside modal */
.confirm-recipients-table-container[b-x4hl1bg1mw] {
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
}

.table-confirm[b-x4hl1bg1mw] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

    .table-confirm th[b-x4hl1bg1mw],
    .table-confirm td[b-x4hl1bg1mw] {
        padding: 6px 10px;
        border-bottom: 1px solid #e5e7eb;
        text-align: left;
    }

    .table-confirm th[b-x4hl1bg1mw] {
        background-color: #f9fafb;
        font-weight: 600;
    }

/* Preview section inside modal reuses your preview styles */
.confirm-preview-block[b-x4hl1bg1mw] {
    margin-top: 10px;
}

.preview-shell-confirm[b-x4hl1bg1mw] {
    margin-top: 4px;
}

.confirm-preview-block[b-x4hl1bg1mw] {
    /* optional spacing */
    margin-top: 8px;
}

/* outer box */
.preview-shell-confirm[b-x4hl1bg1mw] {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 12px;
    min-height: 220px; /* <-- always a box */
    max-height: 350px; /* optional, to avoid growing too tall */
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,.05); /* soft border like your cards */
}

/* inner content */
.preview-email[b-x4hl1bg1mw] {
    min-height: 180px; /* ensures inner area also has height */
    white-space: normal; /* or pre-wrap if you want line breaks kept */
}
.send-test-row[b-x4hl1bg1mw] {
    display: flex;
    gap: 15px; /* spacing between the two items */
    margin-top: 8px;
}

.send-test-col[b-x4hl1bg1mw] {
    flex: 1; /* each takes 50% */
    display: flex;
    flex-direction: column;
}

.emails-page[b-x4hl1bg1mw] {
    padding: 24px 32px;
    background: #f3f4f6; /* light page bg */
}

    /* white cards */
    .emails-page .white-card[b-x4hl1bg1mw] {
        background: #ffffff;
        border-radius: 16px;
        padding: 22px 24px;
        border: 1px solid #e5e7eb;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    }

    /* labels + inputs */
    .emails-page label[b-x4hl1bg1mw] {
        font-size: 0.88rem;
        font-weight: 500;
        color: #111827;
        margin-bottom: 4px;
    }

    .emails-page .form-control[b-x4hl1bg1mw] {
        font-size: 0.9rem;
        border-radius: 8px;
        border-color: #d1d5db;
    }
    /* MAIN 2-COLUMN LAYOUT */
    .emails-page .emails-main-row[b-x4hl1bg1mw] {
        display: flex;
        gap: 20px;
        align-items: stretch; /* important */
    }

    /* left/right widths */
    .emails-page .emails-col-left[b-x4hl1bg1mw] {
        flex: 0 0 58%;
        max-width: 58%;
    }

    .emails-page .emails-col-right[b-x4hl1bg1mw] {
        flex: 0 0 42%;
        max-width: 42%;
    }

/* make the recipients card a flex column so footer is at bottom */
.email-recipients-card[b-x4hl1bg1mw] {
    display: flex;
    flex-direction: column;
}

    /* table grows, footer stays at bottom */
    .email-recipients-card .table-admin-container[b-x4hl1bg1mw] {
        flex: 1;
        max-height: 430px;
        overflow-y: auto;
    }

    /* footer */
    .email-recipients-card .recipients-footer[b-x4hl1bg1mw] {
        padding-top: 12px;
        border-top: 1px solid #e5e7eb;
        margin-top: 12px;
    }

/* responsive: stack */
@media (max-width: 1200px) {
    .emails-page .emails-main-row[b-x4hl1bg1mw] {
        flex-direction: column;
    }

    .emails-page .emails-col-left[b-x4hl1bg1mw],
    .emails-page .emails-col-right[b-x4hl1bg1mw] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* outer frame */
.preview-shell[b-x4hl1bg1mw] {
    background: #f1f5f9;
    border: 1px solid #d7dde3;
    padding: 18px;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* simulated email body */
.preview-email[b-x4hl1bg1mw] {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    max-width: 650px;
    margin: 0 auto;
    overflow: auto;
    max-height: 420px;
    padding: 10px 12px; /* small padding inside */
}
.send-test-row[b-x4hl1bg1mw] {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    align-items: flex-end;
}

.send-test-col[b-x4hl1bg1mw] {
    flex: 1;
}

/* stack on mobile */
@media (max-width: 768px) {
    .send-test-row[b-x4hl1bg1mw] {
        flex-direction: column;
        align-items: stretch;
    }

    .send-test-col .btn[b-x4hl1bg1mw] {
        width: 100%;
    }
}

.emails-page .helper-hint[b-x4hl1bg1mw] {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
}

/* footer contenedor en columna */
.email-recipients-card .recipients-footer[b-x4hl1bg1mw] {
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    margin-top: 14px;
}

/* fila principal: texto + botón en la misma línea */
.recipients-footer .footer-main-row[b-x4hl1bg1mw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* para móviles, el botón baja debajo del texto */
}

/* mensaje de ayuda rojo debajo */
.helper-hint[b-x4hl1bg1mw] {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
}

.email-actions-group .btn[b-x4hl1bg1mw] {
    font-size: 0.85rem;
    padding: 6px 14px;
}
/* _content/MisodsMarket.Admin/Pages/Index.razor.rz.scp.css */
.admin-home[b-hvcp3mjh0u] {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-home-header[b-hvcp3mjh0u] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.admin-home-title[b-hvcp3mjh0u] {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.admin-home-subtitle[b-hvcp3mjh0u] {
    margin: 0.25rem 0 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.admin-home-section[b-hvcp3mjh0u] {
    margin-top: 0.5rem;
}

/* responsive */
@media (max-width: 768px) {
    .admin-home[b-hvcp3mjh0u] {
        padding: 1rem;
    }

    .admin-home-header[b-hvcp3mjh0u] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .admin-home-title[b-hvcp3mjh0u] {
        font-size: 1.5rem;
    }
}

.admin-home[b-hvcp3mjh0u] {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
.admin-home-header[b-hvcp3mjh0u] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.admin-home-title[b-hvcp3mjh0u] {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.admin-home-subtitle[b-hvcp3mjh0u] {
    margin: 0.25rem 0 0;
    color: #6b7280;
    font-size: 0.95rem;
}

/* ===== DASHBOARD GRID ===== */
.dashboard-grid[b-hvcp3mjh0u] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 1.25rem;
    align-items: flex-start;
}

/* Cards */
.dashboard-card[b-hvcp3mjh0u] {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    min-height: 0; /* importante para scroll interno */
}

.dashboard-card-header[b-hvcp3mjh0u] {
    padding: 14px 16px 10px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-card-title[b-hvcp3mjh0u] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.dashboard-card-subtitle[b-hvcp3mjh0u] {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.dashboard-card-body[b-hvcp3mjh0u] {
    padding: 10px 12px 12px;
    min-height: 0; /* para que el overflow funcione dentro del grid */
}

/* Scroll interno de la tarjeta */
.dashboard-card-scroll[b-hvcp3mjh0u] {
    max-height: 520px; /* <-- ajusta aquí la altura visible de la tarjeta */
    overflow-y: auto;
    overflow-x: hidden;
}

/* Placeholder para futuras tarjetas */
.dashboard-card-placeholder[b-hvcp3mjh0u] {
    padding: 0.75rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    color: #6b7280;
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .dashboard-grid[b-hvcp3mjh0u] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-home[b-hvcp3mjh0u] {
        padding: 1rem;
    }

    .admin-home-header[b-hvcp3mjh0u] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .admin-home-title[b-hvcp3mjh0u] {
        font-size: 1.5rem;
    }
}

/* Tarjeta genérica de dashboard (puedes reutilizar donde quieras) */
.dashboard-card[b-hvcp3mjh0u] {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
}

/* Tarjetas que pueden tener contenido scrollable dentro */
.dashboard-card-scroll[b-hvcp3mjh0u] {
    max-height: 520px;
}

/* Header de la tarjeta */
.dashboard-card-header[b-hvcp3mjh0u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.dashboard-card-title[b-hvcp3mjh0u] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.dashboard-card-subtitle[b-hvcp3mjh0u] {
    font-size: 0.82rem;
    color: #6b7280;
}

/* Cuerpo de la tarjeta */
.dashboard-card-body[b-hvcp3mjh0u] {
    flex: 1;
    overflow-y: auto;
    padding-top: 6px;
}

/* Widget concreto de pedidos */
.pedidos-weekly-card[b-hvcp3mjh0u] {
    min-height: 280px;
}

.pedidos-weekly-chart-container[b-hvcp3mjh0u] {
    position: relative;
    width: 100%;
    height: 220px;
}

.pedidos-weekly-loading[b-hvcp3mjh0u],
.pedidos-weekly-empty[b-hvcp3mjh0u] {
    font-size: 0.9rem;
    color: #6b7280;
    padding: 10px 4px;
}

/* Leyenda simple debajo del gráfico */
.pedidos-weekly-legend[b-hvcp3mjh0u] {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .pedidos-weekly-legend .legend-dot[b-hvcp3mjh0u] {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: rgba(37, 99, 235, 0.8);
    }

.pedidos-weekly-chart-container[b-hvcp3mjh0u] {
    position: relative;
    height: 260px; /* key: give it a height */
    padding: 10px;
}

    .pedidos-weekly-chart-container canvas[b-hvcp3mjh0u] {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }
/* _content/MisodsMarket.Admin/Pages/JugadasTarjetas.razor.rz.scp.css */
body[b-8ju3rkrq8k] {
}
.table-actions-bar[b-8ju3rkrq8k] {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.btn-action[b-8ju3rkrq8k] {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .btn-action.primary[b-8ju3rkrq8k] {
        background: #0d6efd;
        color: white;
    }

    .btn-action.secondary[b-8ju3rkrq8k] {
        background: #6c757d;
        color: white;
    }

    .btn-action.tertiary[b-8ju3rkrq8k] {
        background: #198754;
        color: white;
    }

    .btn-action:hover[b-8ju3rkrq8k] {
        filter: brightness(1.1);
    }
/* _content/MisodsMarket.Admin/Pages/Login.razor.rz.scp.css */
/* ===== PAGE BACKGROUND ===== */
.login-page[b-6jebkuxq9p] {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
    background: #f3f5f9;
    font-family: 'Open Sans', sans-serif;
}

.login-loader-wrapper[b-6jebkuxq9p] {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f3f5f9;
}

/* ===== WIDE CARD ===== */
.login-card-wide[b-6jebkuxq9p] {
    width: 960px;
    max-width: 100%;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    display: flex;
    overflow: hidden;
}

/* ===== LEFT PANEL ===== */
.login-left[b-6jebkuxq9p] {
    flex: 1.1;
    background: linear-gradient(135deg, #001a2d, #046dba);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 32px;
}

.login-left-inner[b-6jebkuxq9p] {
    text-align: center;
    color: #ffffff;
}

.login-left-logo[b-6jebkuxq9p] {
    max-width: 230px;
    width: 70%;
    margin-bottom: 16px;
    user-select: none;
    -webkit-user-drag: none;
}


.login-right[b-6jebkuxq9p] {
    flex: 1;
    padding: 40px 44px 32px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.login-title[b-6jebkuxq9p] {
    font-size: 1.35rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
}

.login-subtitle[b-6jebkuxq9p] {
    font-size: 0.9rem;
    color: #7a8090;
    margin-bottom: 24px;
}

.login-input[b-6jebkuxq9p] {
    width: 100% !important;
    padding: 11px 13px !important;
    font-size: 0.95rem !important;
    border-radius: 999px !important;
    border: 1px solid #d0d4e4 !important;
    margin-bottom: 8px !important;
    color: #333 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
    background: #fafbff !important;
}

    .login-input:focus[b-6jebkuxq9p] {
        outline: none;
        border-color: #6b8cff !important;
        box-shadow: 0 0 0 3px rgba(107, 140, 255, 0.25) !important;
        background: #ffffff !important;
    }

/* wrapper around each pill + icon */
.login-field[b-6jebkuxq9p] {
    position: relative;
    display: flex;
    align-items: center;
}

/* extra padding-right so text doesn't overlap the icon */
.login-input-inner[b-6jebkuxq9p] {
    padding-right: 42px;
}

/* icon on the right */
.login-field-icon[b-6jebkuxq9p] {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #b7bfd8;
}

/* ===== BUTTON ===== */
.login-btn[b-6jebkuxq9p] {
    width: 100%;
    padding: 11px 16px;
    margin-top: 10px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg, #046dba, #001a2d);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.08s ease;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

    .login-btn:hover[b-6jebkuxq9p] {
        filter: brightness(1.05);
        transform: translateY(-1px);
    }

    .login-btn:active[b-6jebkuxq9p] {
        transform: translateY(0);
    }

/* ===== ALERT ===== */
.login-alert[b-6jebkuxq9p] {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #e52e50;
    min-height: 1.2em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .login-card-wide[b-6jebkuxq9p] {
        flex-direction: column;
    }

    .login-left[b-6jebkuxq9p] {
        padding: 24px 24px 12px 24px;
    }

    .login-right[b-6jebkuxq9p] {
        padding: 24px 22px 22px 22px;
    }
}

/* wrapper around each pill + icon */
.login-field[b-6jebkuxq9p] {
    position: relative;
    display: flex;
    align-items: center;
}

    /* style the InputText’s generated <input> */
    .login-field[b-6jebkuxq9p]  .login-input {
        width: 100%;
        padding: 11px 13px;
        font-size: 0.95rem;
        border-radius: 999px;
        border: 1px solid #d0d4e4;
        margin-bottom: 8px;
        color: #333;
        background: #fafbff;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

        /* extra padding-right so text doesn't overlap the icon */
        .login-field[b-6jebkuxq9p]  .login-input.login-input-inner {
            padding-right: 42px;
        }

        /* focus state */
        .login-field[b-6jebkuxq9p]  .login-input:focus {
            outline: none;
            border-color: #6b8cff;
            box-shadow: 0 0 0 3px rgba(107, 140, 255, 0.25);
            background: #ffffff;
        }

/* icon on the right */
.login-field-icon[b-6jebkuxq9p] {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #b7bfd8;
}

.login-company-logo[b-6jebkuxq9p] {
    position: absolute;
    top: 22px;
    right: 32px;
}

    .login-company-logo img[b-6jebkuxq9p] {
        height: 48px;
        opacity: 0.9;
    }
/* _content/MisodsMarket.Admin/Pages/Pedidos.razor.rz.scp.css */
/* Card that wraps all filters */
.pedidos-filters[b-hgkbo426tq] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 16px 18px 10px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
    /* Each row is a flex line */
    .pedidos-filters .form-row[b-hgkbo426tq] {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 18px;
        margin-bottom: 10px;
    }

    /* Each form-group behaves like a responsive column */
    .pedidos-filters .form-group[b-hgkbo426tq] {
        flex: 1 1 220px; /* min width, then grow */
        margin-bottom: 0; /* override bootstrap extra space */
    }
    /* Labels */
    .pedidos-filters label[b-hgkbo426tq] {
        font-size: 0.8rem;
        font-weight: 600;
        margin-bottom: 4px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #6b7280; /* gray-500 */
    }

    /* All inputs/selects inside filter card */
    .pedidos-filters .form-control[b-hgkbo426tq] {
        border-radius: 8px;
        border: 1px solid #d1d5db;
        font-size: 0.9rem;
        padding: 6px 10px;
        height: 38px;
        box-shadow: none;
        transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
    }

        .pedidos-filters .form-control:focus[b-hgkbo426tq] {
            border-color: #2563eb;
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
            outline: none;
            background-color: #f9fafb;
        }

    /* Date inputs: same look as select */
    .pedidos-filters input[type="date"].form-control[b-hgkbo426tq] {
        padding-right: 10px;
    }
    /* Put the button row a bit lower */
    .pedidos-filters .form-row:last-of-type[b-hgkbo426tq] {
        margin-top: 4px;
    }

    /* Modern primary button */
    .pedidos-filters .btn.btn-primary[b-hgkbo426tq] {
        border-radius: 8px;
        padding: 8px 18px;
        font-size: 0.9rem;
        font-weight: 600;
        background: #2563eb;
        border-color: #2563eb;
        box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
        transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.08s ease;
    }

        .pedidos-filters .btn.btn-primary:hover[b-hgkbo426tq] {
            background: #1d4ed8;
            border-color: #1d4ed8;
            box-shadow: 0 4px 10px rgba(30, 64, 175, 0.45);
            transform: translateY(-1px);
        }

        .pedidos-filters .btn.btn-primary:active[b-hgkbo426tq] {
            transform: translateY(0);
            box-shadow: 0 2px 6px rgba(30, 64, 175, 0.35);
        }
@media (max-width: 768px) {
    .pedidos-filters .form-group[b-hgkbo426tq] {
        flex: 1 1 100%;
    }
}
.btn-filter[b-hgkbo426tq] {
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    background: #2563eb; /* blue-600 */
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
    transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.08s ease;
}

    .btn-filter:hover[b-hgkbo426tq] {
        background: #1d4ed8; /* blue-700 */
        box-shadow: 0 4px 10px rgba(30, 64, 175, 0.45);
        transform: translateY(-1px);
    }

    .btn-filter:active[b-hgkbo426tq] {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(30, 64, 175, 0.35);
    }

/* ======= CARD: Totales sobre los pedidos ======= */

.pedidos-summary[b-hgkbo426tq] {
    margin-top: 18px;
    margin-bottom: 14px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 16px 20px 18px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

    /* Title of the card */
    .pedidos-summary .summary-header[b-hgkbo426tq] {
        font-size: 0.95rem;
        font-weight: 600;
        color: #374151;
        margin-bottom: 12px;
    }

    /* Grid of small cards inside */
    .pedidos-summary .summary-grid[b-hgkbo426tq] {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px 14px;
    }

    /* Each small metric card */
    .pedidos-summary .summary-card[b-hgkbo426tq] {
        background: #f9fafb;
        border-radius: 10px;
        padding: 10px 12px;
        border: 1px solid #e5e7eb;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .pedidos-summary .summary-card-wide[b-hgkbo426tq] {
        grid-column: span 2;
    }

    .pedidos-summary .summary-label[b-hgkbo426tq] {
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #6b7280;
    }

    .pedidos-summary .summary-value[b-hgkbo426tq] {
        font-size: 0.95rem;
        font-weight: 600;
        color: #111827;
    }

/* Button inside the Donativo card */
.btn-summary-action[b-hgkbo426tq] {
    margin-left: 8px;
    margin-top: 2px;
    border: none;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #22c55e;
    color: white;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}

    .btn-summary-action:hover[b-hgkbo426tq] {
        background: #16a34a;
        box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
        transform: translateY(-1px);
    }

/* Responsive: fewer columns on narrow screens */
@media (max-width: 1100px) {
    .pedidos-summary .summary-grid[b-hgkbo426tq] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pedidos-summary .summary-grid[b-hgkbo426tq] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    .pedidos-summary .summary-grid[b-hgkbo426tq] {
        grid-template-columns: 1fr;
    }
}
/* Toolbar above the table (Comprobar + Exportar) */
.pedidos-toolbar-right[b-hgkbo426tq] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 10px 0 8px;
}

/* Green Comprobar Tpv button */
.btn-toolbar-green[b-hgkbo426tq] {
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    background: #16a34a; /* green-600 */
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.08s ease;
}

    .btn-toolbar-green:hover[b-hgkbo426tq] {
        background: #15803d; /* green-700 */
        box-shadow: 0 4px 10px rgba(21, 128, 61, 0.5);
        transform: translateY(-1px);
    }

    .btn-toolbar-green:active[b-hgkbo426tq] {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(21, 128, 61, 0.4);
    }

/* ====== PEDIDOS TABLE ====== */

.pedidos-table-wrapper[b-hgkbo426tq] {
    margin-top: 12px;
}

/* container card look */
.pedidos-table[b-hgkbo426tq] {
    background: #ffffff !important;
    border-radius: 12px;
    overflow: hidden;
    border-color: #e5e7eb !important;
}

    /* header */
    .pedidos-table thead th[b-hgkbo426tq] {
        background: #f3f4f6;
        color: #374151;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        border-bottom: 1px solid #e5e7eb;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    /* body cells */
    .pedidos-table tbody td[b-hgkbo426tq] {
        vertical-align: middle;
        font-size: 0.9rem;
        border-color: #e5e7eb;
    }

    /* zebra rows a bit softer */
    .pedidos-table tbody tr:nth-child(odd) td[b-hgkbo426tq] {
        background-color: #f9fafb;
    }

    /* hover row */
    .pedidos-table tbody tr:hover td[b-hgkbo426tq] {
        background-color: #eff6ff;
    }

    /* align numeric columns (Total Pedido, Total Mis Ventas) */
    .pedidos-table tbody td:nth-child(3)[b-hgkbo426tq],
    .pedidos-table tbody td:nth-child(4)[b-hgkbo426tq] {
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    /* Fecha centrado ligeramente */
    .pedidos-table tbody td:nth-child(5)[b-hgkbo426tq] {
        white-space: nowrap;
    }

    /* Estado Pago / Estado Envío as pills if you want */
    .pedidos-table tbody td:nth-child(6)[b-hgkbo426tq],
    .pedidos-table tbody td:nth-child(8)[b-hgkbo426tq] {
        font-size: 0.8rem;
    }

    /* center Detalle buttons */
    .pedidos-table tbody td:last-child[b-hgkbo426tq] {
        text-align: center;
    }

    /* make email/phone lines more readable */
    .pedidos-table tbody td:nth-child(2)[b-hgkbo426tq] {
        line-height: 1.3;
    }
/* BASE BADGE STYLE */
.badge[b-hgkbo426tq] {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-transform: capitalize;
}

/* COLORS */
.badge-success[b-hgkbo426tq] {
    background: #16a34a; /* green */
}

.badge-warning[b-hgkbo426tq] {
    background: #facc15; /* yellow */
    color: #000;
}

.badge-danger[b-hgkbo426tq] {
    background: #dc2626; /* red */
}

.badge-info[b-hgkbo426tq] {
    background: #0ea5e9; /* blue */
}

.badge-dark[b-hgkbo426tq] {
    background: #374151; /* gray/black */
}

.badge-secondary[b-hgkbo426tq] {
    background: #6b7280; /* neutral gray */
}
/* generic badge already defined, we just add variants + icon spacing */

/* icons inside badges */
.badge-icon[b-hgkbo426tq] {
    margin-right: 6px;
    font-size: 0.8em;
}

/* common style for tipo envio */
.badge-tipo[b-hgkbo426tq] {
    text-transform: none; /* keep normal case for text */
}

/* Recogida (purple) */
.badge-tipo-recogida[b-hgkbo426tq] {
    background: #7c3aed; /* violet-600 */
}

/* Mensajería (orange) */
.badge-tipo-mensajeria[b-hgkbo426tq] {
    background: #f97316; /* orange-500 */
}

/* Certificado digital (blue) */
.badge-tipo-certificado[b-hgkbo426tq] {
    background: #0ea5e9; /* sky-500 */
}

.modern-table-container[b-hgkbo426tq] {
    background: #ffffff;
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    overflow: auto; /* ⬅ allow internal scroll */
    max-height: 70vh; /* ⬅ adjust height to your taste */
    margin-top: 1.5rem;
}

/* Remove all borders from table */
.modern-table[b-hgkbo426tq] {
    border-collapse: collapse !important;
    width: 100%;
}

    /* Header */
    .modern-table thead th[b-hgkbo426tq] {
        background: #f6f8fa;
        color: #333;
        font-weight: 600;
        padding: 14px 16px;
        border-bottom: 1px solid #e7e7e7;
        text-transform: uppercase;
        font-size: 0.85rem;
    }

    /* Body rows */
    .modern-table tbody td[b-hgkbo426tq] {
        padding: 14px 16px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.9rem;
        vertical-align: middle;
    }

    /* Remove last row line */
    .modern-table tbody tr:last-child td[b-hgkbo426tq] {
        border-bottom: none;
    }

    /* Row hover */
    .modern-table tbody tr:hover[b-hgkbo426tq] {
        background: #f9fbff;
    }

    /* Optional: style for email links */
    .modern-table a[b-hgkbo426tq] {
        color: #0a58ca;
        text-decoration: none;
    }

        .modern-table a:hover[b-hgkbo426tq] {
            text-decoration: underline;
        }


    /* Vertical column separators (ONLY between columns) */
    .modern-table thead th:not(:first-child):not(:last-child)[b-hgkbo426tq],
    .modern-table tbody td:not(:first-child):not(:last-child)[b-hgkbo426tq] {
        border-right: 1px solid #eaeaea;
    }

    /* Sticky header */
    .modern-table thead th[b-hgkbo426tq] {
        position: sticky;
        top: 0;
        z-index: 5; /* stay above rows */
        background: #f6f8fa; /* same as before so it doesn't go transparent */
        box-shadow: 0 2px 4px rgba(0,0,0,0.04); /* subtle shadow under header */
    }

.pedidos-title-range[b-hgkbo426tq] {
    text-align: center;
    margin: 24px 0 14px;
}

    .pedidos-title-range span[b-hgkbo426tq] {
        position: relative;
        font-size: 1.3rem;
        font-weight: 600;
        color: #333; /* normal text (or remove this line to inherit) */
        padding-bottom: 6px;
    }

        .pedidos-title-range span[b-hgkbo426tq]::after {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            width: 60%;
            max-width: 260px;
            height: 3px;
            border-radius: 999px;
            background-color: #1976d2; /* blue underline */
        }

/* Grid contenedor de las dos tarjetas arriba */
.modalDetallePedido-topGrid[b-hgkbo426tq] {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

/* Cada columna ocupa la mitad */
.modalDetallePedido-col[b-hgkbo426tq] {
    flex: 1;
    min-width: 0;
}

/* Tarjeta blanca reutilizable */
.pedido-info-card[b-hgkbo426tq] {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

    /* Título de sección */
    .pedido-info-card .section-title[b-hgkbo426tq] {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 12px;
        color: #001a2d;
        border-bottom: 2px solid #e5e7eb;
        padding-bottom: 4px;
    }

/* Tabla de datos compacta */
.tableDatosPedido[b-hgkbo426tq] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

    .tableDatosPedido td[b-hgkbo426tq] {
        padding: 6px 4px;
    }

    .tableDatosPedido .label[b-hgkbo426tq] {
        font-weight: 600;
        color: #2f3b45;
        width: 30%;
        white-space: nowrap;
    }

    .tableDatosPedido .value[b-hgkbo426tq] {
        color: #3b4a55;
        text-align: left;
        padding-left: 10px;
    }

/* Línea separadora arriba de las filas */
.separator-row td[b-hgkbo426tq] {
    height: 6px;
    background-color: var(--ColordeFondoBotones, #001a2d);
    border-radius: 4px;
}

/* Hover suave (opcional) */
.tableDatosPedido tr:hover td[b-hgkbo426tq] {
    background: #f7f9fb;
}

/* Responsive: en móvil se apilan una encima de la otra */
@media (max-width: 992px) {
    .modalDetallePedido-topGrid[b-hgkbo426tq] {
        flex-direction: column;
    }
}
/* _content/MisodsMarket.Admin/Shared/MainLayout.razor.rz.scp.css */
.page[b-3jpvapugyz] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main[b-3jpvapugyz] {
    flex: 1;
}

.top-row[b-3jpvapugyz] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-3jpvapugyz]  a, .top-row .btn-link[b-3jpvapugyz] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-3jpvapugyz] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-3jpvapugyz] {
        display: none;
    }

    .top-row.auth[b-3jpvapugyz] {
        justify-content: space-between;
    }

    .top-row a[b-3jpvapugyz], .top-row .btn-link[b-3jpvapugyz] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-3jpvapugyz] {
        flex-direction: row;
    }

    .sidebar[b-3jpvapugyz] {
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-3jpvapugyz] {
        position: sticky;
        top: 0;
        z-index: 1;
    }
}
/* _content/MisodsMarket.Admin/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-y240ndjd15] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-y240ndjd15] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-y240ndjd15] {
    font-size: 1.1rem;
}

.oi[b-y240ndjd15] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-y240ndjd15] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-y240ndjd15] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-y240ndjd15] {
        padding-bottom: 1rem;
    }

    .nav-item[b-y240ndjd15]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-y240ndjd15]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-y240ndjd15]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-y240ndjd15] {
        display: none;
    }

    .collapse[b-y240ndjd15] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
/* _content/MisodsMarket.Admin/Shared/NavMenuN.razor.rz.scp.css */
/************************************
 *          SIDEBAR BASE
 ************************************/
.sidebar[b-qfwf2ots1w] {
    height: 100vh;
    background-image: linear-gradient(180deg, #023d69 0%, #001a2d 70%);
    padding: 10px;
    position: fixed;
    left: 0;
    top: 0;
    transition: width 0.25s ease;
    color: white;
    display: flex;
    flex-direction: column;
    overflow-x: hidden !important;
}

/* collapsed / expanded widths */
.sidebar-collapsed[b-qfwf2ots1w] {
    width: 70px;
}

.sidebar-expanded[b-qfwf2ots1w] {
    width: 260px;
}

/* prevent scroll-x */
.sidebar .nav[b-qfwf2ots1w],
.sidebar > div[b-qfwf2ots1w] {
    overflow-x: hidden !important;
}

/************************************
 *          TOGGLE BUTTON
 ************************************/
.btn-toggle[b-qfwf2ots1w] {
    width: 100%;
    background: transparent !important;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* logos */
.menu-logo-expanded[b-qfwf2ots1w] {
    width: 160px;
    height: auto;
    padding: 10px 0;
    filter: brightness(0) invert(1);
}

.menu-logo-collapsed[b-qfwf2ots1w] {
    width: 36px;
    height: auto;
    padding: 5px 0;
    filter: brightness(0) invert(1);
}

.sidebar-collapsed .btn-toggle[b-qfwf2ots1w] {
    padding: 8px 0;
    justify-content: center;
}

/************************************
 *           NAV ITEMS
 ************************************/
.nav[b-qfwf2ots1w] {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    width: 100% !important;
}

    .nav .nav-item[b-qfwf2ots1w] {
        margin-bottom: 4px;
    }

    /* main link style */
    .nav .nav-link[b-qfwf2ots1w] {
        color: #ffffff !important;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none !important;
        border-radius: 8px;
        font-size: 0.9rem;
        white-space: nowrap;
        box-sizing: border-box;
        width: 100%;
    }

        /* HOVER */
        .nav .nav-link:hover[b-qfwf2ots1w] {
            color: #ffffff !important;
            background-color: rgba(255, 255, 255, 0.08) !important;
        }

        /* ACTIVE (Blazor adds .active) */
        .nav .nav-link.active[b-qfwf2ots1w] {
            color: #ffffff !important;
            background-color: rgba(255, 255, 255, 0.16) !important;
            font-weight: 600;
        }

/* icon style */
.nav-icon[b-qfwf2ots1w] {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: #ffffff !important;
}

/************************************
 *           SUBMENUS
 ************************************/
.submenu[b-qfwf2ots1w] {
    list-style: none;
    padding-left: 18px;
    margin-bottom: 6px;
}

    .submenu .nav-link[b-qfwf2ots1w] {
        font-size: 0.86rem;
    }

/************************************
 *         COLLAPSED MODE
 ************************************/
.sidebar-collapsed .nav-text[b-qfwf2ots1w] {
    display: none;
}

.sidebar-collapsed .nav[b-qfwf2ots1w] {
    padding: 0 !important;
    width: 100% !important;
    align-items: stretch;
}

    .sidebar-collapsed .nav .nav-link[b-qfwf2ots1w] {
        justify-content: center !important;
        padding: 8px 0;
        gap: 0;
    }

.sidebar-collapsed .nav-icon[b-qfwf2ots1w] {
    width: 24px;
    margin: 0;
}

/* Hide submenu when collapsed */
.sidebar-collapsed .submenu[b-qfwf2ots1w] {
    display: none !important;
}

/************************************
 *            QR SECTION
 ************************************/
.sidebar-qr[b-qfwf2ots1w] {
    margin-top: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.sidebar-qr-img[b-qfwf2ots1w] {
    height: 72px;
    width: 72px;
    border-radius: 50%;
    object-fit: contain;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.sidebar-collapsed .sidebar-qr-img[b-qfwf2ots1w] {
    height: 42px;
    width: 42px;
    padding: 4px;
}

/************************************
 *     WARNING BOX (OPERACIONES)
 ************************************/
.sidebar-warning[b-qfwf2ots1w] {
    width: 100%;
    border: none;
    background-color: #ffeb3b;
    border-radius: 8px;
    color: #000;
    padding: 8px 10px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-align: left;
    margin-bottom: 8px;
}

.sidebar-warning-icon[b-qfwf2ots1w] {
    font-size: 1rem;
}

.sidebar-warning-text[b-qfwf2ots1w] {
    line-height: 1.25;
}

/* collapsed warning */
.sidebar-collapsed .sidebar-warning[b-qfwf2ots1w] {
    justify-content: center;
    padding: 6px;
}

.sidebar-collapsed .sidebar-warning-text[b-qfwf2ots1w] {
    display: none;
}

/************************************
 *         LOGOUT BUTTON
 ************************************/
.logout-btn[b-qfwf2ots1w] {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    background-color: #dc3545;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

    .logout-btn:hover[b-qfwf2ots1w] {
        background-color: #c82333;
    }

    .logout-btn:active[b-qfwf2ots1w] {
        background-color: #b51f2b;
    }

.sidebar-collapsed .logout-btn[b-qfwf2ots1w] {
    padding: 8px;
}

    .sidebar-collapsed .logout-btn .nav-text[b-qfwf2ots1w] {
        display: none;
    }

/************************************
 *         SCROLL AREA
 ************************************/
.sidebar-scroll[b-qfwf2ots1w] {
    flex: 1;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

/************************************
 *    FIX BOOTSTRAP LINK COLORS
 ************************************/
.sidebar .nav-link:focus[b-qfwf2ots1w],
.sidebar .nav-link:active[b-qfwf2ots1w] {
    color: #ffffff !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}
.submenu-arrow[b-qfwf2ots1w] {
    font-size: 0.55rem;
    margin-left: 6px;
    opacity: 0.65;
    transition: transform 0.2s ease;
    transform-origin: center;
    position: relative;
    top: -1px;
}

    /* mirror vertically (flip 180º) */
    .submenu-arrow.open[b-qfwf2ots1w] {
        transform: scaleY(-1); /* <--- vertical flip */
    }

/* hide arrow when collapsed */
.sidebar-collapsed .submenu-arrow[b-qfwf2ots1w] {
    display: none !important;
}

/* keep spacing clean */
.submenu-toggle[b-qfwf2ots1w] {
    display: flex !important;
    align-items: center;
    gap: 6px;
}
/* Smaller and tighter submenu items */
.submenu .nav-link[b-qfwf2ots1w] {
    padding: 6px 10px !important; /* reduce height */
    font-size: 0.85rem !important; /* slightly smaller text */
    display: flex;
    align-items: center;
    gap: 8px;
}

/* indent icons on submenu items */
.submenu .nav-icon[b-qfwf2ots1w] {
    margin-left: 6px; /* indent child items */
    font-size: 0.9rem; /* slightly smaller icon */
}

/* fix text positioning */
.submenu .nav-text[b-qfwf2ots1w] {
    font-size: 0.85rem;
}

/* remove extra padding from li */
.submenu .nav-item[b-qfwf2ots1w] {
    margin-bottom: 0px !important;
}
.submenu-toggle[b-qfwf2ots1w] {
    padding: 8px 10px !important;
}
