/* /Components/Base/Logout.razor.rz.scp.css */
.btn-logout[b-je3ratbhwd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6a0dad, #8a2be2);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.25s;
}

    .btn-logout:hover[b-je3ratbhwd] {
        background: linear-gradient(135deg, #5a0ca3, #7b2cbf);
        transform: scale(1.03);
    }

.icon[b-je3ratbhwd] {
    font-size: 16px;
}
/* /Components/Layout/Header.razor.rz.scp.css */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.collapse-blazor[b-o5ywne77rw] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
}

.collapse-blazor.show[b-o5ywne77rw] {        
        max-height: 500px;  
    }

[b-o5ywne77rw] .nav-link.active {
    color: white !important;
    text-decoration: underline;
}
/* /Components/Layout/Notification.razor.rz.scp.css */
.notification-dropdown[b-rcxdwhtn8w] {
    position: absolute;
    right: 0;
    top: 40px;
    width: 320px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    z-index: 2000; 

    max-height: 400px;
    overflow-y: auto;
}

.notification-group[b-rcxdwhtn8w] {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.group-title[b-rcxdwhtn8w] {
    font-size: 12px;
    font-weight: bold;
    color: #6c757d;
    margin-bottom: 5px;
}

.notification-item[b-rcxdwhtn8w] {
    padding: 6px;
    border-radius: 4px;
    cursor: pointer; 
    transition: all 0.15s ease;
}

    .notification-item:hover[b-rcxdwhtn8w] {
        background: #f1f3f5;
    }

        
    .notification-item:active[b-rcxdwhtn8w] {
        transform: scale(0.97);
        background: #e9ecef;
    }

    .notification-item:focus[b-rcxdwhtn8w] {
        outline: 2px solid #0d6efd;
    }

.overlay[b-rcxdwhtn8w] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000; 
}
/* /Components/Pages/TimeLine/Drawer.razor.rz.scp.css */
/* DRAWER */
/*.custom-drawer {
    position: fixed;*/ /* 👈 NON più absolute */
    /*top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;*/ /* 👈 tutta la pagina */
    /*background: white;
    border-left: 1px solid #dee2e6;
    box-shadow: -4px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1050;
}

    .custom-drawer.open {
        right: 0;
    }*/

/* HEADER */
/*.drawer-header {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
}*/

/* BODY scrollabile */
/*.drawer-body {
    padding: 15px;
    overflow-y: auto;
    flex-grow: 1;
}*/
.custom-drawer[b-4i0hbi5eqv] {
    position: fixed;
    top: 0;
    right: -100%;
    width: 40%;
    height: 100%;
    background-color: #fff;
    box-shadow: -4px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1050;
    display: flex;
    flex-direction: column;
}

    .custom-drawer.open[b-4i0hbi5eqv] {
        right: 0;
    }

.drawer-header[b-4i0hbi5eqv] {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.drawer-body[b-4i0hbi5eqv] {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* JSON box */
.json-box[b-4i0hbi5eqv] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.75rem;
    max-height: 500px; /* altezza fissa, scrollabile */
    overflow-y: auto;
    font-family: monospace;
    white-space: pre-wrap; /* va a capo nel JSON lungo */
    word-break: break-word;
}
/* /Components/Pages/TimeLine/Index.razor.rz.scp.css */
/* ICONA CIRCOLARE TIMELINE */
/*.timeline-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}*/

/* RIGA TIMELINE */
/*.timeline-row {
    position: relative;
}*/

    /* LINEA VERTICALE TIMELINE */
    /*.timeline-row::before {
        content: "";
        position: absolute;
        left: 18px;*/ /* riduce spazio bianco tra icona e box */
        /*top: 0;
        bottom: 0;
        width: 2px;
        background-color: #dee2e6;
    }*/

/* BOX DETTAGLI */
/*.timeline-box {
    border-left: 4px solid;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-left: 0;
}*/

/* COLORI BORDER STATO */
/*.border-success {
    border-color: #198754 !important;
}

.border-warning {
    border-color: #ffc107 !important;
}

.border-danger {
    border-color: #dc3545 !important;
}

.border-secondary {
    border-color: #6c757d !important;
}*/

/* COLORI ICONE */
/*.bg-success {
    background-color: #198754 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-secondary {
    background-color: #6c757d !important;
}*/

/* LEGENDA COLORI */
/*.legend-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}*/

    /* PICCOLA MARGIN TRA ICONA E TESTO LEGENDA */
    /*.legend-icon + span {
        margin-left: 4px;
    }*/

/* 📱 MIGLIORIA MOBILE */
/*@media (max-width: 768px) {
    .timeline-row::before {
        left: 16px;
    }

    .timeline-icon {
        width: 28px;
        height: 28px;
    }
}*/
/* WRAPPER affiancato */
.timeline-wrapper[b-3ykovf6g3f] {
    display: flex;
    position: relative;
}
/* Quando drawer aperto, lascia spazio */
.timeline-wrapper.drawer-open .timeline-container[b-3ykovf6g3f] {
    margin-right: 400px;
}
/* TIMELINE occupa tutto */
/*.timeline-container {
    flex: 1;
    transition: margin-right 0.3s ease;
}*/

/* Quando drawer aperto, lascia spazio */
/*.timeline-wrapper.drawer-open .timeline-container {
    margin-right: 400px;
}*/

/* DRAWER */
/*.custom-drawer {
    position: fixed;*/ /* 👈 NON più absolute */
    /*top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;*/ /* 👈 tutta la pagina */
    /*background: white;
    border-left: 1px solid #dee2e6;
    box-shadow: -4px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1050;
}

    .custom-drawer.open {
        right: 0;
    }*/

/* HEADER */
/*.drawer-header {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
}*/

/* BODY scrollabile */
/*.drawer-body {
    padding: 15px;
    overflow-y: auto;
    flex-grow: 1;
}*/
/* /Components/Pages/TimeLine/TimeLine.razor.rz.scp.css */


/* TIMELINE occupa tutto */
.timeline-container[b-1qaqtvga26] {
    flex: 1;
    transition: margin-right 0.3s ease;
}

/* /Components/Pages/TimeLine/TimeLineLegenda.razor.rz.scp.css */
/* LEGENDA COLORI */
.legend-icon[b-ty93ilbrgs] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

    /* PICCOLA MARGIN TRA ICONA E TESTO LEGENDA */
    .legend-icon + span[b-ty93ilbrgs] {
        margin-left: 4px;
    }
/* /Components/Pages/TimeLine/TimeLineRow.razor.rz.scp.css */
/* ICONA CIRCOLARE TIMELINE */
.timeline-icon[b-946ifujfrd] {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RIGA TIMELINE */
.timeline-row[b-946ifujfrd] {
    position: relative;
}

/* LINEA VERTICALE TIMELINE */
.timeline-row[b-946ifujfrd]::before {
    content: "";
    position: absolute;
    left: 18px; /* riduce spazio bianco tra icona e box */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #dee2e6;
}

/* BOX DETTAGLI */
.timeline-box[b-946ifujfrd] {
    border-left: 4px solid;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-left: 0;
}

/* COLORI BORDER STATO */
.border-success[b-946ifujfrd] {
    border-color: #198754 !important;
}

.border-warning[b-946ifujfrd] {
    border-color: #ffc107 !important;
}

.border-danger[b-946ifujfrd] {
    border-color: #dc3545 !important;
}

.border-secondary[b-946ifujfrd] {
    border-color: #6c757d !important;
}

/* COLORI ICONE */
.bg-success[b-946ifujfrd] {
    background-color: #198754 !important;
}

.bg-warning[b-946ifujfrd] {
    background-color: #ffc107 !important;
}

.bg-danger[b-946ifujfrd] {
    background-color: #dc3545 !important;
}

.bg-secondary[b-946ifujfrd] {
    background-color: #6c757d !important;
}

/* 📱 MIGLIORIA MOBILE */
@media (max-width: 768px) {
    .timeline-row[b-946ifujfrd]::before {
        left: 16px;
    }

    .timeline-icon[b-946ifujfrd] {
        width: 28px;
        height: 28px;
    }
}
