
/* =========================================================
   Geyssel Steuerungsportal V6.10.8
   Autoritative finale Theme-Schicht
   Wird NACH allen bisherigen CSS-Dateien geladen.
   ========================================================= */

:root{
  --gp-bg:#061f35;
  --gp-bg-2:#082a47;
  --gp-panel:#0a3559;
  --gp-panel-head:#0d4774;
  --gp-border:#2b6f9f;
  --gp-text:#ffffff;
  --gp-muted:#cfe2ef;

  --gp-light:#ffffff;
  --gp-light-2:#f3f8fb;
  --gp-light-text:#17324d;
  --gp-light-muted:#61798d;

  --gp-blue:#0d78c6;
  --gp-blue-hover:#1290df;
  --gp-blue-border:#5ca7d4;

  --gp-red:#8b1f31;
  --gp-red-border:#d36a7c;

  --gp-success:#1b7f58;
  --gp-warning:#b27b11;
}

/* ---------- Grundlayout ---------- */
body.geyssel-app-mode,
body.geyssel-portal-app,
body.geyssel-app-mode .geyssel-front,
body.geyssel-portal-app .geyssel-front{
  background:var(--gp-bg)!important;
  color:var(--gp-text)!important;
}

/* ---------- Dunkle Hauptflächen ---------- */
body.geyssel-app-mode .geyssel-front .geyssel-panel,
body.geyssel-app-mode .geyssel-front .geyssel-card,
body.geyssel-app-mode .geyssel-front .geyssel-master-card,
body.geyssel-app-mode .geyssel-front .geyssel-quick-card,
body.geyssel-app-mode .geyssel-front .geyssel-stat-link,
body.geyssel-portal-app .geyssel-front .geyssel-panel,
body.geyssel-portal-app .geyssel-front .geyssel-card,
body.geyssel-portal-app .geyssel-front .geyssel-master-card,
body.geyssel-portal-app .geyssel-front .geyssel-quick-card,
body.geyssel-portal-app .geyssel-front .geyssel-stat-link{
  background:var(--gp-panel)!important;
  border-color:var(--gp-border)!important;
  color:var(--gp-text)!important;
}

body.geyssel-app-mode .geyssel-front .geyssel-section-head,
body.geyssel-app-mode .geyssel-front .geyssel-master-card-head,
body.geyssel-portal-app .geyssel-front .geyssel-section-head,
body.geyssel-portal-app .geyssel-front .geyssel-master-card-head{
  background:var(--gp-panel-head)!important;
  border-color:var(--gp-border)!important;
  color:var(--gp-text)!important;
}

/* Nur dunkle Container bekommen weiße Textfarbe */
body.geyssel-app-mode .geyssel-front .geyssel-panel > h1,
body.geyssel-app-mode .geyssel-front .geyssel-panel > h2,
body.geyssel-app-mode .geyssel-front .geyssel-panel > h3,
body.geyssel-app-mode .geyssel-front .geyssel-panel > p,
body.geyssel-app-mode .geyssel-front .geyssel-section-head h1,
body.geyssel-app-mode .geyssel-front .geyssel-section-head h2,
body.geyssel-app-mode .geyssel-front .geyssel-section-head h3,
body.geyssel-app-mode .geyssel-front .geyssel-section-head p,
body.geyssel-app-mode .geyssel-front .geyssel-master-card-head h2,
body.geyssel-app-mode .geyssel-front .geyssel-master-card-head p{
  color:var(--gp-text)!important;
  -webkit-text-fill-color:var(--gp-text)!important;
}

/* ---------- Formfelder: immer hell und lesbar ---------- */
body.geyssel-app-mode .geyssel-front input[type="text"],
body.geyssel-app-mode .geyssel-front input[type="search"],
body.geyssel-app-mode .geyssel-front input[type="number"],
body.geyssel-app-mode .geyssel-front input[type="email"],
body.geyssel-app-mode .geyssel-front input[type="tel"],
body.geyssel-app-mode .geyssel-front input[type="date"],
body.geyssel-app-mode .geyssel-front input[type="time"],
body.geyssel-app-mode .geyssel-front input[type="password"],
body.geyssel-app-mode .geyssel-front select,
body.geyssel-app-mode .geyssel-front textarea,
body.geyssel-portal-app .geyssel-front input[type="text"],
body.geyssel-portal-app .geyssel-front input[type="search"],
body.geyssel-portal-app .geyssel-front input[type="number"],
body.geyssel-portal-app .geyssel-front input[type="email"],
body.geyssel-portal-app .geyssel-front input[type="tel"],
body.geyssel-portal-app .geyssel-front input[type="date"],
body.geyssel-portal-app .geyssel-front input[type="time"],
body.geyssel-portal-app .geyssel-front input[type="password"],
body.geyssel-portal-app .geyssel-front select,
body.geyssel-portal-app .geyssel-front textarea{
  background:var(--gp-light)!important;
  color:var(--gp-light-text)!important;
  -webkit-text-fill-color:var(--gp-light-text)!important;
  border:1px solid #9fb7ca!important;
  border-radius:9px!important;
  box-shadow:none!important;
}

body.geyssel-app-mode .geyssel-front input::placeholder,
body.geyssel-app-mode .geyssel-front textarea::placeholder,
body.geyssel-portal-app .geyssel-front input::placeholder,
body.geyssel-portal-app .geyssel-front textarea::placeholder{
  color:var(--gp-light-muted)!important;
  -webkit-text-fill-color:var(--gp-light-muted)!important;
  opacity:1!important;
}

body.geyssel-app-mode .geyssel-front select option,
body.geyssel-portal-app .geyssel-front select option{
  background:var(--gp-light)!important;
  color:var(--gp-light-text)!important;
}

body.geyssel-app-mode .geyssel-front input:focus,
body.geyssel-app-mode .geyssel-front select:focus,
body.geyssel-app-mode .geyssel-front textarea:focus{
  border-color:#47a7e4!important;
  box-shadow:0 0 0 3px rgba(71,167,228,.20)!important;
  outline:none!important;
}

/* ---------- Buttons: einheitlich blau + weiß ---------- */
body.geyssel-app-mode .geyssel-front .geyssel-btn,
body.geyssel-app-mode .geyssel-front button:not(.geyssel-link-danger),
body.geyssel-app-mode .geyssel-front input[type="submit"],
body.geyssel-portal-app .geyssel-front .geyssel-btn,
body.geyssel-portal-app .geyssel-front button:not(.geyssel-link-danger),
body.geyssel-portal-app .geyssel-front input[type="submit"]{
  background:var(--gp-blue)!important;
  border:1px solid var(--gp-blue-border)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-radius:9px!important;
  font-weight:800!important;
  text-decoration:none!important;
}

body.geyssel-app-mode .geyssel-front .geyssel-btn:hover,
body.geyssel-app-mode .geyssel-front .geyssel-btn:focus-visible,
body.geyssel-app-mode .geyssel-front button:not(.geyssel-link-danger):hover,
body.geyssel-app-mode .geyssel-front button:not(.geyssel-link-danger):focus-visible,
body.geyssel-app-mode .geyssel-front input[type="submit"]:hover{
  background:var(--gp-blue-hover)!important;
  border-color:#77bee9!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Auch „secondary“ ist blau/weiß, nur etwas dunkler */
body.geyssel-app-mode .geyssel-front .geyssel-btn.secondary,
body.geyssel-portal-app .geyssel-front .geyssel-btn.secondary{
  background:#0a5f9a!important;
  border-color:#4f9ccc!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Löschen/Danger bleibt semantisch rot */
body.geyssel-app-mode .geyssel-front .geyssel-btn.danger,
body.geyssel-app-mode .geyssel-front .geyssel-btn-danger,
body.geyssel-app-mode .geyssel-front .geyssel-btn-danger-small,
body.geyssel-portal-app .geyssel-front .geyssel-btn.danger,
body.geyssel-portal-app .geyssel-front .geyssel-btn-danger,
body.geyssel-portal-app .geyssel-front .geyssel-btn-danger-small{
  background:#a9293e!important;
  border-color:#d46a7c!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* ---------- Links: besucht = gleiche Farbe, nie grau/lila ---------- */
body.geyssel-app-mode .geyssel-front a:not(.geyssel-btn):link,
body.geyssel-app-mode .geyssel-front a:not(.geyssel-btn):visited,
body.geyssel-portal-app .geyssel-front a:not(.geyssel-btn):link,
body.geyssel-portal-app .geyssel-front a:not(.geyssel-btn):visited{
  color:#78c8ff!important;
  -webkit-text-fill-color:#78c8ff!important;
  text-decoration-color:currentColor!important;
}

body.geyssel-app-mode .geyssel-front a:not(.geyssel-btn):hover,
body.geyssel-app-mode .geyssel-front a:not(.geyssel-btn):focus-visible,
body.geyssel-portal-app .geyssel-front a:not(.geyssel-btn):hover,
body.geyssel-portal-app .geyssel-front a:not(.geyssel-btn):focus-visible{
  color:#b6e5ff!important;
  -webkit-text-fill-color:#b6e5ff!important;
}

/* Navigationslinks bleiben weiß – auch besucht */
body.geyssel-app-mode .geyssel-front .geyssel-desktop-nav a,
body.geyssel-app-mode .geyssel-front .geyssel-desktop-nav a:visited,
body.geyssel-app-mode .geyssel-front .geyssel-nav-more summary,
body.geyssel-app-mode .geyssel-front .geyssel-nav-more-menu a,
body.geyssel-app-mode .geyssel-front .geyssel-nav-more-menu a:visited,
body.geyssel-app-mode .geyssel-front .geyssel-nav-user a,
body.geyssel-app-mode .geyssel-front .geyssel-nav-user a:visited{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* ---------- Helle Boxen: immer dunkle Schrift ---------- */
body.geyssel-app-mode .geyssel-front .notification,
body.geyssel-app-mode .geyssel-front .geyssel-list-toolbar,
body.geyssel-app-mode .geyssel-front .geyssel-order-filters,
body.geyssel-app-mode .geyssel-front .geyssel-ticket-message,
body.geyssel-app-mode .geyssel-front .geyssel-problem-dashboard-item,
body.geyssel-app-mode .geyssel-front .geyssel-problem-right,
body.geyssel-app-mode .geyssel-front .geyssel-role-summary,
body.geyssel-app-mode .geyssel-front .geyssel-master-row,
body.geyssel-portal-app .geyssel-front .notification,
body.geyssel-portal-app .geyssel-front .geyssel-list-toolbar,
body.geyssel-portal-app .geyssel-front .geyssel-order-filters,
body.geyssel-portal-app .geyssel-front .geyssel-ticket-message,
body.geyssel-portal-app .geyssel-front .geyssel-problem-dashboard-item,
body.geyssel-portal-app .geyssel-front .geyssel-problem-right,
body.geyssel-portal-app .geyssel-front .geyssel-role-summary,
body.geyssel-portal-app .geyssel-front .geyssel-master-row{
  background:var(--gp-light-2)!important;
  color:var(--gp-light-text)!important;
  -webkit-text-fill-color:var(--gp-light-text)!important;
  border-color:#bdd0df!important;
}

body.geyssel-app-mode .geyssel-front .notification *,
body.geyssel-app-mode .geyssel-front .geyssel-list-toolbar *,
body.geyssel-app-mode .geyssel-front .geyssel-order-filters *,
body.geyssel-app-mode .geyssel-front .geyssel-ticket-message *,
body.geyssel-app-mode .geyssel-front .geyssel-problem-dashboard-item *,
body.geyssel-app-mode .geyssel-front .geyssel-problem-right *,
body.geyssel-app-mode .geyssel-front .geyssel-role-summary *,
body.geyssel-app-mode .geyssel-front .geyssel-master-row *{
  color:var(--gp-light-text)!important;
  -webkit-text-fill-color:var(--gp-light-text)!important;
}

/* Buttons innerhalb heller Kästchen bleiben blau/weiß */
body.geyssel-app-mode .geyssel-front .notification .geyssel-btn,
body.geyssel-app-mode .geyssel-front .geyssel-list-toolbar .geyssel-btn,
body.geyssel-app-mode .geyssel-front .geyssel-list-toolbar button,
body.geyssel-app-mode .geyssel-front .geyssel-order-filters .geyssel-btn,
body.geyssel-app-mode .geyssel-front .geyssel-order-filters button,
body.geyssel-app-mode .geyssel-front .geyssel-ticket-message .geyssel-btn,
body.geyssel-app-mode .geyssel-front .geyssel-problem-dashboard-item .geyssel-btn,
body.geyssel-app-mode .geyssel-front .geyssel-master-row .geyssel-btn{
  background:var(--gp-blue)!important;
  border-color:var(--gp-blue-border)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Links innerhalb heller Kästchen: blau, besucht bleibt blau */
body.geyssel-app-mode .geyssel-front .notification a:not(.geyssel-btn),
body.geyssel-app-mode .geyssel-front .notification a:not(.geyssel-btn):visited,
body.geyssel-app-mode .geyssel-front .geyssel-ticket-message a:not(.geyssel-btn),
body.geyssel-app-mode .geyssel-front .geyssel-ticket-message a:not(.geyssel-btn):visited,
body.geyssel-app-mode .geyssel-front .geyssel-problem-dashboard-item:link,
body.geyssel-app-mode .geyssel-front .geyssel-problem-dashboard-item:visited,
body.geyssel-app-mode .geyssel-front .geyssel-master-row a:not(.geyssel-btn),
body.geyssel-app-mode .geyssel-front .geyssel-master-row a:not(.geyssel-btn):visited{
  color:#0b67a3!important;
  -webkit-text-fill-color:#0b67a3!important;
}

/* ---------- Tabellen ---------- */
body.geyssel-app-mode .geyssel-front table.geyssel-table,
body.geyssel-portal-app .geyssel-front table.geyssel-table{
  background:var(--gp-panel)!important;
  border-color:var(--gp-border)!important;
}

body.geyssel-app-mode .geyssel-front table.geyssel-table th,
body.geyssel-portal-app .geyssel-front table.geyssel-table th{
  background:var(--gp-panel-head)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:var(--gp-border)!important;
}

body.geyssel-app-mode .geyssel-front table.geyssel-table td,
body.geyssel-portal-app .geyssel-front table.geyssel-table td{
  background:#0a3559!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:var(--gp-border)!important;
}

body.geyssel-app-mode .geyssel-front table.geyssel-table tbody tr:nth-child(even) td{
  background:#082a47!important;
}

/* Tabellenlinks ebenfalls stabil */
body.geyssel-app-mode .geyssel-front table.geyssel-table a:not(.geyssel-btn),
body.geyssel-app-mode .geyssel-front table.geyssel-table a:not(.geyssel-btn):visited{
  color:#8bd0ff!important;
  -webkit-text-fill-color:#8bd0ff!important;
}

/* ---------- Dashboard Steuerungsprobleme bleibt rot ---------- */
body.geyssel-app-mode .geyssel-front .geyssel-problem-dashboard-box,
body.geyssel-app-mode .geyssel-front .geyssel-dashboard-problems,
body.geyssel-portal-app .geyssel-front .geyssel-problem-dashboard-box,
body.geyssel-portal-app .geyssel-front .geyssel-dashboard-problems{
  background:var(--gp-red)!important;
  border-color:var(--gp-red-border)!important;
  color:#fff!important;
}

body.geyssel-app-mode .geyssel-front .geyssel-problem-dashboard-box > .geyssel-section-head,
body.geyssel-app-mode .geyssel-front .geyssel-dashboard-problems > .geyssel-section-head{
  background:var(--gp-red)!important;
  border-color:transparent!important;
}

body.geyssel-app-mode .geyssel-front .geyssel-problem-dashboard-box > .geyssel-section-head *,
body.geyssel-app-mode .geyssel-front .geyssel-dashboard-problems > .geyssel-section-head *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Die einzelnen Problemkarten dürfen hell bleiben und sind dunkel lesbar */
body.geyssel-app-mode .geyssel-front .geyssel-dashboard-problems .geyssel-problem-dashboard-item,
body.geyssel-app-mode .geyssel-front .geyssel-dashboard-problems .geyssel-problem-dashboard-item *{
  color:var(--gp-light-text)!important;
  -webkit-text-fill-color:var(--gp-light-text)!important;
}

/* ---------- Status-Badges ---------- */
body.geyssel-app-mode .geyssel-front .status-new,
body.geyssel-app-mode .geyssel-front .status-accepted,
body.geyssel-app-mode .geyssel-front .status-material_ordered,
body.geyssel-app-mode .geyssel-front .status-in_production,
body.geyssel-app-mode .geyssel-front .status-ready,
body.geyssel-app-mode .geyssel-front .status-shipped,
body.geyssel-app-mode .geyssel-front .status-cancelled{
  color:var(--gp-light-text)!important;
  -webkit-text-fill-color:var(--gp-light-text)!important;
}

/* ---------- Stammdaten ---------- */
body.geyssel-app-mode .geyssel-front .geyssel-master-card-body{
  background:var(--gp-panel)!important;
}

body.geyssel-app-mode .geyssel-front .geyssel-master-row{
  background:var(--gp-light-2)!important;
  color:var(--gp-light-text)!important;
}

body.geyssel-app-mode .geyssel-front .geyssel-master-row input,
body.geyssel-app-mode .geyssel-front .geyssel-master-row select{
  background:#fff!important;
  color:var(--gp-light-text)!important;
  -webkit-text-fill-color:var(--gp-light-text)!important;
}

body.geyssel-app-mode .geyssel-front .geyssel-master-badge.active{
  background:var(--gp-success)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.geyssel-app-mode .geyssel-front .geyssel-master-badge.inactive{
  background:#5f7180!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.geyssel-app-mode .geyssel-front .geyssel-master-badge.standard{
  background:#126da9!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* ---------- Mobile / enge Ansichten ---------- */
@media(max-width:980px){
  body.geyssel-app-mode .geyssel-front .geyssel-stock-order-buttons,
  body.geyssel-app-mode .geyssel-front .geyssel-quick-actions,
  body.geyssel-app-mode .geyssel-front .geyssel-dashboard-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:760px){
  body.geyssel-app-mode .geyssel-front .geyssel-stock-order-buttons,
  body.geyssel-app-mode .geyssel-front .geyssel-quick-actions,
  body.geyssel-app-mode .geyssel-front .geyssel-dashboard-stats{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   V6.10.10 – Einheitliche Listen-/Tabellen-Darstellung
   Alle Listen im Portalstil dunkelblau mit weißer Schrift
   ========================================================= */

/* Standard-Plugin-Tabellen komplett vereinheitlichen */
body.geyssel-app-mode .geyssel-front table,
body.geyssel-app-mode .geyssel-front table thead,
body.geyssel-app-mode .geyssel-front table tbody,
body.geyssel-app-mode .geyssel-front table tr,
body.geyssel-app-mode .geyssel-front table th,
body.geyssel-app-mode .geyssel-front table td,
body.geyssel-portal-app .geyssel-front table,
body.geyssel-portal-app .geyssel-front table thead,
body.geyssel-portal-app .geyssel-front table tbody,
body.geyssel-portal-app .geyssel-front table tr,
body.geyssel-portal-app .geyssel-front table th,
body.geyssel-portal-app .geyssel-front table td{
  border-color:var(--gp-border)!important;
}

/* Tabellenkopf */
body.geyssel-app-mode .geyssel-front table th,
body.geyssel-portal-app .geyssel-front table th{
  background:var(--gp-panel-head)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
}

/* Alle Tabellenzeilen dunkel – keine hellen Ausreißer mehr */
body.geyssel-app-mode .geyssel-front table tbody tr,
body.geyssel-portal-app .geyssel-front table tbody tr{
  background:#082c4a!important;
}

body.geyssel-app-mode .geyssel-front table tbody tr:nth-child(odd),
body.geyssel-app-mode .geyssel-front table tbody tr:nth-child(even),
body.geyssel-portal-app .geyssel-front table tbody tr:nth-child(odd),
body.geyssel-portal-app .geyssel-front table tbody tr:nth-child(even){
  background:#082c4a!important;
}

/* Jede Tabellenzelle dunkelblau + weiße Schrift */
body.geyssel-app-mode .geyssel-front table tbody td,
body.geyssel-app-mode .geyssel-front table tbody td *,
body.geyssel-portal-app .geyssel-front table tbody td,
body.geyssel-portal-app .geyssel-front table tbody td *{
  background:transparent!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  vertical-align:middle!important;
}

/* Leicht alternierende Zeilen, aber weiterhin dunkel */
body.geyssel-app-mode .geyssel-front table tbody tr:nth-child(even) td,
body.geyssel-portal-app .geyssel-front table tbody tr:nth-child(even) td{
  background:#0a3559!important;
}
body.geyssel-app-mode .geyssel-front table tbody tr:nth-child(odd) td,
body.geyssel-portal-app .geyssel-front table tbody tr:nth-child(odd) td{
  background:#082c4a!important;
}

/* Hover */
body.geyssel-app-mode .geyssel-front table tbody tr:hover td,
body.geyssel-portal-app .geyssel-front table tbody tr:hover td{
  background:#0d426c!important;
}

/* Aktionsspalte: Buttons sauber sichtbar */
body.geyssel-app-mode .geyssel-front table .geyssel-btn,
body.geyssel-app-mode .geyssel-front table button,
body.geyssel-portal-app .geyssel-front table .geyssel-btn,
body.geyssel-portal-app .geyssel-front table button{
  background:var(--gp-blue)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid var(--gp-blue-border)!important;
}

/* Tabellen-Links immer lesbar */
body.geyssel-app-mode .geyssel-front table a:not(.geyssel-btn),
body.geyssel-app-mode .geyssel-front table a:not(.geyssel-btn):visited,
body.geyssel-portal-app .geyssel-front table a:not(.geyssel-btn),
body.geyssel-portal-app .geyssel-front table a:not(.geyssel-btn):visited{
  color:#8fd4ff!important;
  -webkit-text-fill-color:#8fd4ff!important;
}

/* Status-Badges nicht überschreiben, nur Text lesbar halten */
body.geyssel-app-mode .geyssel-front table .status-new,
body.geyssel-app-mode .geyssel-front table .status-accepted,
body.geyssel-app-mode .geyssel-front table .status-material_ordered,
body.geyssel-app-mode .geyssel-front table .status-in_production,
body.geyssel-app-mode .geyssel-front table .status-ready,
body.geyssel-app-mode .geyssel-front table .status-shipped,
body.geyssel-app-mode .geyssel-front table .status-cancelled,
body.geyssel-app-mode .geyssel-front table .status-installed,
body.geyssel-app-mode .geyssel-front table .status-mounted,
body.geyssel-app-mode .geyssel-front table .status-received,
body.geyssel-portal-app .geyssel-front table .status-new,
body.geyssel-portal-app .geyssel-front table .status-accepted,
body.geyssel-portal-app .geyssel-front table .status-material_ordered,
body.geyssel-portal-app .geyssel-front table .status-in_production,
body.geyssel-portal-app .geyssel-front table .status-ready,
body.geyssel-portal-app .geyssel-front table .status-shipped,
body.geyssel-portal-app .geyssel-front table .status-cancelled,
body.geyssel-portal-app .geyssel-front table .status-installed,
body.geyssel-portal-app .geyssel-front table .status-mounted,
body.geyssel-portal-app .geyssel-front table .status-received{
  color:#17324d!important;
  -webkit-text-fill-color:#17324d!important;
  font-weight:800!important;
}

/* Avatar-/Profilspalte sichtbar und mittig */
body.geyssel-app-mode .geyssel-front table td img,
body.geyssel-portal-app .geyssel-front table td img{
  display:inline-block!important;
  vertical-align:middle!important;
  background:transparent!important;
}

/* Scrollbare Tabellencontainer bekommen denselben Stil */
body.geyssel-app-mode .geyssel-front .geyssel-table-wrap,
body.geyssel-app-mode .geyssel-front .table-responsive,
body.geyssel-app-mode .geyssel-front .geyssel-list-wrap,
body.geyssel-portal-app .geyssel-front .geyssel-table-wrap,
body.geyssel-portal-app .geyssel-front .table-responsive,
body.geyssel-portal-app .geyssel-front .geyssel-list-wrap{
  background:var(--gp-panel)!important;
  border:1px solid var(--gp-border)!important;
  border-radius:12px!important;
}


/* =========================================================
   V6.10.12 – Globaler Tabellen-Override gegen WP widefat/striped
   ========================================================= */

/* Portal-Tabellen immer einheitlich dunkel, unabhängig von Body-Klassen */
.geyssel-front .widefat,
.geyssel-front table.widefat,
.geyssel-front table.striped,
.geyssel-front .widefat thead,
.geyssel-front .widefat tbody,
.geyssel-front .widefat tfoot{
  background:#082c4a!important;
  color:#fff!important;
  border-color:var(--gp-border)!important;
}

.geyssel-front .widefat thead tr,
.geyssel-front .widefat thead th,
.geyssel-front table.widefat thead tr,
.geyssel-front table.widefat thead th{
  background:var(--gp-panel-head)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:var(--gp-border)!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
}

/* WordPress striped überschreiben */
.geyssel-front .widefat.striped > tbody > :nth-child(odd),
.geyssel-front .widefat.striped > tbody > :nth-child(odd) > *,
.geyssel-front table.widefat.striped > tbody > tr:nth-child(odd),
.geyssel-front table.widefat.striped > tbody > tr:nth-child(odd) > td,
.geyssel-front table.widefat.striped > tbody > tr:nth-child(odd) > th{
  background:#082c4a!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

.geyssel-front .widefat.striped > tbody > :nth-child(even),
.geyssel-front .widefat.striped > tbody > :nth-child(even) > *,
.geyssel-front table.widefat.striped > tbody > tr:nth-child(even),
.geyssel-front table.widefat.striped > tbody > tr:nth-child(even) > td,
.geyssel-front table.widefat.striped > tbody > tr:nth-child(even) > th{
  background:#0a3559!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Fallback für alle anderen Portal-Tabellen */
.geyssel-front table:not(.status-demo) tbody tr,
.geyssel-front table:not(.status-demo) tbody tr > td,
.geyssel-front table:not(.status-demo) tbody tr > th{
  border-color:var(--gp-border)!important;
}

.geyssel-front table:not(.status-demo) tbody tr:nth-child(odd) > td,
.geyssel-front table:not(.status-demo) tbody tr:nth-child(odd) > th{
  background:#082c4a!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

.geyssel-front table:not(.status-demo) tbody tr:nth-child(even) > td,
.geyssel-front table:not(.status-demo) tbody tr:nth-child(even) > th{
  background:#0a3559!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

.geyssel-front table:not(.status-demo) tbody tr:hover > td,
.geyssel-front table:not(.status-demo) tbody tr:hover > th{
  background:#0d426c!important;
}

/* Alle Inhalte in Tabellenzellen lesbar */
.geyssel-front table tbody td,
.geyssel-front table tbody th,
.geyssel-front table tbody td p,
.geyssel-front table tbody td span:not([class*="status-"]),
.geyssel-front table tbody td strong,
.geyssel-front table tbody td small,
.geyssel-front table tbody td div,
.geyssel-front table tbody td label{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Tabellen-Links lesbar und nicht grau nach Nutzung */
.geyssel-front table tbody td a:not(.button):not(.geyssel-btn),
.geyssel-front table tbody td a:not(.button):not(.geyssel-btn):visited,
.geyssel-front table thead th a,
.geyssel-front table thead th a:visited{
  color:#d9eeff!important;
  -webkit-text-fill-color:#d9eeff!important;
  text-decoration:none!important;
}

/* Aktions-Buttons in allen Listen */
.geyssel-front table .button,
.geyssel-front table .button:visited,
.geyssel-front table .geyssel-btn,
.geyssel-front table .geyssel-btn:visited{
  background:var(--gp-blue)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid var(--gp-blue-border)!important;
  box-shadow:none!important;
}

/* Status-Badges behalten ihre Farbe, Text bleibt lesbar */
.geyssel-front table .status,
.geyssel-front table [class*="status-"]{
  font-weight:800!important;
}

/* Profilbilder / Avatare */
.geyssel-front table td img,
.geyssel-front table td .avatar{
  background:transparent!important;
  vertical-align:middle!important;
}

/* Scroll-Container um Listen herum sauber dunkel */
.geyssel-front .geyssel-list-table-wrap,
.geyssel-front .geyssel-table-wrap,
.geyssel-front .table-responsive,
.geyssel-front .list-table-wrap{
  background:var(--gp-panel)!important;
  border:1px solid var(--gp-border)!important;
  border-radius:12px!important;
}
