table.responsive-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.2);
    overflow: hidden;
}


table.responsive-table th,
table.responsive-table td {
    border: none;
    padding: 0.5rem;
    text-align: left;
    word-break: break-word;
    vertical-align: middle;

}


@media (max-width: 768px) {
    table.responsive-table,
    table.responsive-table thead,
    table.responsive-table tbody,
    table.responsive-table th,
    table.responsive-table td,
    table.responsive-table tr {
        display: block;
        width: 100%;
    }

    table.responsive-table thead {
        display: none;
    }

    table.responsive-table tr {
        margin-bottom: 1rem;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 0.75rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);

    }

    table.responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        position: relative;

    }

    table.responsive-table td::before {
        content: attr(data-label);
        font-weight: bold;
        opacity: 50%;
        flex: 1;
        text-transform: capitalize;
    }

    table.responsive-table td > * {
        flex: 2;
        text-align: right;
    }
}


