.repo-section,
.abapgit-section {
  margin: 2rem 0;
}

/* Tabellen-Wrapper */

.table-wrap {
  margin: 1rem 0 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Basistabelle */

.repo-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.98rem;
  background: transparent;
}

.repo-table thead th,
.repo-table tbody td {
  padding: 0.95rem 1rem;
  text-align: left;
}

.repo-table thead th {
  vertical-align: bottom;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #444;
  border-bottom: 2px solid rgba(0, 0, 0, 0.14);
}

.repo-table tbody td {
  vertical-align: middle;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.repo-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Tabellenvarianten */

.repo-table.cols-2 th:nth-child(1),
.repo-table.cols-2 td:nth-child(1) {
  width: 38%;
}

.repo-table.cols-2 th:nth-child(2),
.repo-table.cols-2 td:nth-child(2) {
  width: 62%;
}

.repo-table.cols-3 th:nth-child(1),
.repo-table.cols-3 td:nth-child(1) {
  width: 30%;
}

.repo-table.cols-3 th:nth-child(2),
.repo-table.cols-3 td:nth-child(2) {
  width: 25%;
}

.repo-table.cols-3 th:nth-child(3),
.repo-table.cols-3 td:nth-child(3) {
  width: 45%;
}

/* Inhalte */

.repo-table code {
  display: inline-block;
  padding: 0.12rem 0.35rem;
  border-radius: 0.3rem;
  background-color: rgba(0, 0, 0, 0.04);
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.95em;
  white-space: nowrap;
}

.repo-table td:last-child,
.repo-table th:last-child {
  white-space: nowrap;
}

/* Link-Buttons */

.repo-link {
  display: inline-block;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  background-color: transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.repo-link:hover,
.repo-link:focus-visible {
  background-color: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transform: translateY(-1px);
}

/* abapGit-Bereich */

.abapgit-section {
  padding: 1.25rem 1.25rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  background-color: rgba(0, 0, 0, 0.02);
}

.abapgit-section h2 {
  margin-bottom: 0.75rem;
}

.abapgit-intro {
  margin: 0 0 1rem;
}

.abapgit-action {
  margin: 0 0 1rem;
}

.abapgit-copy-block {
  margin-top: 0.75rem;
}

.abapgit-copy-title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
}

.abapgit-copy-block pre {
  margin: 0;
  padding: 1rem 1.1rem;
  min-height: 5rem;
  overflow-x: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.55rem;
  background-color: rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  white-space: pre;
}

.abapgit-copy-block pre code {
  display: block;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre;
}

/* Mobile */

@media (max-width: 640px) {
  .repo-table {
    min-width: 34rem;
    font-size: 0.94rem;
  }

  .repo-table thead th,
  .repo-table tbody td {
    padding: 0.75rem;
  }

  .repo-link {
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
  }

  .abapgit-section {
    padding: 1rem;
  }

  .abapgit-copy-block pre {
    padding: 0.9rem 1rem;
    min-height: 4.5rem;
  }
}

/*.repo-section,
.abapgit-section {
  margin: 2rem 0;
}

/* Tabelle */

/*.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 2rem;
}

.repo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  background: transparent;
}

.repo-table thead th {
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #444;
  border-bottom: 2px solid rgba(0, 0, 0, 0.14);
}

.repo-table tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.repo-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.repo-table code {
  display: inline-block;
  padding: 0.12rem 0.35rem;
  border-radius: 0.3rem;
  background-color: rgba(0, 0, 0, 0.04);
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.95em;
}

/* Einheitliche Repo-Links */

/*.repo-link {
  display: inline-block;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  background-color: transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.repo-link:hover,
.repo-link:focus-visible {
  background-color: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transform: translateY(-1px);
}

/* abapGit-Bereich */

/*.abapgit-section {
  padding: 1.25rem 1.25rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  background-color: rgba(0, 0, 0, 0.02);
}

.abapgit-section h2 {
  margin-bottom: 0.75rem;
}

.abapgit-intro {
  margin: 0 0 1rem;
}

.abapgit-action {
  margin: 0 0 1rem;
}

.abapgit-copy-block {
  margin-top: 0.75rem;
}

.abapgit-copy-title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
}

.abapgit-copy-block pre {
  margin: 0;
  padding: 1rem 1.1rem;
  min-height: 5rem;
  overflow-x: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.55rem;
  background-color: rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  white-space: pre;
}

.abapgit-copy-block pre code {
  display: block;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre;
}

/* Mobile */

/*@media (max-width: 640px) {
  .repo-table thead th,
  .repo-table tbody td {
    padding: 0.75rem;
  }

  .repo-link {
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
  }

  .abapgit-section {
    padding: 1rem;
  }

  .abapgit-copy-block pre {
    padding: 0.9rem 1rem;
    min-height: 4.5rem;
  }
}*/