.ub-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* DESKTOP ALIGNMENT FIX */
.ub-table th,
.ub-table td {
    border: 1px solid #ddd;
    padding: 10px;
    vertical-align: top;
    white-space: normal;
    word-wrap: break-word;
    text-align: left;        /* ← FORCE LEFT */
}

/* Ensure header text is left */
.ub-table th {
    font-weight: 600;
    text-align: left;
}

/* Title column width */
.ub-title,
.ub-title-col {
    min-width: 220px;
    font-weight: 600;
}

/* MOBILE STACKED VIEW */
@media (max-width: 768px) {

    .ub-table,
    .ub-table thead,
    .ub-table tbody,
    .ub-table th,
    .ub-table tr {
        display: block;
    }

    .ub-table thead {
        display: none;
    }

    .ub-table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
    }

    .ub-table td {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        text-align: left;
    }

    .ub-table td::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 10px;
    }
}
