/* Base Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

/* Table Cell Styling */
th,
td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}

/* Table Head Styling */
th {
  background-color: #343a40;
  color: #ffffff;
  font-weight: 500;
}

/* Row Hover Effect */
tr:hover {
  background-color: #f1f3f5;
}

/* Support Classes */
td.supported {
  background-color: #e3fcef;
  color: #2e7d32;
  font-weight: 500;
}

td.not-supported {
  background-color: #fcebea;
  color: #c62828;
  font-weight: 500;
}

td.platform-name {
  font-weight: 500;
  background-color: #f8f9fa;
  text-align: left;
}

td.suitable {
  font-style: italic;
  background-color: #f8f9fa;
}

/* Responsive Styling */
@media (max-width: 768px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 15px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 10px;
  }

  td {
    padding: 12px 12px 12px 50%;
    position: relative;
    text-align: left;
    box-sizing: border-box;
    min-height: 48px;
    display: block;
    font-size: 15px;
    line-height: 1.4;
  }

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    top: 12px;
    font-weight: 600;
    color: #495057;
    width: 45%;
    white-space: normal;
    text-align: left;
    font-size: 14px;
    line-height: 1.3;
  }
}
