/* ===== Omregneren – shared table styling ===== */
/* Brug: <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; /* gør at radius virker med zebra */
  box-shadow: 0 2px 4px rgba(0,0,0,0.10);
  background: #fff;
}

.o-table th,
.o-table td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  color: #111;
}

/* Header */
.o-table th {
  background-color: #c1cbf9;
  font-weight: 700;
}

/* Zebra */
.o-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover */
.o-table tbody tr:hover {
  background-color: #f1f5f9;
}

/* Nice numeric alignment option */
.o-table .is-num {
  font-variant-numeric: tabular-nums;
}

/* Responsive: lidt mindre tekst */
@media (max-width: 600px) {
  .o-table th,
  .o-table td {
    font-size: 14px;
  }
}
