/* ===== Shared Table Styling ===== */
/* Usage: <div class="o-table"><table>...</table></div> */

.o-table {
  width: 95%;
  margin: 24px auto;
  box-sizing: border-box;
}

.o-table * { box-sizing: border-box; }

.o-table table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden; /* ensures radius works with zebra */
  box-shadow: 0 2px 4px rgba(0,0,0,0.10);
  background: #fff;
}

.o-table th,
.o-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  color: #111;
}

/* Header styling */
.o-table th {
  background-color: #e6f2ff; /* light blue */
  font-weight: 700;
  text-align: left;
}

/* Zebra striping for tbody */
.o-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover effect for rows */
.o-table tbody tr:hover {
  background-color: #e6f2ff; /* light blue for hover */
}

/* Numeric alignment */
.o-table .is-num {
  font-variant-numeric: tabular-nums;
  text-align: left; /* align numbers to left */
}

/* Responsive: slightly smaller text on small screens */
@media (max-width: 600px) {
  .o-table th,
  .o-table td {
    font-size: 13px;
    padding: 6px 10px;
  }
}