:root {
  --bg-1: #0b1020;
  --bg-2: #111936;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --surface-tint: #eef4ff;
  --line: #d7e3f4;
  --line-strong: #bfd0ea;
  --text: #132238;
  --muted: #61748d;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --secondary: #7c3aed;
  --accent: #06b6d4;
  --success: #16a34a;
  --warning: #ea580c;
  --danger: #dc2626;
  --shadow-lg: 0 24px 70px rgba(9, 18, 38, .18);
  --shadow-md: 0 14px 34px rgba(18, 34, 56, .10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.admin-body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124,58,237,.22), transparent 28%),
    radial-gradient(circle at top right, rgba(6,182,212,.18), transparent 24%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 34%, #172554 100%);
}

body.admin-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,.02), rgba(255,255,255,0));
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }

.page-shell { padding: 34px 18px 48px; }
.page-container { max-width: 1320px; margin: 0 auto; }

.login-card,
.table-card,
.form-card,
.preview-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.98));
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.login-card {
  max-width: 520px;
  margin: 8vh auto 0;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}
.login-card__header h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.1;
}
.login-card__header p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1rem;
}

.login-form, .entry-form { margin: 0; }
.form-row { display: grid; gap: 8px; margin-bottom: 18px; text-align: left; }
.form-row label {
  font-weight: 700;
  letter-spacing: .01em;
  color: #1b3252;
}
.password-wrap { position: relative; }
.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(37,99,235,.08);
  color: var(--primary-strong);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: none;
}

input[type="text"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(37,99,235,.65);
  box-shadow: 0 0 0 5px rgba(37,99,235,.12);
  background: #fff;
}
input.is-filled, textarea.is-filled, select.is-filled { background: #fcfdff; }

input[type="submit"], button {
  appearance: none;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: .01em;
  padding: 13px 18px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(74, 66, 227, .24);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
input[type="submit"]:hover, button:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.form-actions { display: flex; gap: 12px; align-items: center; }
.form-actions--end { justify-content: flex-end; }

.admin-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
}
.admin-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.admin-nav a:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(37,99,235,.95), rgba(124,58,237,.95));
  border-color: transparent;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,244,255,.96));
  color: #17315a;
  box-shadow: var(--shadow-md);
  font-size: 1.15rem;
}
.section-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.section-subtitle { margin: 0 0 24px; color: rgba(255,255,255,.82); }

.inline-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.98));
  box-shadow: var(--shadow-lg);
}
.inline-form label {
  font-weight: 800;
  color: #1a3457;
}
.inline-form input[type="text"],
.inline-form select {
  width: auto;
  min-width: 260px;
  background: var(--surface-soft);
}
.inline-form--danger {
  border: 1px solid rgba(220,38,38,.16);
  background: linear-gradient(180deg, #fff, #fff7f7);
}
.inline-form--danger input[type="submit"] {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 14px 30px rgba(220,38,38,.22);
}

.table-card {
  padding: 10px;
  overflow-x: auto;
}
.table-card table, .editor-table { border-collapse: collapse; border-spacing: 0; }
.data-table {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}
.data-table th {
  padding: 16px;
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
}
.data-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.data-table tr:nth-child(even) td { background: #f9fbff; }
.data-table tr:hover td { background: #eef5ff; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td a {
  font-weight: 700;
  color: #173f8a;
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
  gap: 24px;
  align-items: start;
}
.form-card, .preview-card { padding: 20px; }
.form-card {
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "Formular";
  position: absolute;
  top: 0;
  right: 0;
  padding: 9px 14px;
  border-radius: 0 24px 0 18px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.editor-table { width: 100%; }
.editor-table td {
  padding: 12px 8px;
  vertical-align: top;
}
.editor-table td:first-child {
  width: 168px;
  font-weight: 800;
  color: #17315a;
  padding-top: 18px;
}
.editor-table p[id$="-count-text"] {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f8ff;
  color: #49617e;
  font-size: 14px;
}

.preview-card {
  position: sticky;
  top: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,250,255,.98));
}
.preview-card__header {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.preview-card__header span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.12));
  color: #17315a;
  font-size: 1rem;
  font-weight: 900;
}
.preview-card__header small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.serp {
  width: 100%;
  min-height: 240px;
  height: auto;
  float: none;
  margin: 0;
  padding: 22px;
  border: 1px solid #d7e5f8;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.serp-titel {
  width: 100%;
  height: auto;
  margin-top: 0;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #1a0dab;
  line-height: 1.28;
}
.serp-url {
  width: 100%;
  height: auto;
  margin-top: 7px;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #006621;
  word-break: break-word;
}
.serp-beschreibung {
  width: 100%;
  height: auto;
  margin-top: 10px;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
}
.red { color: var(--danger); font-weight: 800; }
.green { color: var(--success); font-weight: 800; }
.serp-rating {
  width: 100%;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.5;
  color: #545454;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.serp-stars {
  color: #fbbc04;
  font-size: 15px;
  letter-spacing: 1px;
  margin-right: 4px;
}
.serp-rating-text { color: #545454; }

.notice {
  padding: 14px 16px;
  border-radius: 16px;
  margin: 18px 0;
  font-weight: 700;
  background: linear-gradient(180deg, #ecfdf3, #f5fff8);
  color: #166534;
  border: 1px solid #bbf7d0;
  box-shadow: var(--shadow-md);
}
.notice--warn {
  background: linear-gradient(180deg, #fff1f2, #fff8f8);
  color: #9f1239;
  border-color: #fecdd3;
}

br + .table-card,
br + .inline-form,
br + .editor-layout { margin-top: 8px; }

/* Detailansicht Premium */
.table-card--details {
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: hidden;
}

.table-card__header--details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,248,255,.98));
}

.table-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #17315a;
}

.table-card__subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.table-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 280px;
}

.table-toolbar__search {
  width: 100%;
}

.table-search-input {
  width: 100%;
  min-width: 260px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
}

.table-toolbar__meta {
  display: flex;
  justify-content: flex-end;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(124,58,237,.10));
  color: #17315a;
  font-weight: 700;
  white-space: nowrap;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table-responsive--details {
  width: 100%;
  overflow-x: auto;
}

.data-table--details {
  width: 100%;
  table-layout: fixed;
}

.data-table--details thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.data-table--details th:first-child,
.data-table--details td:first-child {
  width: auto;
}

.data-table--details .col-actions {
  width: 260px;
  text-align: center;
}

.url-cell {
  	overflow-wrap: break-word;
	font-size: 14px;	
  	line-height: 1.5;
}

.entry-link {
  display: inline-block;
  color: #173f8a;
  font-weight: 700;
}

.entry-link:hover {
  text-decoration: underline;
}

.actions-cell {
  text-align: center;
  white-space: nowrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  margin: 4px 6px 4px 0;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;   /* ← Text immer weiß */
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.action-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.action-btn--edit {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 24px rgba(74, 66, 227, .20);
}

.action-btn--delete {
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 10px 24px rgba(220, 38, 38, .18);
}

.action-btn--edit,
.action-btn--delete {
    color: #ffffff !important;
}

.action-btn--edit:hover,
.action-btn--delete:hover {
    color: #ffffff !important;
}

/* SEO */
.seo-score-box {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #eef4ff;
  border-radius: 12px;
  font-weight: 700;
}

input.seo-good, textarea.seo-good {
  border: 2px solid #16a34a !important;
}

input.seo-bad, textarea.seo-bad {
  border: 2px solid #dc2626 !important;
}

.editor-layout-serp {
  grid-template-columns: 1fr;
}

.preview-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  margin-top: 20px;
}

.serp-mobile {
  max-width: 360px;
  font-size: 0.9em;
  transform: scale(.9);
  transform-origin: top left;
}

@media (max-width: 980px) {
  .editor-layout { grid-template-columns: 1fr; }
  .preview-card { position: static; }
  .table-card__header--details {
    flex-direction: column;
    align-items: stretch;
  }
  .table-toolbar {
    min-width: 100%;
  }
  .table-toolbar__meta {
    justify-content: flex-start;
  }
  .preview-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell { padding: 18px 12px 32px; }
  .login-card, .form-card, .preview-card { padding: 18px; }
  .admin-nav { padding: 12px; }
  .admin-nav a { flex: 1 1 100%; }
  .inline-form { align-items: stretch; }
  .inline-form input[type="text"],
  .inline-form select,
  .inline-form input[type="submit"] { width: 100%; }
  .editor-table td, .editor-table tr { display: block; width: 100%; }
  .editor-table td:first-child { width: 100%; padding-bottom: 6px; }
  .table-card__header--details { padding: 18px; }
  .table-search-input { min-width: 100%; }
  .data-table--details .col-actions { width: 190px; }
  .action-btn {
    min-width: 86px;
    padding: 9px 12px;
    font-size: 13px;
  }
}
.icon-btn{
font-size:18px;
text-decoration:none;
display:inline-flex;
align-items:center;
justify-content:center;
width:36px;
height:36px;
border-radius:8px;
transition:all .2s ease;
}

.icon-btn.edit{
background:#2563eb20;
}

.icon-btn.delete{
background:#dc262620;
}

.icon-btn:hover{
transform:scale(1.1);
}

.table-toolbar--details {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(234,88,12,.10), rgba(220,38,38,.10));
  color: #8a2f0a;
  font-weight: 700;
  white-space: nowrap;
}

.filter-toggle input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.col-seo,
.col-status {
  width: 110px;
  text-align: center;
}

.seo-cell,
.status-cell {
  text-align: center !important;
}

.seo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
}

.seo-badge--good {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.seo-badge--bad {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.status-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
}

.status-flag--warn {
  background: rgba(234, 88, 12, .14);
  color: #c2410c;
}

.status-flag--ok {
  background: rgba(22, 163, 74, .14);
  color: #15803d;
}

.entry-row--needs-work td {
  background-image: linear-gradient(0deg, rgba(255, 244, 230, .45), rgba(255, 244, 230, .45));
}

.seo-hint {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  color: #7c2d12;
  box-shadow: var(--shadow-md);
}

@media (max-width: 760px) {
  .col-seo,
  .col-status {
    width: 90px;
  }

  .filter-toggle {
    width: 100%;
    justify-content: center;
  }
}
.table-toolbar--details {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.warning-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff8e8;
  border: 1px solid #f7d9a5;
  color: #8a5a00;
  font-weight: 700;
}

.warning-filter input {
  width: auto;
  margin: 0;
}

.is-sortable {
  cursor: pointer;
  user-select: none;
}

.sort-indicator {
  display: inline-block;
  margin-left: 6px;
  font-weight: 900;
}

.col-seo {
  width: 110px;
  text-align: center;
}

.col-status {
  width: 320px;
}

.seo-cell,
.status-cell {
  vertical-align: middle;
}

.seo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
}

.seo-badge.seo-ok {
  background: #16a34a;
}

.seo-badge.seo-bad {
  background: #dc2626;
}

.status-good {
  color: #166534;
  font-weight: 700;
}

.status-warning {
  color: #b45309;
  font-weight: 700;
}

.icon-btn {
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: all .2s ease;
}

.icon-btn.edit {
  background: #2563eb20;
}

.icon-btn.delete {
  background: #dc262620;
}

.icon-btn:hover {
  transform: scale(1.08);
}

.actions-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.data-table td.show-entries {
  text-align: center;
}
.warning-filter{
margin-left:10px;
}
.seo-bar-wrapper{
margin-top:8px;
}

.seo-bar{
height:8px;
border-radius:6px;
background:#e5e7eb;
overflow:hidden;
position:relative;
}

.seo-bar-fill{
height:100%;
width:0%;
transition:width .3s ease;
}

.seo-bar-fill.green{
background:#16a34a;
}

.seo-bar-fill.yellow{
background:#eab308;
}

.seo-bar-fill.red{
background:#dc2626;
}
.seo-bar-wrapper{
  margin-top:8px;
}

.seo-bar{
  height:8px;
  border-radius:999px;
  background:#e5e7eb;
  overflow:hidden;
  position:relative;
}

.seo-bar-fill{
  height:100%;
  width:0%;
  transition:width .2s ease, background .2s ease;
}

.seo-bar-fill.green{
  background:#16a34a;
}

.seo-bar-fill.yellow{
  background:#eab308;
}

.seo-bar-fill.red{
  background:#dc2626;
}

.seo-bar-label{
  margin-top:6px;
  font-size:13px;
  font-weight:700;
  color:#49617e;
}

.seo-score-bar{
  margin-top:10px;
  height:10px;
  border-radius:999px;
  background:#dbe3f0;
  overflow:hidden;
}

.seo-score-bar-fill{
  height:100%;
  width:0%;
  transition:width .2s ease, background .2s ease;
}

.seo-score-bar-fill.green{
  background:#16a34a;
}

.seo-score-bar-fill.yellow{
  background:#eab308;
}

.seo-score-bar-fill.red{
  background:#dc2626;
}

.seo-good{
  border:2px solid #16a34a !important;
}

.seo-bad{
  border:2px solid #dc2626 !important;
}

.green{
  color:#16a34a;
}

.red{
  color:#dc2626;
}
.table-card__header--details{
border-radius:18px;
margin-top:14px;
margin-bottom:14px;
overflow:hidden;
}
.seo-cell,
.status-cell,
.actions-cell {
    text-align: center !important;
    vertical-align: middle;
}

.seo-cell span,
.status-cell span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.seo-badge{
min-width:60px;
justify-content:center;
}
/* MOD1 Zentrierung */
.count-cell,
.show-entries {
    text-align: center !important;
    vertical-align: middle;
}

.show-entries a {
    display: inline-block;
}
.count-cell {
    width: 80px;
    font-weight: 700;
}

.show-entries {
    width: 200px;
}
.table-toolbar--details{
display:flex;
align-items:center;
gap:12px;
flex-wrap:wrap;
}
.table-toolbar--details{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:nowrap;
}

.table-toolbar--details .table-toolbar__search{
  width:auto;
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 1 auto;
}

.table-toolbar--details .table-search-input{
  min-width:320px;
}
@media (max-width: 760px){
  .table-toolbar--details{
    flex-wrap:wrap;
    justify-content:flex-start;
  }

  .table-toolbar--details .table-toolbar__search{
    width:100%;
  }

  .table-toolbar--details .table-search-input{
    min-width:0;
    width:100%;
  }
}
.table-toolbar.table-toolbar--details{
  display:flex;
  flex-direction:row !important;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:nowrap;
}

.table-toolbar.table-toolbar--details .warning-filter{
  order:1;
  margin-left:0;
  flex:0 0 auto;
}

.table-toolbar.table-toolbar--details .table-toolbar__search{
  order:2;
  width:auto;
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 1 auto;
}

.table-toolbar.table-toolbar--details .table-search-input{
  min-width:320px;
  width:320px;
}

.table-toolbar.table-toolbar--details .result-badge{
  flex:0 0 auto;
}
.category-alert{
  display:inline-block;
  margin-left:8px;
  color:#ea580c;
  font-weight:800;
}
.keywords-count-text{
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f8ff;
  color: #49617e;
  font-size: 14px;
}

.keywords-count-text.green{
  color:#16a34a;
}

.keywords-count-text.yellow{
  color:#eab308;
}

.keywords-count-text.red{
  color:#dc2626;
}
#keywords-count-text{
display:none !important;
}
.table-toolbar.table-toolbar--details .table-toolbar__search{
  width:auto;
  display:flex;
  align-items:center;
  gap:10px;
}
.entry-form input[type="submit"],
.entry-form .btn-delete {
    height: 42px;
    line-height: 42px;
    padding: 0 18px;
    white-space: nowrap;      /* verhindert Umbruch */
    display: inline-block;
    vertical-align: middle;
}