/* /Components/CatalogoArticoli/CardArticolo.razor.rz.scp.css */
/* ==========================================================================
   01. SCHEDA PRODOTTO BASE (GRID VIEW)
   ========================================================================== */

.product-card[b-1xxgp1wnii] {
    background-color: transparent;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.product-image[b-1xxgp1wnii] {
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--card-bg);
    border-radius: 0.8rem;
    margin-bottom: 0.5rem;
}

    .product-image img[b-1xxgp1wnii] {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
    }

.category-badge[b-1xxgp1wnii] {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f4f6f8;
    color: var(--brand);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid var(--border-color);
}

.product-content[b-1xxgp1wnii] {
    padding: 0 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.product-sku[b-1xxgp1wnii] {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.product-title[b-1xxgp1wnii] {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.15s;
}

    .product-title:hover[b-1xxgp1wnii] {
        color: var(--brand, #2563eb);
        text-decoration: underline;
    }

.product-price[b-1xxgp1wnii] {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--brand);
}

.product-footer[b-1xxgp1wnii] {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

/* ==========================================================================
   02. PULSANTI E CONTROLLI QUANTITÀ (DESKTOP)
   ========================================================================== */

/* Bottone Aggiunta Standard */
.btn-add[b-1xxgp1wnii] {
    background: var(--brand);
    color: white;
    border: none;
    padding: 0.5rem 0.8rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: background 0.2s;
    white-space: nowrap;
}

    .btn-add:hover[b-1xxgp1wnii] {
        background: var(--brand-hover);
    }

/* Bottone Aggiungi al Carrello Mobile (Nascosto di default) */
.btn-mobile-add[b-1xxgp1wnii] {
    display: none;
}

/* Controlli Quantità Base */
.qty-wrap[b-1xxgp1wnii] {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    overflow: hidden;
}

    .qty-wrap button[b-1xxgp1wnii] {
        background: var(--bg-color);
        border: none;
        padding: 0.25rem 0.5rem;
        cursor: pointer;
        color: var(--text-main);
    }

        .qty-wrap button:hover[b-1xxgp1wnii] {
            background: #e2e8f0;
        }

    .qty-wrap input[b-1xxgp1wnii] {
        width: 35px;
        border: none;
        border-left: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
        text-align: center;
        font-size: 0.85rem;
        outline: none;
    }

/* Bottone Flottante Carrello (Griglia) */
.quick-add-btn[b-1xxgp1wnii] {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--brand, #2563eb);
    color: white;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.product-image:hover .quick-add-btn[b-1xxgp1wnii] {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.quick-add-btn:hover[b-1xxgp1wnii] {
    transform: scale(1.1);
}

/* Controllo Quantità Flottante (Griglia) */
.inline-qty-floating[b-1xxgp1wnii] {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 11;
    overflow: hidden;
    height: 38px;
}

    .inline-qty-floating button[b-1xxgp1wnii] {
        background: #f1f5f9;
        border: none;
        width: 32px;
        height: 100%;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.15s;
    }

        .inline-qty-floating button:hover[b-1xxgp1wnii] {
            background: #e2e8f0;
        }

        .inline-qty-floating button.btn-trash-inline[b-1xxgp1wnii] {
            color: #dc2626;
            background: #fef2f2;
        }

            .inline-qty-floating button.btn-trash-inline:hover[b-1xxgp1wnii] {
                background: #fee2e2;
            }

    .inline-qty-floating input[b-1xxgp1wnii] {
        width: 65px;
        text-align: center;
        border: none;
        font-size: 0.85rem;
        font-weight: bold;
        outline: none;
        background: transparent;
    }

/* Controllo Quantità Fisso (Lista) */
.list-always-qty[b-1xxgp1wnii] {
    display: none;
    align-items: center;
    gap: 0.4rem;
}

    .list-always-qty button[b-1xxgp1wnii] {
        background: #e2e8f0;
        border: none;
        border-radius: 0.35rem;
        width: 34px;
        height: 34px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .list-always-qty button.btn-trash-list[b-1xxgp1wnii] {
            color: #dc2626;
            background: #fef2f2;
            border: 1px solid #f87171;
            transition: background-color 0.15s;
        }

            .list-always-qty button.btn-trash-list:hover:not(:disabled)[b-1xxgp1wnii] {
                background: #fee2e2;
            }

            .list-always-qty button.btn-trash-list:disabled[b-1xxgp1wnii] {
                color: #9ca3af;
                background: #f3f4f6;
                border-color: #d1d5db;
                cursor: not-allowed;
                opacity: 0.6;
            }

    .list-always-qty input[b-1xxgp1wnii] {
        width: 65px;
        height: 34px;
        text-align: center;
        border: 1px solid #cbd5e1;
        border-radius: 0.35rem;
        font-weight: bold;
    }

/* ==========================================================================
   03. OVERRIDE VISTA A LISTA (LIST VIEW)
   ========================================================================== */

.products-grid.list-view .product-card[b-1xxgp1wnii] {
    flex-direction: row;
    align-items: stretch;
    background-color: var(--card-bg);
    padding: 10px;
    border-radius: 0.8rem;
}

.products-grid.list-view .product-image[b-1xxgp1wnii] {
    height: 100px;
    width: 200px;
    flex-shrink: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.products-grid.list-view .product-content[b-1xxgp1wnii] {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.products-grid.list-view .product-info-wrap[b-1xxgp1wnii] {
    flex: 1;
    margin-right: 2rem;
}

.products-grid.list-view .product-title[b-1xxgp1wnii] {
    height: auto;
    margin-bottom: 0;
}

.products-grid.list-view .product-footer[b-1xxgp1wnii] {
    margin-top: 0;
    min-width: 240px;
    justify-content: flex-end;
}

.products-grid.list-view .quick-add-btn[b-1xxgp1wnii],
.products-grid.list-view .inline-qty-floating[b-1xxgp1wnii] {
    display: none !important;
}

.products-grid.list-view .list-always-qty[b-1xxgp1wnii] {
    display: flex !important;
}

.products-grid.list-view .category-badge[b-1xxgp1wnii] {
    position: static;
    width: fit-content;
}

/* Classi di utilità per la vista a lista */
.products-grid.list-view .display[b-1xxgp1wnii] {
    display: flex;
}

.products-grid.list-view .display-none[b-1xxgp1wnii] {
    display: none;
}

/* ==========================================================================
   04. CLASSI DI UTILITÀ GLOBALI
   ========================================================================== */

/* Di default (Desktop), nascondi le azioni specifiche per mobile */
.mobile-only-actions[b-1xxgp1wnii] {
    display: none;
}

/* ==========================================================================
   05. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

/* --- Tablet / Dispositivi di medie dimensioni --- */
@media (max-width: 850px) {

    .products-grid.list-view .product-card[b-1xxgp1wnii] {
        flex-direction: column;
    }

    .products-grid.list-view .product-image[b-1xxgp1wnii] {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .products-grid.list-view .product-content[b-1xxgp1wnii] {
        flex-direction: column;
        align-items: stretch;
    }

    .products-grid.list-view .product-info-wrap[b-1xxgp1wnii] {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .product-card[b-1xxgp1wnii] {
        padding: 10px;
        background-color: var(--card-bg, #ffffff);
        border-radius: 0.8rem;
    }

    .products-grid.list-view .category-badge[b-1xxgp1wnii] {
        display:none;
    }
}

/* --- Mobile / Smartphone --- */
@media (max-width: 767.98px) {
    /* 1. Nascondi i pulsanti Griglia/Lista su mobile */
    .view-toggles[b-1xxgp1wnii] {
        display: none !important;
    }

    /* 2. Carosello Prodotti in Evidenza */
    .featured-grid-4[b-1xxgp1wnii] {
        grid-template-columns: 1fr !important;
        max-width: 320px;
        margin: 0 auto;
    }

    /* 3. Nascondi le azioni flottanti e il footer da lista di Desktop */
    .desktop-only-actions[b-1xxgp1wnii] {
        display: none !important;
    }

    /* 4. Mostra e stila le azioni sotto il titolo dell'articolo su mobile */
    .mobile-only-actions[b-1xxgp1wnii] {
        display: block;
        margin-top: 0.85rem;
        width: 100%;
    }

    /* Pulsante "Aggiungi al carrello" a larghezza intera */
    .btn-mobile-add[b-1xxgp1wnii] {
        display: flex;
        width: 100%;
        padding: 0.65rem 1rem;
        background-color: var(--brand, #2563eb);
        color: #ffffff;
        border: none;
        border-radius: 0.5rem;
        font-weight: 600;
        font-size: 0.95rem;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
    }

    /* Barra Quantità Mobile */
    .mobile-qty-bar[b-1xxgp1wnii] {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.4rem;
        background: transparent;
        border: none;
        padding: 0;
        width: 100%;
    }

        .mobile-qty-bar button[b-1xxgp1wnii] {
            background: #e2e8f0;
            border: none;
            border-radius: 0.35rem;
            width: 34px;
            height: 34px;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #1e293b;
            transition: background-color 0.15s;
        }

            .mobile-qty-bar button:hover[b-1xxgp1wnii] {
                background: #cbd5e1;
            }

        .mobile-qty-bar .btn-trash-mobile[b-1xxgp1wnii] {
            color: #dc2626;
            background: #fef2f2;
            border: 1px solid #f87171;
        }

            .mobile-qty-bar .btn-trash-mobile:hover[b-1xxgp1wnii] {
                background: #fee2e2;
            }

        .mobile-qty-bar input[type="number"][b-1xxgp1wnii] {
            width: 65px;
            height: 34px;
            text-align: center;
            border: 1px solid #cbd5e1;
            border-radius: 0.35rem;
            font-weight: bold;
            background: #ffffff;
            color: #1e293b;
            outline: none;
        }

            .mobile-qty-bar input[type="number"]:focus[b-1xxgp1wnii] {
                border-color: var(--brand, #2563eb);
            }
}
/* /Components/CatalogoArticoli/Filtri.razor.rz.scp.css */
/* ==========================================================================
   01. SIDEBAR FILTRI (Desktop Base)
   ========================================================================== */

.filters-sidebar[b-geyinkz1xt] {
    border-radius: 0.5rem;
    height: fit-content;
    /* background: var(--card-bg);
       border: 1px solid var(--border-color);
       padding: 1.5rem;
       position: sticky;
       top: 10vh;
       max-height: calc(100vh - 40px);
       overflow-y: auto;
       align-self: start; */
}

.filter-section[b-geyinkz1xt] {
    margin-bottom: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 0.5rem;
    display: var(--show-advanced-filters);
}

.filter-title[b-geyinkz1xt] {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.filter-group[b-geyinkz1xt] {
    margin-bottom: 0.5rem;
}

    .filter-group h3[b-geyinkz1xt] {
        font-size: 0.75rem;
        text-transform: uppercase;
        color: var(--text-muted);
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.5rem;
    }

.filter-option[b-geyinkz1xt] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    cursor: pointer;
    font-size: 1rem;
}

    .filter-option span.active[b-geyinkz1xt] {
        color: var(--brand);
        font-weight: 700;
    }

    .filter-option span:hover[b-geyinkz1xt] {
        text-decoration: underline;
    }

/* ==========================================================================
   02. INPUT E CONTROLLI FILTRI (Prezzo, Ordinamento, Reset)
   ========================================================================== */

.price-filter-group-vertical[b-geyinkz1xt] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-inputs[b-geyinkz1xt] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .price-inputs input[b-geyinkz1xt] {
        width: 100%;
        padding: 0.4rem;
        border: 1px solid var(--border-color);
        border-radius: 0.25rem;
        font-size: 0.9rem;
    }

.sort-filter-group-vertical select[b-geyinkz1xt] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    font-size: 0.9rem;
    background-color: white;
}

/* Pulsante unificato per il reset del prezzo */
.reset-price-btn[b-geyinkz1xt] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #f87171;
    padding: 0.35rem 0.75rem;
    border-radius: 0.35rem;
    font-size: 0.85rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    transition: background-color 0.15s;
}

    .reset-price-btn:hover[b-geyinkz1xt] {
        background: #fee2e2;
    }

/* ==========================================================================
   03. BARRA FILTRI AVANZATI (Orizzontale)
   ========================================================================== */

.advanced-filters-bar[b-geyinkz1xt] {
    display: var(--show-advanced-filters);
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    background-color: #f8fafc;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
}

.price-filter-group[b-geyinkz1xt],
.sort-filter-group[b-geyinkz1xt] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .price-filter-group label[b-geyinkz1xt],
    .sort-filter-group label[b-geyinkz1xt] {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-main, #334155);
    }

    .price-filter-group input[b-geyinkz1xt] {
        width: 80px;
        padding: 0.35rem 0.5rem;
        font-size: 0.85rem;
        border: 1px solid #cbd5e1;
        border-radius: 0.35rem;
        outline: none;
        transition: border-color 0.15s;
    }

        .price-filter-group input:focus[b-geyinkz1xt] {
            border-color: var(--brand, #2563eb);
        }

    .sort-filter-group select[b-geyinkz1xt] {
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
        border: 1px solid #cbd5e1;
        border-radius: 0.35rem;
        background-color: #ffffff;
        color: var(--text-main, #1e293b);
        outline: none;
        cursor: pointer;
    }

        .sort-filter-group select:focus[b-geyinkz1xt] {
            border-color: var(--brand, #2563eb);
        }

/* ==========================================================================
   04. STRUTTURA MOBILE (Nascosta su Desktop)
   ========================================================================== */

.mobile-filter-toolbar[b-geyinkz1xt],
.mobile-sidebar-header[b-geyinkz1xt],
.mobile-sidebar-footer[b-geyinkz1xt] {
    display: none;
}

/* ==========================================================================
   05. MEDIA QUERIES (Responsive)
   ========================================================================== */

/* --- Dispositivi Tablet e inferiori (Menu Off-Canvas) --- */
@media (max-width: 991.98px) {
    /* Mostra il bottone per aprire i filtri */
    .mobile-filter-toolbar[b-geyinkz1xt] {
        display: block;
        margin-bottom: 1rem;
        width: 100%;
    }

    .btn-mobile-filter[b-geyinkz1xt] {
        width: 100%;
        padding: 0.75rem 1rem;
        background-color: #ffffff;
        border: 1px solid var(--border-color, #e5e7eb);
        border-radius: 0.5rem;
        font-weight: 600;
        color: #1f2937;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        position: relative;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    }

    .filter-active-dot[b-geyinkz1xt] {
        width: 8px;
        height: 8px;
        background-color: var(--brand, #2563eb);
        border-radius: 50%;
        display: inline-block;
    }

    /* Overlay scuro di sfondo quando la sidebar mobile è aperta */
    .mobile-filter-backdrop[b-geyinkz1xt] {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }

    /* Sidebar trasformata in pannello laterale fisso (Off-Canvas) */
    .filters-sidebar[b-geyinkz1xt] {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: #ffffff;
        z-index: 1050;
        padding: 1.25rem;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
    }

        .filters-sidebar.mobile-open[b-geyinkz1xt] {
            left: 0;
        }

    /* Intestazione del pannello laterale */
    .mobile-sidebar-header[b-geyinkz1xt] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

        .mobile-sidebar-header h3[b-geyinkz1xt] {
            margin: 0;
            font-size: 1.15rem;
            font-weight: 700;
        }

    .close-sidebar-btn[b-geyinkz1xt] {
        background: none;
        border: none;
        font-size: 1.75rem;
        line-height: 1;
        color: #6b7280;
        cursor: pointer;
    }

    /* Footer con bottone di conferma sul fondo del drawer */
    .mobile-sidebar-footer[b-geyinkz1xt] {
        display: block;
        margin-top: auto;
        padding-top: 1rem;
        border-top: 1px solid #e5e7eb;
    }

    .btn-apply-filters[b-geyinkz1xt] {
        width: 100%;
        padding: 0.75rem;
        background-color: var(--brand, #2563eb);
        color: white;
        border: none;
        border-radius: 0.375rem;
        font-weight: 600;
    }
}


/* --- Smartphone: Adatta la barra orizzontale filtri avanzati --- */
@media (max-width: 640px) {
    .advanced-filters-bar[b-geyinkz1xt] {
        flex-direction: column;
        align-items: stretch;
    }

    .price-filter-group[b-geyinkz1xt],
    .sort-filter-group[b-geyinkz1xt] {
        justify-content: space-between;
    }
}
/* /Components/CatalogoArticoli/HeroBanner.razor.rz.scp.css */

.hero-banner[b-jhji5wpxuf] {
    background-color: var(--hero-bg);
    color: white;
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--hero-min-height);
    background-color: #1e293b;
}

    .hero-banner h1[b-jhji5wpxuf] {
        font-size: 2.25rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }

        .hero-banner h1 span[b-jhji5wpxuf] {
            color: var(--brand);
        }

    .hero-banner p[b-jhji5wpxuf] {
        color: #94a3b8;
        max-width: 700px;
        margin: 0 auto;
        font-size: 1.1rem;
    }
/* /Pages/Carrello.razor.rz.scp.css */
/* CSS specifico per la pagina carrello allineato al tema globale */
.cart-container[b-72prrft0go] {
    color: var(--text-main);
    margin-top: 1rem;
    margin-bottom: 4rem;
}

.page-title[b-72prrft0go] {
    font-size: 1.75rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2rem;
    font-weight: 600;
    text-decoration: none;
}

/* Stile Lista Articoli */
.cart-items-wrapper[b-72prrft0go] {
    background-color: transparent;
    /*border: 1px solid var(--border-color);*/
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-card[b-72prrft0go] {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
    border-left: 4px solid transparent;
}


    .cart-item-card:last-child[b-72prrft0go] {
        border-bottom: none;
    }

.cart-item-image[b-72prrft0go] {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    background-color: white;
    /*border: 1px solid var(--border-color);*/
    border-radius: 8px;
    padding: 8px;
}

    .cart-item-image img[b-72prrft0go] {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.cart-item-info[b-72prrft0go] {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
}

.cart-item-details[b-72prrft0go] {
    flex: 1;
    padding-right: 20px;
}

.product-sku[b-72prrft0go] {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand);
    display: block;
    margin-bottom: 4px;
}

.product-title[b-72prrft0go] {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0;
}

.cart-item-actions[b-72prrft0go] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-remove[b-72prrft0go] {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    font-size: 1.1rem;
    transition: color 0.2s;
}

    .btn-remove:hover[b-72prrft0go] {
        color: var(--brand);
    }

/* Stile Pannelli Laterali (Checkout) */
.checkout-panel[b-72prrft0go] {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.panel-title[b-72prrft0go] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.address-item[b-72prrft0go] {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: background 0.2s;
}

    .address-item:hover[b-72prrft0go] {
        background-color: var(--bg-body);
        border-color: var(--border-color);
    }

.address-radio[b-72prrft0go] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
}

    .address-radio input[type="radio"][b-72prrft0go] {
        accent-color: var(--brand);
        width: 16px;
        height: 16px;
        cursor: pointer;
    }

.address-text[b-72prrft0go] {
    margin-top: 4px;
    margin-bottom: 0;
    margin-left: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.custom-textarea[b-72prrft0go] {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    resize: vertical;
}

    .custom-textarea:focus[b-72prrft0go] {
        border-color: var(--brand);
    }

/* Bottoni Azione */
.btn-action-primary[b-72prrft0go] {
    background-color: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

    .btn-action-primary:hover:not(:disabled)[b-72prrft0go] {
        background-color: var(--brand-hover);
        color: white;
    }

    .btn-action-primary:disabled[b-72prrft0go] {
        background-color: var(--brand-disabled);
        opacity: 0.7;
        cursor: not-allowed;
    }

.btn-action-outline[b-72prrft0go] {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

    .btn-action-outline:hover[b-72prrft0go] {
        background-color: var(--bg-body);
        color: var(--text-main);
        border-color: var(--text-muted);
    }

/* Modale custom */
.modal-custom-content[b-72prrft0go] {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.modal-custom-text[b-72prrft0go] {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Alert Vuoto (Colori Custom per avviso visivo) */
.empty-cart-alert[b-72prrft0go] {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .cart-item-card[b-72prrft0go] {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-item-info[b-72prrft0go] {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-item-image[b-72prrft0go] {
        margin-bottom: 16px;
        margin-right: 0;
        width: 100%;
        height: 140px;
    }

    .cart-item-details[b-72prrft0go] {
        padding-right: 0;
        margin-bottom: 16px;
    }

    .cart-item-actions[b-72prrft0go] {
        justify-content: space-between;
        width: 100%;
    }
}

/* --- STILE SELETTORE QUANTITÀ (Identico al Catalogo) --- */
.qty-selector[b-72prrft0go] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.qty-btn[b-72prrft0go] {
    background: #e2e8f0;
    color: #1e293b;
    border: none;
    border-radius: 0.35rem;
    width: 34px;
    height: 34px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

    .qty-btn:hover[b-72prrft0go] {
        background: #cbd5e1;
    }

    .qty-btn:active[b-72prrft0go] {
        transform: scale(0.96);
    }

.qty-input[b-72prrft0go] {
    width: 70px;
    height: 34px;
    text-align: center;
    border: 1px solid #cbd5e1;
    border-radius: 0.35rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: border-color 0.15s ease;
}

    .qty-input:focus[b-72prrft0go] {
        border-color: var(--brand, #2563eb);
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
    }

    /* Nasconde le freccette di default dell'input number per un look pulito */
    .qty-input[b-72prrft0go]::-webkit-outer-spin-button,
    .qty-input[b-72prrft0go]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .qty-input[type=number][b-72prrft0go] {
        -moz-appearance: textfield;
    }
/* /Pages/CatalogoArticoli.razor.rz.scp.css */
/* ==========================================================================
   01. LAYOUT PRINCIPALE
   ========================================================================== */

.main-layout[b-e1o93ygtnd] {
    max-width: 1280px;
    margin: 2.5rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
}

/* ==========================================================================
   02. HEADER CATALOGO & AZIONI (Toggle Griglia/Lista)
   ========================================================================== */

.catalog-header[b-e1o93ygtnd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.catalog-header-actions[b-e1o93ygtnd] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.view-toggles[b-e1o93ygtnd] {
    display: flex;
    gap: 0.25rem;
}

.view-btn[b-e1o93ygtnd] {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

    .view-btn.active[b-e1o93ygtnd],
    .view-btn:hover[b-e1o93ygtnd] {
        color: var(--brand);
        border-color: var(--brand);
    }

/* ==========================================================================
   03. GRIGLIA PRODOTTI & VISTA A LISTA
   ========================================================================== */

.products-grid[b-e1o93ygtnd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
}

    .products-grid.list-view[b-e1o93ygtnd] {
        grid-template-columns: 1fr;
    }

.load-more[b-e1o93ygtnd] {
    text-align: center;
    margin-top: 2rem;
    grid-column: 1 / -1;
}

/* ==========================================================================
   04. CAROSELLO PRODOTTI IN EVIDENZA
   ========================================================================== */

.featured-carousel-wrapper[b-e1o93ygtnd] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.products-grid.featured-grid-4[b-e1o93ygtnd] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
}

.carousel-arrow-btn[b-e1o93ygtnd] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid var(--border-color, #e5e7eb);
    color: #1e293b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 5;
}

    .carousel-arrow-btn:hover[b-e1o93ygtnd] {
        background: var(--brand, #2563eb);
        color: #ffffff;
        border-color: var(--brand, #2563eb);
        transform: translateY(-50%) scale(1.08);
    }

    .carousel-arrow-btn.arrow-prev[b-e1o93ygtnd] {
        left: 0;
    }

    .carousel-arrow-btn.arrow-next[b-e1o93ygtnd] {
        right: 0;
    }

/* ==========================================================================
   05. COMPONENTI UI (Skeleton Loaders & Toast)
   ========================================================================== */

.skeleton-card[b-e1o93ygtnd] {
    height: 380px;
    border-radius: 8px;
    animation: pulse-bg-b-e1o93ygtnd 1.5s infinite;
    border: 1px solid #e5e7eb;
}

/* ==========================================================================
   06. FILTRI AVANZATI E SIDEBAR (Componente Filtri)
   ========================================================================== */

.advanced-filters-bar[b-e1o93ygtnd] {
    display: var(--show-advanced-filters);
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    background-color: #f8fafc;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
}

.price-filter-group[b-e1o93ygtnd],
.sort-filter-group[b-e1o93ygtnd] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .price-filter-group label[b-e1o93ygtnd],
    .sort-filter-group label[b-e1o93ygtnd] {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-main, #334155);
    }

    .price-filter-group input[b-e1o93ygtnd] {
        width: 80px;
        padding: 0.35rem 0.5rem;
        font-size: 0.85rem;
        border: 1px solid #cbd5e1;
        border-radius: 0.35rem;
        outline: none;
        transition: border-color 0.15s;
    }

        .price-filter-group input:focus[b-e1o93ygtnd] {
            border-color: var(--brand, #2563eb);
        }

.reset-price-btn[b-e1o93ygtnd] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #f87171;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s;
}

    .reset-price-btn:hover[b-e1o93ygtnd] {
        background: #fee2e2;
    }

.sort-filter-group select[b-e1o93ygtnd] {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.35rem;
    background-color: #ffffff;
    color: var(--text-main, #1e293b);
    outline: none;
    cursor: pointer;
}

    .sort-filter-group select:focus[b-e1o93ygtnd] {
        border-color: var(--brand, #2563eb);
    }

.mobile-filter-toolbar[b-e1o93ygtnd],
.mobile-sidebar-header[b-e1o93ygtnd],
.mobile-sidebar-footer[b-e1o93ygtnd] {
    display: none;
}

/* ==========================================================================
   07. MODALE DETTAGLIO
   ========================================================================== */

.modal-backdrop-custom[b-e1o93ygtnd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content-custom[b-e1o93ygtnd] {
    background: #ffffff;
    width: 100%;
    max-width: 800px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto !important;
}

.modal-header-custom[b-e1o93ygtnd] {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body-custom[b-e1o93ygtnd] {
    padding: 1.5rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-close-btn[b-e1o93ygtnd] {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
}

.carousel-container[b-e1o93ygtnd] {
    position: relative;
    width: 100%;
    height: 300px;
    background: #f8fafc;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

    .carousel-container img[b-e1o93ygtnd] {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
    }

.carousel-btn[b-e1o93ygtnd] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-btn-prev[b-e1o93ygtnd] {
    left: 10px;
}

.carousel-btn-next[b-e1o93ygtnd] {
    right: 10px;
}

.carousel-dots[b-e1o93ygtnd] {
    position: absolute;
    bottom: 10px;
    display: flex;
    gap: 6px;
}

.carousel-dot[b-e1o93ygtnd] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
}

    .carousel-dot.active[b-e1o93ygtnd] {
        background: var(--brand, #2563eb);
        width: 18px;
        border-radius: 4px;
    }

/* ==========================================================================
   08. ANIMAZIONI (Keyframes)
   ========================================================================== */

@keyframes slideRightToLeft-b-e1o93ygtnd {
    0% {
        opacity: 0;
        transform: translateX(28px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeftToRight-b-e1o93ygtnd {
    0% {
        opacity: 0;
        transform: translateX(-28px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-from-right[b-e1o93ygtnd] {
    animation: slideRightToLeft-b-e1o93ygtnd 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: transform, opacity;
}

.slide-from-left[b-e1o93ygtnd] {
    animation: slideLeftToRight-b-e1o93ygtnd 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: transform, opacity;
}

@keyframes pulse-bg-b-e1o93ygtnd {
    0% {
        background-color: #f3f4f6;
    }

    50% {
        background-color: #e5e7eb;
    }

    100% {
        background-color: #f3f4f6;
    }
}

@keyframes slide-up-fade-b-e1o93ygtnd {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   09. MEDIA QUERIES (Responsività)
   ========================================================================== */

/* Tablet & Mobile (< 992px) */
@media (max-width: 991.98px) {
    .products-grid.featured-grid-4[b-e1o93ygtnd] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mobile-filter-toolbar[b-e1o93ygtnd] {
        display: block;
        margin-bottom: 1rem;
        width: 100%;
    }

    .btn-mobile-filter[b-e1o93ygtnd] {
        width: 100%;
        padding: 0.75rem 1rem;
        background-color: #ffffff;
        border: 1px solid var(--border-color, #e5e7eb);
        border-radius: 0.5rem;
        font-weight: 600;
        color: #1f2937;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    }

    .filter-active-dot[b-e1o93ygtnd] {
        width: 8px;
        height: 8px;
        background-color: var(--brand, #2563eb);
        border-radius: 50%;
        display: inline-block;
    }

    .mobile-filter-backdrop[b-e1o93ygtnd] {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }

    .filters-sidebar[b-e1o93ygtnd] {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: #ffffff;
        z-index: 1050;
        padding: 1.25rem;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
    }

        .filters-sidebar.mobile-open[b-e1o93ygtnd] {
            left: 0;
        }

    .mobile-sidebar-header[b-e1o93ygtnd] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

        .mobile-sidebar-header h3[b-e1o93ygtnd] {
            margin: 0;
            font-size: 1.15rem;
            font-weight: 700;
        }

    .close-sidebar-btn[b-e1o93ygtnd] {
        background: none;
        border: none;
        font-size: 1.75rem;
        line-height: 1;
        color: #6b7280;
        cursor: pointer;
    }

    .mobile-sidebar-footer[b-e1o93ygtnd] {
        display: block;
        margin-top: auto;
        padding-top: 1rem;
        border-top: 1px solid #e5e7eb;
    }

    .btn-apply-filters[b-e1o93ygtnd] {
        width: 100%;
        padding: 0.75rem;
        background-color: var(--brand, #2563eb);
        color: white;
        border: none;
        border-radius: 0.375rem;
        font-weight: 600;
    }
}


/* Tablet Piccolo (< 850px) */
@media (max-width: 850px) {
    .main-layout[b-e1o93ygtnd] {
        grid-template-columns: 1fr;
    }

    .modal-body-custom[b-e1o93ygtnd] {
        grid-template-columns: 1fr;
    }

}

/* Mobile Specifico (< 768px) */
@media (max-width: 767.98px) {
    .view-toggles[b-e1o93ygtnd] {
        display: none !important;
    }

    .featured-grid-4[b-e1o93ygtnd] {
        grid-template-columns: 1fr !important;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Filtri Avanzati Mobile (< 640px) */
@media (max-width: 640px) {
    .advanced-filters-bar[b-e1o93ygtnd] {
        flex-direction: column;
        align-items: stretch;
    }

    .price-filter-group[b-e1o93ygtnd],
    .sort-filter-group[b-e1o93ygtnd] {
        justify-content: space-between;
    }
}

/* Mobile Piccolo (< 576px) */
@media (max-width: 576px) {
    .products-grid.featured-grid-4[b-e1o93ygtnd] {
        grid-template-columns: 1fr;
    }

    .featured-carousel-wrapper[b-e1o93ygtnd] {
        padding: 0 10px;
    }

}

.toast[b-e1o93ygtnd] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--brand, #16a34a);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    z-index: 9999;
    animation: slide-up-fade-b-e1o93ygtnd 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
/* /Pages/Clienti.razor.rz.scp.css */
/* ==========================================================================
           01. HEADER & BARRA AZIONI DI IMPORTAZIONE
           ========================================================================== */
.clients-header-bar[b-3i38ko1t40] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.page-title[b-3i38ko1t40] {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* ==========================================================================
           02. TABELLA UTENTI IN STILE CARD (.table-card)
           ========================================================================== */
.table-card[b-3i38ko1t40] {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -16px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.table-custom[b-3i38ko1t40] {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}

    .table-custom thead[b-3i38ko1t40] {
        background-color: color-mix(in srgb, var(--brand, #2563eb) 6%, #f8fafc);
        border-bottom: 1px solid var(--border-color, #e2e8f0);
    }

    .table-custom th[b-3i38ko1t40] {
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #64748b;
        padding: 0.55rem 1rem;
        border: none;
    }

    .table-custom td[b-3i38ko1t40] {
        padding: 0.55rem 1rem;
        vertical-align: middle;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.8rem;
        color: #1e293b;
    }

    .table-custom tbody tr:last-child td[b-3i38ko1t40] {
        border-bottom: none;
    }

    .table-custom tbody tr[b-3i38ko1t40] {
        transition: background-color 0.15s ease;
    }

        .table-custom tbody tr:hover[b-3i38ko1t40] {
            background-color: color-mix(in srgb, var(--brand, #2563eb) 5%, #fff);
        }

/* ==========================================================================
           03. TIPOGRAFIA & BADGE DELLA TABELLA
           ========================================================================== */
.user-name[b-3i38ko1t40] {
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.user-email[b-3i38ko1t40] {
    color: #475569;
    font-size: 0.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.code-badge[b-3i38ko1t40] {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
}

.password-text[b-3i38ko1t40] {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #64748b;
    background-color: #f8fafc;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #e2e8f0;
}

.container[b-3i38ko1t40] {
    font-size: 0.8rem;
}
/* /Pages/DashboardVendite.razor.rz.scp.css */
.dash[b-3n2rgcczvu] {
    --b: var(--brand, #0098d9);
    --b-dark: color-mix(in srgb, var(--b) 55%, #0f172a);
    --b-soft: color-mix(in srgb, var(--b) 12%, #fff);
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --card: #fff;
}

/* ---------- animazioni ---------- */
@keyframes rise-b-3n2rgcczvu { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes draw-b-3n2rgcczvu { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadein-b-3n2rgcczvu { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow-x-b-3n2rgcczvu { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes grow-y-b-3n2rgcczvu { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- hero ---------- */
.hero[b-3n2rgcczvu] { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem;
    padding: 1.6rem 1.75rem; margin-bottom: 1.25rem; border-radius: 1rem; color: #fff;
    background: radial-gradient(900px 260px at 100% -20%, rgba(255,255,255,.25), transparent 60%), linear-gradient(135deg, var(--b), var(--b-dark));
    box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--b) 70%, transparent); animation: rise-b-3n2rgcczvu .5s ease both; }
.hero[b-3n2rgcczvu]::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero-text[b-3n2rgcczvu] { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .15rem; }
.hero-eyebrow[b-3n2rgcczvu] { font-size: .85rem; opacity: .85; }
.hero-title[b-3n2rgcczvu] { font-size: 1.75rem; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.hero-range[b-3n2rgcczvu] { font-size: .85rem; opacity: .85; }

.period-pills[b-3n2rgcczvu] { position: relative; z-index: 1; display: inline-flex; flex-wrap: wrap; background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.25); border-radius: 9999px; padding: 4px; gap: 2px; }
.period-pill[b-3n2rgcczvu] { border: 0; background: transparent; padding: .38rem .95rem; border-radius: 9999px; font-size: .85rem; font-weight: 500; color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.period-pill:hover[b-3n2rgcczvu] { background: rgba(255,255,255,.18); }
.period-pill.active[b-3n2rgcczvu] { background: #fff; color: var(--b-dark); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.15); }

/* ---------- card ---------- */
.kpi-card[b-3n2rgcczvu], .dash-card[b-3n2rgcczvu] { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -16px rgba(15,23,42,.18); animation: rise-b-3n2rgcczvu .5s ease both; }
.dash-card[b-3n2rgcczvu] { padding: 1.25rem 1.4rem; }
.dash-card h3[b-3n2rgcczvu] { font-size: .95rem; font-weight: 600; margin: 0 0 1rem; color: var(--ink); }
.empty[b-3n2rgcczvu] { color: var(--muted); margin: 1.5rem 0; text-align: center; }
.empty i[b-3n2rgcczvu] { display: block; font-size: 1.8rem; margin-bottom: .4rem; opacity: .5; }
.hint[b-3n2rgcczvu] { font-size: .75rem; color: var(--muted); margin: .6rem 0 0; }

/* ---------- KPI ---------- */
.kpi-grid[b-3n2rgcczvu] { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.kpi-card[b-3n2rgcczvu] { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem 1.25rem 1.25rem; min-height: 140px; transition: transform .2s, box-shadow .2s; }
.kpi-card:hover[b-3n2rgcczvu] { transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(15,23,42,.35); }
.kpi-card:nth-child(2)[b-3n2rgcczvu] { animation-delay: .06s; } .kpi-card:nth-child(3)[b-3n2rgcczvu] { animation-delay: .12s; } .kpi-card:nth-child(4)[b-3n2rgcczvu] { animation-delay: .18s; }
.kpi-top[b-3n2rgcczvu] { display: flex; align-items: center; gap: .6rem; margin-bottom: .35rem; }
.kpi-icon[b-3n2rgcczvu] { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: .6rem; background: var(--b-soft); color: var(--b); font-size: .9rem; }
.kpi-label[b-3n2rgcczvu] { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.kpi-value[b-3n2rgcczvu] { font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; position: relative; z-index: 1; }
.kpi-sub[b-3n2rgcczvu], .kpi-delta[b-3n2rgcczvu] { font-size: .8rem; color: var(--muted); position: relative; z-index: 1; }
.kpi-sub b[b-3n2rgcczvu] { color: var(--ink); }
.kpi-sub i[b-3n2rgcczvu] { color: #f59e0b; }
.kpi-delta[b-3n2rgcczvu] { font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.kpi-delta small[b-3n2rgcczvu] { font-weight: 400; color: var(--muted); }
.kpi-delta.up[b-3n2rgcczvu] { color: #15803d; }
.kpi-delta.down[b-3n2rgcczvu] { color: #b91c1c; }
.kpi-card[b-3n2rgcczvu]  .spark { position: absolute; right: 0; bottom: 0; width: 55%; height: 52px; opacity: .9; }
.kpi-card[b-3n2rgcczvu]  .spark-line { fill: none; stroke: var(--b); stroke-width: 2; stroke-linejoin: round; }
.kpi-card[b-3n2rgcczvu]  .spark-area { fill: var(--b); opacity: .12; }

/* ---------- righe ---------- */
.dash-row[b-3n2rgcczvu] { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.dash-row.two-one[b-3n2rgcczvu] { grid-template-columns: 2fr 1fr; }
@media (max-width: 900px) { .dash-row.two-one[b-3n2rgcczvu] { grid-template-columns: 1fr; } }
.dash-row > .dash-card:nth-child(2)[b-3n2rgcczvu] { animation-delay: .08s; }

/* ---------- grafico ad area ---------- */
.area-chart[b-3n2rgcczvu] { width: 100%; height: auto; overflow: visible; }
.area-chart .g-top[b-3n2rgcczvu] { stop-color: var(--b); stop-opacity: .35; }
.area-chart .g-bottom[b-3n2rgcczvu] { stop-color: var(--b); stop-opacity: 0; }
.area-chart .grid[b-3n2rgcczvu] { stroke: var(--line); stroke-dasharray: 3 4; }
.area-chart .grid.base[b-3n2rgcczvu] { stroke: #cbd5e1; stroke-dasharray: none; }
.area-chart .area-fill[b-3n2rgcczvu] { animation: fadein-b-3n2rgcczvu .9s ease .3s both; }
.area-chart .area-line[b-3n2rgcczvu] { fill: none; stroke: var(--b); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: draw-b-3n2rgcczvu 1.1s ease-out both; }
.area-chart[b-3n2rgcczvu]  .ylbl { font-size: 11px; fill: var(--muted); text-anchor: end; }
.area-chart[b-3n2rgcczvu]  .xlbl { font-size: 11px; fill: var(--muted); text-anchor: middle; }

.area-chart .hit .hit-area[b-3n2rgcczvu] { fill: transparent; }
.area-chart .hit .guide[b-3n2rgcczvu], .area-chart .hit .pt[b-3n2rgcczvu], .area-chart .hit .tip[b-3n2rgcczvu], .area-chart .hit[b-3n2rgcczvu]  .tip-t, .area-chart .hit[b-3n2rgcczvu]  .tip-v { opacity: 0; pointer-events: none; transition: opacity .12s; }
.area-chart .hit .guide[b-3n2rgcczvu] { stroke: var(--b); stroke-width: 1; stroke-dasharray: 3 3; }
.area-chart .hit .pt[b-3n2rgcczvu] { fill: #fff; stroke: var(--b); stroke-width: 3; }
.area-chart .hit .tip[b-3n2rgcczvu] { fill: var(--ink); }
.area-chart .hit[b-3n2rgcczvu]  .tip-t { font-size: 11px; fill: #94a3b8; }
.area-chart .hit[b-3n2rgcczvu]  .tip-v { font-size: 12px; font-weight: 600; fill: #fff; }
.area-chart .hit:hover .guide[b-3n2rgcczvu], .area-chart .hit:hover .pt[b-3n2rgcczvu], .area-chart .hit:hover .tip[b-3n2rgcczvu], .area-chart .hit:hover[b-3n2rgcczvu]  .tip-t, .area-chart .hit:hover[b-3n2rgcczvu]  .tip-v { opacity: 1; }

/* ---------- ciambella ---------- */
.donut-wrap[b-3n2rgcczvu] { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.donut[b-3n2rgcczvu] { width: 160px; height: 160px; flex: none; }
.donut circle[b-3n2rgcczvu] { fill: none; stroke-width: 15; }
.donut-bg[b-3n2rgcczvu] { stroke: #e8eef5; }
.donut-fg[b-3n2rgcczvu] { stroke: var(--b); stroke-linecap: round; transition: stroke-dasharray .8s ease; }
.donut[b-3n2rgcczvu]  .donut-text { font-size: 26px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
.donut[b-3n2rgcczvu]  .donut-sub { font-size: 10px; fill: var(--muted); text-anchor: middle; text-transform: uppercase; letter-spacing: .06em; }
.legend[b-3n2rgcczvu] { list-style: none; padding: 0; margin: 0; font-size: .9rem; color: #334155; }
.legend li[b-3n2rgcczvu] { margin-bottom: .45rem; display: flex; align-items: center; }
.legend b[b-3n2rgcczvu] { margin-left: .5rem; color: var(--ink); }
.dot[b-3n2rgcczvu] { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; margin-right: .5rem; }
.dot-fg[b-3n2rgcczvu] { background: var(--b); }
.dot-bg[b-3n2rgcczvu] { background: #e8eef5; border: 1px solid #cbd5e1; }

/* ---------- giorni della settimana ---------- */
.weekday[b-3n2rgcczvu] { display: grid; grid-template-columns: repeat(7, 1fr); gap: .6rem; align-items: end; height: 190px; }
.wd-col[b-3n2rgcczvu] { display: flex; flex-direction: column; align-items: center; gap: .3rem; height: 100%; }
.wd-val[b-3n2rgcczvu] { font-size: .72rem; color: var(--muted); font-weight: 600; }
.wd-track[b-3n2rgcczvu] { flex: 1; width: 100%; max-width: 44px; display: flex; align-items: flex-end; background: #f1f5f9; border-radius: .6rem; overflow: hidden; }
.wd-track span[b-3n2rgcczvu] { display: block; width: 100%; min-height: 3px; border-radius: .6rem .6rem 0 0; transform-origin: bottom; animation: grow-y-b-3n2rgcczvu .8s ease both;
    background: linear-gradient(180deg, color-mix(in srgb, var(--b) 60%, #fff), var(--b)); opacity: .75; }
.wd-col.top .wd-track span[b-3n2rgcczvu] { opacity: 1; background: linear-gradient(180deg, var(--b), var(--b-dark)); }
.wd-col.top .wd-val[b-3n2rgcczvu] { color: var(--b); }
.wd-lbl[b-3n2rgcczvu] { font-size: .75rem; color: var(--ink); font-weight: 500; }

/* ---------- fasce orarie ---------- */
.hours[b-3n2rgcczvu] { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.hr-cell[b-3n2rgcczvu] { aspect-ratio: 1.15; border-radius: .5rem; position: relative; background: color-mix(in srgb, var(--b) calc(var(--o) * 100%), #f1f5f9); animation: fadein-b-3n2rgcczvu .6s ease both; transition: transform .15s; }
.hr-cell:hover[b-3n2rgcczvu] { transform: scale(1.12); z-index: 1; }
.hr-cell span[b-3n2rgcczvu] { position: absolute; left: 0; right: 0; bottom: -1.2rem; text-align: center; font-size: .68rem; color: var(--muted); }
.hours[b-3n2rgcczvu] { padding-bottom: 1.3rem; }

/* ---------- classifiche ---------- */
.rank[b-3n2rgcczvu] { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.rank li[b-3n2rgcczvu] { display: flex; gap: .85rem; align-items: flex-start; animation: rise-b-3n2rgcczvu .5s ease both; animation-delay: var(--d, 0ms); }
.rank-badge[b-3n2rgcczvu] { flex: none; display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: .65rem; background: var(--b-soft); color: var(--b); font-weight: 700; font-size: .9rem; }
.rank-badge.r1[b-3n2rgcczvu] { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; }
.rank-badge.r2[b-3n2rgcczvu] { background: linear-gradient(135deg, #cbd5e1, #94a3b8); color: #fff; }
.rank-badge.r3[b-3n2rgcczvu] { background: linear-gradient(135deg, #e0a37a, #c2763f); color: #fff; }
.rank-body[b-3n2rgcczvu] { flex: 1; min-width: 0; }
.rank-top[b-3n2rgcczvu] { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.rank-name[b-3n2rgcczvu] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 500; }
.rank-val[b-3n2rgcczvu] { font-weight: 700; white-space: nowrap; color: var(--ink); }
.rank-bar[b-3n2rgcczvu] { height: 8px; background: #f1f5f9; border-radius: 9999px; margin: .4rem 0 .25rem; overflow: hidden; }
.rank-bar span[b-3n2rgcczvu] { display: block; height: 100%; border-radius: 9999px; transform-origin: left; animation: grow-x-b-3n2rgcczvu .9s ease both; background: linear-gradient(90deg, color-mix(in srgb, var(--b) 55%, #fff), var(--b)); }
.rank-meta[b-3n2rgcczvu] { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { .dash *[b-3n2rgcczvu], .dash *[b-3n2rgcczvu]::before, .dash *[b-3n2rgcczvu]::after { animation: none !important; transition: none !important; } }
/* /Pages/DettaglioArticolo.razor.rz.scp.css */
.page-container[b-540mo1q1rg] { max-width: 100%; margin: 0 auto; padding: 2rem 1rem; }
.loading-container[b-540mo1q1rg] { text-align: center; padding: 4rem; }
.spinner-icon[b-540mo1q1rg] { color: var(--brand); }
.loading-text[b-540mo1q1rg] { margin-top: 1rem; }
.page-header[b-540mo1q1rg] { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid #e5e7eb; }
.btn-back[b-540mo1q1rg] { background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; color: #4b5563; font-weight: 500; }
.page-title[b-540mo1q1rg] { margin: 0; font-size: 1.5rem; font-weight: bold; color: #1f2937; }
.notification-banner[b-540mo1q1rg] { background-color: #dcfce7; color: #166534; padding: 1rem; border-radius: 6px; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; animation: slide-up-fade 0.3s ease-out; }
.detail-grid[b-540mo1q1rg] { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 3rem; align-items: start; }
.carousel-section[b-540mo1q1rg] { text-align: center; background: #fff; padding: 2rem 3rem; border-radius: 8px; }
.main-image[b-540mo1q1rg] { max-height: 400px; object-fit: contain; width: 100%; }
.carousel-dots[b-540mo1q1rg] { margin-top: 1.5rem; display: flex; justify-content: center; gap: 0.5rem; }
.carousel-dot[b-540mo1q1rg] { width: 12px; height: 12px; border-radius: 50%; background-color: #d1d5db; cursor: pointer; transition: background-color 0.2s; }
.carousel-dot.dot-active[b-540mo1q1rg] { background-color: var(--brand, #2563eb); }
.info-section[b-540mo1q1rg] { display: flex; flex-direction: column; }
.item-code[b-540mo1q1rg] { font-family: monospace; color: var(--text-muted); font-size: 1rem; background: #f3f4f6; padding: 0.25rem 0.5rem; border-radius: 4px; width: fit-content; }
.item-name[b-540mo1q1rg] { font-size: 2rem; font-weight: 700; margin-top: 1rem; margin-bottom: 1rem; color: #111827; }
.item-description[b-540mo1q1rg] { color: #4b5563; line-height: 1.6; font-size: 1.1rem; }
.item-price[b-540mo1q1rg] { font-size: 1.5rem; font-weight: bold; color: var(--brand, #2563eb); margin-top: 1.5rem; }
.cart-controls[b-540mo1q1rg] { margin-top: 2rem; border-top: 1px solid #e5e7eb; padding-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.quantity-add-wrapper[b-540mo1q1rg] { display: flex; align-items: stretch; gap: 1rem; flex-wrap: wrap; }
.list-always-qty[b-540mo1q1rg] { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn[b-540mo1q1rg] { background: #e2e8f0; border: none; border-radius: 0.35rem; width: 48px; height: 48px; font-weight: bold; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; color: var(--text-main); }
.qty-btn:hover[b-540mo1q1rg] { background: #cbd5e1; }
.qty-input[b-540mo1q1rg] { width: 90px; height: 48px; text-align: center; border: 1px solid #cbd5e1; border-radius: 0.35rem; font-weight: bold; font-size: 1.3rem; outline: none; -moz-appearance: textfield; }
.qty-input[b-540mo1q1rg]::-webkit-outer-spin-button, .qty-input[b-540mo1q1rg]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-add[b-540mo1q1rg] { flex: 1; padding: 0.75rem 1.5rem; font-size: 1.1rem; background-color: var(--brand, #2563eb); color: white; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2); transition: transform 0.1s, opacity 0.2s; }
.btn-add:active[b-540mo1q1rg] { transform: scale(0.98); }
.cart-status[b-540mo1q1rg] { font-size: 0.9rem; color: #059669; font-weight: 500; }
.btn-remove[b-540mo1q1rg] { width: 100%; padding: 0.75rem; font-size: 1rem; background-color: #fef2f2; color: #dc2626; border: 1px solid #f87171; border-radius: 6px; font-weight: 600; cursor: pointer; transition: background-color 0.2s; }
.btn-remove:hover[b-540mo1q1rg] { background-color: #fee2e2; }
.icon-margin-right[b-540mo1q1rg] { margin-right: 0.5rem; }
.related-products[b-540mo1q1rg] { margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--border-color); position: relative; }
.related-title[b-540mo1q1rg] { text-align: center; margin-bottom: 2rem; font-weight: 700; color: #1c1917; }
.related-title-underline[b-540mo1q1rg] { display: block; width: 60px; height: 3px; background-color: var(--brand); margin: 0.5rem auto 0; border-radius: 2px; }

@media (max-width: 768px) {

    .page-title[b-540mo1q1rg] {
        display: none;
    }

    .detail-grid[b-540mo1q1rg] {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .carousel-section[b-540mo1q1rg] {
        padding: 1.5rem;
    }

    .main-image[b-540mo1q1rg] {
        max-height: 300px;
    }

    .item-name[b-540mo1q1rg] {
        font-size: 1.5rem;
    }

    .item-description[b-540mo1q1rg] {
        font-size: 1rem;
    }

    .item-price[b-540mo1q1rg] {
        font-size: 1.25rem;
    }

    .quantity-add-wrapper[b-540mo1q1rg] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .qty-btn[b-540mo1q1rg], .qty-input[b-540mo1q1rg], .btn-add[b-540mo1q1rg] {
        width: 100%;
        height: 48px;
        font-size: 1.2rem;
    }
}
/* /Pages/EsitoRichiestaOrdine.razor.rz.scp.css */
/* ==========================================================================
   LAYOUT GENERALE
   ========================================================================== */
.esito-layout[b-hyinnan6yd] {
    max-width: 720px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    min-height: calc(70vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.esito-card[b-hyinnan6yd] {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    width: 100%;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* ==========================================================================
   STATI (SUCCESSO / ERRORE)
   ========================================================================== */
.esito-status h2[b-hyinnan6yd] {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main, #1e293b);
}

.esito-description[b-hyinnan6yd] {
    color: var(--text-muted, #64748b);
    line-height: 1.65;
    font-size: 1.05rem;
    margin: 1.5rem auto;
    max-width: 580px;
}

    .esito-description strong[b-hyinnan6yd] {
        color: var(--text-main, #1e293b);
        font-weight: 600;
    }

/* Icone circolari in evidenza */
.icon-wrapper[b-hyinnan6yd] {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
}

    .icon-wrapper.success[b-hyinnan6yd] {
        color: #16a34a;
        background-color: #f0fdf4;
        border: 1px solid #bbf7d0;
    }

    .icon-wrapper.error[b-hyinnan6yd] {
        color: #dc2626;
        background-color: #fef2f2;
        border: 1px solid #fecaca;
    }

/* Linea divisoria estetica */
.divider[b-hyinnan6yd] {
    height: 3px;
    width: 60px;
    margin: 0 auto;
    border-radius: 2px;
}

.esito-status.success .divider[b-hyinnan6yd] {
    background-color: #22c55e;
}

.esito-status.error .divider[b-hyinnan6yd] {
    background-color: #ef4444;
}

/* ==========================================================================
   AZIONI & PULSANTI
   ========================================================================== */
.esito-actions[b-hyinnan6yd] {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color, #e5e7eb);
}

.btn-return-catalog[b-hyinnan6yd] {
    background-color: var(--brand, #2563eb);
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
}

    .btn-return-catalog:hover[b-hyinnan6yd] {
        background-color: var(--brand-hover, #1d4ed8);
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
    }

/* ==========================================================================
   RESPONSIVE (< 576px)
   ========================================================================== */
@media (max-width: 575.98px) {
    .esito-layout[b-hyinnan6yd] {
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .esito-card[b-hyinnan6yd] {
        padding: 1.75rem 1.25rem;
    }

    .esito-status h2[b-hyinnan6yd] {
        font-size: 1.35rem;
    }

    .esito-description[b-hyinnan6yd] {
        font-size: 0.95rem;
    }

    .btn-return-catalog[b-hyinnan6yd] {
        width: 100%;
        justify-content: center;
    }
}
/* /Pages/GestioneArticoli.razor.rz.scp.css */
/* ==========================================================================
       01. HEADER DI PAGINA & BOTTONE INDIETRO
       ========================================================================== */
.articoli-page[b-p05spqqoiy]  .articles-header-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.articoli-page[b-p05spqqoiy]  .page-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* Bottone indietro stile outline moderno */
.articoli-page[b-p05spqqoiy]  .btn-back {
    background-color: #ffffff;
    border: 1px solid var(--border-color, #cbd5e1);
    color: #334155;
    padding: 0.55rem 1.15rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

    .articoli-page[b-p05spqqoiy]  .btn-back:hover {
        background-color: #f8fafc;
        border-color: #94a3b8;
        color: #0f172a;
    }

/* ==========================================================================
       02. CONTENITORE GRIGLIA STILE CARD (.table-card)
       ========================================================================== */
.articoli-page[b-p05spqqoiy]  .table-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -16px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    padding: 1rem;
}

/* ==========================================================================
       03. PULSANTI DI AZIONE & BADGE DELLA TABELLA
       ========================================================================== */
.articoli-page[b-p05spqqoiy]  .btn-grid-action {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    background: transparent;
}

.articoli-page[b-p05spqqoiy]  .btn-edit-article {
    color: #f59e0b;
    background-color: #fef3c7;
}

    .articoli-page[b-p05spqqoiy]  .btn-edit-article:hover {
        background-color: #fde68a;
        color: #d97706;
        transform: scale(1.05);
    }

.articoli-page[b-p05spqqoiy]  .sku-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
}

.articoli-page[b-p05spqqoiy]  .category-pill {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    background-color: #eff6ff;
    color: var(--brand, #2563eb);
    border: 1px solid #bfdbfe;
}

.articoli-page[b-p05spqqoiy]  .image-name-text {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.85rem;
    color: #64748b;
    font-family: 'JetBrains Mono', monospace;
}

.articoli-page[b-p05spqqoiy] {
    font-size: 0.8rem;
}
/* /Pages/GestioneCatalogo.razor.rz.scp.css */
/* ==========================================================================
           01. HEADER DI PAGINA
           ========================================================================== */
.catalog-admin-header[b-el3pujpnk1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.page-title[b-el3pujpnk1] {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* ==========================================================================
           02. GRIGLIA CARD DI AZIONE (.admin-card-grid)
           ========================================================================== */
.admin-card-grid[b-el3pujpnk1] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.admin-card[b-el3pujpnk1] {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -16px rgba(15, 23, 42, 0.18);
}

    .admin-card:hover[b-el3pujpnk1] {
        border-color: var(--brand, #2563eb);
        transform: translateY(-3px);
        box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -4px rgba(37, 99, 235, 0.05);
        color: inherit;
    }

.admin-card-icon[b-el3pujpnk1] {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    background-color: color-mix(in srgb, var(--brand, #2563eb) 12%, #fff);
    color: var(--brand, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.admin-card:hover .admin-card-icon[b-el3pujpnk1] {
    background-color: var(--brand, #2563eb);
    color: #ffffff;
}

.admin-card-title[b-el3pujpnk1] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.admin-card-text[b-el3pujpnk1] {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.admin-card-footer[b-el3pujpnk1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand, #2563eb);
}
/* /Pages/GestioneCategorie.razor.rz.scp.css */
/* ==========================================================================
       01. HEADER DI PAGINA, BOTTONE INDIETRO & FILTRO LINGUA
       ========================================================================== */
.categories-header-bar[b-s4mkyrcoi8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.page-title[b-s4mkyrcoi8] {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.header-actions[b-s4mkyrcoi8] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Bottone indietro stile outline moderno */
.btn-back[b-s4mkyrcoi8] {
    background-color: #ffffff;
    border: 1px solid var(--border-color, #cbd5e1);
    color: #334155;
    padding: 0.55rem 1.15rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

    .btn-back:hover[b-s4mkyrcoi8] {
        background-color: #f8fafc;
        border-color: #94a3b8;
        color: #0f172a;
    }

.language-selector-wrap[b-s4mkyrcoi8] {
    min-width: 160px;
}

/* ==========================================================================
       02. CONTENITORE GRIGLIA STILE CARD (.table-card)
       ========================================================================== */
.table-card[b-s4mkyrcoi8] {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -16px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    padding: 1rem;
}

/* ==========================================================================
       03. PULSANTI DI AZIONE TABELLA (Aggiungi, Modifica, Elimina)
       ========================================================================== */
.btn-grid-action[b-s4mkyrcoi8] {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    background: transparent;
}

.btn-add-category[b-s4mkyrcoi8] {
    background-color: #eff6ff;
    color: var(--brand, #2563eb);
    border-color: #bfdbfe;
}

    .btn-add-category:hover[b-s4mkyrcoi8] {
        background-color: var(--brand, #2563eb);
        color: #ffffff;
        transform: scale(1.05);
    }

.btn-edit-category[b-s4mkyrcoi8] {
    color: #f59e0b;
    background-color: #fef3c7;
}

    .btn-edit-category:hover[b-s4mkyrcoi8] {
        background-color: #fde68a;
        color: #d97706;
    }

.btn-delete-category[b-s4mkyrcoi8] {
    color: #dc2626;
    background-color: #fef2f2;
}

    .btn-delete-category:hover[b-s4mkyrcoi8] {
        background-color: #fee2e2;
        color: #b91c1c;
    }
/* /Pages/ImportaCarrello.razor.rz.scp.css */
.page-header[b-rcwlt7lje4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.btn-back[b-rcwlt7lje4] {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #4b5563;
    font-weight: 500;
}

.page-title[b-rcwlt7lje4] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
}


/* Container principale della pagina di importazione */
.import-container[b-rcwlt7lje4] {
    color: var(--text-main);
    width: 75%;
    margin: 2rem auto 4rem auto;
}

.import-title[b-rcwlt7lje4] {
    font-size: 1.75rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Pannelli per dividere le sezioni (Testo incollato / File CSV) - Stile Checkout */
.import-panel[b-rcwlt7lje4] {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.import-panel-title[b-rcwlt7lje4] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

/* Stile per la Textarea - Derivato da .custom-textarea */
.import-textarea[b-rcwlt7lje4] {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    resize: vertical;
    margin-bottom: 16px;
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .import-textarea:focus[b-rcwlt7lje4] {
        border-color: var(--brand);
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15); /* Stesso effetto del qty-input */
    }

/* Wrapper personalizzato per il caricamento file */
.import-file-wrapper[b-rcwlt7lje4] {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 32px 20px;
    text-align: center;
    background-color: var(--bg-body);
    transition: border-color 0.2s, background-color 0.2s;
    cursor: pointer;
    margin-bottom: 16px;
}

    .import-file-wrapper:hover[b-rcwlt7lje4] {
        border-color: var(--brand);
        background-color: #ffffff;
    }

/* Bottoni di Azione - Derivati da .btn-action-primary */
.import-btn-primary[b-rcwlt7lje4] {
    background-color: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
    cursor: pointer;
}

    .import-btn-primary:hover:not(:disabled)[b-rcwlt7lje4] {
        background-color: var(--brand-hover);
    }

/* Box di allerta errori - Adattato da .empty-cart-alert ma in rosso */
.import-alert-error[b-rcwlt7lje4] {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    font-weight: 500;
}

    .import-alert-error ul[b-rcwlt7lje4] {
        margin: 8px 0 0 0;
        padding-left: 20px;
        font-size: 0.9rem;
    }

/* Lista degli articoli in anteprima (Carrello Attuale) */
.import-preview-list[b-rcwlt7lje4] {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
}

.import-preview-item[b-rcwlt7lje4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--card-bg);
}

    .import-preview-item:last-child[b-rcwlt7lje4] {
        border-bottom: none;
    }

.import-preview-sku[b-rcwlt7lje4] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand);
}

.import-preview-qty[b-rcwlt7lje4] {
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}
/* /Pages/StoricoOrdini.razor.rz.scp.css */
/* ==========================================================================
           01. HEADER, TITOLO & SELETTORE FILTRI A PILLOLA
           ========================================================================== */
.orders-header-bar[b-bjtrku2azg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.page-title[b-bjtrku2azg] {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* Contenitore a pillola per i filtri di stato */
.filter-pills-group[b-bjtrku2azg] {
    display: inline-flex;
    align-items: center;
    background-color: #f1f5f9;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 9999px;
    padding: 4px;
    gap: 2px;
}

.filter-pill[b-bjtrku2azg] {
    position: relative;
    cursor: pointer;
    margin: 0;
}

    .filter-pill input[type="radio"][b-bjtrku2azg] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .filter-pill span[b-bjtrku2azg] {
        display: inline-block;
        padding: 0.4rem 1rem;
        border-radius: 9999px;
        font-size: 0.8rem;
        font-weight: 600;
        color: #64748b;
        transition: all 0.2s ease;
        user-select: none;
    }

    .filter-pill input[type="radio"]:checked + span[b-bjtrku2azg] {
        background-color: #ffffff;
        color: var(--brand, #2563eb);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .filter-pill:hover span:not(.active)[b-bjtrku2azg] {
        color: #1e293b;
    }

/* Pulsante di Esportazione (stile catalogo .btn-add / .btn-action-primary) */
.btn-export[b-bjtrku2azg] {
    background-color: var(--brand, #2563eb);
    color: white;
    border: none;
    padding: 0.55rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
}

    .btn-export:hover[b-bjtrku2azg] {
        background-color: #1d4ed8;
    }

    .btn-export:active[b-bjtrku2azg] {
        transform: scale(0.98);
    }

/* ==========================================================================
           02. TABELLA ORDINI IN STILE CARD (.table-card)
           ========================================================================== */
.table-card[b-bjtrku2azg] {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -16px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.table-custom[b-bjtrku2azg] {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}

    .table-custom thead[b-bjtrku2azg] {
        background-color: color-mix(in srgb, var(--brand, #2563eb) 6%, #f8fafc);
        border-bottom: 1px solid var(--border-color, #e2e8f0);
    }

    .table-custom th[b-bjtrku2azg] {
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #64748b;
        padding: 0.55rem 1rem;
        border: none;
    }

    .table-custom td[b-bjtrku2azg] {
        padding: 0.55rem 1rem;
        vertical-align: middle;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.8rem;
        color: #1e293b;
    }

    .table-custom tbody tr:last-child td[b-bjtrku2azg] {
        border-bottom: none;
    }

    .table-custom tbody tr[b-bjtrku2azg] {
        transition: background-color 0.15s ease;
    }

        .table-custom tbody tr:hover[b-bjtrku2azg] {
            background-color: color-mix(in srgb, var(--brand, #2563eb) 5%, #fff);
        }

.order-number[b-bjtrku2azg] {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.order-date[b-bjtrku2azg] {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
           03. BADGE STATUS & PULSANTI DETTAGLIO
           ========================================================================== */
.status-badge[b-bjtrku2azg] {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.status-nuovo[b-bjtrku2azg] {
    background-color: #eff6ff;
    color: var(--brand, #2563eb);
    border: 1px solid #bfdbfe;
}

.status-esportato[b-bjtrku2azg] {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-detail[b-bjtrku2azg] {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    width: 38px;
    height: 38px;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-detail:hover[b-bjtrku2azg] {
        background-color: var(--brand, #2563eb);
        color: #ffffff;
        border-color: var(--brand, #2563eb);
        transform: scale(1.05);
    }

/* ==========================================================================
           04. MODALE DEVEXPRESS & STILE GRIGLIE
           ========================================================================== */
.griglia[b-bjtrku2azg] {
    height: 60vh;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 0.5rem;
}

.btn-export-csv[b-bjtrku2azg] {
    background-color: #0f172a;
    color: white;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .btn-export-csv:hover[b-bjtrku2azg] {
        background-color: #1e293b;
    }

.container[b-bjtrku2azg] {
    font-size: 0.8rem;
}
/* /Pages/StoricoOrdiniDettaglio.razor.rz.scp.css */
/* ==========================================================================
           01. HEADER DETTAGLIO & BOTTONE INDIETRO
           ========================================================================== */
.detail-header-bar[b-0atm1af72v] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.page-title[b-0atm1af72v] {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.order-id-highlight[b-0atm1af72v] {
    color: var(--brand, #2563eb);
    font-family: 'JetBrains Mono', monospace;
}

/* Bottone indietro stile outline moderno */
.btn-back[b-0atm1af72v] {
    background-color: #ffffff;
    border: 1px solid var(--border-color, #cbd5e1);
    color: #334155;
    padding: 0.55rem 1.15rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

    .btn-back:hover[b-0atm1af72v] {
        background-color: #f8fafc;
        border-color: #94a3b8;
        color: #0f172a;
    }

/* ==========================================================================
           02. TABELLA DETTAGLI IN STILE CARD (.table-card)
           ========================================================================== */
.table-card[b-0atm1af72v] {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -16px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.table-custom[b-0atm1af72v] {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}

    .table-custom thead[b-0atm1af72v] {
        background-color: color-mix(in srgb, var(--brand, #2563eb) 6%, #f8fafc);
        border-bottom: 1px solid var(--border-color, #e2e8f0);
    }

    .table-custom th[b-0atm1af72v] {
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #64748b;
        padding: 0.55rem 1rem;
        border: none;
    }

    .table-custom td[b-0atm1af72v] {
        padding: 0.55rem 1rem;
        vertical-align: middle;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.8rem;
        color: #1e293b;
    }

    .table-custom tbody tr:last-child td[b-0atm1af72v] {
        border-bottom: none;
    }

    .table-custom tbody tr[b-0atm1af72v] {
        transition: background-color 0.15s ease;
    }

        .table-custom tbody tr:hover[b-0atm1af72v] {
            background-color: color-mix(in srgb, var(--brand, #2563eb) 5%, #fff);
        }

/* Tipografia articoli */
.product-sku[b-0atm1af72v] {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted, #64748b);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.product-name[b-0atm1af72v] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

/* Badge quantità */
.qty-badge[b-0atm1af72v] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.8rem;
    min-width: 44px;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
}

.container[b-0atm1af72v] {
    font-size: 0.8rem;
}
/* /Shared/AdminHero.razor.rz.scp.css */
@keyframes hero-rise-b-w3p4wl4u2n { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.admin-hero[b-w3p4wl4u2n] { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.3rem 1.6rem; margin-bottom: 1.5rem; border-radius: 1rem; color: #fff;
    background: radial-gradient(900px 240px at 100% -30%, rgba(255,255,255,.25), transparent 60%),
                linear-gradient(135deg, var(--brand, #0098d9), color-mix(in srgb, var(--brand, #0098d9) 55%, #0f172a));
    box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--brand, #0098d9) 70%, transparent); animation: hero-rise-b-w3p4wl4u2n .45s ease both; }
.admin-hero[b-w3p4wl4u2n]::after { content: ""; position: absolute; right: -50px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }

.admin-hero-text[b-w3p4wl4u2n] { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.admin-hero-eyebrow[b-w3p4wl4u2n] { font-size: .8rem; opacity: .85; }
.admin-hero-title[b-w3p4wl4u2n] { display: flex; align-items: center; gap: .75rem; margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.admin-hero-icon[b-w3p4wl4u2n] { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .75rem; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28); font-size: 1rem; flex: none; }
.admin-hero-sub[b-w3p4wl4u2n] { font-size: .85rem; opacity: .85; }

.admin-hero-actions[b-w3p4wl4u2n] { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }

/* elementi che le pagine inseriscono nell'hero: stile "vetro" su sfondo colorato */
.admin-hero-actions[b-w3p4wl4u2n]  .btn-back { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.admin-hero-actions[b-w3p4wl4u2n]  .btn-back:hover { background: #fff; color: color-mix(in srgb, var(--brand, #0098d9) 55%, #0f172a) !important; border-color: #fff; }
.admin-hero-actions[b-w3p4wl4u2n]  .filter-pills-group { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.admin-hero-actions[b-w3p4wl4u2n]  .filter-pill span { color: #fff; }
.admin-hero-actions[b-w3p4wl4u2n]  .filter-pill:hover span:not(.active) { color: #fff; background: rgba(255,255,255,.14); }
.admin-hero-actions[b-w3p4wl4u2n]  .filter-pill input[type="radio"]:checked + span { background: #fff; color: color-mix(in srgb, var(--brand, #0098d9) 55%, #0f172a); }
.admin-hero-actions[b-w3p4wl4u2n]  .form-select { border-radius: .5rem; font-size: .8rem; }

@media (prefers-reduced-motion: reduce) { .admin-hero[b-w3p4wl4u2n] { animation: none; } }
/* /Shared/CultureSelector.razor.rz.scp.css */
/* Selettore lingua a pulsante segmentato */
.lang-switch[b-mma6zkhivq] {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    backdrop-filter: blur(6px);
}

.lang-option[b-mma6zkhivq] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 8px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

    .lang-option img[b-mma6zkhivq] {
        width: 20px;
        height: 14px;
        object-fit: cover;
        border-radius: 3px;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
    }

    .lang-option:hover[b-mma6zkhivq] {
        background: color-mix(in srgb, var(--brand), white 90%);
        color: var(--brand);
    }

    .lang-option:focus-visible[b-mma6zkhivq] {
        outline: 2px solid var(--brand);
        outline-offset: 1px;
    }

    .lang-option.active[b-mma6zkhivq] {
        background: var(--brand);
        color: #ffffff;
        cursor: default;
    }
/* /Shared/FooterPage.razor.rz.scp.css */
.azienda-footer[b-qtwglhwf90] {
    border-top: 1px solid #e5e7eb;
    padding: 3rem 1rem;
    margin-top: 4rem;
    background-color: #ffffff;
    text-align: center;
}

.azienda-title[b-qtwglhwf90] {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

    .azienda-title a[b-qtwglhwf90] {
        color: #1c1917;
        text-decoration: none;
        transition: color 0.2s ease-in-out;
    }

        .azienda-title a:hover[b-qtwglhwf90] {
            color: var(--brand);
        }

.azienda-info-grid[b-qtwglhwf90] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2.5rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.info-item[b-qtwglhwf90] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .info-item i[b-qtwglhwf90] {
        color: var(--brand); /* Icone coordinate con il tema */
        font-size: 1.1rem;
    }

    .info-item a[b-qtwglhwf90] {
        color: #4b5563;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .info-item a:hover[b-qtwglhwf90] {
            color: #1c1917;
            text-decoration: underline;
        }
/* /Shared/LoginShell.razor.rz.scp.css */
/* ========================================================
   01. BASE & LAYOUT
   Sfondo dello stesso colore dell'header del sito (--header-bg-color)
======================================================== */
.login-page[b-jz5qmevgxx] {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    /* annulla il padding laterale (px-4) del contenitore del layout, per lo sfondo a tutta larghezza */
    margin: 0 -1.5rem;
    display: flex;
    flex-direction: column;
    background: var(--header-bg-color);
}

    /* onda decorativa in basso */
    .login-page[b-jz5qmevgxx]::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -5%;
        height: 35%;
        background: color-mix(in srgb, var(--brand) 14%, var(--header-bg-color));
        clip-path: polygon(0 55%, 100% 15%, 100% 100%, 0 100%);
        pointer-events: none;
    }

.login-wrapper[b-jz5qmevgxx] {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 2rem 1.5rem;
}

/* ========================================================
   02. BRAND (logo sullo sfondo, fuori dalla card)
======================================================== */
.login-brand[b-jz5qmevgxx] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 360px;
    color: var(--header-color);
}

.login-brand-logo[b-jz5qmevgxx] {
    display: block;
    max-width: 260px;
    max-height: 160px;
    width: auto;
    height: auto;
}

/* ========================================================
   03. CARD
======================================================== */
.login-card[b-jz5qmevgxx] {
    position: relative;
    background-color: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem 2.25rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
    text-align: center;
    box-sizing: border-box;
}

.login-title[b-jz5qmevgxx] {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 6px;
}

.login-subtitle[b-jz5qmevgxx] {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 28px;
}


/* ========================================================
   04. FORM & INPUTS (il form è contenuto passato dalla pagina: serve ::deep)
======================================================== */
.login-content[b-jz5qmevgxx] {
    margin-top: 0;
}

.login-title + .login-content[b-jz5qmevgxx] {
    margin-top: 28px;
}

.login-content[b-jz5qmevgxx]  .login-form {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
}

.login-content[b-jz5qmevgxx]  .custom-input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    width: 100%;
}

    .login-content[b-jz5qmevgxx]  .custom-input-group label {
        font-size: 13px;
        font-weight: 600;
        color: #333333;
        margin-bottom: 6px;
    }

.login-content[b-jz5qmevgxx]  .custom-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 15px;
    letter-spacing: normal;
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    background-color: #ffffff;
    color: #333333;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-weight: 400;
}

    .login-content[b-jz5qmevgxx]  .custom-input:focus {
        border-color: var(--brand);
        outline: 2px solid color-mix(in srgb, var(--brand), white 60%);
        outline-offset: 0;
        box-shadow: none;
    }

    /* Rimuove lo sfondo colorato dell'autocompletamento dei browser */
    .login-content[b-jz5qmevgxx]  .custom-input:-webkit-autofill,
    .login-content[b-jz5qmevgxx]  .custom-input:-webkit-autofill:hover,
    .login-content[b-jz5qmevgxx]  .custom-input:-webkit-autofill:focus,
    .login-content[b-jz5qmevgxx]  .custom-input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 30px white inset !important;
        -webkit-text-fill-color: #333333 !important;
        transition: background-color 5000s ease-in-out 0s;
    }

/* Campo password con pulsante mostra/nascondi */
.login-content[b-jz5qmevgxx]  .password-field {
    position: relative;
}

    .login-content[b-jz5qmevgxx]  .password-field .custom-input {
        padding-right: 40px;
    }

.login-content[b-jz5qmevgxx]  .password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
}

    .login-content[b-jz5qmevgxx]  .password-toggle:hover {
        color: var(--brand);
        background-color: color-mix(in srgb, var(--brand), white 90%);
    }

/* Messaggio di errore */
.login-content[b-jz5qmevgxx]  .login-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    padding: 12px 14px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #991b1b;
    font-size: 14px;
    font-weight: 500;
}

/* ========================================================
   05. BUTTONS
======================================================== */
.login-content[b-jz5qmevgxx]  .btn-login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--brand);
    color: #ffffff;
    border: 1px solid var(--brand);
    border-radius: 10px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
    cursor: pointer;
    transition: filter 0.2s;
    margin-top: 10px;
    box-sizing: border-box;
}

    .login-content[b-jz5qmevgxx]  .btn-login:hover {
        color: #ffffff;
        filter: brightness(1.08);
    }

    .login-content[b-jz5qmevgxx]  .btn-login:active {
        filter: brightness(0.95);
    }

/* ========================================================
   06. FOOTER (dati azienda)
======================================================== */
.footer-wrapper[b-jz5qmevgxx] {
    position: relative;
    z-index: 1;
    width: calc(100% - 3rem);
    max-width: 900px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

    /* nel login la fascia del footer è una card compatta */
    .footer-wrapper[b-jz5qmevgxx]  .azienda-footer {
        margin-top: 0;
        padding: 1.5rem 1rem;
        border-top: none;
    }

/* ========================================================
   07. RESPONSIVE DESIGN
======================================================== */
@media (max-width: 991.98px) {
    .login-wrapper[b-jz5qmevgxx] {
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem 1.5rem 1rem;
    }

    .login-brand[b-jz5qmevgxx] {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .login-wrapper[b-jz5qmevgxx] {
        padding: 2rem 1.25rem 1rem;
    }

    .login-card[b-jz5qmevgxx] {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .footer-wrapper[b-jz5qmevgxx] {
        width: calc(100% - 2.5rem);
    }
}

/* ========================================================
   08. SELETTORE LINGUA (in alto a destra)
======================================================== */
.login-lang[b-jz5qmevgxx] {
    position: absolute;
    top: 1.25rem;
    right: 1.75rem;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .login-wrapper[b-jz5qmevgxx] {
        padding-top: 4.5rem;
    }

    .login-lang[b-jz5qmevgxx] {
        right: 1.25rem;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-6hol8ixaz6] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-6hol8ixaz6] {
    flex: 1;
}

.sidebar[b-6hol8ixaz6] {
    width: var(--sidebar-width);
    background-color: var(--bg-surface);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
}

.top-row[b-6hol8ixaz6] {
    height: 3.5rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    gap: 16px;
    z-index: 200;
    position: relative;
}

.toprow-left[b-6hol8ixaz6] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-icon[b-6hol8ixaz6] {
    display: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 10px;
}

.company-info h1[b-6hol8ixaz6] {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.company-info p[b-6hol8ixaz6] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.user-info[b-6hol8ixaz6] {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.9rem;
}

.logout-btn[b-6hol8ixaz6] {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: color 0.2s;
}

    .logout-btn:hover[b-6hol8ixaz6] {
        color: var(--primary-red);
    }

@media only screen and (max-width: 1199.98px) {
    .top-row:not(.auth)[b-6hol8ixaz6] {
        display: none;
    }

    .top-row.auth[b-6hol8ixaz6] {
        justify-content: space-between;
    }

    .top-row a[b-6hol8ixaz6], .top-row .btn-link[b-6hol8ixaz6] {
        margin-left: 0;
    }
}

@media only screen and (min-width: 1200px) {
    .page[b-6hol8ixaz6] {
        flex-direction: row;
    }

    .sidebar[b-6hol8ixaz6] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-6hol8ixaz6] {
        position: sticky;
        top: 0;
        z-index: 1;
    }
}

/* Header originale Fiar */
.header[b-6hol8ixaz6] {
    position: sticky;
    top: 0;
    background-color: var(--header-bg-color);
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    color: var(--header-color);
}

.nav-container[b-6hol8ixaz6] {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img[b-6hol8ixaz6] {
    height: 50px;
    width: auto;
    display: block;
}

.nav-actions[b-6hol8ixaz6] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.search-bar[b-6hol8ixaz6] {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    width: 250px;
    transition: border-color 0.2s;
}

    .search-bar:focus[b-6hol8ixaz6] {
        outline: none;
        border-color: var(--brand);
    }

.action-icons-group[b-6hol8ixaz6] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.action-icon[b-6hol8ixaz6] {
    position: relative;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: var(--header-color);
}

    .action-icon:hover[b-6hol8ixaz6] {
        color: var(--header-color-hover);
    }

.cart-badge[b-6hol8ixaz6] {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--brand);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    height: 16px;
    min-width: 16px;
    border-radius: 50rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
}

.mobile-user-details[b-6hol8ixaz6] {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-top: 2px solid var(--border-color);
    margin-top: 16px;
    gap: 12px;
    background-color: #f9fafb;
}

    .mobile-user-details span[b-6hol8ixaz6] {
        color: var(--text-muted);
        font-size: 0.9rem;
    }

    .mobile-user-details .logout-btn[b-6hol8ixaz6] {
        justify-content: flex-start;
        padding: 8px 0;
    }

.user-menu-container[b-6hol8ixaz6] {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.dropdown-overlay[b-6hol8ixaz6] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 90;
    cursor: default;
}

.user-dropdown[b-6hol8ixaz6] {
    position: absolute;
    top: 100%;
    right: -20px;
    margin-top: 0.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    min-width: 220px;
    z-index: 100;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.user-dropdown-header[b-6hol8ixaz6] {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    background-color: #f9fafb;
}

.welcome-text[b-6hol8ixaz6] {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.user-name[b-6hol8ixaz6] {
    font-size: 1rem;
    color: #111827;
}

.user-dropdown-divider[b-6hol8ixaz6] {
    height: 1px;
    background-color: #e5e7eb;
    width: 100%;
}

.dropdown-logout-btn[b-6hol8ixaz6] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #dc2626;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    transition: background-color 0.2s ease;
}

    .dropdown-logout-btn:hover[b-6hol8ixaz6] {
        background-color: #fef2f2;
    }

/* Stili Dropdown Ricerca per Mobile e Visibilità Targettizzata */
.mobile-search-dropdown[b-6hol8ixaz6] {
    padding: 0.75rem 1.5rem;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.mobile-search-input[b-6hol8ixaz6] {
    width: 100% !important;
}

/* Breakpoints Responsivi Desktop/Mobile */
@media (max-width: 768px) {
    .desktop-only[b-6hol8ixaz6] {
        display: none !important;
    }

    .mobile-only[b-6hol8ixaz6] {
        display: flex !important;
    }

    .nav-container[b-6hol8ixaz6] {
        padding: 0.75rem 1rem;
    }
}

@media (min-width: 769px) {
    .mobile-only[b-6hol8ixaz6] {
        display: none !important;
    }
}


/* Contenitore per Navigazione e Logo */
.nav-left-group[b-6hol8ixaz6] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Stile della Navigazione per Amministratori */
.admin-nav[b-6hol8ixaz6] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.admin-nav[b-6hol8ixaz6]  .admin-nav-link {
    color: var(--text-main, #1f2937);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

    .admin-nav[b-6hol8ixaz6]  .admin-nav-link:hover {
        color: var(--brand, #2563eb);
        background-color: color-mix(in srgb, var(--brand, #2563eb) 8%, #fff);
    }

    .admin-nav[b-6hol8ixaz6]  .admin-nav-link.active {
        color: var(--brand, #2563eb);
        background-color: color-mix(in srgb, var(--brand, #2563eb) 14%, #fff);
    }

/* Adattamento Responsive su schermi molto stretti */
@media (max-width: 768px) {
    .nav-left-group[b-6hol8ixaz6] {
        gap: 0.75rem;
    }

    .admin-nav[b-6hol8ixaz6] {
        gap: 0.5rem;
    }

    .admin-nav[b-6hol8ixaz6]  .admin-nav-link {
        font-size: 0.85rem;
        padding: 0.25rem 0.4rem;
    }
}

.search-wrapper[b-6hol8ixaz6] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-dropdown-menu[b-6hol8ixaz6] {
    position: absolute;
    top: 100%;
    left: 0;
    /* Rimosso "right: 0" per sbloccare la larghezza */
    min-width: 100%; /* Su mobile occupa almeno la larghezza dell'input */
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: min(480px, 60vh);
}

/* Regola specifica per forzare il dropdown a essere più largo su Desktop */
@media (min-width: 768px) {
    .desktop-only .search-dropdown-menu[b-6hol8ixaz6] {
        width: 450px; /* Scegli la larghezza ideale (es. 400px, 500px) */
        /* NOTA: Se il dropdown allargandosi esce dallo schermo verso destra, 
               commenta "left: 0" sopra e usa queste due regole per allinearlo a destra: */
        /* left: auto; */
        /* right: 0; */
    }
}

.search-result-item[b-6hol8ixaz6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

    .search-result-item:last-child[b-6hol8ixaz6] {
        border-bottom: none;
    }

    .search-result-item:hover[b-6hol8ixaz6] {
        background-color: #f8fafc;
    }

.search-result-img[b-6hol8ixaz6] {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    background-color: #f1f5f9;
    flex-shrink: 0; 
}

.search-result-info[b-6hol8ixaz6] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.search-result-name[b-6hol8ixaz6] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-sku[b-6hol8ixaz6] {
    font-size: 0.75rem;
    color: #64748b;
    font-family: monospace;
}

.search-loading-text[b-6hol8ixaz6] {
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* STILI AGGIUNTIVI PER IL DROPDOWN DI RICERCA */
.search-wrapper[b-6hol8ixaz6] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-dropdown-menu[b-6hol8ixaz6] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: min(480px, 60vh);
}

.search-result-item[b-6hol8ixaz6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

    .search-result-item:last-child[b-6hol8ixaz6] {
        border-bottom: none;
    }

    .search-result-item:hover[b-6hol8ixaz6] {
        background-color: #f8fafc;
    }

.search-result-img[b-6hol8ixaz6] {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
}

.search-result-info[b-6hol8ixaz6] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.search-result-name[b-6hol8ixaz6] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-sku[b-6hol8ixaz6] {
    font-size: 0.75rem;
    color: #64748b;
    font-family: monospace;
}

.search-loading-text[b-6hol8ixaz6] {
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}
/* /Shared/Modal.razor.rz.scp.css */
.app-modal-backdrop[b-xyqkedkm1n] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.55);
    overflow-y: auto;
}

.app-modal[b-xyqkedkm1n] {
    max-width: 100%;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
    outline: none;
    overflow: hidden;
}

.app-modal-header[b-xyqkedkm1n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.app-modal-title[b-xyqkedkm1n] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.app-modal-close[b-xyqkedkm1n] {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 0.375rem;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .app-modal-close:hover[b-xyqkedkm1n] {
        background: #f1f5f9;
        color: #0f172a;
    }

.app-modal-body[b-xyqkedkm1n] {
    padding: 0;
    overflow-y: auto;
}

.app-modal-footer[b-xyqkedkm1n] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    border-top: 1px solid var(--border-color, #e2e8f0);
}
