/* /Components/Create/BetaGateNotice.razor.rz.scp.css */
/* Avviso beta riservata: stesso linguaggio visivo dei messaggi di Create (cv2-note):
   vetro scuro con bordo colorato, testo chiaro, angoli --radius-md. */
.beta-gate-notice[b-gncj52x08d] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 1.25rem 0 1rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md, 16px);
    border: 1px solid;
    color: var(--text, #f0eaff);
    font-size: 0.86rem;
    line-height: 1.5;
}

.beta-gate-notice--info[b-gncj52x08d] {
    background: rgba(255, 171, 0, 0.08);
    border-color: rgba(255, 196, 0, 0.3);
}

.beta-gate-notice--warn[b-gncj52x08d] {
    background: rgba(229, 57, 53, 0.1);
    border-color: rgba(255, 82, 82, 0.35);
}

.beta-gate-notice > i[b-gncj52x08d] {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.beta-gate-notice--info > i[b-gncj52x08d] {
    color: #ffc400;
}

.beta-gate-notice--warn > i[b-gncj52x08d] {
    color: #ff8a80;
}

.beta-gate-notice > span[b-gncj52x08d] {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.beta-gate-notice__retry[b-gncj52x08d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: var(--text, #f0eaff);
    border-radius: 0.5rem;
    padding: 0.3rem 0.9rem;
    cursor: pointer;
    flex-shrink: 0;
}

.beta-gate-notice__retry:hover[b-gncj52x08d] {
    background: rgba(255, 255, 255, 0.1);
}

.beta-gate-notice__retry:focus-visible[b-gncj52x08d] {
    outline: 3px solid var(--accent, #00e5ff);
    outline-offset: 2px;
}

/* Telefono: icona e messaggio sulla prima riga, "Riprova" sotto a tutta larghezza. */
@media (max-width: 575.98px) {
    .beta-gate-notice[b-gncj52x08d] {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .beta-gate-notice > span[b-gncj52x08d] {
        flex: 1 1 calc(100% - 2.2rem);
    }

    .beta-gate-notice__retry[b-gncj52x08d] {
        flex: 1 1 100%;
    }
}
/* /Components/Create/CreateColorPicker.razor.rz.scp.css */
.cv2-colorpicker[b-opklhbv504] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cv2-colorpicker__head[b-opklhbv504] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.55rem;
}

.cv2-colorpicker__label[b-opklhbv504] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
}

.cv2-colorpicker__remove[b-opklhbv504] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(229, 57, 53, 0.35);
    background: rgba(229, 57, 53, 0.08);
    color: #ff8a80;
    font-size: 0.7rem;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.cv2-colorpicker__remove:hover[b-opklhbv504] {
    transform: scale(1.1);
    background: rgba(229, 57, 53, 0.18);
}

.cv2-swatches[b-opklhbv504] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.cv2-swatch[b-opklhbv504] {
    --swatch-color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--swatch-color);
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}

.cv2-swatch:hover[b-opklhbv504] {
    transform: scale(1.15) translateY(-2px);
}

.cv2-swatch:active[b-opklhbv504] {
    transform: scale(0.92);
}

.cv2-swatch:focus-visible[b-opklhbv504] {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 3px;
}

.cv2-swatch.is-selected[b-opklhbv504] {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12), 0 0 20px 2px var(--swatch-color);
}

.cv2-colorpicker__add[b-opklhbv504] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-full, 999px);
    background: rgba(0, 229, 255, 0.06);
    border: 1px dashed rgba(0, 229, 255, 0.35);
    color: var(--accent, #00e5ff);
    font-family: var(--cf-font-body);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cv2-colorpicker__add:hover[b-opklhbv504] {
    background: rgba(0, 229, 255, 0.12);
    transform: translateY(-1px);
}

/* Telefono: campioni colore da 44px (area di tocco). */
@media (max-width: 575.98px) {
    .cv2-swatch[b-opklhbv504] {
        width: 44px;
        height: 44px;
    }
}
/* /Components/Create/CreateColorSummary.razor.rz.scp.css */
.cv2-locked-colors[b-0bxt08n182] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.35rem;
    color: var(--text);
}
/* /Components/Create/CreateExtraViewsUpload.razor.rz.scp.css */
.cv2-extra-views[b-c9kt4egqgc] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cv2-label__optional[b-c9kt4egqgc] {
    color: var(--text-dim);
    font-weight: 400;
    font-size: 0.8rem;
}

.cv2-extra-views__grid[b-c9kt4egqgc] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.cv2-extra-views__slot[b-c9kt4egqgc] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cv2-extra-views__label[b-c9kt4egqgc] {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-align: center;
}

@media (max-width: 480px) {
    .cv2-extra-views__grid[b-c9kt4egqgc] {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* /Components/Create/CreateGallery.razor.rz.scp.css */
.cv2-gallery[b-6mpgiu7x5c] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.cv2-candidate[b-6mpgiu7x5c] {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-lg, 24px);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.15));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, box-shadow 0.25s ease;
    /* I candidati "reali" rimpiazzano gli skeleton nel DOM (elementi
       diversi, non un semplice cambio di classe) quando il polling
       finisce: l'animazione riparte da sola alla creazione, senza JS. */
    animation: cv2-candidate-in-b-6mpgiu7x5c 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.cv2-candidate:nth-child(2)[b-6mpgiu7x5c] { animation-delay: 0.06s; }
.cv2-candidate:nth-child(3)[b-6mpgiu7x5c] { animation-delay: 0.12s; }
.cv2-candidate:nth-child(4)[b-6mpgiu7x5c] { animation-delay: 0.18s; }

@keyframes cv2-candidate-in-b-6mpgiu7x5c {
    from { opacity: 0; transform: scale(0.85) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.cv2-candidate:hover[b-6mpgiu7x5c],
.cv2-candidate:focus-visible[b-6mpgiu7x5c] {
    transform: translateY(-4px) scale(1.02);
}

.cv2-candidate__icon[b-6mpgiu7x5c] {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.cv2-candidate__label[b-6mpgiu7x5c] {
    font-family: var(--cf-font-title);
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.cv2-candidate--hue-0[b-6mpgiu7x5c] { background: linear-gradient(150deg, rgba(255, 61, 138, 0.28), rgba(124, 58, 237, 0.22)); }
.cv2-candidate--hue-1[b-6mpgiu7x5c] { background: linear-gradient(150deg, rgba(0, 229, 255, 0.24), rgba(10, 162, 255, 0.22)); }
.cv2-candidate--hue-2[b-6mpgiu7x5c] { background: linear-gradient(150deg, rgba(124, 58, 237, 0.28), rgba(0, 229, 255, 0.18)); }
.cv2-candidate--hue-3[b-6mpgiu7x5c] { background: linear-gradient(150deg, rgba(229, 21, 126, 0.26), rgba(10, 162, 255, 0.2)); }

.cv2-candidate.is-selected[b-6mpgiu7x5c] {
    border-color: var(--accent, #00e5ff);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.25), 0 16px 34px -14px rgba(0, 229, 255, 0.4);
}

.cv2-candidate__check[b-6mpgiu7x5c] {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent, #00e5ff);
    color: #041018;
    font-size: 0.85rem;
    animation: cv2-check-pop-b-6mpgiu7x5c 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cv2-check-pop-b-6mpgiu7x5c {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}

/* ── Skeleton / shimmer (stato "polling") ────────────────────────── */

.cv2-candidate--skeleton[b-6mpgiu7x5c] {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg, 24px);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.1));
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0.02) 30%,
        rgba(255, 255, 255, 0.07) 50%,
        rgba(255, 255, 255, 0.02) 70%
    );
    background-size: 200% 100%;
    animation: cv2-shimmer-b-6mpgiu7x5c 1.4s ease-in-out infinite;
}

@keyframes cv2-shimmer-b-6mpgiu7x5c {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Immagini candidate (text-to-image) ──────────────────────────── */

.cv2-candidate--image[b-6mpgiu7x5c] {
    aspect-ratio: 4 / 3;
    padding: 0;
    background: rgba(255, 255, 255, 0.03);
}

.cv2-candidate--image img[b-6mpgiu7x5c] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cv2-candidate--image:hover img[b-6mpgiu7x5c] {
    transform: scale(1.06);
}

.cv2-candidate:focus-visible[b-6mpgiu7x5c] {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 2px;
}

@media (max-width: 560px) {
    .cv2-gallery[b-6mpgiu7x5c] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Le card immagine sono <button>: niente padding/sfondo di default del browser. */
button.cv2-candidate[b-6mpgiu7x5c] {
    padding: 0;
    background: rgba(255, 255, 255, 0.03);
    font: inherit;
}

.cv2-candidate:focus-visible[b-6mpgiu7x5c] {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .cv2-candidate[b-6mpgiu7x5c],
    .cv2-candidate__check[b-6mpgiu7x5c] {
        animation: none;
    }
}
/* /Components/Create/CreateImageUpload.razor.rz.scp.css */
.cv2-upload[b-737gat1tmw] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cv2-upload__drop[b-737gat1tmw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 2rem 1rem;
    border-radius: var(--radius-lg, 24px);
    border: 2px dashed rgba(167, 139, 250, 0.3);
    background: rgba(124, 58, 237, 0.06);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Contenitore posizionato: l'input trasparente lo copre (solo senza foto, vedi .razor). */
.cv2-upload__area[b-737gat1tmw] {
    position: relative;
}

/* L'<input> lo rende InputFile (componente figlio): senza ::deep lo stile isolato non lo raggiunge. */
.cv2-upload__area[b-737gat1tmw]  .cv2-upload__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.cv2-upload__area[b-737gat1tmw]  .cv2-upload__input::file-selector-button {
    cursor: pointer;
}

/* Il puntatore è sull'input, non sulla zona: l'hover passa dal contenitore. */
.cv2-upload__area:hover .cv2-upload__drop[b-737gat1tmw],
.cv2-upload__drop:hover[b-737gat1tmw] {
    border-color: var(--accent, #00e5ff);
    background: rgba(0, 229, 255, 0.06);
    transform: translateY(-2px);
}

.cv2-upload__drop i[b-737gat1tmw] {
    font-size: 2rem;
    color: var(--accent, #00e5ff);
}

.cv2-upload__title[b-737gat1tmw] {
    font-family: var(--cf-font-title);
    font-weight: 700;
    color: var(--text);
}

.cv2-upload__sub[b-737gat1tmw] {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.cv2-upload__preview[b-737gat1tmw] {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: var(--radius-lg, 24px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--accent, #00e5ff);
}

.cv2-upload__preview img[b-737gat1tmw] {
    width: 140px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.cv2-upload__meta[b-737gat1tmw] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text);
    font-size: 0.88rem;
    min-width: 0;
    word-break: break-all;
}

.cv2-upload__change[b-737gat1tmw] {
    align-self: flex-start;
    padding: 0;
    border: none;
    background: none;
    color: var(--accent, #00e5ff);
    font-family: var(--cf-font-body);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* L'input file è visivamente nascosto ma resta nel tab order: il focus da tastiera
   si vede sulla zona di rilascio (o sull'anteprima). */
.cv2-upload:focus-within .cv2-upload__drop[b-737gat1tmw],
.cv2-upload:focus-within .cv2-upload__preview[b-737gat1tmw] {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 3px;
}
/* /Components/Create/CreateModelSelector.razor.rz.scp.css */
.cv2-model-selector[b-gztt23oyue] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.6rem;
}

.cv2-model-option[b-gztt23oyue] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 76px;
    padding: 0.75rem 0.65rem;
    border-radius: var(--radius-md, 16px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.15));
    color: var(--text-dim);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cv2-model-option:hover:not(:disabled)[b-gztt23oyue] {
    transform: translateY(-2px);
    border-color: var(--purple-light, #a78bfa);
    color: var(--text);
}

.cv2-model-option:focus-visible[b-gztt23oyue] {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 2px;
}

.cv2-model-option.is-active[b-gztt23oyue] {
    color: var(--text);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(0, 229, 255, 0.12));
    border-color: var(--accent, #00e5ff);
    box-shadow: 0 10px 26px -14px rgba(0, 229, 255, 0.45);
}

.cv2-model-option:disabled[b-gztt23oyue] {
    opacity: 0.55;
    cursor: not-allowed;
}

.cv2-model-option__label[b-gztt23oyue] {
    font-family: var(--cf-font-title);
    font-weight: 700;
    font-size: 0.85rem;
}

.cv2-model-option__hint[b-gztt23oyue] {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.cv2-model-option__price[b-gztt23oyue] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--purple-light, #a78bfa);
}

.cv2-model-option.is-active .cv2-model-option__price[b-gztt23oyue] {
    color: var(--accent, #00e5ff);
}

@media (max-width: 480px) {
    .cv2-model-selector[b-gztt23oyue] {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* /Components/Create/CreateOptionCards.razor.rz.scp.css */
.cv2-options[b-bf7zkjyuy2] {
    --cols: 3;
    display: grid;
    grid-template-columns: repeat(var(--cols), 1fr);
    gap: 0.7rem;
    /* Contenitore di riferimento del pannello "?" (CreateOptionHelp): largo quanto la griglia. */
    position: relative;
}

/* Bottone e "?" nella stessa cella, senza annidare un bottone nell'altro. Niente position qui. */
.cv2-option-wrap[b-bf7zkjyuy2] {
    display: grid;
}

.cv2-option[b-bf7zkjyuy2] {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 86px;
    padding: 0.85rem 0.75rem;
    border-radius: var(--radius-md, 16px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.15));
    color: var(--text-dim);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cv2-option:hover[b-bf7zkjyuy2] {
    transform: translateY(-2px);
    border-color: var(--purple-light, #a78bfa);
    color: var(--text);
}

.cv2-option:focus-visible[b-bf7zkjyuy2] {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 2px;
}

.cv2-option.is-active[b-bf7zkjyuy2] {
    color: var(--text);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(0, 229, 255, 0.12));
    border-color: var(--accent, #00e5ff);
    box-shadow: 0 10px 26px -14px rgba(0, 229, 255, 0.45);
}

.cv2-option__icon[b-bf7zkjyuy2] {
    font-size: 1.35rem;
    color: var(--purple-light, #a78bfa);
    transition: color 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cv2-option.is-active .cv2-option__icon[b-bf7zkjyuy2] {
    color: var(--accent, #00e5ff);
    transform: scale(1.12);
}

.cv2-option__label[b-bf7zkjyuy2] {
    font-family: var(--cf-font-title);
    font-weight: 700;
    font-size: 0.88rem;
}

.cv2-option__hint[b-bf7zkjyuy2] {
    font-size: 0.72rem;
    color: var(--text-dim);
}

.cv2-option__detail[b-bf7zkjyuy2] {
    font-size: 0.68rem;
    line-height: 1.35;
    color: var(--text-dim);
}

@media (max-width: 480px) {
    .cv2-options[b-bf7zkjyuy2] {
        grid-template-columns: repeat(min(var(--cols), 2), 1fr);
    }
}
/* /Components/Create/CreateOptionHelp.razor.rz.scp.css */
/* Sta nella stessa cella della scheda; il pannello si ancora a .cv2-options (CreateOptionCards). */
.cv2-help[b-52gjl3tolm] {
    grid-area: 1 / 1;
    justify-self: end;
    align-self: start;
}

.cv2-help__trigger[b-52gjl3tolm] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.cv2-help__trigger:focus-visible[b-52gjl3tolm],
.cv2-help__close:focus-visible[b-52gjl3tolm] {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    border-radius: var(--radius-sm);
}

.cv2-help__dot[b-52gjl3tolm] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    border: 1px solid var(--purple-light);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

/* Non fixed: .cv2-step ha backdrop-filter e lo limiterebbe alla card. */
.cv2-help__backdrop[b-52gjl3tolm] {
    position: absolute;
    inset: -200vmax;
    z-index: 20;
}

.cv2-help__panel[b-52gjl3tolm] {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    z-index: 21;
    padding: 0.5rem 0.5rem 0.9rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--purple-light);
    background: var(--bg);
    color: var(--text);
    font-size: 0.85rem;
    text-align: left;
}

.cv2-help.is-open .cv2-help__panel[b-52gjl3tolm] {
    display: block;
}

/* Touch: sopra le schede appena toccate, così non finisce sotto il bordo dello schermo. */
@media (hover: none) {
    .cv2-help__panel[b-52gjl3tolm] {
        top: 0;
    }
}

@media (hover: hover) and (pointer: fine) {
    .cv2-help__trigger:hover ~ .cv2-help__panel[b-52gjl3tolm] {
        display: block;
        z-index: 22;
    }
}

.cv2-help__head[b-52gjl3tolm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--cf-font-title);
}

.cv2-help__close[b-52gjl3tolm] {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.cv2-help__panel ul[b-52gjl3tolm] {
    margin: 0;
    padding: 0 0.5rem 0 1.1rem;
}

.cv2-help__panel li + li[b-52gjl3tolm] {
    margin-top: 0.3rem;
}
/* /Components/Create/CreatePriceCard.razor.rz.scp.css */
.cv2-price[b-ukpppkpryy] {
    margin: 1.2rem 0 0.5rem;
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-md, 16px);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(0, 229, 255, 0.05));
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.18));
}

.cv2-price__title[b-ukpppkpryy] {
    margin: 0 0 0.7rem;
    font-family: var(--cf-font-title);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent, #00e5ff);
}

.cv2-price__line[b-ukpppkpryy] {
    display: flex;
    justify-content: space-between;
    padding: 0.28rem 0;
    font-size: 0.86rem;
    color: var(--text-dim);
}

.cv2-price__total[b-ukpppkpryy] {
    margin-top: 0.4rem;
    padding-top: 0.7rem;
    border-top: 1px dashed var(--glass-border, rgba(167, 139, 250, 0.25));
    color: var(--text);
    font-weight: 600;
}

.cv2-price__total strong[b-ukpppkpryy] {
    font-family: var(--cf-font-title);
    font-size: 1.3rem;
    color: #fff;
}

.cv2-price__vat[b-ukpppkpryy] {
    margin-left: 0.25rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-dim);
}

.cv2-price__note[b-ukpppkpryy] {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.76rem;
    color: var(--text-dim);
}

.cv2-price__status[b-ukpppkpryy] {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-dim);
}

/* In aggiornamento: il prezzo precedente resta visibile ma attenuato, così non
   sembra quello della scelta appena fatta. */
.cv2-price[aria-busy="true"] .cv2-price__line[b-ukpppkpryy] {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
    .cv2-price[aria-busy="true"] .cv2-price__line[b-ukpppkpryy] {
        transition: none;
    }
}
/* /Components/Create/CreateProgress.razor.rz.scp.css */
.cv2-progress[b-f14lbdan8a] {
    margin: 0.4rem 0 0;
}

.cv2-progress__track[b-f14lbdan8a] {
    position: relative;
    height: 6px;
    border-radius: var(--radius-full, 999px);
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.cv2-progress__fill[b-f14lbdan8a] {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-pink, #ff3d8a), var(--purple-mid, #7c3aed), var(--accent, #00e5ff));
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cv2-progress__sweep[b-f14lbdan8a] {
    position: absolute;
    inset: 0;
    width: 40%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, var(--accent, #00e5ff), transparent);
    animation: cv2-progress-sweep-b-f14lbdan8a 1.2s ease-in-out infinite;
}

.cv2-progress__label[b-f14lbdan8a] {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    color: var(--text-dim);
}

@keyframes cv2-progress-sweep-b-f14lbdan8a {
    from { transform: translateX(-100%); }
    to { transform: translateX(260%); }
}

@media (prefers-reduced-motion: reduce) {
    .cv2-progress__sweep[b-f14lbdan8a] { animation: none; width: 100%; opacity: 0.4; }
}
/* /Components/Create/CreatePromptInput.razor.rz.scp.css */
.cv2-chips[b-48ek58fjbb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.cv2-chip[b-48ek58fjbb] {
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-full, 999px);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.18));
    color: var(--text-dim);
    font-family: var(--cf-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cv2-chip:hover[b-48ek58fjbb] {
    color: var(--text);
    border-color: var(--accent, #00e5ff);
    background: rgba(0, 229, 255, 0.08);
    transform: translateY(-1px);
}

.cv2-chip:focus-visible[b-48ek58fjbb] {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 2px;
}

/* Telefono: i suggerimenti hanno un'area di tocco di almeno 44px. */
@media (max-width: 575.98px) {
    .cv2-chip[b-48ek58fjbb] {
        min-height: 44px;
    }
}
/* /Components/Create/CreateReopenConfirm.razor.rz.scp.css */
/* Non fixed: <main> del layout ha un transform e fixed resterebbe ancorato a lui, non allo schermo.
   Sticky a altezza zero: segue lo scroll, non sposta la pagina. Va come primo figlio di .cv2-page. */
.cv2-confirm[b-jyru5tcswg] {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 0;
}

/* Copre lo schermo con il sticky fermo a top: 0, senza allungare la pagina oltre il suo fondo. */
.cv2-confirm__backdrop[b-jyru5tcswg] {
    position: absolute;
    top: -100vh;
    left: -100vw;
    right: -100vw;
    height: 200vh;
    background: var(--bg);
    opacity: 0.75;
}

/* Sotto la navbar fissa, che resta sopra perché è fuori da <main>. */
.cv2-confirm__panel[b-jyru5tcswg] {
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    max-width: 420px;
    margin-inline: auto;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--purple-light);
    background: var(--bg);
    color: var(--text);
}

.cv2-confirm__panel p[b-jyru5tcswg] {
    margin: 0 0 1.1rem;
}

.cv2-confirm__actions[b-jyru5tcswg] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}
/* /Components/Create/CreateStep1.razor.rz.scp.css */
.cv2-quote[b-mwwdo431la] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.6rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md, 16px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.14));
    color: var(--text);
    font-size: 0.88rem;
}

.cv2-quote i[b-mwwdo431la] {
    color: var(--accent, #00e5ff);
}

.cv2-quote__sub[b-mwwdo431la] {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* NavLink renderizza un <a> senza l'attributo di scope: serve ::deep. */
.cv2-quote[b-mwwdo431la]  a {
    text-decoration: none;
    white-space: nowrap;
}
/* /Components/Create/CreateStep3.razor.rz.scp.css */
.cv2-editor-btn[b-z2qrvsl1pp] {
    margin-top: 1rem;
}

.cv2-link--danger[b-z2qrvsl1pp] {
    color: #ff8a80;
}
/* /Components/Create/CreateStep4.razor.rz.scp.css */
.cv2-check[b-jxsj5cgdet] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.25rem 0 0.5rem;
    color: var(--text-dim);
    font-size: 0.88rem;
    cursor: pointer;
}

.cv2-check input[b-jxsj5cgdet] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--color-pink, #ff3d8a);
    cursor: pointer;
}

.cv2-check input:focus-visible[b-jxsj5cgdet] {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 2px;
}

.cv2-launch-note[b-jxsj5cgdet] {
    margin: 1rem 0 0;
    text-align: center;
}
/* /Components/Create/CreateStepper.razor.rz.scp.css */
.cv2-stepper[b-pfmcttqg4w] {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cv2-stepper__track[b-pfmcttqg4w] {
    position: relative;
    height: 4px;
    border-radius: var(--radius-full, 999px);
    background: rgba(255, 255, 255, 0.08);
    margin: 0 20px 1.1rem;
    overflow: hidden;
}

.cv2-stepper__fill[b-pfmcttqg4w] {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-pink, #ff3d8a), var(--purple-mid, #7c3aed), var(--accent, #00e5ff));
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cv2-stepper__steps[b-pfmcttqg4w] {
    display: flex;
    justify-content: space-between;
}

.cv2-stepper__step[b-pfmcttqg4w] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    flex: 1;
}

.cv2-stepper__circle[b-pfmcttqg4w] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: var(--cf-font-title);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.15));
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cv2-stepper__label[b-pfmcttqg4w] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.cv2-stepper__step.is-done .cv2-stepper__circle[b-pfmcttqg4w] {
    color: #fff;
    background: linear-gradient(135deg, var(--purple-mid, #7c3aed), var(--bs-info, #0aa2ff));
    border-color: transparent;
}

.cv2-stepper__step.is-active .cv2-stepper__circle[b-pfmcttqg4w] {
    color: #fff;
    background: linear-gradient(135deg, var(--color-pink, #ff3d8a), var(--color-pink-deep, #e5157e));
    border-color: transparent;
    transform: scale(1.12);
    animation: cv2-pulse-b-pfmcttqg4w 1.8s ease-in-out infinite;
}

.cv2-stepper__step.is-active .cv2-stepper__label[b-pfmcttqg4w],
.cv2-stepper__step.is-done .cv2-stepper__label[b-pfmcttqg4w] {
    color: var(--text);
}

@keyframes cv2-pulse-b-pfmcttqg4w {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 61, 138, 0.45); }
    50% { box-shadow: 0 0 0 8px rgba(255, 61, 138, 0); }
}

@media (max-width: 480px) {
    .cv2-stepper__label[b-pfmcttqg4w] {
        display: none;
    }
}
/* /Components/Create/CreateUploadConsent.razor.rz.scp.css */
.cv2-upload-consent .cv2-checkbox-row[b-nl6n76rxbf] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.cv2-upload-consent input[type="checkbox"][b-nl6n76rxbf] {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.cv2-upload-consent label[b-nl6n76rxbf] {
    font-size: 0.9rem;
    line-height: 1.4;
}

.cv2-upload-consent[b-nl6n76rxbf] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
/* /Components/Create/CreateViewer.razor.rz.scp.css */
.cv2-viewer[b-09f3b8yg3t] {
    --viewer-h: 380px;
    position: relative;
    height: var(--viewer-h);
    border-radius: var(--radius-lg, 24px);
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 50% 38%, rgba(124, 58, 237, 0.22), transparent 70%),
        radial-gradient(ellipse 60% 25% at 50% 92%, rgba(0, 229, 255, 0.12), transparent 70%),
        rgba(0, 0, 0, 0.22);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.14));
}

.cv2-viewer model-viewer[b-09f3b8yg3t] {
    width: 100%;
    height: 100%;
    background: transparent;
    --poster-color: transparent;
}

.cv2-viewer__skeleton[b-09f3b8yg3t] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: rgba(255, 255, 255, 0.18);
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: cv2-viewer-shimmer-b-09f3b8yg3t 1.5s ease-in-out infinite;
}

.cv2-viewer__badge[b-09f3b8yg3t] {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full, 999px);
    background: rgba(0, 229, 255, 0.14);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: var(--accent, #00e5ff);
    font-family: var(--cf-font-title);
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cv2-viewer__hint[b-09f3b8yg3t] {
    position: absolute;
    bottom: 0.7rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-full, 999px);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    white-space: nowrap;
    pointer-events: none;
}

@keyframes cv2-viewer-shimmer-b-09f3b8yg3t {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
/* /Components/Create/CreateViewsGrid.razor.rz.scp.css */
.cv2-views-grid[b-294by5bq2n] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.cv2-view-slot[b-294by5bq2n] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.cv2-view-slot img[b-294by5bq2n] {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-md, 16px);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.15));
}

.cv2-view-slot--front img[b-294by5bq2n] {
    border-color: var(--accent, #00e5ff);
}

.cv2-view-slot__drop[b-294by5bq2n] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md, 16px);
    border: 2px dashed rgba(167, 139, 250, 0.3);
    background: rgba(124, 58, 237, 0.06);
    color: var(--text-dim);
    font-size: 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

/* Input trasparente sopra la zona (click e trascinamento). L'<input> lo rende InputFile,
   componente figlio: senza ::deep lo stile isolato non lo raggiunge. */
.cv2-view-slot__drop[b-294by5bq2n]  .cv2-view-slot__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.cv2-view-slot__drop[b-294by5bq2n]  .cv2-view-slot__input::file-selector-button {
    cursor: pointer;
}

/* Senza consenso l'input è disabled: non deve intercettare nulla (il click sulla zona non fa
   niente, come prima; un file trascinato lo ferma file-drop-guard.js). */
.cv2-view-slot__drop[b-294by5bq2n]  .cv2-view-slot__input:disabled {
    pointer-events: none;
    cursor: default;
}

/* Focus da tastiera: l'input è trasparente, il contorno va sulla zona. */
.cv2-view-slot__drop:focus-within[b-294by5bq2n] {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 3px;
}

.cv2-view-slot__drop:hover[b-294by5bq2n] {
    border-color: var(--accent, #00e5ff);
    background: rgba(0, 229, 255, 0.06);
}

.cv2-view-slot__drop i[b-294by5bq2n] {
    font-size: 1.3rem;
    color: var(--accent, #00e5ff);
}

.cv2-view-slot__remove[b-294by5bq2n] {
    position: absolute;
    top: -0.4rem;
    right: -0.4rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    border: none;
    background: var(--purple-mid, #7c3aed);
    color: var(--text);
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv2-view-slot__remove:disabled[b-294by5bq2n] {
    opacity: 0.5;
    cursor: not-allowed;
}

.cv2-view-slot__label[b-294by5bq2n] {
    font-size: 0.72rem;
    color: var(--text-dim);
    font-family: var(--cf-font-body);
}

@media (max-width: 480px) {
    .cv2-views-grid[b-294by5bq2n] {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* /Components/Create/CreateViewsPanel.razor.rz.scp.css */
.cv2-views-panel[b-sm5p264vdc] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--glass-border, rgba(167, 139, 250, 0.15));
}

.cv2-views-panel__generate[b-sm5p264vdc] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
/* /Components/Create/MyCreationCard.razor.rz.scp.css */
.mc-card[b-2bbd6waf0g] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
    min-height: 44px;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.mc-card:hover:not(:disabled)[b-2bbd6waf0g] {
    border-color: var(--purple-light);
}

.mc-card:focus-visible[b-2bbd6waf0g] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.mc-card:disabled[b-2bbd6waf0g] {
    opacity: 0.6;
    cursor: progress;
}

.mc-card__thumb[b-2bbd6waf0g] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text-dim);
    font-size: 1.8rem;
}

.mc-card__thumb img[b-2bbd6waf0g] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-card__status[b-2bbd6waf0g] {
    position: absolute;
    left: 0.3rem;
    bottom: 0.3rem;
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-full);
    background: var(--bg);
    font-size: 0.68rem;
    font-weight: 700;
}

.mc-card__status.is-done[b-2bbd6waf0g] {
    color: var(--accent);
}

.mc-card__status.is-running[b-2bbd6waf0g] {
    color: var(--purple-light);
}

.mc-card__title[b-2bbd6waf0g] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.82rem;
    font-weight: 600;
}

.mc-card__date[b-2bbd6waf0g] {
    color: var(--text-dim);
    font-size: 0.72rem;
}
/* /Components/Create/MyCreationSkeleton.razor.rz.scp.css */
.mc-skeleton[b-gxdb6v5nwo] {
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--glass);
    animation: mc-skeleton-pulse-b-gxdb6v5nwo 1.4s ease-in-out infinite;
}

@keyframes mc-skeleton-pulse-b-gxdb6v5nwo {
    50% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
    .mc-skeleton[b-gxdb6v5nwo] { animation: none; }
}
/* /Components/Create/MyCreationsStrip.razor.rz.scp.css */
.mc-strip[b-lh07nzgz9n] {
    margin-top: 1.5rem;
}

.mc-strip__head[b-lh07nzgz9n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mc-strip__head h2[b-lh07nzgz9n] {
    margin: 0;
    color: var(--text);
    font-family: var(--cf-font-title);
    font-size: 1.05rem;
}

/* NavLink renderizza un <a> senza l'attributo di scope: serve ::deep. */
.mc-strip__head[b-lh07nzgz9n]  a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.25rem;
    color: var(--accent);
    font-size: 0.88rem;
    white-space: nowrap;
}

.mc-strip__row[b-lh07nzgz9n] {
    display: flex;
    gap: 0.7rem;
    margin: 0.5rem 0 0;
    padding: 0.15rem 0.15rem 0.6rem;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.mc-strip__cell[b-lh07nzgz9n] {
    flex: 0 0 140px;
    /* Senza, un titolo lungo (nowrap) allarga la scheda oltre i 140px. */
    min-width: 0;
    scroll-snap-align: start;
}

/* Da desktop le 6 schede stanno in una riga, senza scorrimento. */
@media (min-width: 768px) {
    .mc-strip__row[b-lh07nzgz9n] {
        overflow-x: visible;
    }

    .mc-strip__cell[b-lh07nzgz9n] {
        flex: 1 1 0;
        min-width: 0;
    }
}

.mc-strip__error[b-lh07nzgz9n] {
    margin: 0.5rem 0 0;
    color: var(--text);
    font-size: 0.88rem;
}

.mc-strip__retry[b-lh07nzgz9n] {
    min-height: 44px;
    padding: 0 0.5rem;
    border: none;
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    text-decoration: underline;
}

.mc-strip__retry:focus-visible[b-lh07nzgz9n] {
    outline: 2px solid var(--accent);
}
/* /Components/Layout/AppNavbar.razor.rz.scp.css */
/* =========================================================
   AppNavbar.razor.css — Navbar unificata, pillola "vetro liquido"
   Stile portato da TestHomeV3Nav.razor.css: sfondo trasparente
   30-38%, backdrop-filter blur+saturate, bordo sottile, cappuccio
   speculare, riflesso liquido animato. Struttura/funzionalità
   ereditate da DynamicIslandNav (comportamento dynamic island
   invariato: compatta allo scroll < 50px, espansa oltre).
   ========================================================= */

/* ── Island base — "vetro liquido" ──────────────────────── */
.app-nav[b-x9e5vzsg21] {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 92vw;
    white-space: nowrap;
    /* Vetro, non tinta piena: il colore vero lo dà backdrop-filter (la
       scena dietro, sfocata e "spinta" di saturazione) — il gradiente di
       sfondo resta molto trasparente (alpha ~0.30-0.38). */
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.38), rgba(76, 29, 149, 0.26));
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    /* NIENTE overflow:hidden qui: taglierebbe anche il dropdown utente e
       il pannello mobile, che sono figli posizionati assoluti FUORI dal
       box della pillola (sotto/sopra di essa) — bug reale riscontrato
       (dropdown invisibile pur aprendosi). Il ritaglio del riflesso
       (::before/::after) vive invece su .app-nav__glass qui sotto, un
       layer decorativo dedicato che clippa solo se stesso. */
    padding: 0.5rem 0.6rem;
    /* Le due inset (chiara in cima, scura sul fondo) danno la
       "fisicità" del vetro: luce che entra dall'alto, spessore/curvatura
       sul bordo inferiore. */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -14px 18px -16px rgba(0, 0, 0, 0.45),
        0 18px 38px -12px rgba(124, 58, 237, 0.4),
        0 4px 14px -4px rgba(0, 0, 0, 0.4);
    transition: padding 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                gap 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.3s ease;
}

/* Layer decorativo che ospita cappuccio speculare + riflesso: unico
   elemento con overflow:hidden, così il ritaglio non tocca il resto del
   contenuto della nav (dropdown, pannello mobile). position:absolute +
   inset:0 lo sovrappone esattamente al box della pillola; z-index sotto
   al contenuto (logo/link/auth hanno z-index:1). */
.app-nav__glass[b-x9e5vzsg21] {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
}

/* Cappuccio speculare fisso: metà superiore più chiara, come luce che
   entra dall'alto e si attenua verso il centro del blob. */
.app-nav__glass[b-x9e5vzsg21]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0) 55%);
    mix-blend-mode: overlay;
}

/* Riflesso liquido che scivola lentamente attraverso la pillola. */
.app-nav__glass[b-x9e5vzsg21]::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -35%;
    width: 45%;
    height: 220%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    filter: blur(4px);
    opacity: 0.5;
    animation: liquidSheen-b-x9e5vzsg21 10s ease-in-out infinite;
}

@keyframes liquidSheen-b-x9e5vzsg21 {
    0%, 100% { transform: translateX(0%); }
    50% { transform: translateX(320%); }
}

@media (prefers-reduced-motion: reduce) {
    .app-nav__glass[b-x9e5vzsg21]::after {
        animation: none;
    }
}

/* ── Logo — icona sempre visibile, wordmark solo da espansa ─ */
.app-nav__logo[b-x9e5vzsg21] {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
}

.app-nav__logo-chip[b-x9e5vzsg21] {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(6, 4, 14, 0.55);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22), 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.app-nav__logo-chip img[b-x9e5vzsg21] {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.app-nav__logo:hover .app-nav__logo-chip[b-x9e5vzsg21] {
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3), 0 0 14px rgba(124, 58, 237, 0.6);
}

.app-nav__logo-word[b-x9e5vzsg21] {
    font-family: var(--cf-font-title, 'Montserrat', sans-serif);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
    display: none;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.app-nav.expanded .app-nav__logo-word[b-x9e5vzsg21] {
    display: inline-block;
    opacity: 1;
}

/* ── Links e auth: nascosti in stato compatto ───────────── */
.app-nav__links[b-x9e5vzsg21],
.app-nav__auth[b-x9e5vzsg21] {
    position: relative;
    z-index: 1;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ── Stato espanso ──────────────────────────────────────── */
.app-nav.expanded[b-x9e5vzsg21] {
    padding: 0.5rem 1.1rem;
    gap: 0.75rem;
    border-color: rgba(255, 255, 255, 0.28);
}

.app-nav.expanded .app-nav__links[b-x9e5vzsg21],
.app-nav.expanded .app-nav__auth[b-x9e5vzsg21] {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
}

/* ── Nav link stile ─────────────────────────────────────── */
/* ::deep necessario: NavLink è un componente figlio, il suo <a>
   non riceve l'attributo di scope CSS isolation del genitore. */
[b-x9e5vzsg21] .app-nav__nav-link,
[b-x9e5vzsg21] .app-nav__nav-link.active,
[b-x9e5vzsg21] .app-nav__nav-link:visited,
[b-x9e5vzsg21] .app-nav__nav-link:hover,
[b-x9e5vzsg21] .app-nav__nav-link:focus,
[b-x9e5vzsg21] .app-nav__nav-link:focus-visible {
    text-decoration: none !important;
}

[b-x9e5vzsg21] .app-nav__nav-link,
[b-x9e5vzsg21] .app-nav__nav-link.active,
[b-x9e5vzsg21] .app-nav__nav-link:visited {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    transition: color 0.2s ease, background 0.2s ease;
    display: inline-block;
}

[b-x9e5vzsg21] .app-nav__nav-link:hover,
[b-x9e5vzsg21] .app-nav__nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    text-shadow: none !important;
}

/* ── CTA "Inizia ora" / "Crea" ───────────────────────────── */
/* ::deep per lo stesso motivo: NavLink renderizza <a> fuori dallo scope. */
[b-x9e5vzsg21] .app-nav__btn-cta {
    display: inline-block;
    background: #fff;
    color: var(--purple-mid, #7c3aed) !important;
    text-decoration: none !important;
    border: none;
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--cf-font-title, 'Montserrat', sans-serif);
    cursor: pointer;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-shadow: none !important;
    white-space: nowrap;
}

[b-x9e5vzsg21] .app-nav__btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
    color: var(--purple-mid, #7c3aed) !important;
    text-shadow: none !important;
}

/* ── User button + dropdown ─────────────────────────────── */
.app-nav__user-wrap[b-x9e5vzsg21] {
    position: relative;
    /* min-width:0 lungo la catena auth → wrap → bottone: senza, il contenuto
       (nowrap) non può restringersi e il bottone utente — a cui il dropdown è
       ancorato a destra — sfora la pillola (max-width 92vw) e il viewport
       (IT/EN/ES, ~929-949px). Così a restringersi è solo il nome (ellissi). */
    min-width: 0;
}

.app-nav__user-btn[b-x9e5vzsg21] {
    min-width: 0;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    border-radius: 20px;
    transition: color 0.2s ease, background 0.2s ease;
}

.app-nav__user-btn:hover[b-x9e5vzsg21] {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.app-nav__user-name[b-x9e5vzsg21] {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.app-nav__token[b-x9e5vzsg21] {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    padding: 0.1rem 0.45rem;
    font-size: 0.72rem;
    white-space: nowrap;
    color: #fff;
}

/* ── Plan badge ─────────────────────────────────────────── */
.app-nav__plan-badge[b-x9e5vzsg21] {
    border-radius: 8px;
    padding: 0.1rem 0.4rem;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.4;
}

.plan-badge--pro[b-x9e5vzsg21] {
    background: rgba(99, 102, 241, 0.28);
    border: 1px solid rgba(99, 102, 241, 0.45);
    color: #e0e4ff;
}

.plan-badge--creator[b-x9e5vzsg21] {
    background: rgba(34, 211, 238, 0.25);
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: #d3f9fe;
}

.plan-badge--base[b-x9e5vzsg21] {
    background: rgba(74, 222, 128, 0.22);
    border: 1px solid rgba(74, 222, 128, 0.38);
    color: #dcfce7;
}

.plan-badge--free[b-x9e5vzsg21] {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #f1f5f9;
}

.plan-badge--trial[b-x9e5vzsg21] {
    background: rgba(250, 204, 21, 0.25);
    border: 1px solid rgba(250, 204, 21, 0.4);
    color: #fef3c7;
}

/* ── Dropdown menu ──────────────────────────────────────── */
.app-nav__dropdown[b-x9e5vzsg21] {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    min-width: 190px;
    background: rgba(10, 8, 22, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    z-index: 1060;
    box-shadow: 0 18px 38px -12px rgba(0, 0, 0, 0.5);
    animation: dropdownIn-b-x9e5vzsg21 0.2s ease;
}

@keyframes dropdownIn-b-x9e5vzsg21 {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}

.app-nav__dropdown-item[b-x9e5vzsg21],
.app-nav__dropdown-item:visited[b-x9e5vzsg21] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: background 0.15s ease, color 0.15s ease;
}

.app-nav__dropdown-item:hover[b-x9e5vzsg21] {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    text-shadow: none !important;
}

.app-nav__dropdown-item--admin[b-x9e5vzsg21] {
    color: #fbbf24 !important;
}

.app-nav__dropdown-item--admin:hover[b-x9e5vzsg21] {
    background: rgba(251, 191, 36, 0.14) !important;
}

.app-nav__dropdown-item--logout[b-x9e5vzsg21] {
    color: rgba(255, 120, 120, 0.85) !important;
}

.app-nav__dropdown-item--logout:hover[b-x9e5vzsg21] {
    background: rgba(255, 77, 77, 0.14) !important;
    color: #ff6b6b !important;
}

.app-nav__dropdown-divider[b-x9e5vzsg21] {
    border-color: rgba(255, 255, 255, 0.14);
    margin: 0.25rem 0.5rem;
}

/* ── Hamburger (solo mobile) ────────────────────────────── */
.app-nav__hamburger[b-x9e5vzsg21] {
    position: relative;
    z-index: 1;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 0.25rem;
}

.app-nav__hamburger span[b-x9e5vzsg21] {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: 0.25s ease;
}

/* ── Mobile overlay full-screen (stesso registro "vetro") ── */
.app-nav-mobile[b-x9e5vzsg21] {
    position: fixed;
    inset: 0;
    z-index: 1049;
    background: linear-gradient(160deg, rgba(45, 27, 105, 0.85), rgba(6, 5, 13, 0.94));
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: mobileSlideIn-b-x9e5vzsg21 0.3s ease;
    overflow-y: auto;
    padding: 3rem 2rem;
}

@keyframes mobileSlideIn-b-x9e5vzsg21 {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: none; }
}

.app-nav-mobile__close[b-x9e5vzsg21] {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.app-nav-mobile__close:hover[b-x9e5vzsg21] {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.app-nav-mobile__links[b-x9e5vzsg21] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    max-width: 300px;
}

.app-nav-mobile__link[b-x9e5vzsg21],
.app-nav-mobile__link:visited[b-x9e5vzsg21] {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--cf-font-title, 'Montserrat', sans-serif);
    padding: 0.65rem 1.5rem;
    border-radius: 14px;
    text-align: center;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.app-nav-mobile__link:hover[b-x9e5vzsg21],
.app-nav-mobile__link.active[b-x9e5vzsg21] {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    text-shadow: none !important;
}

.app-nav-mobile__link--admin[b-x9e5vzsg21] { color: #fbbf24 !important; }
.app-nav-mobile__link--logout[b-x9e5vzsg21] { color: rgba(255, 120, 120, 0.85) !important; }

.app-nav-mobile__auth[b-x9e5vzsg21] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 300px;
}

.app-nav-mobile__btn-cta[b-x9e5vzsg21] {
    display: block;
    width: 100%;
    text-align: center;
    background: #fff;
    color: var(--purple-mid, #7c3aed) !important;
    text-decoration: none !important;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--cf-font-title, 'Montserrat', sans-serif);
    cursor: pointer;
    text-shadow: none !important;
}

.app-nav-mobile__btn-outline[b-x9e5vzsg21] {
    display: block;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease;
    text-shadow: none !important;
}

.app-nav-mobile__btn-outline:hover[b-x9e5vzsg21] {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    text-shadow: none !important;
}

/* ── Responsive: hamburger fino a 920px ─────────────────────
   Tra 769 e ~910px link + area utente non entrano nella pillola
   (max-width:92vw) e uscivano dal viewport: lì si usa il menu
   hamburger, come su telefono. ───────────────────────────── */
@media (max-width: 920px) {
    .app-nav__links[b-x9e5vzsg21],
    .app-nav__auth[b-x9e5vzsg21] {
        display: none !important;
        pointer-events: none !important;
    }

    .app-nav__hamburger[b-x9e5vzsg21] {
        display: flex;
    }

    .app-nav.expanded[b-x9e5vzsg21] {
        gap: 0.5rem;
    }
}

/* ── Responsive: fascia compatta 921-1439px ─────────────────
   Tra tablet landscape e desktop stretto l'hamburger è ancora
   nascosto (si attiva solo sotto 768px) ma il contenuto espanso
   (link + auth) in larghezza naturale eccede max-width:92vw
   dell'isola — menu utente e logout finiscono fuori dal
   viewport (bug reale riscontrato tra 1000 e 1200px, e fino a
   ~1430px con badge piano e token). Qui si comprime: wordmark
   del logo nascosta, link/CTA più compatti, nome utente troncato
   prima. Da 921 a 1200px sono nascosti anche badge piano e token
   (blocco successivo). Sopra 1440px stile pieno, invariato. ── */
@media (min-width: 921px) and (max-width: 1439px) {
    .app-nav.expanded[b-x9e5vzsg21] {
        gap: 0.35rem;
        padding: 0.5rem 0.7rem;
    }

    .app-nav.expanded .app-nav__links[b-x9e5vzsg21],
    .app-nav.expanded .app-nav__auth[b-x9e5vzsg21] {
        gap: 0.1rem;
    }

    .app-nav.expanded .app-nav__logo-word[b-x9e5vzsg21] {
        display: none;
    }

    [b-x9e5vzsg21] .app-nav__nav-link,
    [b-x9e5vzsg21] .app-nav__nav-link.active,
    [b-x9e5vzsg21] .app-nav__nav-link:visited {
        padding: 0.3rem 0.4rem;
        font-size: 0.8rem;
    }

    [b-x9e5vzsg21] .app-nav__btn-cta {
        padding: 0.35rem 0.75rem;
        font-size: 0.8rem;
    }

    .app-nav__user-name[b-x9e5vzsg21] {
        max-width: 70px;
    }
}

@media (min-width: 921px) and (max-width: 1200px) {
    .app-nav__plan-badge[b-x9e5vzsg21],
    .app-nav__token[b-x9e5vzsg21] {
        display: none;
    }
}

/* Subito sopra la fascia compatta (1440-1459px) il badge "trial" (il più lungo)
   non entra del tutto: basta un nome utente più stretto. */
@media (min-width: 1440px) and (max-width: 1459px) {
    .app-nav__user-name[b-x9e5vzsg21] {
        max-width: 100px;
    }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .app-nav[b-x9e5vzsg21],
    .app-nav__nav-link[b-x9e5vzsg21],
    .app-nav__btn-cta[b-x9e5vzsg21],
    .app-nav__user-btn[b-x9e5vzsg21] {
        transition: none;
    }

    @keyframes dropdownIn-b-x9e5vzsg21 { from { opacity: 1; } }
    @keyframes mobileSlideIn-b-x9e5vzsg21 { from { opacity: 1; } }
}

/* Con l'hamburger (fino a 920px) logo e pulsante menu hanno un'area di tocco di almeno 44px. */
@media (max-width: 920px) {
    .app-nav__logo[b-x9e5vzsg21] {
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }

    .app-nav__hamburger[b-x9e5vzsg21] {
        min-width: 44px;
        min-height: 44px;
        align-items: center;
    }
}
/* /Components/Layout/TopNavFooter.razor.rz.scp.css */
.footerStyle[b-6lkjepu4om] {
    background:
        linear-gradient(180deg, rgba(124, 58, 237, 0.04) 0%, transparent 40%),
        var(--bg2, #0c0a1a);
    border-top: 1px solid rgba(167, 139, 250, 0.18);
    position: relative;
}

.footerStyle[b-6lkjepu4om]::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.6), transparent);
    pointer-events: none;
}

/* ::deep necessario perché NavLink è un componente Blazor figlio: il suo <a> renderizzato
   non riceve l'attributo di scope CSS isolation, quindi .footerStyle a non farebbe match. */
.footerStyle[b-6lkjepu4om]  a {
    color: var(--text-dim, #9b8ec4);
    text-decoration: none;
    font-family: var(--cf-font-body);
    font-size: 0.9rem;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footerStyle[b-6lkjepu4om]  a:hover,
.footerStyle[b-6lkjepu4om]  a:focus-visible,
.footerStyle[b-6lkjepu4om]  a.active {
    color: var(--purple-light, #a78bfa);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
    outline: none;
}

.footer-logo[b-6lkjepu4om] {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand-name[b-6lkjepu4om] {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cf-title-color);
    letter-spacing: 0.5px;
}

.footer-tagline[b-6lkjepu4om] {
    font-family: var(--cf-font-body);
    color: #808080;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* !important: sovrascrive .footerStyle a per permettere hover viola con glow */
.footer-social-link[b-6lkjepu4om] {
    color: var(--text-dim, #9b8ec4) !important;
    font-size: 1.3rem;
    line-height: 1;
    transition: color 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.footer-social-link:hover[b-6lkjepu4om],
.footer-social-link:focus-visible[b-6lkjepu4om] {
    color: var(--purple-light, #a78bfa) !important;
    transform: translateY(-2px);
    text-decoration: none;
    text-shadow: 0 0 12px rgba(167, 139, 250, 0.7);
    outline: none;
}

/* app.css imposta h1-h6 con font-weight: 800 — override a 600 per i titoli colonna */
.footer-heading[b-6lkjepu4om] {
    font-family: 'Montserrat', 'Segoe UI', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.8rem;
    color: var(--cf-title-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.footer-links li[b-6lkjepu4om] {
    margin-bottom: 0.5rem;
}

.footer-links li:last-child[b-6lkjepu4om] {
    margin-bottom: 0;
}

.footer-bottom-bar[b-6lkjepu4om] {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-recaptcha-text[b-6lkjepu4om] {
    font-size: 0.78rem;
    line-height: 1.5;
}

.footer-recaptcha-text a[b-6lkjepu4om] {
    font-size: 0.78rem !important;
}

/* Telefono: voci e controlli del footer con area di tocco di almeno 44px
   (i link dentro la frase reCAPTCHA restano in linea, come il testo). */
@media (max-width: 575.98px) {
    .footer-links li[b-6lkjepu4om] {
        margin-bottom: 0;
    }

    .footer-links[b-6lkjepu4om]  a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .footer-social-link[b-6lkjepu4om] {
        width: 2.75rem;
        height: 2.75rem;
    }
}
/* /Components/Pages/CartPage.razor.rz.scp.css */
/* ───── CartPage — design coerente con MyOrdersPage / CreatePage ───── */

.cart-page[b-vrgim0d9n1] {
    min-height: calc(100vh - 80px);
    color: #e6e6f0;
}

.page-title[b-vrgim0d9n1] {
    font-family: var(--cf-font-title);
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

    .page-title i[b-vrgim0d9n1] {
        color: var(--purple-light);
    }

.cart-count[b-vrgim0d9n1] {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ───── Empty state ───── */
.empty-state[b-vrgim0d9n1] {
    background: rgba(45, 27, 105, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 48px 20px;
    backdrop-filter: blur(10px);
}

.empty-icon[b-vrgim0d9n1] {
    color: rgba(167, 139, 250, 0.5);
}

.empty-title[b-vrgim0d9n1] {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
}

.empty-subtitle[b-vrgim0d9n1] {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ───── Item card ───── */
.cart-item[b-vrgim0d9n1] {
    display: grid;
    grid-template-columns: 28px 200px 1fr auto;
    gap: 18px;
    align-items: center;
    background: rgba(45, 27, 105, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-bottom: 14px;
    box-shadow: 0 18px 38px -16px rgba(124, 58, 237, 0.45);
    backdrop-filter: blur(10px);
    transition: border-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

    .cart-item.selected[b-vrgim0d9n1] {
        border-color: rgba(167, 139, 250, 0.55);
        box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.15) inset;
    }

    .cart-item.removing[b-vrgim0d9n1] {
        opacity: 0.4;
        transform: scale(0.98);
    }

.cart-item-check .form-check-input[b-vrgim0d9n1] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

    .cart-item-check .form-check-input:checked[b-vrgim0d9n1] {
        background-color: var(--purple-mid);
        border-color: var(--purple-mid);
    }

.cart-item-preview[b-vrgim0d9n1] {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(0, 0, 0, 0.3));
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.cart-item-body[b-vrgim0d9n1] {
    min-width: 0;
}

.cart-item-prompt[b-vrgim0d9n1] {
    color: #fff;
    font-size: 0.96rem;
    font-weight: 500;
    margin: 0 0 10px 0;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-item-specs[b-vrgim0d9n1] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.spec-pill[b-vrgim0d9n1] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
}

    .spec-pill i[b-vrgim0d9n1] {
        color: rgba(167, 139, 250, 0.85);
        font-size: 0.85rem;
    }

.spec-color .color-dot[b-vrgim0d9n1] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.cart-item-actions[b-vrgim0d9n1] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.cart-item-price[b-vrgim0d9n1] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.cart-vat[b-vrgim0d9n1] {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    text-align: right;
}

.summary-row .cart-vat[b-vrgim0d9n1] {
    display: inline;
    margin-left: 4px;
}

.btn-remove[b-vrgim0d9n1] {
    background: rgba(255, 61, 138, 0.12);
    border: 1px solid rgba(255, 61, 138, 0.3);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
}

    .btn-remove:hover:not(:disabled)[b-vrgim0d9n1] {
        background: rgba(255, 61, 138, 0.22);
        transform: scale(1.06);
    }

    .btn-remove:disabled[b-vrgim0d9n1] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* ───── Summary card ───── */
.summary-card[b-vrgim0d9n1] {
    background: rgba(45, 27, 105, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 22px 22px 24px;
    box-shadow: 0 18px 38px -16px rgba(124, 58, 237, 0.45);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 90px;
}

.summary-title[b-vrgim0d9n1] {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-row[b-vrgim0d9n1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

    .summary-row strong[b-vrgim0d9n1] {
        color: #fff;
        font-weight: 600;
    }

    .summary-row.total[b-vrgim0d9n1] {
        font-size: 1.1rem;
        padding-top: 4px;
    }

        .summary-row.total strong[b-vrgim0d9n1] {
            font-size: 1.35rem;
            color: var(--purple-light);
            font-weight: 700;
        }

.shipping-free[b-vrgim0d9n1] {
    color: var(--accent) !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
}

.summary-divider[b-vrgim0d9n1] {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 12px 0 6px;
}

.free-shipping-hint[b-vrgim0d9n1] {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    margin-top: 6px;
}

    .free-shipping-hint p[b-vrgim0d9n1] {
        margin: 0 0 6px 0;
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.85);
    }

    .free-shipping-hint strong[b-vrgim0d9n1] {
        color: var(--accent);
    }

    .free-shipping-hint .progress[b-vrgim0d9n1] {
        height: 5px;
        background: rgba(255, 255, 255, 0.08);
    }

    .free-shipping-hint .progress-bar[b-vrgim0d9n1] {
        background: linear-gradient(90deg, var(--purple-mid), var(--accent));
        transition: width 240ms ease;
    }

.btn-checkout[b-vrgim0d9n1] {
    width: 100%;
    background: linear-gradient(135deg, var(--color-pink), var(--purple-mid));
    box-shadow: 0 14px 30px -10px rgba(255, 61, 138, 0.55);
    font-family: var(--cf-font-title);
    color: #fff;
    font-weight: 700;
    border: 0;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    cursor: pointer;
    transition: filter 160ms ease, transform 160ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-checkout:hover:not(:disabled)[b-vrgim0d9n1] {
        filter: brightness(1.1);
        transform: translateY(-1px);
    }

    .btn-checkout:disabled[b-vrgim0d9n1] {
        opacity: 0.45;
        cursor: not-allowed;
        filter: grayscale(0.3);
    }

.summary-note[b-vrgim0d9n1] {
    margin: 14px 0 0 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.5;
}

    .summary-note i[b-vrgim0d9n1] {
        color: var(--accent);
        margin-right: 4px;
    }

.alert-error-inline[b-vrgim0d9n1] {
    background: rgba(255, 61, 138, 0.12);
    border: 1px solid rgba(255, 61, 138, 0.3);
    color: var(--text);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
}

/* ───── Shipping modal ───── */
.shipping-modal-backdrop[b-vrgim0d9n1] {
    position: fixed;
    inset: 0;
    background: rgba(10, 6, 25, 0.7);
    backdrop-filter: blur(6px);
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: fadeIn-b-vrgim0d9n1 160ms ease;
}

.shipping-modal[b-vrgim0d9n1] {
    background: linear-gradient(160deg, #1e1538, #14102a);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: var(--radius-lg);
    padding: 26px;
    max-width: 580px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    animation: slideUp-b-vrgim0d9n1 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.shipping-modal-header[b-vrgim0d9n1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

    .shipping-modal-header h2[b-vrgim0d9n1] {
        color: #fff;
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0;
        display: flex;
        align-items: center;
    }

.btn-close-modal[b-vrgim0d9n1] {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.6);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}

    .btn-close-modal:hover:not(:disabled)[b-vrgim0d9n1] {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .btn-close-modal:disabled[b-vrgim0d9n1] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.shipping-modal-subtitle[b-vrgim0d9n1] {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin: 0 0 18px 0;
}

.shipping-form .form-label[b-vrgim0d9n1] {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.shipping-form .form-control[b-vrgim0d9n1] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 9px 12px;
    font-size: 0.92rem;
}

    .shipping-form .form-control:focus[b-vrgim0d9n1] {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(167, 139, 250, 0.6);
        box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15);
        color: #fff;
    }

.shipping-modal-actions[b-vrgim0d9n1] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes fadeIn-b-vrgim0d9n1 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-vrgim0d9n1 {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ───── Responsive ───── */
@media (max-width: 991.98px) {
    .summary-card[b-vrgim0d9n1] {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .cart-item[b-vrgim0d9n1] {
        grid-template-columns: 28px 1fr;
        grid-template-areas:
            "check  preview"
            "body   body"
            "actions actions";
        gap: 12px;
        padding: 14px;
    }

    .cart-item-check[b-vrgim0d9n1] { grid-area: check; }
    .cart-item-preview[b-vrgim0d9n1] { grid-area: preview; height: 140px; }
    .cart-item-body[b-vrgim0d9n1] { grid-area: body; }
    .cart-item-actions[b-vrgim0d9n1] {
        grid-area: actions;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .page-title[b-vrgim0d9n1] {
        font-size: 1.4rem;
    }
}

/* ── Note colori cliente sul cart item ───────────────────── */

.cart-item-color-notes[b-vrgim0d9n1] {
    margin: 0.4rem 0 0 0;
    padding: 0.4rem 0.6rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 193, 7, 0.08);
    border-left: 2px solid rgba(255, 193, 7, 0.4);
    border-radius: var(--radius-sm);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Il contenitore della casella è una <label>: stessa resa di prima su desktop. */
.cart-item-check[b-vrgim0d9n1] {
    display: block;
}

/* Telefono: aree di tocco di almeno 44px (casella, quantità, elimina). */
@media (max-width: 575.98px) {
    .cart-item-check[b-vrgim0d9n1] {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        cursor: pointer;
    }

    .quantity-controls .btn[b-vrgim0d9n1] {
        min-width: 44px;
        min-height: 44px;
    }

    .btn-remove[b-vrgim0d9n1] {
        width: 44px;
        height: 44px;
    }
}
/* /Components/Pages/Community.razor.rz.scp.css */
/* Community — palette dal mockup design-reference/Aonira Community.html, tradotta sui
   design token già esistenti in wwwroot/css/app.css (--color-pink/--purple-mid/--accent
   corrispondono quasi esattamente ai colori del mockup: #ff2fa0/#7b3fff/#4fd0ff). */

.community-header[b-v5wors9mny] {
    max-width: 720px;
    margin-inline: auto;
}

.community-badge[b-v5wors9mny] {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(233, 30, 140, 0.12);
    border: 1px solid rgba(233, 30, 140, 0.35);
}

.community-badge span[b-v5wors9mny] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-pink, #ff2fa0);
}

.community-title[b-v5wors9mny] {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
}

.community-title__gradient[b-v5wors9mny] {
    background: linear-gradient(90deg, var(--color-pink, #ff2fa0), var(--purple-mid, #7c3aed), var(--accent, #00e5ff));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.community-subtitle[b-v5wors9mny] {
    color: var(--text-dim);
    font-size: 1.05rem;
}

/* ── Toggle pill (filtro + ordinamento) ─────────────────────────────── */
.community-toggle[b-v5wors9mny] {
    display: inline-flex;
    gap: 4px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
}

.community-toggle__btn[b-v5wors9mny] {
    border: none;
    background: transparent;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 10px;
    transition: color 0.2s var(--transition-smooth), background 0.2s var(--transition-smooth);
    cursor: pointer;
}

.community-toggle__btn:hover:not(.is-active)[b-v5wors9mny] {
    color: var(--text);
}

.community-toggle__btn:focus-visible[b-v5wors9mny] {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 2px;
}

.community-toggle__btn.is-active[b-v5wors9mny] {
    background: linear-gradient(135deg, var(--color-pink, #ff2fa0), var(--purple-mid, #7c3aed));
    color: #fff;
}

/* ── Stati loading / empty ──────────────────────────────────────────── */
.community-loading[b-v5wors9mny] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 4rem 0;
    color: var(--text-dim);
}

.community-loading .spinner-border[b-v5wors9mny] {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-pink, #ff2fa0);
}

.community-empty__title[b-v5wors9mny] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.community-empty__subtitle[b-v5wors9mny] {
    color: var(--text-dim);
}

.community-feedback[b-v5wors9mny] {
    max-width: 640px;
}

/* ── Griglia card ────────────────────────────────────────────────────── */
.community-grid[b-v5wors9mny] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.community-card[b-v5wors9mny] {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s var(--transition-smooth), border-color 0.25s var(--transition-smooth);
}

.community-card:hover[b-v5wors9mny] {
    transform: translateY(-3px);
    border-color: rgba(167, 139, 250, 0.3);
}

.community-card__media[b-v5wors9mny] {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: none;
    background:
        repeating-linear-gradient(135deg, rgba(124, 58, 237, 0.16) 0px, rgba(124, 58, 237, 0.16) 2px, rgba(124, 58, 237, 0.28) 2px, rgba(124, 58, 237, 0.28) 14px);
    cursor: pointer;
}

.community-card__media img[b-v5wors9mny] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.community-card__placeholder[b-v5wors9mny] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 0.75rem;
    color: rgba(240, 234, 255, 0.55);
}

.community-card__ai-tag[b-v5wors9mny] {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(6, 5, 13, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--accent, #00e5ff);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.community-card__body[b-v5wors9mny] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.community-card__title[b-v5wors9mny] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 2px;
}

.community-card__author[b-v5wors9mny] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin: 0 0 10px;
}

.community-card__dot[b-v5wors9mny] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.community-card__stat[b-v5wors9mny] {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin: 0 0 10px;
}

.community-card__cta[b-v5wors9mny] {
    margin-top: auto;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--color-pink, #ff2fa0), var(--purple-mid, #7c3aed));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s var(--transition-smooth);
}

.community-card__cta:hover:not(:disabled)[b-v5wors9mny] {
    opacity: 0.9;
}

.community-card__cta:disabled[b-v5wors9mny] {
    opacity: 0.6;
    cursor: progress;
}

.community-card__cta:focus-visible[b-v5wors9mny],
.community-card__media:focus-visible[b-v5wors9mny] {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 2px;
}

/* Telefono: i pulsanti del selettore hanno un'area di tocco di almeno 44px. */
@media (max-width: 575.98px) {
    .community-toggle__btn[b-v5wors9mny] {
        min-height: 44px;
    }
}
/* /Components/Pages/CreatePage.razor.rz.scp.css */
/* =========================================================
   CreatePage.razor.css — Stili isolati per il wizard di creazione
   ========================================================= */

/* ══ Create v2 — guscio pagina ══════════════════════════════════════
   Porting di /test-create-v2 (feature/create-v2). Sfondo canonico
   STYLE_GUIDE: #0E0619 + 4 radial-gradient asimmetrici. */

.cv2-page[b-vdmywzt8a0] {
    position: relative;
    min-height: 100vh;
    /* clip e non hidden: hidden crea un contenitore di scroll e rompe
       il position: sticky del viewer negli Step 3 e 4. */
    overflow-x: clip;
    /* padding-top: spazio per la navbar fissa (AppNavbar). */
    padding: 90px 1.5rem 6rem;
    background:
        radial-gradient(ellipse 90% 40% at 50% 0%,   rgba(184,15,186,0.13) 0%, transparent 60%),
        radial-gradient(ellipse 70% 30% at 80% 35%,  rgba(255,15,128,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 25% at 20% 65%,  rgba(0,242,255,0.05)  0%, transparent 55%),
        radial-gradient(ellipse 80% 30% at 50% 100%, rgba(184,15,186,0.08) 0%, transparent 60%),
        var(--bg, #0e0619);
    font-family: var(--cf-font-body);
    color: var(--text);
}

/* Contenitore fisso che ritaglia i glow: un elemento fixed che esce dal
   viewport (right/bottom negativi) allarga lo scroll orizzontale della pagina. */
.cv2-glows[b-vdmywzt8a0] {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.cv2-glow[b-vdmywzt8a0] {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

.cv2-glow--1[b-vdmywzt8a0] {
    top: -10%;
    right: -8%;
    width: 38vw;
    height: 38vw;
    background: radial-gradient(circle, rgba(255, 61, 138, 0.16) 0%, transparent 70%);
}

.cv2-glow--2[b-vdmywzt8a0] {
    bottom: -12%;
    left: -10%;
    width: 42vw;
    height: 42vw;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
}

/* Deriva lenta dei glow (nel prototipo era un loop GSAP): pura CSS, nessun JS. */
.cv2-glow--1[b-vdmywzt8a0] {
    animation: cv2-glow-drift-1-b-vdmywzt8a0 9s ease-in-out infinite alternate;
}

.cv2-glow--2[b-vdmywzt8a0] {
    animation: cv2-glow-drift-2-b-vdmywzt8a0 10.6s ease-in-out infinite alternate;
}

@keyframes cv2-glow-drift-1-b-vdmywzt8a0 {
    to { transform: translate(26px, -18px); }
}

@keyframes cv2-glow-drift-2-b-vdmywzt8a0 {
    to { transform: translate(-26px, 18px); }
}

.cv2-header[b-vdmywzt8a0] {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 1.5rem auto 2.5rem;
    text-align: center;
}

.cv2-header h1[b-vdmywzt8a0] {
    margin: 0;
    font-family: var(--cf-font-title);
    font-weight: 800;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    color: var(--cf-title-color, #fff);
}

/* Saldo token: in linea sotto il titolo (la versione fissa del prototipo
   finirebbe sotto la navbar fissa). */
.cv2-token-pill[b-vdmywzt8a0] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 1rem 0 0;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full, 999px);
    background: var(--glass, rgba(45, 27, 105, 0.18));
    border: 1px solid rgba(255, 196, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text);
    font-size: 0.85rem;
}

.cv2-token-pill i[b-vdmywzt8a0] {
    color: #ffc400;
}

.cv2-token-pill strong[b-vdmywzt8a0] {
    color: var(--cf-title-color);
}

.cv2-token-pill.is-empty[b-vdmywzt8a0] {
    border-color: rgba(255, 82, 82, 0.4);
}

.cv2-token-pill.is-empty strong[b-vdmywzt8a0] {
    color: #ff8a80;
}

.cv2-stage-outer[b-vdmywzt8a0] {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 2rem auto 0;
}

.cv2-stage-outer--wide[b-vdmywzt8a0] {
    max-width: 1080px;
}

@media (max-width: 767.98px) {
    .cv2-page[b-vdmywzt8a0] {
        padding: 72px 1rem 5rem;
    }
}

/* ══ Create v2 — blocchi condivisi dagli step (componenti Create*) ═══ */

/* Ingresso di ogni step: a ogni cambio di step (o di vista nello Step 2) la card è un
   elemento nuovo nel DOM, quindi l'animazione parte da sola. Nessuna animazione d'uscita:
   il cambio di step resta sincrono nella logica (SignalR, "prendi in carico prima di await"). */
[b-vdmywzt8a0] .cv2-step {
    animation: cv2-step-in-b-vdmywzt8a0 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
    background: var(--glass, rgba(45, 27, 105, 0.18));
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.12));
    border-radius: var(--radius-lg, 24px);
    padding: clamp(1.75rem, 4vw, 3rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
}

@keyframes cv2-step-in-b-vdmywzt8a0 {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .cv2-glow--1[b-vdmywzt8a0],
    .cv2-glow--2[b-vdmywzt8a0],
    [b-vdmywzt8a0] .cv2-step,
    [b-vdmywzt8a0] .cv2-note,
    [b-vdmywzt8a0] .cv2-color-panel {
        animation: none;
    }
}

[b-vdmywzt8a0] .cv2-step-eyebrow {
    margin: 0 0 0.4rem;
    font-family: var(--cf-font-title);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--purple-light, #a78bfa);
}

[b-vdmywzt8a0] .cv2-step h2 {
    margin: 0 0 0.5rem;
    font-family: var(--cf-font-title);
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    color: var(--cf-title-color);
}

[b-vdmywzt8a0] .cv2-step-hint {
    margin: 0 0 1.75rem;
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

[b-vdmywzt8a0] .cv2-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

[b-vdmywzt8a0] .cv2-actions--split {
    justify-content: space-between;
}

[b-vdmywzt8a0] .cv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-md, 16px);
    font-family: var(--cf-font-title);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, opacity 0.2s ease;
}

[b-vdmywzt8a0] .cv2-btn:active:not(:disabled) {
    transform: scale(0.96);
}

[b-vdmywzt8a0] .cv2-btn--primary {
    color: var(--cf-title-color);
    background: linear-gradient(135deg, var(--color-pink, #ff3d8a), var(--color-pink-deep, #e5157e));
    box-shadow: 0 10px 30px -8px rgba(255, 61, 138, 0.45);
}

[b-vdmywzt8a0] .cv2-btn--primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -8px rgba(255, 61, 138, 0.55);
}

[b-vdmywzt8a0] .cv2-btn--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

[b-vdmywzt8a0] .cv2-btn--ghost {
    color: var(--text-dim);
    background: transparent;
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.2));
}

[b-vdmywzt8a0] .cv2-btn--ghost:hover {
    color: var(--text);
    border-color: var(--purple-light, #a78bfa);
    transform: translateY(-2px);
}

[b-vdmywzt8a0] .cv2-spinner {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: var(--cf-title-color);
    animation: cv2-spin-b-vdmywzt8a0 0.7s linear infinite;
}

@keyframes cv2-spin-b-vdmywzt8a0 {
    to { transform: rotate(360deg); }
}

[b-vdmywzt8a0] .cv2-section {
    margin-bottom: 1.6rem;
}

[b-vdmywzt8a0] .cv2-label {
    display: block;
    margin-bottom: 0.7rem;
    font-family: var(--cf-font-title);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-dim);
}

[b-vdmywzt8a0] .cv2-label small {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    opacity: 0.8;
}

[b-vdmywzt8a0] .cv2-label--spaced {
    margin-top: 1.1rem;
}

[b-vdmywzt8a0] .cv2-label--split,
[b-vdmywzt8a0] .cv2-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

[b-vdmywzt8a0] .cv2-label-row {
    margin-bottom: 0.7rem;
}

[b-vdmywzt8a0] .cv2-label-row .cv2-label,
[b-vdmywzt8a0] .cv2-label--split > .cv2-label {
    margin-bottom: 0;
}

[b-vdmywzt8a0] .cv2-value {
    font-family: var(--cf-font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--accent, #00e5ff);
}

[b-vdmywzt8a0] .cv2-link {
    padding: 0;
    border: none;
    background: none;
    color: var(--accent, #00e5ff);
    font-family: var(--cf-font-body);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
}

[b-vdmywzt8a0] .cv2-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Toggle "Colorazione manuale" (Step 1): stesso pattern del checkbox termini di Step 4. */
[b-vdmywzt8a0] .cv2-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.25rem 0 0.5rem;
    color: var(--text-dim);
    font-size: 0.88rem;
    cursor: pointer;
}

[b-vdmywzt8a0] .cv2-check input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--color-pink, #ff3d8a);
    cursor: pointer;
}

[b-vdmywzt8a0] .cv2-check input:focus-visible {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 2px;
}

[b-vdmywzt8a0] .cv2-textarea {
    width: 100%;
    resize: vertical;
    min-height: 64px;
    padding: 0.9rem 1.05rem;
    border-radius: var(--radius-md, 16px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.15));
    color: var(--text);
    font-family: var(--cf-font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[b-vdmywzt8a0] .cv2-textarea::placeholder {
    color: var(--text-dim);
    opacity: 0.7;
}

[b-vdmywzt8a0] .cv2-textarea:focus {
    outline: none;
    border-color: var(--accent, #00e5ff);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

[b-vdmywzt8a0] .cv2-textarea[readonly] {
    opacity: 0.8;
    cursor: default;
}

[b-vdmywzt8a0] .cv2-counter {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.76rem;
    color: var(--text-dim);
}

[b-vdmywzt8a0] .cv2-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0.9rem 0;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md, 16px);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.22);
    color: var(--text);
    font-size: 0.86rem;
    line-height: 1.5;
    animation: cv2-note-in-b-vdmywzt8a0 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

[b-vdmywzt8a0] .cv2-note > i {
    margin-top: 0.1rem;
    color: var(--purple-light, #a78bfa);
}

[b-vdmywzt8a0] .cv2-note__body {
    flex: 1;
}

[b-vdmywzt8a0] .cv2-note--accent { background: rgba(0, 229, 255, 0.07); border-color: rgba(0, 229, 255, 0.28); }

[b-vdmywzt8a0] .cv2-note--accent > i { color: var(--accent, #00e5ff); }

[b-vdmywzt8a0] .cv2-note--success { background: rgba(67, 160, 71, 0.1); border-color: rgba(102, 187, 106, 0.35); align-items: center; }

[b-vdmywzt8a0] .cv2-note > span:not(.cv2-dots) { flex: 1; }

[b-vdmywzt8a0] .cv2-note--success > i { color: #69f0ae; }

[b-vdmywzt8a0] .cv2-note--warn { background: rgba(255, 171, 0, 0.08); border-color: rgba(255, 196, 0, 0.3); }

[b-vdmywzt8a0] .cv2-note--warn > i { color: #ffc400; }

[b-vdmywzt8a0] .cv2-note--error { background: rgba(229, 57, 53, 0.1); border-color: rgba(255, 82, 82, 0.35); }

[b-vdmywzt8a0] .cv2-note--error > i { color: #ff8a80; }

@keyframes cv2-note-in-b-vdmywzt8a0 {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

[b-vdmywzt8a0] .cv2-btn--secondary {
    color: var(--text);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.4);
}

[b-vdmywzt8a0] .cv2-btn--secondary:hover:not(:disabled) {
    background: rgba(0, 229, 255, 0.15);
    transform: translateY(-2px);
}

[b-vdmywzt8a0] .cv2-btn--secondary:disabled,
[b-vdmywzt8a0] .cv2-btn--ghost:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

[b-vdmywzt8a0] .cv2-btn--sm {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}

[b-vdmywzt8a0] .cv2-btn--block {
    width: 100%;
}

[b-vdmywzt8a0] .cv2-btn:focus-visible {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 2px;
}

[b-vdmywzt8a0] .cv2-btn.is-pulsing:not(:disabled) {
    animation: cv2-pulse-b-vdmywzt8a0 1.8s ease-in-out infinite;
}

@keyframes cv2-pulse-b-vdmywzt8a0 {
    0%, 100% { box-shadow: 0 10px 30px -8px rgba(255, 61, 138, 0.45); }
    50% { box-shadow: 0 10px 38px -4px rgba(255, 61, 138, 0.8); }
}

[b-vdmywzt8a0] .cv2-actions--wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
}

[b-vdmywzt8a0] .cv2-actions--wrap > .cv2-btn--primary {
    grid-column: 1 / -1;
}

[b-vdmywzt8a0] .cv2-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: start;
}

[b-vdmywzt8a0] .cv2-two-col__viewer {
    position: sticky;
    /* sotto la navbar fissa (AppNavbar) */
    top: 110px;
}

@media (max-width: 860px) {
    [b-vdmywzt8a0] .cv2-two-col {
        grid-template-columns: 1fr;
    }

    [b-vdmywzt8a0] .cv2-two-col__viewer {
        position: static;
    }
}

[b-vdmywzt8a0] .cv2-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full, 999px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-dim);
    font-family: var(--cf-font-title);
    font-size: 0.78rem;
    font-weight: 700;
}

[b-vdmywzt8a0] .cv2-badge--accent {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.35);
    color: var(--accent, #00e5ff);
}

[b-vdmywzt8a0] .cv2-mode-box {
    padding: 1rem;
    border-radius: var(--radius-md, 16px);
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.12));
}

[b-vdmywzt8a0] .cv2-mode-box .cv2-note {
    margin-bottom: 0;
}

[b-vdmywzt8a0] .cv2-dots {
    display: inline-flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

[b-vdmywzt8a0] .cv2-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

[b-vdmywzt8a0] .cv2-inline-row {
    margin-top: 1.2rem;
}

[b-vdmywzt8a0] .cv2-color-panel {
    margin-top: 1.1rem;
    padding: 1.1rem;
    border-radius: var(--radius-md, 16px);
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.12));
    animation: cv2-note-in-b-vdmywzt8a0 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

[b-vdmywzt8a0] .cv2-color-panel > .cv2-note:first-child {
    margin-top: 0;
}

[b-vdmywzt8a0] .cv2-confirm__original {
    margin: 0 0 1.2rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md, 16px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.12));
    color: var(--text-dim);
    font-size: 0.9rem;
}

[b-vdmywzt8a0] .cv2-range {
    --fill: 50%;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full, 999px);
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(90deg, var(--color-pink, #ff3d8a), var(--accent, #00e5ff)) 0 / var(--fill) 100% no-repeat,
                rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

[b-vdmywzt8a0] .cv2-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cf-title-color);
    border: 3px solid var(--color-pink, #ff3d8a);
    box-shadow: 0 0 14px rgba(255, 61, 138, 0.6);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[b-vdmywzt8a0] .cv2-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

[b-vdmywzt8a0] .cv2-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--cf-title-color);
    border: 3px solid var(--color-pink, #ff3d8a);
}

[b-vdmywzt8a0] .cv2-range:focus-visible {
    outline: 2px solid var(--accent, #00e5ff);
    outline-offset: 4px;
}

[b-vdmywzt8a0] .cv2-range-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 0.45rem;
    font-size: 0.72rem;
    color: var(--text-dim);
}

[b-vdmywzt8a0] .cv2-summary {
    margin: 0 0 1.4rem;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-md, 16px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.14));
}

[b-vdmywzt8a0] .cv2-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[b-vdmywzt8a0] .cv2-summary > div:last-child {
    border-bottom: none;
}

[b-vdmywzt8a0] .cv2-summary dt {
    color: var(--text-dim);
    font-size: 0.84rem;
    font-weight: 600;
}

[b-vdmywzt8a0] .cv2-summary dd {
    margin: 0;
    color: var(--text);
    font-family: var(--cf-font-title);
    font-weight: 700;
    font-size: 0.88rem;
    text-align: right;
}

[b-vdmywzt8a0] .cv2-summary__note {
    max-width: 60%;
    font-family: var(--cf-font-body) !important;
    font-style: italic;
    font-weight: 500 !important;
    color: var(--text-dim) !important;
}

/* ══ Overlay "Non chiudere la pagina" (validazione e avvio generazione) ══ */

.text-neon[b-vdmywzt8a0] {
    color: #ff0f80;
}

.creation-overlay[b-vdmywzt8a0] {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(6, 5, 13, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: wait;
    animation: overlayFadeIn 0.2s ease;
}

.creation-overlay__card[b-vdmywzt8a0] {
    width: 100%;
    max-width: 440px;
    text-align: center;
    pointer-events: none;
    animation: dialogSlideIn 0.24s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.creation-overlay__icon[b-vdmywzt8a0] {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

.creation-overlay__title[b-vdmywzt8a0] {
    font-family: var(--cf-font-title);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cf-title-color);
    margin-bottom: 0.5rem;
}

.creation-overlay__subtitle[b-vdmywzt8a0] {
    color: #a0a0a0;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.creation-overlay__warning[b-vdmywzt8a0] {
    font-size: 0.78rem;
    color: #555;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* ══ Telefono (<576px): aree di tocco e azioni del wizard ═══════════════ */
@media (max-width: 575.98px) {
    /* Step 4: Indietro, Aggiungi al carrello e Paga subito uno sotto l'altro a tutta larghezza
       (prima "Aggiungi al carrello" andava a capo su tre righe accanto a "Indietro"). */
    [b-vdmywzt8a0] .cv2-actions--wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    [b-vdmywzt8a0] .cv2-btn {
        min-height: 44px;
    }

    /* Step 3 e simili: le due azioni una sotto l'altra, a tutta larghezza. */
    [b-vdmywzt8a0] .cv2-actions--split {
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
    }

    /* Slider scala: la barra resta di 6px, l'area di tocco diventa di 44px. */
    [b-vdmywzt8a0] .cv2-range {
        box-sizing: content-box;
        padding: 19px 0;
        background-clip: content-box;
        background-origin: content-box;
    }

    /* Casella e link dei termini: tutta la riga è l'area di tocco. */
    [b-vdmywzt8a0] .cv2-check {
        min-height: 44px;
    }

    [b-vdmywzt8a0] .cv2-check .cv2-link {
        padding-block: 0.75rem;
    }
}
/* /Components/Pages/ProductDetailModal.razor.rz.scp.css */
/* Modale prodotto — z-index sopra navbar (1050) e dropdown (1060) */
.modal[b-5frxh25vjc] {
    z-index: 1065;
    max-width: 100vw;
    overflow-x: hidden;
}

.modal-dialog[b-5frxh25vjc] {
    max-width: min(800px, 100vw);
}

.modal-backdrop[b-5frxh25vjc] {
    z-index: 1062;
}

/* Pulsante X fisso — sempre visibile indipendentemente dalla larghezza */
.modal-close-fixed[b-5frxh25vjc] {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 8, 22, 0.85);
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 50%;
    color: rgba(240, 234, 255, 0.85);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.modal-close-fixed:hover[b-5frxh25vjc] {
    background: rgba(124, 58, 237, 0.3);
    border-color: rgba(167, 139, 250, 0.6);
    color: #fff;
}

.product-modal[b-5frxh25vjc] {
    background: var(--bg2, #0c0a1a);
    border: 1px solid rgba(167, 139, 250, 0.22);
    color: var(--text, #f0eaff);
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(167, 139, 250, 0.08);
    overflow: hidden;
}

    .product-modal .modal-header[b-5frxh25vjc] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 16px 20px;
    }

    .product-modal .modal-title[b-5frxh25vjc] {
        font-size: 1.1rem;
        font-weight: 700;
        color: #fff;
    }

/* Immagine grande */
.product-modal__img-wrap[b-5frxh25vjc] {
    width: 100%;
    height: 100%;
    min-height: 260px;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-modal__img[b-5frxh25vjc] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 420px;
}

.product-modal__img-placeholder[b-5frxh25vjc] {
    width: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
}

/* Testi */
.product-modal__name[b-5frxh25vjc] {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.product-modal__price[b-5frxh25vjc] {
    font-size: 1.6rem;
    font-weight: 800;
    color: #c4b5fd;
    margin: 4px 0 0;
}

.product-modal__desc[b-5frxh25vjc] {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
}

/* Varianti */
.variant-label[b-5frxh25vjc] {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 8px;
}

.variant-chips[b-5frxh25vjc] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-chip[b-5frxh25vjc] {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(167, 139, 250, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

    .variant-chip:hover:not(:disabled)[b-5frxh25vjc] {
        background: rgba(124, 58, 237, 0.15);
        border-color: rgba(124, 58, 237, 0.5);
        color: #fff;
    }

    .variant-chip--active[b-5frxh25vjc] {
        background: rgba(124, 58, 237, 0.3);
        border-color: #7c3aed;
        color: #fff;
        font-weight: 600;
    }

    .variant-chip--disabled[b-5frxh25vjc] {
        opacity: 0.4;
        cursor: not-allowed;
        text-decoration: line-through;
    }

/* Alert stock */
.stock-alert[b-5frxh25vjc] {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-alert--low[b-5frxh25vjc] {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.stock-alert--zero[b-5frxh25vjc] {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #f87171;
}

/* Bottoni azione */
.btn-modal-primary[b-5frxh25vjc] {
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
    transition: opacity 0.2s, transform 0.2s;
}

    .btn-modal-primary:hover:not(:disabled)[b-5frxh25vjc] {
        opacity: 0.9;
        transform: translateY(-1px);
    }

    .btn-modal-primary:disabled[b-5frxh25vjc] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.btn-modal-secondary[b-5frxh25vjc] {
    width: 100%;
    padding: 11px;
    border-radius: 14px;
    border: 1px solid rgba(167, 139, 250, 0.35);
    background: rgba(255, 255, 255, 0.04);
    color: #c4b5fd;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

    .btn-modal-secondary:hover:not(:disabled)[b-5frxh25vjc] {
        background: rgba(124, 58, 237, 0.15);
        border-color: rgba(124, 58, 237, 0.5);
        color: #fff;
        transform: translateY(-1px);
    }

    .btn-modal-secondary:disabled[b-5frxh25vjc] {
        opacity: 0.4;
        cursor: not-allowed;
    }
/* /Components/Pages/Setting/SettingPage.razor.rz.scp.css */
/* =========================================================
   SettingPage.razor.css — Profilo utente / Impostazioni
   ========================================================= */

/* ── Background ──────────────────────────────────────────────────────
   Stesso identico stack canonico di .landing-page (landing.css) e di
   html,body (app.css) — vedi STYLE_GUIDE.md, "Sfondo globale". */

.pageStyle[b-opibonujlq] {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(ellipse 90% 40% at 50% 0%,   rgba(184,15,186,0.13) 0%, transparent 60%),
        radial-gradient(ellipse 70% 30% at 80% 35%,  rgba(255,15,128,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 25% at 20% 65%,  rgba(0,242,255,0.05)  0%, transparent 55%),
        radial-gradient(ellipse 80% 30% at 50% 100%, rgba(184,15,186,0.08) 0%, transparent 60%),
        var(--bg, #0e0619);
}

/* ── Override signBox per larghezza impostazioni ─────────── */

.signBox[b-opibonujlq] {
    max-width: 100%;
}

/* ── Titoli di sezione ───────────────────────────────────── */

.section-title[b-opibonujlq] {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cf-title-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.section-title.danger[b-opibonujlq] {
    color: #ff6b6b;
}

/* ── Righe profilo (label + valore) ──────────────────────── */

.setting-label[b-opibonujlq] {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dim, #9b8ec4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.2rem;
}

.setting-value[b-opibonujlq] {
    color: var(--cf-title-color);
    font-size: 0.97rem;
    font-weight: 400;
}

.setting-row[b-opibonujlq] {
    padding: 0.25rem 0;
}

.setting-divider[b-opibonujlq] {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 0.9rem 0;
}

/* ── Pulsanti azione impostazioni ────────────────────────── */

.btn-setting-edit[b-opibonujlq] {
    background: transparent;
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 20px;
    color: var(--purple-light, #a78bfa);
    font-size: 0.82rem;
    padding: 0.35rem 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-setting-edit:hover[b-opibonujlq],
.btn-setting-edit:focus-visible[b-opibonujlq] {
    border-color: var(--purple-light, #a78bfa);
    color: var(--cf-title-color);
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.35);
    outline: none;
}

.btn-setting-edit:focus-visible[b-opibonujlq] {
    outline: 2px solid #00f2ff;
    outline-offset: 2px;
}

.btn-setting-save[b-opibonujlq] {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.35);
    border-radius: 20px;
    color: #00f2ff;
    font-size: 0.85rem;
    padding: 0.4rem 1.1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-setting-save:hover:not(:disabled)[b-opibonujlq] {
    background: rgba(0, 242, 255, 0.18);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.btn-setting-save:disabled[b-opibonujlq] {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-setting-save:focus-visible[b-opibonujlq] {
    outline: 2px solid #00f2ff;
    outline-offset: 2px;
}

.btn-setting-cancel[b-opibonujlq] {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: #707070;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-setting-cancel:hover[b-opibonujlq] {
    border-color: rgba(255, 255, 255, 0.3);
    color: #a0a0a0;
}

.btn-setting-cancel:focus-visible[b-opibonujlq] {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* ── Zona pericolosa ─────────────────────────────────────── */

.danger-zone[b-opibonujlq] {
    border-color: rgba(255, 100, 100, 0.3) !important;
    background: rgba(45, 27, 105, 0.2);
}

.btn-danger-setting[b-opibonujlq] {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.4);
    border-radius: 20px;
    color: #ff6b6b;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-danger-setting:hover:not(:disabled)[b-opibonujlq] {
    background: rgba(255, 77, 77, 0.2);
    box-shadow: 0 0 12px rgba(255, 77, 77, 0.25);
}

.btn-danger-setting:disabled[b-opibonujlq] {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-danger-setting:focus-visible[b-opibonujlq] {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

.delete-confirm-box[b-opibonujlq] {
    background: rgba(255, 77, 77, 0.05);
    border: 1px solid rgba(255, 77, 77, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

/* ── Statistiche token ───────────────────────────────────── */

.stat-badge[b-opibonujlq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.9rem 1.4rem;
    min-width: 110px;
    flex: 1;
    text-align: center;
}

.stat-badge__label[b-opibonujlq] {
    font-size: 0.72rem;
    color: #707070;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stat-badge__value[b-opibonujlq] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.stat-badge__value.gold[b-opibonujlq] {
    color: #f2c864;
    text-shadow: 0 0 12px rgba(242, 200, 100, 0.35);
}

/* ── Toggle notifiche ────────────────────────────────────── */

.setting-switch .form-check-input[b-opibonujlq] {
    width: 2.8rem;
    height: 1.5rem;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.setting-switch .form-check-input:checked[b-opibonujlq] {
    background-color: rgba(0, 242, 255, 0.7);
    border-color: rgba(0, 242, 255, 0.8);
}

.setting-switch .form-check-input:focus[b-opibonujlq] {
    box-shadow: 0 0 0 0.15rem rgba(0, 242, 255, 0.25);
}

/* ── Alert glass ─────────────────────────────────────────── */

.alert-error-glass[b-opibonujlq] {
    background: rgba(255, 77, 77, 0.08);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #ff6b6b;
}

.alert-success-glass[b-opibonujlq] {
    background: rgba(0, 242, 255, 0.06);
    border: 1px solid rgba(0, 242, 255, 0.25);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #00f2ff;
}

/* ── Info note ───────────────────────────────────────────── */

.info-note[b-opibonujlq] {
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.18);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.87rem;
    color: #909090;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 575px) {
    .stat-badge[b-opibonujlq] {
        min-width: 0;
        padding: 0.7rem 1rem;
    }
}

/* Telefono: pulsanti e interruttori con area di tocco di almeno 44px. */
@media (max-width: 575.98px) {
    .btn-setting-edit[b-opibonujlq],
    .btn-setting-save[b-opibonujlq],
    .btn-setting-cancel[b-opibonujlq],
    .btn-danger-setting[b-opibonujlq] {
        min-height: 44px;
    }

    [b-opibonujlq] a.btn-setting-edit {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .form-select[b-opibonujlq] {
        min-height: 44px;
    }

    .setting-switch[b-opibonujlq] {
        display: flex;
        align-items: center;
        min-height: 44px;
        cursor: pointer;
    }

    .setting-switch .form-check-input[b-opibonujlq] {
        margin-top: 0;
    }
}
/* /Components/Pages/ShopPage.razor.rz.scp.css */
.shop-page[b-cf8lwja5gl] {
    min-height: calc(100vh - 80px);
}

.shop-title[b-cf8lwja5gl] {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.shop-subtitle[b-cf8lwja5gl] {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    margin-top: 8px;
}

.results-count[b-cf8lwja5gl] {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Filtri */
.shop-select[b-cf8lwja5gl] {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(167, 139, 250, 0.2);
    color: var(--text, #f0eaff);
    border-radius: var(--radius-md);
    min-width: 160px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

    .shop-select:focus[b-cf8lwja5gl] {
        background: rgba(255, 255, 255, 0.06);
        border-color: var(--purple-mid, #7c3aed);
        box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.22);
        color: #fff;
        outline: none;
    }

    .shop-select option[b-cf8lwja5gl] {
        background-color: var(--bg2, #0c0a1a);
        color: var(--text, #f0eaff);
    }

/* Griglia prodotti: 3 col desktop, 2 tablet, 1 mobile */
.products-grid[b-cf8lwja5gl] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr; /* schede tutte della stessa altezza */
    gap: 24px;
}

@media (max-width: 991px) {
    .products-grid[b-cf8lwja5gl] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .products-grid[b-cf8lwja5gl] {
        grid-template-columns: 1fr;
    }
}

/* Card prodotto */
.product-card[b-cf8lwja5gl] {
    background: var(--glass, rgba(45, 27, 105, 0.18));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.12));
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 38px -16px rgba(124, 58, 237, 0.45);
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(.22,1,.36,1),
                border-color 0.28s cubic-bezier(.22,1,.36,1),
                box-shadow 0.28s cubic-bezier(.22,1,.36,1);
    display: flex;
    flex-direction: column;
}

    .product-card:hover[b-cf8lwja5gl] {
        transform: translateY(-6px);
        border-color: rgba(167, 139, 250, 0.35);
        box-shadow: 0 20px 50px rgba(124, 58, 237, 0.22);
    }

    .product-card--outofstock[b-cf8lwja5gl] {
        opacity: 0.65;
    }

    .product-card--outofstock:hover[b-cf8lwja5gl] {
        transform: none;
        box-shadow: none;
    }

/* Immagine */
.product-card__img-wrap[b-cf8lwja5gl] {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.product-card__img[b-cf8lwja5gl] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__img[b-cf8lwja5gl] {
    transform: scale(1.04);
}

.product-card__img-placeholder[b-cf8lwja5gl] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
}

/* Badge esaurito */
.badge-outofstock[b-cf8lwja5gl] {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 61, 138, 0.16);
    border: 1px solid var(--color-pink);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

/* Corpo card */
.product-card__body[b-cf8lwja5gl] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.product-card__name[b-cf8lwja5gl] {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(2 * 1.3em);
}

.product-card__desc[b-cf8lwja5gl] {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Chip materiali */
.product-card__materials[b-cf8lwja5gl] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.material-chip[b-cf8lwja5gl] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.material-pla[b-cf8lwja5gl] {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.material-tpu[b-cf8lwja5gl] {
    background: rgba(124, 58, 237, 0.2);
    color: var(--purple-light);
    border: 1px solid rgba(167, 139, 250, 0.4);
}

/* Footer card: prezzo + CTA */
.product-card__footer[b-cf8lwja5gl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-card__price[b-cf8lwja5gl] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.btn-card-cta[b-cf8lwja5gl] {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(124, 58, 237, 0.25);
    border: 1px solid rgba(124, 58, 237, 0.4);
    color: #c4b5fd;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.product-card:hover .btn-card-cta[b-cf8lwja5gl] {
    background: rgba(124, 58, 237, 0.45);
    border-color: rgba(124, 58, 237, 0.7);
    color: #fff;
}

/* Telefono: filtri e pulsante delle schede con area di tocco di almeno 44px. */
@media (max-width: 575.98px) {
    .shop-select[b-cf8lwja5gl] {
        min-height: 44px;
    }

    .btn-card-cta[b-cf8lwja5gl] {
        min-height: 44px;
        padding-left: 18px;
        padding-right: 18px;
    }
}
/* /Components/Pages/User/MyCreationsPage.razor.rz.scp.css */
.mc-page[b-8x1h6mmk1o] {
    min-height: calc(100vh - 80px);
    max-width: 1080px;
}

.mc-page__intro[b-8x1h6mmk1o] {
    margin: 0;
    color: var(--text-dim);
}

/* Mobile-first: 1 colonna, 2 da 480px, poi 3 e 4 quando c'è spazio. */
.mc-page__grid[b-8x1h6mmk1o] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 480px) {
    .mc-page__grid[b-8x1h6mmk1o] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .mc-page__grid[b-8x1h6mmk1o] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .mc-page__grid[b-8x1h6mmk1o] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.mc-page[b-8x1h6mmk1o]  .mc-page__state {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--text);
}

.mc-page[b-8x1h6mmk1o]  .mc-page__state i {
    color: var(--purple-light);
    font-size: 2.5rem;
}

.mc-page[b-8x1h6mmk1o]  .mc-page__state p {
    color: var(--text-dim);
}

.mc-page[b-8x1h6mmk1o]  .mc-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--purple-light);
    background: var(--glass);
    color: var(--text);
    font-family: var(--cf-font-title);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.mc-page[b-8x1h6mmk1o]  .mc-page__btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.mc-page[b-8x1h6mmk1o]  .mc-page__btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.mc-page[b-8x1h6mmk1o]  .mc-page__pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
    color: var(--text);
}
/* /Components/Pages/User/MyOrdersPage.razor.rz.scp.css */
.my-orders-page[b-tviuldq2i8] {
    min-height: calc(100vh - 80px);
}

.page-title[b-tviuldq2i8] {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.orders-count[b-tviuldq2i8] {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Tabella */
.orders-table[b-tviuldq2i8] {
    color: #e0e0e0;
}

    .orders-table thead th[b-tviuldq2i8] {
        background-color: rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 10px 14px;
    }

    .orders-table tbody td[b-tviuldq2i8] {
        vertical-align: middle;
        padding: 12px 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.92rem;
    }

    .orders-table tbody tr:hover td[b-tviuldq2i8] {
        background-color: rgba(255, 255, 255, 0.04);
    }

/* Badge stato — stile unificato in app.css (.status-pill + .status-*) */

/* Card mobile — glassmorphism */
.order-card-user[b-tviuldq2i8] {
    background: var(--glass, rgba(45, 27, 105, 0.18));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.12));
    border-radius: 14px;
    padding: 16px;
    transition: transform 0.25s cubic-bezier(.22,1,.36,1),
                border-color 0.25s cubic-bezier(.22,1,.36,1),
                box-shadow 0.25s cubic-bezier(.22,1,.36,1);
}

    .order-card-user:hover[b-tviuldq2i8] {
        transform: translateY(-3px);
        border-color: rgba(167, 139, 250, 0.3);
        box-shadow: 0 14px 36px rgba(124, 58, 237, 0.18);
    }

.order-id[b-tviuldq2i8] {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* Empty state */
.empty-state[b-tviuldq2i8] {
    color: rgba(255, 255, 255, 0.5);
}
/* /Components/Shared/AuthBusyOverlay.razor.rz.scp.css */
.auth-busy[b-538bearwb2] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(14, 6, 25, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: progress;
}

.auth-busy__box[b-538bearwb2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 22rem;
    padding: 1.75rem 2rem;
    text-align: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
}

/* Arco parziale: bordo di base tenue + un solo quarto colorato che ruota. */
.auth-busy__spinner[b-538bearwb2] {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 0.3rem solid rgba(255, 255, 255, 0.18);
    border-top-color: #ff0f80;
    animation: auth-busy-spin-b-538bearwb2 0.9s linear infinite;
}

@keyframes auth-busy-spin-b-538bearwb2 {
    to { transform: rotate(360deg); }
}

/* Movimento ridotto: niente rotazione; l'arco resta visibile e fermo, il messaggio dà il feedback. */
@media (prefers-reduced-motion: reduce) {
    .auth-busy__spinner[b-538bearwb2] {
        animation: none;
    }
}
/* /Components/Shared/DemoBannerHost.razor.rz.scp.css */
/* Fascia demo nel flusso della pagina, sopra la hero. Il contenitore è una griglia a una riga:
   animare grid-template-rows (0fr ↔ 1fr) fa scendere/risalire la pagina senza salti. */
.demo-banner-wrap[b-2n5rw11o7m] {
    display: grid;
    grid-template-rows: 1fr;
    position: relative;
    z-index: 3; /* sopra le particelle decorative della landing (z-index 2); la navbar (1050) resta sopra */
}

/* Apertura animata solo nel ripiego asincrono; di norma il banner nasce già aperto (nessuno scorrimento). */
.demo-banner-wrap--opening[b-2n5rw11o7m] {
    animation: demo-banner-open-b-2n5rw11o7m 0.45s ease-out both;
}

.demo-banner-wrap--opening .demo-banner__inner[b-2n5rw11o7m] {
    animation: demo-banner-slide-b-2n5rw11o7m 0.45s ease-out both;
}

.demo-banner-wrap--closing[b-2n5rw11o7m] {
    animation: demo-banner-close-b-2n5rw11o7m 0.35s ease-in both;
}

.demo-banner[b-2n5rw11o7m] {
    min-height: 0;
    overflow: hidden; /* necessario perché la riga a 0fr nasconda il contenuto */
    color: #fff;
    /* Bianco su #d6146f ≈ 5:1, su #7c3aed ≈ 5,7:1: AA su tutta la fascia. */
    background: linear-gradient(90deg, #d6146f, #7c3aed);
}

/* La navbar è fixed (top 1.25rem, z-index 1050): il padding superiore le lascia lo spazio,
   così non copre testo né X. */
.demo-banner__inner[b-2n5rw11o7m] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "icon body close";
    align-items: start;
    gap: 1.5rem;
    max-width: 76rem;
    margin: 0 auto;
    padding: 6.5rem 1.5rem 2.25rem;
}

.demo-banner__icon[b-2n5rw11o7m] {
    grid-area: icon;
    font-size: 3rem;
    line-height: 1;
}

.demo-banner__body[b-2n5rw11o7m] { grid-area: body; min-width: 0; }

.demo-banner__head[b-2n5rw11o7m] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

/* Chip scuro semitrasparente con bordo chiaro: leggibile su tutto il gradiente. */
.demo-banner__chip[b-2n5rw11o7m] {
    padding: 0.2rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.4;
    color: #fff;
    background: rgba(27, 13, 51, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
}

.demo-banner__title[b-2n5rw11o7m] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.demo-banner__text[b-2n5rw11o7m] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.demo-banner__close[b-2n5rw11o7m] {
    grid-area: close;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem; /* 44px */
    padding: 0;
    font-size: 1.25rem;
    color: #fff;
    background: rgba(27, 13, 51, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
}

.demo-banner__close:hover[b-2n5rw11o7m] { background: rgba(27, 13, 51, 0.65); }
.demo-banner__close:focus-visible[b-2n5rw11o7m] { outline: 3px solid #fff; outline-offset: 3px; }

@keyframes demo-banner-open-b-2n5rw11o7m {
    from { grid-template-rows: 0fr; }
    to   { grid-template-rows: 1fr; }
}

@keyframes demo-banner-slide-b-2n5rw11o7m {
    from { opacity: 0; transform: translateY(-1.5rem); }
    to   { opacity: 1; transform: none; }
}

@keyframes demo-banner-close-b-2n5rw11o7m {
    from { grid-template-rows: 1fr; opacity: 1; }
    to   { grid-template-rows: 0fr; opacity: 0; }
}

/* Mobile: impilato — riga icona/titolo/X, sotto il testo a tutta larghezza. */
@media (max-width: 767.98px) {
    .demo-banner__inner[b-2n5rw11o7m] {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "icon head close"
            "text text text";
        align-items: center;
        gap: 0.9rem 0.85rem;
        padding: 5.75rem 1rem 1.75rem;
    }

    .demo-banner__body[b-2n5rw11o7m] { display: contents; }
    .demo-banner__head[b-2n5rw11o7m] { grid-area: head; margin: 0; }
    .demo-banner__text[b-2n5rw11o7m] { grid-area: text; font-size: 1.05rem; }
    .demo-banner__icon[b-2n5rw11o7m] { font-size: 2.25rem; }
    .demo-banner__title[b-2n5rw11o7m] { font-size: clamp(1.2rem, 5.5vw, 1.5rem); }
}

/* Movimento ridotto: niente scorrimento in ingresso; in chiusura la fascia si chiude subito. */
@media (prefers-reduced-motion: reduce) {
    .demo-banner-wrap--opening[b-2n5rw11o7m],
    .demo-banner-wrap--opening .demo-banner__inner[b-2n5rw11o7m] { animation: none; }

    .demo-banner-wrap--closing[b-2n5rw11o7m] { animation: demo-banner-close-b-2n5rw11o7m 0.01ms linear both; }
}
/* /Components/Shared/LanguageSelector.razor.rz.scp.css */
.lang-selector__select[b-5zcwfw82mb] {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text);
    font-family: var(--cf-font-body);
    font-size: 0.82rem;
    line-height: 1.32; /* altezza invariata rispetto al select nativo (~32px) */
    /* A destra spazio per la freccia: il testo non ci passa mai sotto. */
    padding: 0.3rem 2rem 0.3rem 0.9rem;
    cursor: pointer;
    color-scheme: dark;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Freccia propria (stesso colore del testo, --text). */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23f0eaff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.75rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lang-selector__select:hover[b-5zcwfw82mb],
.lang-selector__select:focus-visible[b-5zcwfw82mb] {
    border-color: var(--purple-light);
    background-color: rgba(124, 58, 237, 0.12);
}

/* Focus da tastiera: bordo accentato + anello visibile al posto dell'outline di default. */
.lang-selector__select:focus-visible[b-5zcwfw82mb] {
    outline: 2px solid var(--purple-light);
    outline-offset: 2px;
}

.lang-selector__select option[b-5zcwfw82mb] {
    background-color: var(--bg2);
    color: var(--text);
    color-scheme: dark;
}

/* Telefono: area di tocco di almeno 44px. */
@media (max-width: 575.98px) {
    .lang-selector__select[b-5zcwfw82mb] {
        min-height: 44px;
    }
}
/* /Components/Shared/ModelEditor3D.razor.rz.scp.css */
.editor3d-layout[b-rc1temxvac] {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1rem;
    align-items: stretch;
}

@media (max-width: 991.98px) {
    .editor3d-layout[b-rc1temxvac] {
        grid-template-columns: 1fr;
    }
}

.editor3d-canvas-wrap[b-rc1temxvac] {
    position: relative;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.editor3d-canvas[b-rc1temxvac] {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    touch-action: none;
}

.editor3d-loading[b-rc1temxvac] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.editor3d-hint[b-rc1temxvac] {
    position: absolute;
    left: 50%;
    bottom: 0.5rem;
    transform: translateX(-50%);
    margin: 0;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.45);
    white-space: nowrap;
    pointer-events: none;
}

.editor3d-panel[b-rc1temxvac] {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.editor3d-panel-title[b-rc1temxvac] {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.editor3d-color-input[b-rc1temxvac] {
    width: 3rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}
/* /Components/Shared/PromptAssistantChat.razor.rz.scp.css */
/* Chat assistente prompt — stile v2 dal prototipo /test-create-v2. */

.cv2-chat[b-jl8eljkl4d] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.cv2-chat__scroll[b-jl8eljkl4d] {
    display: flex;
    flex-direction: column-reverse;
    max-height: 320px;
    overflow-y: auto;
    border-radius: var(--radius-md, 16px);
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.12));
}

.cv2-chat__messages[b-jl8eljkl4d] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
}

.cv2-chat__msg[b-jl8eljkl4d] {
    max-width: 85%;
    padding: 0.65rem 0.9rem;
    border-radius: 16px;
    animation: cv2-chat-in-b-jl8eljkl4d 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.cv2-chat__msg p[b-jl8eljkl4d] {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
}

.cv2-chat__msg.is-assistant[b-jl8eljkl4d] {
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.24), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(167, 139, 250, 0.25);
}

.cv2-chat__msg.is-user[b-jl8eljkl4d] {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(10, 162, 255, 0.1));
    border: 1px solid rgba(0, 229, 255, 0.28);
}

.cv2-chat__role[b-jl8eljkl4d] {
    display: block;
    margin-bottom: 0.2rem;
    font-family: var(--cf-font-title);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--purple-light, #a78bfa);
}

.cv2-chat__msg.is-user .cv2-chat__role[b-jl8eljkl4d] {
    color: var(--accent, #00e5ff);
}

.cv2-chat__typing[b-jl8eljkl4d] {
    display: flex;
    gap: 0.3rem;
    padding: 0.3rem 0;
}

.cv2-chat__typing span[b-jl8eljkl4d] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--purple-light, #a78bfa);
    animation: cv2-typing-b-jl8eljkl4d 1s ease-in-out infinite;
}

.cv2-chat__typing span:nth-child(2)[b-jl8eljkl4d] { animation-delay: 0.15s; }
.cv2-chat__typing span:nth-child(3)[b-jl8eljkl4d] { animation-delay: 0.3s; }

.cv2-chat__draft[b-jl8eljkl4d] {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md, 16px);
    background: rgba(0, 229, 255, 0.06);
    border: 1px dashed rgba(0, 229, 255, 0.3);
}

.cv2-chat__draft-label[b-jl8eljkl4d] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    font-family: var(--cf-font-title);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent, #00e5ff);
}

.cv2-chat__draft p[b-jl8eljkl4d] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-dim);
    font-style: italic;
}

.cv2-chat__input[b-jl8eljkl4d] {
    display: flex;
    gap: 0.6rem;
}

.cv2-chat__field[b-jl8eljkl4d] {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-md, 16px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border, rgba(167, 139, 250, 0.15));
    color: var(--text);
    font-family: var(--cf-font-body);
    font-size: 0.9rem;
}

.cv2-chat__field:focus[b-jl8eljkl4d] {
    outline: none;
    border-color: var(--accent, #00e5ff);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.cv2-chat__actions[b-jl8eljkl4d] {
    display: flex;
    gap: 0.6rem;
}

.cv2-chat__actions > :first-child[b-jl8eljkl4d] {
    flex: 1;
}

@keyframes cv2-chat-in-b-jl8eljkl4d {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cv2-typing-b-jl8eljkl4d {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-4px); opacity: 1; }
}

/* Textarea (Invio invia, Maiusc+Invio va a capo) al posto dell'input del prototipo. */
.cv2-chat__field[b-jl8eljkl4d] {
    resize: none;
    line-height: 1.5;
}

.cv2-chat__field:disabled[b-jl8eljkl4d] {
    opacity: 0.6;
}

.cv2-chat__input[b-jl8eljkl4d] {
    align-items: flex-end;
}

@media (prefers-reduced-motion: reduce) {
    .cv2-chat__msg[b-jl8eljkl4d],
    .cv2-chat__typing span[b-jl8eljkl4d] {
        animation: none;
    }
}
