/* core/static/core/css/custom.css */

/* ============================================================
   DESIGN SYSTEM — classi globali (non ripetere nei template)
   ============================================================ */

/* Card icon: usa il colore brand */
.card-icon {
    font-size: 5rem;
    color: var(--bs-primary);
    display: block;
    line-height: 1;
}

/* Header negozio nelle logistica views */
.store-header {
    background-color: var(--bs-primary);
    color: white;
}

/* Bottone logistica (installer dashboard) */
.btn-logistica {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}
.btn-logistica:hover,
.btn-logistica:focus,
.btn-logistica:active {
    background-color: #d62839;
    border-color: #d62839;
    color: white !important;
}

/* ============================================================
   BADGE STATI APPUNTAMENTO (use: class="badge badge-state-xxx")
   ============================================================ */
.badge-state-requested   { background-color: #f77f00; color: #000; }
.badge-state-booked      { background-color: var(--bs-primary); color: #fff; }
.badge-state-in_progress { background-color: #0dcaf0; color: #000; }
.badge-state-completed   { background-color: #198754; color: #fff; }

/* ============================================================ */
.custom-table {
    width: 100%;
    border-collapse: collapse;
}
.custom-table th,
.custom-table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}
.custom-table th {
    background-color: #f8f9fa;
    text-align: left;
}
.custom-table tr:nth-child(even) {
    background-color: rgba(248, 249, 250, 0.5); /* Alternanza leggera */
}

.select2-container .select2-selection--single {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + 0.75rem);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-hei