/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-gysl8ua2ml] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-gysl8ua2ml] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-mezc3g0xhu],
.components-reconnect-repeated-attempt-visible[b-mezc3g0xhu],
.components-reconnect-failed-visible[b-mezc3g0xhu],
.components-pause-visible[b-mezc3g0xhu],
.components-resume-failed-visible[b-mezc3g0xhu],
.components-rejoining-animation[b-mezc3g0xhu] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-mezc3g0xhu],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-mezc3g0xhu],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-mezc3g0xhu],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-mezc3g0xhu],
#components-reconnect-modal.components-reconnect-retrying[b-mezc3g0xhu],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-mezc3g0xhu],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-mezc3g0xhu],
#components-reconnect-modal.components-reconnect-failed[b-mezc3g0xhu],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-mezc3g0xhu] {
    display: block;
}


#components-reconnect-modal[b-mezc3g0xhu] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-mezc3g0xhu 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-mezc3g0xhu 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-mezc3g0xhu 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-mezc3g0xhu]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-mezc3g0xhu 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-mezc3g0xhu {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-mezc3g0xhu {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-mezc3g0xhu {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-mezc3g0xhu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-mezc3g0xhu] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-mezc3g0xhu] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-mezc3g0xhu] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-mezc3g0xhu] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-mezc3g0xhu] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-mezc3g0xhu] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-mezc3g0xhu 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-mezc3g0xhu] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-mezc3g0xhu {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* Pagina Login - stili scoped */
.login-form[b-97ahxpgdhn] {
    max-width: 100%;
}

.login-title[b-97ahxpgdhn] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #181C32;
    letter-spacing: -0.02em;
}

.login-field-label[b-97ahxpgdhn] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #3f4254;
    margin-bottom: 0.375rem;
}

.login-input[b-97ahxpgdhn] {
    border-radius: 0.475rem;
    border: 1px solid #E4E6EF;
    padding: 0.65rem 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-input:focus[b-97ahxpgdhn] {
    border-color: var(--nutridono-aside-bg);
    box-shadow: 0 0 0 3px rgba(255, 143, 41, 0.15);
    outline: none;
}

.login-input.is-invalid[b-97ahxpgdhn] {
    border-color: #f1416c;
}

/* Link "Password dimenticata" - stile discreto e curato */
.login-forgot-wrap[b-97ahxpgdhn] {
    margin-top: 0.5rem;
    text-align: right;
}

.login-forgot-link[b-97ahxpgdhn] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #7E8299;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0.25rem 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.login-forgot-link:hover[b-97ahxpgdhn] {
    color: var(--nutridono-aside-bg);
}

.login-forgot-link:focus[b-97ahxpgdhn] {
    outline: none;
    color: var(--nutridono-aside-bg);
}

/* Icona chiave per il link */
.login-forgot-link .icon[b-97ahxpgdhn] {
    opacity: 0.85;
    font-size: 0.9em;
}

/* Checkbox "Ricordami" più leggibile */
.login-remember[b-97ahxpgdhn] {
    font-size: 0.875rem;
    color: #5e6278;
}

/* Card form: bordo e ombra leggeri */
.login-card[b-97ahxpgdhn] {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.65rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
}

/* Messaggio errore login */
.login-error[b-97ahxpgdhn] {
    border-radius: 0.475rem;
    font-size: 0.875rem;
}

/* Pulsante submit login */
.login-submit[b-97ahxpgdhn] {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.475rem;
}
/* /Components/Pages/Report.razor.rz.scp.css */
/* Tile famiglie: bordo e accento arancione (brand) */
.report-tile-families[b-emz4xayzva] {
    border-left: 4px solid #FF8F29 !important;
    background: linear-gradient(135deg, rgba(255, 143, 41, 0.08) 0%, rgba(255, 255, 255, 1) 50%);
}

.report-tile-families .report-tile-label[b-emz4xayzva] {
    color: #b36b1f;
}

.report-tile-families .card-body .fw-bold[b-emz4xayzva] {
    color: #FF8F29;
}

/* Tile carrelli: bordo e accento blu */
.report-tile-carts[b-emz4xayzva] {
    border-left: 4px solid #0d6efd !important;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08) 0%, rgba(255, 255, 255, 1) 50%);
}

.report-tile-carts .report-tile-label[b-emz4xayzva] {
    color: #0a58ca;
}

.report-tile-carts .card-body .fw-bold[b-emz4xayzva] {
    color: #0d6efd;
}
/* /Components/Shared/DatePickerNutridono.razor.rz.scp.css */
/* DatePickerNutridono – componente calendario riutilizzabile. Usa variabili CSS globali (--nutridono-aside-bg, --bs-primary-rgb). */

.datepicker-nutridono-wrapper[b-plepc2l2u4] {
    position: relative;
    font-family: 'Poppins', Helvetica, sans-serif;
}

.datepicker-nutridono-trigger[b-plepc2l2u4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0.5rem 0.85rem;
    border: 1px solid #dee2e6;
    border-radius: 0.475rem;
    background: #fff;
    color: #181C32;
    font-size: 15px;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.datepicker-nutridono-trigger:hover[b-plepc2l2u4] {
    border-color: var(--nutridono-aside-bg);
    box-shadow: 0 0 0 0.1rem rgba(var(--bs-primary-rgb), 0.2);
}

.datepicker-nutridono-trigger.is-invalid[b-plepc2l2u4] {
    border-color: #dc3545;
}

.datepicker-nutridono-trigger-readonly[b-plepc2l2u4] {
    cursor: default;
    user-select: none;
}

.datepicker-nutridono-trigger-readonly:hover[b-plepc2l2u4] {
    border-color: #dee2e6;
    box-shadow: none;
}

.datepicker-nutridono-value[b-plepc2l2u4] {
    flex: 1;
}

.datepicker-nutridono-icon[b-plepc2l2u4] {
    margin-left: 0.5rem;
    color: var(--nutridono-aside-bg);
    font-size: 1.1rem;
}

.datepicker-nutridono-overlay[b-plepc2l2u4] {
    position: fixed;
    inset: 0;
    z-index: 1059;
    background: transparent;
    cursor: default;
}

.datepicker-nutridono-dropdown[b-plepc2l2u4] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1060;
    margin-top: 0.35rem;
    min-width: 300px;
    width: 320px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.datepicker-nutridono-header[b-plepc2l2u4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.5rem;
    background: var(--nutridono-aside-bg);
    color: #000;
    font-weight: 600;
    font-size: 1rem;
}

.datepicker-nutridono-nav[b-plepc2l2u4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 0.35rem;
    background: rgba(0, 0, 0, 0.12);
    color: #000;
    cursor: pointer;
    transition: background 0.15s;
}

.datepicker-nutridono-nav:hover[b-plepc2l2u4] {
    background: rgba(0, 0, 0, 0.2);
}

.datepicker-nutridono-monthyear[b-plepc2l2u4] {
    text-transform: capitalize;
    font-size: 1.05rem;
}

.datepicker-nutridono-weekdays[b-plepc2l2u4] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 0.4rem 0.5rem 0;
    background: #f8f9fa;
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057;
}

.datepicker-nutridono-weekday[b-plepc2l2u4] {
    text-align: center;
    padding: 0.35rem 0;
}

.datepicker-nutridono-grid[b-plepc2l2u4] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    padding: 0.5rem;
    background: #fff;
}

.datepicker-nutridono-day[b-plepc2l2u4] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    font-size: 15px;
    font-weight: 500;
    color: #181C32;
    border-radius: 0.35rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.datepicker-nutridono-day:hover:not(.datepicker-nutridono-day-empty)[b-plepc2l2u4] {
    background: rgba(255, 143, 41, 0.2);
    color: #000;
}

.datepicker-nutridono-day-selected[b-plepc2l2u4] {
    background: var(--nutridono-aside-bg) !important;
    color: #000 !important;
}

.datepicker-nutridono-day-today[b-plepc2l2u4] {
    border: 2px solid var(--nutridono-aside-bg);
}

.datepicker-nutridono-day-today.datepicker-nutridono-day-selected[b-plepc2l2u4] {
    border-color: #000;
}

.datepicker-nutridono-day-empty[b-plepc2l2u4] {
    cursor: default;
    visibility: hidden;
}

.datepicker-nutridono-footer[b-plepc2l2u4] {
    padding: 0.5rem 0.75rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.datepicker-nutridono-clear[b-plepc2l2u4] {
    background: transparent;
    border: 1px solid #dee2e6;
    color: #495057;
}

.datepicker-nutridono-clear:hover[b-plepc2l2u4] {
    background: rgba(255, 143, 41, 0.15);
    border-color: var(--nutridono-aside-bg);
    color: #000;
}
