.imta-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    box-sizing: border-box; /* Đảm bảo padding và border được tính vào chiều rộng */
}

.imta-table th,
.imta-table td {
    border-bottom: 1px solid #ddd !important;
    padding: 9px !important;
    text-align: left;
    border-top: none !important;
    width: 33.33%; /* Độ rộng mặc định cho desktop */
    box-sizing: border-box; /* Đảm bảo padding được tính vào */
}

.imta-table th {
    background-color: #d9edf7;
    font-weight: bold;
    color: #111 !important;
}

.imta-table td {
    color: #111;
    word-break: break-word; /* Đảm bảo nội dung dài tự xuống dòng */
}

.imta-table tr:nth-child(even) {
    background-color: #f1f1f1;
}

.imta-table tr:hover {
    background-color: #f1f1f1;
}

.imta-table ul {
    padding-bottom: 0px;
    padding-left: 0px;
    margin: 0;
}

.imta-table ul li {
    list-style: none !important;
}

/* Media query cho responsive */
@media (max-width: 600px) {
    .imta-table {
        
        width: 100%;
        overflow-x: auto; /* Thêm cuộn ngang nếu cần */
        box-sizing: border-box; /* Đảm bảo padding không ảnh hưởng */
    }

    .imta-table thead {
        display: none; /* Ẩn tiêu đề cột trên mobile */
    }

    .imta-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        background-color: #fff;
        width: 100%; /* Đảm bảo toàn bộ chiều rộng */
        box-sizing: border-box; /* Bao gồm padding và border */
        padding: 0; /* Loại bỏ padding thừa */
        margin-left: 0; /* Đảm bảo không bị thụt vào */
        margin-right: 0;
    }

    .imta-table td {
        display: block;
        width: 100% !important;
        text-align: center; /* Căn giữa nội dung */
        padding: 5px 0; /* Thêm padding đều cho căn giữa */
        border: none !important;
        background-color: inherit;
        box-sizing: border-box; /* Bao gồm padding */
        margin: 0 auto; /* Căn giữa nội dung */
    }

    .imta-table td:before {
        display: none; /* Ẩn nhãn :before */
    }

    .imta-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .imta-table ul {
        padding-left: 0;
        margin: 0;
        text-align: center; /* Căn giữa danh sách */
    }

    .imta-table ul li {
        margin-bottom: 5px;
        text-align: center; /* Căn giữa từng mục */
    }
}