/* Tenda3 custom styles */

.is-clickable {
    cursor: pointer;
}

.tag.is-clickable:hover {
    opacity: 0.8;
}

/* Compact buttons in action column */
td .button + .button {
    margin-left: 0.25rem;
}

/* ── Mobile responsive table ── */
/* On screens below 769px (Bulma's mobile breakpoint), stack each row as a card */
@media screen and (max-width: 768px) {
    .table-container {
        overflow-x: visible;
    }

    .table thead {
        display: none;
    }

    .table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dbdbdb;
        border-radius: 6px;
        padding: 0.5rem;
        background: #fff;
    }

    .table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 0.75rem;
        border: none;
        border-bottom: 1px solid #f5f5f5;
        text-align: right;
    }

    .table tbody td:last-child {
        border-bottom: none;
    }

    .table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    /* Let action buttons wrap naturally */
    .table tbody td[data-label="Actions"] {
        flex-wrap: wrap;
        gap: 0.25rem;
        justify-content: flex-end;
    }
}
