/*
 * Diese Datei ist bewusst separat angelegt,
 * damit du das Frontend-Styling später leicht anpassen kannst.
 */

.ptm-frontend-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ptm-frontend-controls input,
.ptm-frontend-controls select {
  max-width: 240px;
}

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

.ptm-frontend-table th,
.ptm-frontend-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.ptm-frontend-table th {
  white-space: nowrap;
}

.ptm-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.ptm-no-button {
  cursor: default;
}

.ptm-sort-indicator::before {
  content: '↕';
  font-size: 12px;
  opacity: 0.6;
}

th[data-order='asc'] .ptm-sort-indicator::before {
  content: '▲';
  opacity: 1;
}

th[data-order='desc'] .ptm-sort-indicator::before {
  content: '▼';
  opacity: 1;
}

/* Neu machen */
.ptm-frontend-table th, .ptm-sort-button span {
  white-space: nowrap;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  font-family: Saira;
  text-transform: none;
  color: #063376;

}



.ptm-frontend-table th, .ptm-frontend-table td {
  padding: 10px;
  border: none;
  text-align: left;
  font-size: 14px;

}
.ptm-frontend-table th {
  border-bottom: 2px solid #063376;
}

.ptm-frontend-table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}
.ptm-sort-indicator {
  color: #777 !important;
}

.ptm-sort-indicator::before {
  opacity: 0.6;
  position: static;
  font-family: "Font Awesome 6 Free";
  content: "\f0dc";
  width: min-content;
  font-weight: 700;
  display: inline-block;
  font-size: 0.8em;
}

th[data-order="asc"] .ptm-sort-indicator::before {
  opacity: 1;
  position: static;
  font-family: "Font Awesome 6 Free";
  content: "\f0de";
  width: min-content;
  font-weight: 700;
  display: inline-block;
  font-size: 0.8em;
}

th[data-order="desc"] .ptm-sort-indicator::before {
  opacity: 1;
  position: static;
  font-family: "Font Awesome 6 Free";
  content: "\f0dd";
  width: min-content;
  font-weight: 700;
  display: inline-block;
  font-size: 0.8em;
}
button {
  font-size: 11px;
  background: #eee;
  color: #063376;
  border: 1px solid #ccc;
  border-radius: 15px;
  line-height: 1;
  padding: 6px;
  margin-left: auto;
  display: block;

}
.ptm-frontend {
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.ptm-frontend-table tbody tr:nth-child(odd) {
  background-color: #f0f0f0;
}