/* ============================================================================
   mm-utilities.css — Utility classes a-la-Tailwind del design system MMWeb.
   Mandato: utility canoniche del repo, prefisso conservativo (selettori
   originali mantenuti per backward-compat — il rename a `.mm-*` BEM avverrà
   in fasi successive del restyling, vedi RESTYLING_PLAN.md §6.1 e DEC-009 D-04).
   `!important` ammesso (è il loro mestiere).
   ============================================================================ */

/* === Display === */
.d-contents {
    display: contents !important;
}

/* === Width / min-width === */
.w-40 {
    width: 40%;
}
.w-45 {
    width: 45%;
}

.min-w-125px {
    min-width: 125px;
}
.min-w-130px {
    min-width: 130px;
}
.min-w-135px {
    min-width: 135px;
}
.min-w-140px {
    min-width: 140px;
}
.min-w-160px {
    min-width: 160px;
}
.min-w-180px {
    min-width: 180px;
}

/* w-NNNpx custom: integrano la serie Metronic (style.bundle.css definisce
   solo i multipli "ufficiali" 25/50/75 e centinaia tonde). Tenute qui per
   le viste MM che richiedono valori intermedi. */
.w-120px {
    width: 120px !important;
}
.w-130px {
    width: 130px !important;
}
.w-160px {
    width: 160px !important;
}
.w-180px {
    width: 180px !important;
}
.w-260px {
    width: 260px !important;
}

/* === Padding-top hack su tr === */
tr.pt-3 td {
    padding-top: .75rem !important;
}

/* === Pointer === */
.pointer {
    cursor: pointer !important;
}
.no-pointer {
    cursor: default !important;
}

/* === Vertical align === */
.v-top {
    vertical-align: top !important;
}

table.v-top td, table.v-top th {
    vertical-align: top !important;
}
table.v-middle td, table.v-middle th {
    vertical-align: middle !important;
}

/* === Colori semantici legacy (rename a .mm-text-* in Fase 8) === */
.orange {
    color: orange !important;
}

.red {
    color: red !important;
}

.green {
    color: green !important;
}

.gray {
    color: lightgray !important;
}

/* === Font size scale === */
.fs-10 {
    font-size: 10px !important;
}
.fs-11 {
    font-size: 11px !important;
}
.fs-12 {
    font-size: 12px !important;
}
.fs-13 {
    font-size: 13px !important;
}
.fs-14 {
    font-size: 14px !important;
}
.fs-16 {
    font-size: 16px !important;
}
.fs-18 {
    font-size: 18px !important;
}
.fs-20 {
    font-size: 20px !important;
}
.fs-22 {
    font-size: 22px !important;
}
.fs-24 {
    font-size: 24px !important;
}
.fs-26 {
    font-size: 26px !important;
}
.fs-28 {
    font-size: 28px !important;
}
.fs-30 {
    font-size: 30px !important;
}
.fs-32 {
    font-size: 32px !important;
}
.fs-34 {
    font-size: 34px !important;
}
.fs-40 {
    font-size: 40px !important;
}
.fs-100p {
    font-size: 100% !important;
}

/* === Border-left semantici (Bootstrap-bridged) === */
.border-left-danger {
    border-left: solid 4px var(--bs-text-danger) !important;
}

.border-left-success {
    border-left: solid 4px var(--bs-text-success) !important;
}
