

/* Tabellen-Stil */
.olm-directory-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-color);
}

.olm-directory-table th,
.olm-directory-table td {
  padding: 6px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  /* Hintergrund, Appearance etc. falls nötig */
  background: none !important;
  -webkit-appearance: none;
  appearance: none;
}

/* Überschriften / Spaltentitel */
.olm-heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  color: var(--text-color);
  cursor: pointer;
  white-space: nowrap;
}

/* Sortier-Pfeile */
.olm-sort-arrows span {
  color: var(--inactive-arrow-color);
  font-size: 14px;
  user-select: none;
  transition: color 0.3s ease;
}

.olm-sort-arrows span.active {
  color: var(--active-arrow-color);
  font-weight: bold;
}

.olm-arrow {
  color: var(--inactive-arrow-color);
  transition: color 0.3s ease;
}

.olm-arrow.active {
  color: var(--active-arrow-color);
}

/* Links in Tabellenzellen */
.olm-cell a {
  color: var(--accent-color);
  text-decoration: none;
}

.olm-cell a:hover {
  text-decoration: underline;
}

/* Visits-Spalte: fixe Breite + saubere Zahlenausrichtung */
.olm-directory-table th.olm-col-visits,
.olm-directory-table td.olm-col-visits{
  width: 90px;            /* anpassen: 70–110px */
  white-space: nowrap;
}

.olm-directory-table td.olm-col-visits{
  text-align: right;
  padding: 6px 6px 6px 6px;   /* rechts 12px = schöner Innenabstand */
  font-variant-numeric: tabular-nums; /* Zahlen wirken “ruhiger” */
}

.olm-directory-table th.olm-col-date,
.olm-directory-table td.olm-col-date{
  text-align: right;
  white-space: nowrap;
  padding-right: 12px; /* schöner Abstand rechts */
}

/* ✅ Tabelle soll den Footer nach unten schieben */
.olm-directory-wrapper{
  position: static !important;
  float: none !important;
  clear: both !important;
  display: block !important;
  width: 100%;
  margin: 20px 0;
}

.olm-directory-table{
  position: static !important;
}