body {
    background: #f8f9fa;
}

#login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#app {
    display: none;
}

.table-responsive {
    max-height: calc(100vh - 230px);
    overflow-y: auto;
}

table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #212529;
    color: #fff;
    white-space: nowrap;
}

/* colori stato riga */
tr.stato-fermo {
    background-color: #fff3cd !important;
}

tr.stato-dismesso {
    background-color: #ffe0cc !important;
}

tr.stato-demolito {
    background-color: #f8d7da !important;
}

tr.stato-sconosciuto {
    background-color: #e2d9f3 !important;
}

.cell-input {
    border: none;
    background: transparent;
    width: 100%;
    min-width: 80px;
    padding: 2px 4px;
}

.cell-input:focus {
    outline: 2px solid #0d6efd;
    border-radius: 3px;
    background: #fff;
}

.cell-select {
    border: none;
    background: transparent;
    width: 100%;
    padding: 2px 4px;
}

.cell-select:focus {
    outline: 2px solid #0d6efd;
    border-radius: 3px;
    background: #fff;
}

.saving-indicator {
    font-size: .75rem;
    color: #6c757d;
}

.save-ok {
    color: #198754;
}

.save-err {
    color: #dc3545;
}

#toast-container {
    position: fixed;
    bottom: 1rem;
    z-index: 9999;
}

.badge-fermo {
    background-color: #ffc107;
    color: #000;
}

.badge-dismesso {
    background-color: #fd7e14;
    color: #fff;
}

.badge-demolito {
    background-color: #dc3545;
    color: #fff;
}

.badge-sconosciuto {
    background-color: #6f42c1;
    color: #fff;
}

th.col-check {
    width: 36px;
}

th.col-mat {
    width: 90px;
}

th.col-targa {
    width: 110px;
}

th.col-stato {
    width: 140px;
}

th.col-prov {
    width: 70px;
}

th.col-del {
    width: 50px;
}