/* /Components/Custom/NotificationBell.razor.rz.scp.css */
.notif-panel[b-u1beiuueie] {
    width: 380px;
    max-width: 92vw;
}

/* ---- Header ---- */
.notif-head[b-u1beiuueie] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 8px 12px 16px;
}

.notif-title[b-u1beiuueie] {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--mud-palette-text-primary);
}

/* ---- Empty state ---- */
.notif-empty[b-u1beiuueie] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 16px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.85rem;
}

/* ---- List ---- */
.notif-list[b-u1beiuueie] {
    max-height: 400px;
    overflow-y: auto;
}

/* ---- Item ---- */
.notif-item[b-u1beiuueie] {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    align-items: flex-start;
    position: relative;
    border-bottom: 1px solid var(--mud-palette-divider);
    transition: background-color .12s ease;
}

.notif-item:last-child[b-u1beiuueie] {
    border-bottom: none;
}

.notif-item:hover[b-u1beiuueie] {
    background: var(--mud-palette-action-default-hover);
}

/* Non lette: sfondo tenue + barra accento a sinistra (più leggibile del solo pallino). */
.notif-unread[b-u1beiuueie] {
    background: rgba(58, 139, 104, 0.06);
}

.notif-unread[b-u1beiuueie]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--mud-palette-primary);
}

.notif-item-icon[b-u1beiuueie] {
    margin-top: 2px;
    flex: 0 0 auto;
}

.notif-item-body[b-u1beiuueie] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.notif-item-title[b-u1beiuueie] {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--mud-palette-text-primary);
}

.notif-item-corpo[b-u1beiuueie] {
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.notif-item-time[b-u1beiuueie] {
    font-size: 0.72rem;
    color: var(--mud-palette-text-disabled);
    margin-top: 2px;
}

.notif-dot[b-u1beiuueie] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mud-palette-primary);
    flex: 0 0 auto;
    margin-top: 5px;
}

/* ---- Footer ---- */
.notif-foot[b-u1beiuueie] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 8px 8px 16px;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */


#blazor-error-ui[b-23zgh699tu] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-23zgh699tu] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
