/**
 * Cyno Table Styles
 * @package Cyno
 * @subpackage Service List Table
 * @since 1.0.0
 * @version 1.0.0
 * @author Cyno
 * @link https://cyno.com.vn
 */

.cyno-table-container {
  margin: 20px 0;
  overflow-x: auto;
  border-radius: 10px;
}

.cyno-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cyno-table th {
  color: #fff;
  font-weight: 600;
  padding: 12px 15px;
  white-space: nowrap;
}

.cyno-table-column1 {
  background-color: #27bdbe;
  padding-left: 10px !important;
}

.cyno-table-column2 {
  background-color: #d85050;
  text-align: center;
}

.cyno-table-column3 {
  background-color: #27bdbe;
  text-align: center;
}

.cyno-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  vertical-align: top;
}

.column1-content {
  color: #000;
  padding-left: 10px !important;
  font-weight: 600;
  font-size: 13px;
}
.column2-content {
  color: #000000;
  text-align: center;
}
.column3-content {
  color: #000000;
  text-align: center;
}

.cyno-table tbody tr:hover {
  background-color: #f8f9fa;
}

.cyno-table tbody tr:nth-child(even) {
  background-color: #fdfdfd;
}

.cyno-table tbody tr:nth-child(even):hover {
  background-color: #f8f9fa;
}

/* Row lẻ (1, 3, 5...) - màu nền cho từng cột */
.cyno-table tbody tr:nth-child(odd) td:nth-child(1) {
  background-color: #e8ffff;
}

.cyno-table tbody tr:nth-child(odd) td:nth-child(2) {
  background-color: #ffeeee;
}

.cyno-table tbody tr:nth-child(odd) td:nth-child(3) {
  background-color: #e8ffff;
}

@media (max-width: 768px) {
  .cyno-table {
    font-size: 12px;
  }

  .cyno-table th,
  .cyno-table td {
    padding: 8px 10px;
  }
}
