/* Stile Generale */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f4f7f6;
    padding: 20px;
}

/* FORZATURA BORDI TABELLA */
table {
    width: 100%;
    border-collapse: collapse !important; /* Unisce i bordi delle celle */
    margin-top: 20px;
    background: white;
    border: 1px solid #333 !important; /* Bordo esterno */
}

/* Applica il bordo a tutte le testate e a tutte le celle */
table th, table td {
    border: 1px solid #333 !important; /* Forza il bordo interno */
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #1a5c96;
    color: white;
}

/* Righe alternate per lettura facilitata */
table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Evidenziazione Scaduti */
.scaduto {
    background-color: #f8d7da !important;
}

/* Altri elementi */
fieldset {
    border: 1px solid #1a5c96;
    border-radius: 5px;
    background: white;
    padding: 15px;
}

.btn-presta { background: #28a745; color: white; border: none; padding: 5px 10px; cursor: pointer; border-radius: 3px; }
.btn-reso { background: #dc3545; color: white; border: none; padding: 5px 10px; cursor: pointer; border-radius: 3px; }
.occupato { color: red; font-weight: bold; }
.disponibile { color: green; font-weight: bold; }