
.eds-table-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  position: relative;
}

/*Haupttabelle*/

.eds-table {
  width: 100%;
  min-width: 720px;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  overflow: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/*Tabellen Kopf */

.eds-table thead th {
  position: sticky;
  top: 0;
  background: #e31e24;
  color: #ffffff;
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 2px solid #c11217;
  z-index: 2;
}

/* Runde Ecken */

.eds-table thead th:first-child {
  border-top-left-radius: 10px;
}

.eds-table thead th:last-child {
  border-top-right-radius: 10px;
}


/* Tabellenzellen */
.eds-table td {
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid #eee;

  white-space: normal;
  word-break: break-word;
  hyphens: auto;
}

/* Zebra Muster */

.eds-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}



.eds-table tbody tr:hover {
  background: #fff4f4;
  transition: background 0.2s ease;
}

/* letzte Zeile */

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


/* Handy optimierung*/


@media (max-width: 768px) {

  .eds-table {
    min-width: 650px;
  }

  .eds-table th,
  .eds-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

}


@media (max-width: 480px) {

  .eds-table {
    min-width: 520px;
  }

  .eds-table th,
  .eds-table td {
    padding: 10px 8px;
    font-size: 12.5px;
  }

}


@media (max-width: 768px) {

.eds-table-wrapper::before {
  content: "⇠ Tabelle wischen um mehr zu sehen ⇢";
  display: block;
  text-align: right;
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
}

}

@media (max-width: 768px) {

.eds-table-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  pointer-events: none;
}

}


@media (max-width: 800px) {

.eds-table-wrapper::before {
  animation: swipeHint 1.8s infinite;
}

}

@keyframes swipeHint {

 0% {
   transform: translateX(0);
   opacity: 0.7;
 }

 50% {
   transform: translateX(-6px);
   opacity: 1;
 }

 100% {
   transform: translateX(0);
   opacity: 0.7;
 }

}