/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-f1i3ypjnyd] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-f1i3ypjnyd] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Estilos para el Modal de Cierre de Sesión */
.modal-backdrop-custom[b-f1i3ypjnyd] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-window[b-f1i3ypjnyd] {
    background: white;
    width: 100%;
    border-radius: var(--radius-3xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.modal-header-icon[b-f1i3ypjnyd] {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.modal-title[b-f1i3ypjnyd] {
    font-weight: 900;
    color: var(--color-slate-800);
}

.modal-desc[b-f1i3ypjnyd] {
    color: var(--color-slate-500);
    line-height: 1.5;
    font-size: 0.9rem;
}

.modal-footer-btns[b-f1i3ypjnyd] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.animate-pop[b-f1i3ypjnyd] {
    animation: popIn-b-f1i3ypjnyd 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn-b-f1i3ypjnyd {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-zlatpn5vl6],
.components-reconnect-repeated-attempt-visible[b-zlatpn5vl6],
.components-reconnect-failed-visible[b-zlatpn5vl6],
.components-pause-visible[b-zlatpn5vl6],
.components-resume-failed-visible[b-zlatpn5vl6],
.components-rejoining-animation[b-zlatpn5vl6] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-zlatpn5vl6],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-zlatpn5vl6],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-zlatpn5vl6],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-zlatpn5vl6],
#components-reconnect-modal.components-reconnect-retrying[b-zlatpn5vl6],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-zlatpn5vl6],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-zlatpn5vl6],
#components-reconnect-modal.components-reconnect-failed[b-zlatpn5vl6],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-zlatpn5vl6] {
    display: block;
}


#components-reconnect-modal[b-zlatpn5vl6] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-zlatpn5vl6 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-zlatpn5vl6 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-zlatpn5vl6 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-zlatpn5vl6]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-zlatpn5vl6 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-zlatpn5vl6 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-zlatpn5vl6 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-zlatpn5vl6 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-zlatpn5vl6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-zlatpn5vl6] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-zlatpn5vl6] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-zlatpn5vl6] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-zlatpn5vl6] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-zlatpn5vl6] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-zlatpn5vl6] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-zlatpn5vl6 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-zlatpn5vl6] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-zlatpn5vl6 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Catalog/CatalogIndex.razor.rz.scp.css */
.search-container[b-m0djb52on0] {
    width: 280px;
}

.cart-drawer[b-m0djb52on0] {
    width: 100%;
    max-width: 380px;
}

.qty-btn-cat[b-m0djb52on0] {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-sm);
    font-weight: bold;
    cursor: pointer;
    color: var(--color-slate-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-input-cat[b-m0djb52on0] {
    width: 35px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--color-slate-800);
}

@media (max-width: 640px) {
    .search-container[b-m0djb52on0] {
        width: 100%;
        flex: 1;
    }

    .cart-drawer[b-m0djb52on0] {
        max-width: 100%;
    }
}

@@keyframes slideInRight {
    from[b-m0djb52on0] {
        transform: translateX(100%);
    }

    to[b-m0djb52on0] {
        transform: translateX(0);
    }
}

@@keyframes spin {
    from[b-m0djb52on0] {
        transform: rotate(0deg);
    }

    to[b-m0djb52on0] {
        transform: rotate(360deg);
    }
}

.animate-spin[b-m0djb52on0] {
    animation: spin 1s linear infinite;
}

input[b-m0djb52on0]::-webkit-outer-spin-button, input[b-m0djb52on0]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
:root[b-0u6pgn56hp] {
    --color-amber-50: #fffbeb;
    --border-emerald: #10b981;
    --border-amber: #f59e0b;
    --border-indigo: #6366f1;
}

.mb-12[b-0u6pgn56hp] {
    margin-bottom: 3rem;
}

.p-8[b-0u6pgn56hp] {
    padding: 2rem !important;
}

.stats-grid[b-0u6pgn56hp] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.stat-card[b-0u6pgn56hp] {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid var(--color-slate-100);
}

    .stat-card:hover[b-0u6pgn56hp] {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

    .stat-card.border-emerald[b-0u6pgn56hp] {
        border-top: 4px solid var(--border-emerald);
    }

    .stat-card.border-amber[b-0u6pgn56hp] {
        border-top: 4px solid var(--border-amber);
    }

    .stat-card.border-indigo[b-0u6pgn56hp] {
        border-top: 4px solid var(--border-indigo);
    }

.stat-icon[b-0u6pgn56hp] {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .stat-icon i[b-0u6pgn56hp] {
        width: 24px;
        height: 24px;
        stroke-width: 2.5px;
    }

.stat-label[b-0u6pgn56hp] {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-slate-400);
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.05em;
}

.stat-value[b-0u6pgn56hp] {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-slate-800);
    margin: 0.15rem 0;
    line-height: 1;
}

.stat-delta[b-0u6pgn56hp] {
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
}

.dashboard-main-layout[b-0u6pgn56hp] {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2.5rem;
}

.dashboard-column[b-0u6pgn56hp] {
    display: flex;
    flex-direction: column;
}

.section-title[b-0u6pgn56hp] {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-slate-800);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

    .section-title i[b-0u6pgn56hp] {
        width: 18px;
        height: 18px;
        color: var(--color-emerald-600);
    }

.btn-text[b-0u6pgn56hp] {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--color-emerald-600);
    background: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timeline-item[b-0u6pgn56hp] {
    position: relative;
    padding-left: 1.5rem;
    padding-bottom: 1.5rem;
    border-left: 2px solid var(--color-slate-100);
}

    .timeline-item:last-child[b-0u6pgn56hp] {
        padding-bottom: 0;
        border-left-color: transparent;
    }

.timeline-marker[b-0u6pgn56hp] {
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-slate-200);
    border: 2px solid white;
}

    .timeline-marker.urgent[b-0u6pgn56hp] {
        background: var(--color-red-500);
        box-shadow: 0 0 0 4px var(--color-red-50);
    }

.delivery-time[b-0u6pgn56hp] {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-slate-400);
    text-transform: uppercase;
}

.delivery-client[b-0u6pgn56hp] {
    font-weight: 900;
    color: var(--color-slate-800);
    font-size: 1rem;
    margin: 0.2rem 0;
}

.delivery-detail[b-0u6pgn56hp] {
    font-size: 0.75rem;
    color: var(--color-slate-500);
    margin: 0;
    line-height: 1.4;
}

.badge-urgent[b-0u6pgn56hp] {
    background: var(--color-red-50);
    color: var(--color-red-600);
    font-size: 0.55rem;
    font-weight: 900;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.data-table-simple[b-0u6pgn56hp] {
    width: 100%;
    border-collapse: collapse;
}

    .data-table-simple th[b-0u6pgn56hp] {
        padding: 1rem;
        font-size: 0.6rem;
        text-transform: uppercase;
        color: var(--color-slate-400);
        font-weight: 800;
        text-align: left;
        border-bottom: 1px solid var(--color-slate-100);
    }

    .data-table-simple td[b-0u6pgn56hp] {
        padding: 0.85rem 1rem;
        border-bottom: 1px solid var(--color-slate-50);
        vertical-align: middle;
    }

.td-main[b-0u6pgn56hp] {
    display: block;
    font-weight: 800;
    color: var(--color-slate-800);
    font-size: 0.9rem;
}

.td-sub[b-0u6pgn56hp] {
    display: block;
    font-size: 0.65rem;
    color: var(--color-slate-400);
    font-weight: 600;
    font-family: monospace;
}

.qty-badge[b-0u6pgn56hp] {
    background: var(--color-slate-100);
    color: var(--color-slate-700);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-lg);
}

.status-dot[b-0u6pgn56hp] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

    .status-dot.pendiente[b-0u6pgn56hp] {
        background: var(--color-amber-500);
    }

    .status-dot.validado[b-0u6pgn56hp] {
        background: var(--color-emerald-500);
    }

    .status-dot.enpreparacion[b-0u6pgn56hp] {
        background: var(--color-blue-600);
    }

    .status-dot.anulado[b-0u6pgn56hp] {
        background: var(--color-red-600);
    }

    .status-dot.despachado[b-0u6pgn56hp] {
        background: var(--color-slate-900);
    }

.status-text-simple[b-0u6pgn56hp] {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-slate-600);
    text-transform: lowercase;
}

.progress-bar-thin[b-0u6pgn56hp] {
    height: 6px;
    border-radius: 10px;
    overflow: hidden;
}

    .progress-bar-thin .fill[b-0u6pgn56hp] {
        height: 100%;
        transition: width 1s ease-in-out;
    }

.animate-spin[b-0u6pgn56hp] {
    animation: spin-b-0u6pgn56hp 1s linear infinite;
}

@keyframes spin-b-0u6pgn56hp {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1100px) {
    .dashboard-main-layout[b-0u6pgn56hp] {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-grid[b-0u6pgn56hp] {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card[b-0u6pgn56hp] {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .stat-value[b-0u6pgn56hp] {
        font-size: 1.4rem;
    }
}
/* /Components/Pages/Mantenedores/AsignacionCatalogo.razor.rz.scp.css */
.btn-content-state[b-f0nmt12fmb] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hidden-state[b-f0nmt12fmb] {
    display: none !important;
}

.active-state[b-f0nmt12fmb] {
    display: flex !important;
}

.selection-header-container[b-f0nmt12fmb] {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    background-color: var(--color-slate-50);
}

.company-selector-wrapper[b-f0nmt12fmb] {
    width: 100%;
}

.selector-premium[b-f0nmt12fmb] {
    font-weight: 700;
    height: 3.5rem;
    font-size: 1rem;
    border-color: var(--color-emerald-200);
    background-color: white;
}

.selection-actions-wrapper[b-f0nmt12fmb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--color-slate-200);
}

.stats-box[b-f0nmt12fmb] {
    text-align: left;
}

.stats-label[b-f0nmt12fmb] {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stats-value[b-f0nmt12fmb] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-emerald-600);
}

.btn-save-mobile[b-f0nmt12fmb] {
    height: 3.5rem;
    padding: 0 1.5rem;
    box-shadow: var(--shadow-emerald);
    flex: 1;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Se removió el @@ de los bloques media y keyframes para evitar que Visual Studio colapse */
@media (min-width: 768px) {
    .selection-header-container[b-f0nmt12fmb] {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .company-selector-wrapper[b-f0nmt12fmb] {
        max-width: 450px;
    }

    .selection-actions-wrapper[b-f0nmt12fmb] {
        border-top: none;
        padding-top: 0;
        justify-content: flex-end;
    }

    .stats-box[b-f0nmt12fmb] {
        text-align: right;
    }
}

.alert-danger[b-f0nmt12fmb] {
    background-color: var(--color-red-50);
    color: var(--color-red-600);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-red-100);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
}

.form-label-crud[b-f0nmt12fmb] {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.group-dot[b-f0nmt12fmb] {
    width: 8px;
    height: 8px;
    background-color: var(--color-emerald-500);
    border-radius: 50%;
    margin-right: 0.75rem;
}

.group-title[b-f0nmt12fmb] {
    margin: 0;
    font-weight: 900;
    color: var(--color-slate-800);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.group-actions[b-f0nmt12fmb] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.divider[b-f0nmt12fmb] {
    color: var(--color-slate-200);
    font-size: 0.8rem;
}

.btn-text-action[b-f0nmt12fmb] {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-emerald-600);
    background: transparent;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

    .btn-text-action.danger[b-f0nmt12fmb] {
        color: var(--color-red-500);
    }

.products-grid-inner[b-f0nmt12fmb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1px;
    background-color: var(--color-slate-100);
}

.selection-item[b-f0nmt12fmb] {
    background: white;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .selection-item:hover[b-f0nmt12fmb] {
        background-color: var(--color-slate-50);
    }

    .selection-item.active[b-f0nmt12fmb] {
        background-color: var(--color-emerald-50);
    }

.prod-name[b-f0nmt12fmb] {
    display: block;
    font-weight: 700;
    color: var(--color-slate-800);
    font-size: 0.95rem;
}

.prod-meta[b-f0nmt12fmb] {
    display: block;
    font-size: 0.7rem;
    color: var(--color-slate-400);
    font-weight: 600;
}

.custom-toggle[b-f0nmt12fmb] {
    width: 44px;
    height: 24px;
    border-radius: 20px;
    padding: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
}

    .custom-toggle.off[b-f0nmt12fmb] {
        background-color: var(--color-slate-200);
    }

    .custom-toggle.on[b-f0nmt12fmb] {
        background-color: var(--color-emerald-500);
    }

.toggle-circle[b-f0nmt12fmb] {
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.custom-toggle.on .toggle-circle[b-f0nmt12fmb] {
    transform: translateX(20px);
}

.empty-state-container[b-f0nmt12fmb] {
    padding: 6rem 2rem;
    text-align: center;
    background: white;
    border-radius: var(--radius-3xl);
    border: 2px dashed var(--color-slate-200);
}

.empty-icon-box[b-f0nmt12fmb] {
    width: 4rem;
    height: 4rem;
    background: var(--color-slate-50);
    color: var(--color-slate-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.animate-spin[b-f0nmt12fmb] {
    animation: spin-b-f0nmt12fmb 1s linear infinite;
}

@keyframes fadeIn-b-f0nmt12fmb {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin-b-f0nmt12fmb {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .products-selection-grid[b-f0nmt12fmb] {
        grid-template-columns: 1fr;
    }

    .flex-wrap-mobile[b-f0nmt12fmb] {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}
/* /Components/Pages/Pedidos/Pedidos.razor.rz.scp.css */
/* VARIABLES DE APOYO LOCALES */
:root[b-f6nknhoec5] {
    --color-amber-50: #fffbeb;
    --color-amber-100: #fef3c7;
    --color-amber-500: #f59e0b;
    --color-amber-700: #b45309;
    --color-indigo-50: #eef2ff;
    --color-indigo-600: #4f46e5;
}

.flex-wrap[b-f6nknhoec5] {
    flex-wrap: wrap;
}

.stat-text[b-f6nknhoec5] {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-slate-600);
}

.client-info[b-f6nknhoec5] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.orders-stack[b-f6nknhoec5] {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-bottom: 4rem;
}

/* CARD DESIGN */
.order-master-card[b-f6nknhoec5] {
    border: 1px solid var(--color-slate-200);
    border-top: 6px solid var(--color-slate-300);
    box-shadow: var(--shadow-md);
    background: white;
    border-radius: var(--radius-3xl);
    overflow: hidden;
}

    .order-master-card.status-pendiente[b-f6nknhoec5] {
        border-top-color: var(--color-amber-500);
    }

    .order-master-card.status-validado[b-f6nknhoec5], .order-master-card.status-enpreparacion[b-f6nknhoec5] {
        border-top-color: var(--color-emerald-500);
    }

    .order-master-card.status-anulado[b-f6nknhoec5] {
        border-top-color: var(--color-red-500);
        opacity: 0.6;
    }

/* HEADER */
.order-header-main[b-f6nknhoec5] {
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-slate-50);
    border-bottom: 1px solid var(--color-slate-100);
}

.header-left[b-f6nknhoec5] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.order-number-box[b-f6nknhoec5] {
    background: var(--color-slate-800);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-xl);
    font-family: monospace;
    font-weight: 900;
}

.company-title[b-f6nknhoec5] {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-slate-800);
    letter-spacing: -0.02em;
}

.meta-row[b-f6nknhoec5] {
    display: flex;
    gap: 1rem;
    margin-top: 0.4rem;
    align-items: center;
}

.delivery-tag[b-f6nknhoec5] {
    color: var(--color-indigo-600);
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.status-badge-flat[b-f6nknhoec5] {
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

    .status-badge-flat.pendiente[b-f6nknhoec5] {
        background: var(--color-amber-100);
        color: var(--color-amber-700);
    }

    .status-badge-flat.validado[b-f6nknhoec5], .status-badge-flat.enpreparacion[b-f6nknhoec5] {
        background: var(--color-emerald-100);
        color: var(--color-emerald-700);
    }

    .status-badge-flat.anulado[b-f6nknhoec5] {
        background: var(--color-red-100);
        color: var(--color-red-700);
    }

/* TABLE */
.table-container-fixed[b-f6nknhoec5] {
    padding: 0.5rem;
}

.data-table-modern[b-f6nknhoec5] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    text-align: left;
}

    .data-table-modern th[b-f6nknhoec5] {
        padding: 1rem 1.5rem;
        color: var(--color-slate-400);
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 800;
    }

.row-interactive td[b-f6nknhoec5] {
    padding: 1.25rem 1.5rem;
    background: white;
    border-bottom: 1px solid var(--color-slate-50);
    transition: all 0.2s;
    vertical-align: middle;
}

.row-interactive.row-is-rejected[b-f6nknhoec5] {
    opacity: 0.5;
    background: var(--color-red-50);
}

.product-identity[b-f6nknhoec5] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.product-icon-box[b-f6nknhoec5] {
    width: 36px;
    height: 36px;
    background: var(--color-slate-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-slate-400);
}

.main-variant[b-f6nknhoec5] {
    display: block;
    font-weight: 800;
    color: var(--color-slate-800);
    font-size: 1rem;
}

.sub-format[b-f6nknhoec5] {
    display: block;
    font-size: 0.7rem;
    color: var(--color-emerald-600);
    font-weight: 700;
    margin-top: 1px;
}

/* STEPPER */
.qty-stepper[b-f6nknhoec5] {
    display: flex;
    align-items: center;
    background: var(--color-slate-100);
    border-radius: var(--radius-lg);
    padding: 0.25rem;
    width: fit-content;
    margin: 0 auto;
    border: 1px solid var(--color-slate-200);
}

.qty-input[b-f6nknhoec5] {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--color-slate-800);
    outline: none;
}

.qty-btn[b-f6nknhoec5] {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-md);
    background: white;
    border: none;
    box-shadow: var(--shadow-sm);
    font-weight: 900;
    cursor: pointer;
    color: var(--color-slate-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .qty-btn:hover:not(:disabled)[b-f6nknhoec5] {
        background: var(--color-slate-50);
        color: var(--color-emerald-600);
    }

    .qty-btn:disabled[b-f6nknhoec5] {
        opacity: 0.3;
        cursor: not-allowed;
    }

.qty-confirmed[b-f6nknhoec5] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qty-num[b-f6nknhoec5] {
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--color-slate-800);
    line-height: 1;
}

.qty-lab[b-f6nknhoec5] {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--color-slate-400);
    text-transform: uppercase;
    margin-top: 2px;
}

/* TOGGLE STATES */
.state-toggle-btn[b-f6nknhoec5] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s;
    min-width: 140px;
    justify-content: center;
}

    .state-toggle-btn.pendiente[b-f6nknhoec5] {
        background: var(--color-slate-100);
        color: var(--color-slate-500);
    }

    .state-toggle-btn.preparando[b-f6nknhoec5] {
        background: var(--color-amber-50);
        color: var(--color-amber-700);
        border-color: var(--color-amber-200);
    }

    .state-toggle-btn.listo[b-f6nknhoec5] {
        background: var(--color-emerald-600);
        color: white;
        box-shadow: var(--shadow-emerald);
    }

.state-placeholder[b-f6nknhoec5] {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.units-badge-minimal[b-f6nknhoec5] {
    background: var(--color-emerald-50);
    border: 1px solid var(--color-emerald-100);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-emerald-700);
}

    .units-badge-minimal .val[b-f6nknhoec5] {
        font-weight: 900;
        font-size: 1.1rem;
    }

    .units-badge-minimal .unit[b-f6nknhoec5] {
        font-size: 0.6rem;
        font-weight: 800;
        opacity: 0.7;
    }

/* PROGRESS WIDGET */
.progress-widget[b-f6nknhoec5] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 180px;
}

.progress-info[b-f6nknhoec5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
}

.progress-track[b-f6nknhoec5] {
    height: 8px;
    background-color: var(--color-slate-100);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-slate-200);
}

.progress-fill[b-f6nknhoec5] {
    height: 100%;
    background-color: var(--color-emerald-500);
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* FOOTER */
.order-card-footer[b-f6nknhoec5] {
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--color-slate-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-slate-50)/30;
}

.footer-msg[b-f6nknhoec5] {
    font-size: 0.75rem;
    color: var(--color-slate-400);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-total[b-f6nknhoec5] {
    font-size: 0.85rem;
    color: var(--color-slate-600);
    font-weight: 700;
}

    .footer-total strong[b-f6nknhoec5] {
        font-size: 1.1rem;
        color: var(--color-emerald-600);
        margin-left: 0.4rem;
    }

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
    .order-header-main[b-f6nknhoec5] {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
        gap: 1rem;
    }

    .header-right[b-f6nknhoec5] {
        width: 100%;
        border-top: 1px dashed var(--color-slate-200);
        padding-top: 1rem;
    }

    .action-group[b-f6nknhoec5] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        width: 100%;
    }

    .data-table-modern thead[b-f6nknhoec5] {
        display: none;
    }

    .data-table-modern tr[b-f6nknhoec5] {
        display: block;
        border-bottom: 1px solid var(--color-slate-100);
        padding: 1rem;
    }

    .data-table-modern td[b-f6nknhoec5] {
        display: flex;
        justify-content: space-between !important;
        align-items: center !important;
        border: none !important;
        padding: 0.5rem 0 !important;
        width: 100% !important;
    }

        .data-table-modern td[b-f6nknhoec5]::before {
            content: attr(data-label);
            font-size: 0.6rem;
            font-weight: 800;
            color: var(--color-slate-400);
            text-transform: uppercase;
        }

    .product-identity[b-f6nknhoec5] {
        flex-direction: row-reverse;
        text-align: right;
    }

    .product-icon-box[b-f6nknhoec5] {
        display: none;
    }

    .qty-stepper[b-f6nknhoec5] {
        margin: 0;
    }

    .state-toggle-btn[b-f6nknhoec5] {
        min-width: 100px;
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        width: auto;
    }

    .units-badge-minimal[b-f6nknhoec5] {
        padding: 0.3rem 0.6rem;
    }
}

/* UTILS */
.btn-icon-circle[b-f6nknhoec5] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-danger[b-f6nknhoec5] {
    background: var(--color-red-50);
    color: var(--color-red-500);
}

.btn-restore[b-f6nknhoec5] {
    background: var(--color-emerald-50);
    color: var(--color-emerald-600);
}

.stat-pill[b-f6nknhoec5] {
    background: white;
    border: 1px solid var(--color-slate-200);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.stat-bullet[b-f6nknhoec5] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.bg-amber[b-f6nknhoec5] {
    background: var(--color-amber-500);
}

.bg-emerald[b-f6nknhoec5] {
    background: var(--color-emerald-500);
}

.modal-backdrop-custom[b-f6nknhoec5] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-window[b-f6nknhoec5] {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: var(--radius-3xl);
    text-align: center;
}

.modal-header-icon[b-f6nknhoec5] {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
}

    .modal-header-icon.success[b-f6nknhoec5] {
        background: var(--color-emerald-50);
        color: var(--color-emerald-600);
    }

.modal-title[b-f6nknhoec5] {
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--color-slate-800);
    margin-bottom: 0.75rem;
}

.modal-desc[b-f6nknhoec5] {
    color: var(--color-slate-500);
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.modal-footer-btns[b-f6nknhoec5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

input[b-f6nknhoec5]::-webkit-outer-spin-button, input[b-f6nknhoec5]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* /Components/Pages/Reportes/ReporteCosecha.razor.rz.scp.css */
.summary-grid[b-1e3141ih5y] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.summary-card[b-1e3141ih5y] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--color-slate-200);
    position: relative;
}

.main-summary[b-1e3141ih5y] {
    grid-column: span 1;
    background-color: var(--color-emerald-600);
    color: white;
    border: none;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
}

.summary-icon[b-1e3141ih5y] {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .summary-icon i[b-1e3141ih5y] {
        width: 24px;
        height: 24px;
        stroke-width: 2.5px;
    }

.summary-label[b-1e3141ih5y] {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.summary-value[b-1e3141ih5y] {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

    .summary-value.small[b-1e3141ih5y] {
        font-size: 1.75rem;
        color: var(--color-slate-800);
    }

    .summary-value small[b-1e3141ih5y] {
        font-size: 0.4em;
        opacity: 0.5;
        margin-left: 2px;
    }

.summary-footer[b-1e3141ih5y] {
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Estilo del badge de unidades en la tabla */
.harvest-unit-badge[b-1e3141ih5y] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-emerald-50);
    color: var(--color-emerald-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-emerald-100);
    min-width: 100px;
    justify-content: flex-end;
}

.unit-count[b-1e3141ih5y] {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.unit-label[b-1e3141ih5y] {
    font-size: 0.6rem;
    font-weight: 800;
    opacity: 0.7;
}

.animate-spin[b-1e3141ih5y] {
    animation: spin 1s linear infinite;
}

@@keyframes spin {
    from[b-1e3141ih5y] {
        transform: rotate(0deg);
    }

    to[b-1e3141ih5y] {
        transform: rotate(360deg);
    }
}

/* Ajustes para Mobile */
@media (max-width: 768px) {
    .main-summary[b-1e3141ih5y] {
        grid-column: span 1;
    }

    .summary-grid[b-1e3141ih5y] {
        grid-template-columns: 1fr;
    }

    .harvest-table thead[b-1e3141ih5y] {
        display: none;
    }

    .harvest-table tr[b-1e3141ih5y] {
        display: block;
        padding: 1.25rem;
        border-bottom: 1px solid var(--color-slate-100);
    }

    .harvest-table td[b-1e3141ih5y] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0 !important;
        border: none !important;
    }

        .harvest-table td[b-1e3141ih5y]::before {
            content: attr(data-label);
            font-size: 0.65rem;
            font-weight: 800;
            color: var(--color-slate-400);
            text-transform: uppercase;
        }

    .harvest-unit-badge[b-1e3141ih5y] {
        width: auto;
        min-width: 80px;
    }
}

.only-print[b-1e3141ih5y] {
    display: none;
}

@media print {
    .no-print[b-1e3141ih5y] {
        display: none !important;
    }

    .only-print[b-1e3141ih5y] {
        display: block !important;
    }

    body[b-1e3141ih5y] {
        background-color: white !important;
    }

    .main-content[b-1e3141ih5y] {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .card[b-1e3141ih5y] {
        border: 1px solid #e2e8f0 !important;
        box-shadow: none !important;
        margin-bottom: 2rem !important;
    }

    .card-header[b-1e3141ih5y] {
        background-color: #f1f5f9 !important;
        -webkit-print-color-adjust: exact;
    }

    .main-summary[b-1e3141ih5y] {
        background-color: white !important;
        color: black !important;
        border: 1px solid black !important;
    }

    .summary-icon[b-1e3141ih5y] {
        border: 1px solid black !important;
    }

    .harvest-unit-badge[b-1e3141ih5y] {
        border: 1px solid black !important;
        background: white !important;
        color: black !important;
    }
}
