.logipress-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:20px;
    margin-top:15px;
}
.logipress-cell {
    padding:16px;
    border-radius:12px;
    box-shadow:0 2px 6px rgba(0,0,0,.1);
    transition:.15s;
}
.logipress-cell:hover {
    transform:translateY(-2px);
    box-shadow:0 4px 10px rgba(0,0,0,.15);
}
.lp-title { font-size:18px;font-weight:600;margin-bottom:4px;color:#000; }
.lp-title span{font-weight: 500;}
.lp-sub   { font-size:14px;color:#444;margin-bottom:8px;font-weight: 500; }
.lp-badge {
    display:inline-block;
    /*background:rgba(0,0,0,.1);*/
    background:#fff;
    padding:4px 8px;
    border-radius:6px;
    font-size:12px;
    margin:2px;
}
.lp-filters {
    margin-top:20px;
    padding:15px;
    background:#fff;
    border-radius:8px;
    box-shadow:0 2px 6px rgba(0,0,0,.1);
}
.lp-filter-row {
    display:inline-flex;
    width: 33%;
    flex-wrap:wrap;
    gap:16px;
    margin-bottom:12px;
    align-items:center;
}
.lp-filter-btns button {
    padding:6px 12px;
    border:0px;
    border-radius:6px;
    cursor:pointer;
    background:#f0f0f0;
}
.lp-filter-btns button.active {
    background:#0073aa;
    color:#fff;
}
.lp-state-btns button{
    color:#fff;
}            
.lp-magazzino {
    margin-top:30px;
}
.lp-magazzino-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    background-color:#0073aa;
    padding:10px 14px;
    border-radius:8px;
    box-shadow:0 1px 3px rgba(0,0,0,.08);
}
.lp-magazzino-header h2{
    color:#fff;
    margin: 0px;
}
.lp-magazzino-header span{
    text-transform: uppercase;
    color:#fff;
    font-size: 18px;
    margin: 1em 0;
}

.lp-magazzino-header span.lp-badge{
	font-size: 12px;
}

.lp-toggle {
    font-size:18px;
    user-select:none;
}

a.logipress-link { text-decoration:none;color:inherit; }

.logipress-action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* gruppi */
.lp-actions-left,
.lp-actions-right {
    display: flex;
    gap: 20px;
}

/* bottone base */
.logipress-action-button {
    display: flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    border: none;
    cursor: pointer;

    /* stile bottone (non card) */
    box-shadow: 0 6px 14px rgba(0,0,0,.25);
    transition: background .15s ease, transform .1s ease, box-shadow .1s ease;
}

/* hover / active = bottone */
.logipress-action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.35);
    color: #fff;
}

.logipress-action-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

.lp-btn-symbol {
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    opacity: .35;
    margin-right: 18px;
}

.lp-btn-text {
    display: flex;
    flex-direction: column;
}

.lp-btn-title {
    font-size: 12px;
    font-weight: 700;
}

.lp-btn-sub {
    font-size: 10px;
    opacity: .9;
}

/* === VARIANTI === */

.lp-btn-entrata {
    background: #2e7d32;
}

.lp-btn-entrata:hover {
    background: #256b2b;
}

.lp-btn-uscita {
    background: #d84315;
}

.lp-btn-uscita:hover {
    background: #c63c12;
}
            
.lp-situazione-box {
    margin: 25px 0;
    padding: 16px 20px;
    background: #0073aa;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
}

.lp-situazione-box h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #fff;
}

.lp-situazione-row {
    /* display: flex;
    justify-content: space-between;*/
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.25);
    font-size: 14px;
}

.lp-situazione-row:last-child {
    border-bottom: none;
}

.lp-situazione-tipologia {
    font-weight: 600;
}
.lp-situazione-tipologia-row {
    cursor: pointer;
    transition: background .12s ease;
}

.lp-situazione-tipologia-row:hover {
    background: rgba(255,255,255,.15);
}

.lp-situazione-tipologia-row.active {
    background: rgba(255,255,255,.25);
    font-weight: 700;
}

.is-loading {
    opacity: .6;
    pointer-events: none;
    position: relative;
}

.is-loading::after {
    content: "Caricamento…";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
}

.lp-magazzino-tipologia {
    cursor: pointer;
    transition: background .12s ease, transform .1s ease;
}

.lp-magazzino-tipologia:hover {
    background: rgba(0,0,0,.08);
}

.lp-magazzino-tipologia.active {
    background: rgba(0,0,0,.18);
    font-weight: 700;
}

.lp-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 220px;
    margin: 30px 0;
    padding: 30px;

    background: #f6f7f7;
    border: 2px #ccd0d4;
    border-radius: 14px;

    text-align: center;
}

.lp-empty-icon {
    font-size: 42px;
    margin-bottom: 12px;
    opacity: .6;
}

.lp-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: #1d2327;
    margin-bottom: 6px;
}

.lp-empty-sub {
    font-size: 14px;
    color: #50575e;
}

/* SITUAZIONE BINS */
#lp-situazione-bins .lp-situazione-box h2,
#lp-situazione-bins .lp-situazione-box{
	color: #000;
}
