@charset "utf-8";
.rounded-table {
  border-collapse: separate; /* ทำให้ border-radius ทำงานได้ */
  border-spacing: 0; /* ลบช่องว่างระหว่างเซลล์ */
  border-radius: 10px; /* ปรับค่าตามต้องการ */
  overflow: hidden; /* ป้องกันไม่ให้เนื้อหาล้น */
}

.rounded-table th,
.rounded-table td {
  padding: 8px;
  text-align: left;
  border: 0px solid #ddd; /* เส้นขอบ */
}

.rounded-table th {
  background-color: #f2f2f2; /* สีพื้นหลังส่วนหัว */
}

/* ปรับมุมบนซ้าย */
.rounded-table tr:first-child th:first-child,
.rounded-table tr:first-child td:first-child {
  border-top-left-radius: 10px;
}

/* ปรับมุมบนขวา */
.rounded-table tr:first-child th:last-child,
.rounded-table tr:first-child td:last-child {
  border-top-right-radius: 10px;
}

/* ปรับมุมล่างซ้าย */
.rounded-table tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

/* ปรับมุมล่างขวา */
.rounded-table tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}