.ds-table-frontend {
  width: 100%;
  border-collapse: collapse;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.ds-table-frontend thead tr {
  background: linear-gradient(90deg, #4a90e2, #0073aa);
  color: #fff;
  text-align: left;
  font-weight: 600;
}

.ds-table-frontend th, .ds-table-frontend td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

.ds-table-frontend tbody tr:hover {
  background-color: #f1f9ff;
  transition: background-color 0.3s ease;
}

@media screen and (max-width: 600px) {
  .ds-table-frontend, .ds-table-frontend thead, .ds-table-frontend tbody, .ds-table-frontend th, .ds-table-frontend td, .ds-table-frontend tr {
    display: block;
  }
  .ds-table-frontend thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .ds-table-frontend tr {
    margin-bottom: 1rem;
  }
  .ds-table-frontend td {
    border: none;
    position: relative;
    padding-left: 50%;
    text-align: right;
  }
  .ds-table-frontend td::before {
    position: absolute;
    top: 12px;
    left: 15px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    content: attr(data-label);
    font-weight: 600;
    text-align: left;
    color: #555;
  }
}
