/*
 * Tables - Comparison tables and data tables
 */

.table-container {
  max-width: 800px;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table thead {
  background: linear-gradient(135deg, #1a2332 0%, #0d1421 100%);
  color: white;
}

.comparison-table th {
  padding: 18px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table th:first-child {
  width: 35%;
}

.comparison-table tbody tr {
  border-bottom: 1px solid rgba(26, 32, 44, 0.08);
  transition: background-color 0.15s ease;
}

.comparison-table tbody tr:hover {
  background-color: rgba(219, 30, 54, 0.02);
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table td {
  padding: 16px 20px;
  color: var(--slate-700);
  font-size: 0.95rem;
}

.comparison-table td.package-name {
  font-weight: 700;
  color: var(--slate-800);
}

.table-footer {
  max-width: 800px;
  margin: 32px auto 0;
  text-align: center;
}

.table-note-text {
  margin: 0 0 24px;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 20px;
}

.alt-bg .table-note-text {
  color: rgba(255, 255, 255, 0.85);
}

/* Responsive */
@media (max-width: 960px) {
  .table-container {
    margin: 24px 0;
    border-radius: 8px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 12px;
    font-size: 0.85rem;
  }

  .comparison-table th {
    font-size: 0.75rem;
    padding: 14px 12px;
  }

  .table-note-text {
    font-size: 0.875rem;
    padding: 0 12px;
  }
}
