table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

thead {
    background: linear-gradient(90deg, #f1f1f1, #e9ecef);
}

thead th {
    text-align: left;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 14px;
    color: #555;
}

tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

tbody tr:hover {
    background: #f1f1f1;
}

tbody td {
    padding: 12px 15px;
    vertical-align: middle;
}

tbody td img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

tbody tr:nth-child(even) {
    background: #fcfcfc;
}


table td a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

table td a:hover {
    color: inherit;
    text-decoration: none;
}

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

    thead tr {
        display: none;
    }

    tbody tr {
        margin-bottom: 20px;
        border-bottom: 2px solid #eee;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
        padding: 10px;
        border-radius: 8px;
        background: #fff;
    }

    tbody td {
        padding: 8px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        flex: 1;
        color: #555;
    }

    tbody td img {
        margin-right: 10px;
    }
}

