/**
 * Eisbären Eppelheim - Strafenkatalog – Automatisch generierte CSS-Datei
 * Version:  2026.1.0
 * Compiler: scssphp-manual
 * Erstellt: 2026-09-09 13:35:42
 * NICHT MANUELL BEARBEITEN – Änderungen in /assets/scss/ vornehmen
 */

@charset "UTF-8";
/**
 * style.scss – Haupt-SCSS für den ECE Strafenkatalog
 * 
 * Importiert alle Partial-SCSS-Dateien in der korrekten Reihenfolge.
 * Variablen und Mixins müssen zuerst geladen werden.
 * 
 * HINWEIS: @import statt @use/@forward!
 * Der eingesetzte Compiler (scssphp) unterstützt das Sass-Modulsystem
 * (@use/@forward) bisher nicht – weder in Version 1.x noch 2.x. Alle
 * Partials binden ihre Variablen/Mixins daher global über @import ein
 * (kein Namespacing wie "vars.$farbe", einfach "$farbe").
 * 
 * Kompilierung: sass assets/scss/style.scss assets/css/style.css --style=compressed
 * Watch-Modus:  sass --watch assets/scss/style.scss:assets/css/style.css
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
:root {
  --color-primary:     #121137;
  --color-primary-dark:#0A0A22;
  --color-primary-bg:  #EAF0F8;
  --color-success:     #2E7D32;
  --color-success-bg:  #E8F5E9;
  --color-warning:     #F57F17;
  --color-warning-bg:  #FFFDE7;
  --color-error:       #C62828;
  --color-error-bg:    #FFEBEE;
  --color-info:        #1565C0;
  --color-secondary-1: #B0B0B0;
  --color-secondary-2: #6C6B6B;
  --border-color:      #E0E0E0;
  --border-color-dark: #BDBDBD;
  --text-primary:       #212121;
  --text-secondary:     #757575;
  --text-muted:         #9E9E9E;
  --shadow-sm:          0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-lg:          0 10px 25px rgba(0, 0, 0, 0.1);
  --tab-bar-height:     36px;
  --nav-height:         56px;
  --header-total:       92px;
}
/**
 * _base.scss – CSS-Reset und Basis-Styles
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.rich-text-editable ul, .rich-text-editable ol {
  padding-left: 24px;
  margin: 4px 0;
}
.rich-text-editable li {
  margin-bottom: 2px;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #212121;
  background: #F5F5F5;
  min-height: 100vh;
  overflow-x: hidden;
}
body.app-loaded {
  overflow: hidden;
  height: 100vh;
}
a {
  color: #1976D2;
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: #121137;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  line-height: inherit;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb {
  background: #B0B0B0;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6C6B6B;
}
.hidden {
  display: none !important;
}
.invisible {
  visibility: hidden !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.flex-1 {
  flex: 1;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-sm {
  gap: 8px;
}
.gap-md {
  gap: 16px;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-muted {
  color: #9E9E9E;
}
.text-danger {
  color: #C62828;
}
.text-success {
  color: #2E7D32;
}
.text-sm {
  font-size: 0.875rem;
}
.text-xs {
  font-size: 0.75rem;
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.font-medium {
  font-weight: 500;
}
.align-right {
  text-align: right !important;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mt-sm {
  margin-top: 8px;
}
.mt-md {
  margin-top: 16px;
}
.mb-sm {
  margin-bottom: 8px;
}
.mb-md {
  margin-bottom: 16px;
}
.p-sm {
  padding: 8px;
}
.p-md {
  padding: 16px;
}
/**
 * _layout.scss – Grundgerüst, App-Wrapper, Content-Header, Seiten-Layouts
 *
 * Drei fixierte Ebenen übereinander:
 *   top:0      h:36px  → #tab-bar    (z:400)
 *   top:36px   h:56px  → #main-nav   (z:390)
 *   top:92px   bottom:0 → #app-wrapper (z:1)
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
#app-wrapper {
  position: fixed;
  top: 92px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  overflow: hidden;
  background: #F5F5F5;
  z-index: 1;
}
#tab-contents {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#app-wrapper.sidebar-visible #tab-contents {
  margin-left: 280px;
}
.tab-content {
  display: none;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  min-height: 0;
}
.tab-content.active {
  display: flex;
}
.content-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 14px;
  background: #121137;
  flex-shrink: 0;
  height: auto;
  min-height: 48px;
  position: sticky;
  top: 0;
  z-index: 50;
  transform: translateZ(0);
  will-change: transform;
}
.content-header-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  white-space: normal;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 2px;
  column-gap: 8px;
  padding: 4px 0;
}
.content-header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.content-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
  pointer-events: auto;
}
.content-header-btn:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
}
.header-green {
  background: #2E7D32 !important;
}
.header-blue {
  background: #1565C0 !important;
}
.header-purple {
  background: #6A1B9A !important;
}
.header-teal {
  background: #00838F !important;
}
.header-orange {
  background: #E65100 !important;
}
.header-brown {
  background: #8D6E63 !important;
}
.header-indigo {
  background: #3949AB !important;
}
.page-list-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.page-list-sidebar {
  width: 300px;
  flex-shrink: 0;
  border-right: 1px solid #E0E0E0;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  transition: width 0.15s ease;
}
.page-list-sidebar.tabelle-modus {
  width: 100%;
}
.page-list-sidebar.tabelle-modus ~ .page-list-main {
  display: none;
}
.page-list-main {
  flex: 1;
  overflow-y: auto;
  background: #F5F5F5;
  min-width: 0;
}
.artikel-grid {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.artikel-liste-sidebar {
  width: 300px;
  flex-shrink: 0;
  border-right: 1px solid #E0E0E0;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  transition: width 0.15s ease;
}
.artikel-liste-sidebar.tabelle-modus {
  width: 100%;
}
.artikel-liste-sidebar.tabelle-modus ~ #artikelDetail {
  display: none;
}
.ansicht-toggle-group {
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.ansicht-toggle-group .content-header-btn {
  border: none;
  border-radius: 0;
}
.ansicht-toggle-group .content-header-btn:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.view-toggle-btn.active {
  background: rgba(255, 255, 255, 0.9);
  color: #121137;
}
#artikelDetail {
  flex: 1;
  overflow-y: auto;
  background: #F5F5F5;
  min-width: 0;
}
.section-box {
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}
.section-box-header {
  padding: 8px 12px;
  background: linear-gradient(135deg, #4A5A85 0%, #35426A 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-box-header.lieferant-header {
  background: #E65100;
}
.section-box-body {
  padding: 12px;
}
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 14px;
  background: #fafafa;
  border-bottom: 1px solid #E0E0E0;
  flex-shrink: 0;
}
.filter-bar .form-control {
  font-size: 0.8125rem;
  padding: 5px 10px;
  height: 32px;
  width: auto;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 0.875rem;
  border: 1px solid #E0E0E0;
  background: #fff;
  cursor: pointer;
  transition: all 0.12s;
}
.page-btn:hover, .page-btn.active {
  background: #121137;
  color: #fff;
  border-color: #121137;
}
/**
 * _navigation.scss – Tab-Leiste und Hauptnavigation
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
#tab-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: #1A1A1A;
  z-index: 400;
  display: flex;
  align-items: flex-end;
  padding: 0 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  user-select: none;
}
#tab-bar::-webkit-scrollbar {
  display: none;
}
#tabs-container {
  display: flex;
  align-items: flex-end;
  height: 100%;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 30px;
  border-radius: 6px 6px 0 0;
  background: #333;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  max-width: 200px;
  min-width: 80px;
  align-self: flex-end;
  border: none;
  outline: none;
  transition: background 0.15s, color 0.15s;
  pointer-events: auto;
  position: relative;
}
.tab:hover {
  background: #444;
  color: rgba(255, 255, 255, 0.92);
}
.tab.active {
  background: #F5F5F5;
  color: #212121;
  font-weight: 600;
}
.tab span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  pointer-events: none;
}
.tab > i {
  pointer-events: none;
  flex-shrink: 0;
  font-size: 0.72rem;
}
.tab-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.5;
  flex-shrink: 0;
  padding: 0;
  margin-left: 2px;
  transition: opacity 0.15s, background 0.15s;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.tab-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}
.tab.active .tab-close:hover {
  background: rgba(0, 0, 0, 0.1);
}
.tab-close > i {
  pointer-events: none;
  font-size: 0.6rem;
}
#btn-new-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-bottom: 2px;
  transition: all 0.15s;
  pointer-events: auto;
}
#btn-new-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}
#main-nav {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  height: 56px;
  background: #2C2C2C;
  z-index: 390;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
  flex-shrink: 0;
  padding: 2px;
}
.nav-logo img {
  display: block;
  height: 100%;
  width: auto;
  border-radius: 4px;
}
.nav-logo:hover {
  background: rgba(255, 255, 255, 0.1);
}
.nav-items {
  display: flex;
  align-items: center;
  gap: 1px;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 9px 3px;
  color: rgba(255, 255, 255, 0.65);
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.15s;
  white-space: nowrap;
  min-width: 52px;
  text-align: center;
  pointer-events: auto;
}
.nav-item i {
  font-size: 0.95rem;
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.nav-item.active {
  background: #121137;
  color: #fff;
}
.nav-center {
  flex: 1;
  max-width: 360px;
  margin: 0 auto;
}
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 10px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 1;
}
#global-search {
  width: 100%;
  padding: 6px 32px 6px 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  font-family: inherit;
  transition: all 0.15s;
}
#global-search::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
#global-search:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(18, 17, 55, 0.25);
}
.btn-search-clear {
  position: absolute;
  right: 9px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.75rem;
  padding: 4px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.15s;
}
.btn-search-clear:hover {
  color: rgba(255, 255, 255, 0.9);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.nav-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 9px 3px;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 500;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  pointer-events: auto;
}
.nav-action-btn i {
  font-size: 0.95rem;
}
.nav-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.nav-action-primary {
  background: #121137 !important;
  color: #fff !important;
}
.nav-action-primary:hover {
  background: #0A0A22 !important;
}
.nav-btn-label {
  font-size: 0.68rem;
  line-height: 1;
}
.icon-with-badge {
  position: relative;
  display: inline-block;
}
.icon-with-badge .icon-badge {
  position: absolute;
  top: -3px;
  right: -6px;
  font-size: 0.5em;
  color: inherit;
}
.nav-user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8125rem;
  transition: all 0.15s;
  user-select: none;
}
.nav-user:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  min-width: 160px;
  overflow: hidden;
  display: none;
  border: 1px solid #E0E0E0;
  z-index: 500;
}
.nav-user.dropdown-open .nav-user-dropdown {
  display: block;
}
.nav-user-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: #212121;
  font-size: 0.875rem;
  transition: background 0.12s;
  text-decoration: none;
}
.nav-user-dropdown a:hover {
  background: #F5F5F5;
  color: #121137;
}
#search-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: #fff;
  border-right: 1px solid #E0E0E0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.08);
}
#search-sidebar.hidden {
  display: none;
}
.search-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #E0E0E0;
  background: #fafafa;
  font-size: 0.875rem;
  font-weight: 500;
  flex-shrink: 0;
}
.search-sidebar-header button {
  color: #9E9E9E;
  padding: 4px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.12s;
}
.search-sidebar-header button:hover {
  background: #E0E0E0;
  color: #212121;
}
#search-results-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
}
.search-result-item {
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.12s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.search-result-item:hover {
  background: #EAF0F8;
}
.search-result-type {
  font-size: 0.72rem;
  color: #9E9E9E;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}
.search-result-name {
  font-weight: 500;
  font-size: 0.875rem;
  color: #212121;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-result-sub {
  font-size: 0.8rem;
  color: #757575;
}
/**
 * _buttons.scss – Button-Stile
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
  line-height: 1.4;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-primary {
  background: #121137;
  color: #fff;
  border-color: #121137;
}
.btn-primary:hover {
  background: #0A0A22;
  border-color: #0A0A22;
  color: #fff;
}
.btn-secondary {
  background: #f5f5f5;
  color: #212121;
  border-color: #E0E0E0;
}
.btn-secondary:hover {
  background: #e9e9e9;
}
.btn-success {
  background: #2E7D32;
  color: #fff;
  border-color: #2E7D32;
}
.btn-success:hover {
  background: #1B5E20;
}
.btn-danger {
  background: #C62828;
  color: #fff;
  border-color: #C62828;
}
.btn-danger:hover {
  background: #a01010;
  color: #fff;
}
.btn-outline {
  background: transparent;
  border-color: #121137;
  color: #121137;
}
.btn-outline:hover {
  background: #EAF0F8;
}
.btn-sm {
  padding: 4px 10px;
  font-size: 0.8125rem;
}
.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
}
.btn-icon {
  padding: 6px;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/**
 * _cards.scss – Karten (Cards) und Modals
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
.card {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #121137 0%, #0A0A22 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  flex-wrap: wrap;
}
.card-header.green-header {
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
}
.card-header.blue-header {
  background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
}
.card-header.grey-header {
  background: linear-gradient(135deg, #455A64 0%, #263238 100%);
}
.card-header.darkred-header {
  background: linear-gradient(135deg, #0A0E2E 0%, #05071A 100%);
}
.card-body {
  padding: 14px;
}
.card-footer {
  padding: 10px 14px;
  border-top: 1px solid #E0E0E0;
  background: #fafafa;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.modal-overlay.active {
  display: flex;
}
.modal {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 800px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.2s ease;
  position: relative;
  z-index: 700;
}
.modal-sm {
  max-width: 460px;
}
.modal-md {
  max-width: 620px;
}
.modal-lg {
  max-width: 940px;
}
.modal-xl {
  max-width: 1200px;
}
.modal-fullscreen {
  max-width: 98vw;
  max-height: 96vh;
}
@keyframes modalSlideIn {
  from {
    transform: translateY(-16px) scale(0.97);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(135deg, #121137 0%, #0A0A22 100%);
  color: #fff;
  border-radius: 8px 8px 0 0;
  flex-shrink: 0;
  cursor: move;
  user-select: none;
}
.modal-header.red-header {
  background: linear-gradient(135deg, #121137 0%, #0A0A22 100%);
}
.modal-header.blue-header {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}
.modal-header.green-header {
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
}
.modal-header.grey-header {
  background: linear-gradient(135deg, #455A64 0%, #263238 100%);
}
.modal-header h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-controls {
  display: flex;
  align-items: center;
  gap: 3px;
}
.modal-btn-minimize, .modal-btn-maximize, .modal-btn-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.12s;
  font-size: 0.8rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}
.modal-btn-minimize:hover, .modal-btn-maximize:hover {
  background: rgba(255, 255, 255, 0.15);
}
.modal-btn-close:hover {
  background: rgba(255, 0, 0, 0.3);
  color: #fff;
}
.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}
.modal-body-no-padding {
  padding: 0;
}
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 18px;
  border-top: 1px solid #E0E0E0;
  background: #fafafa;
  border-radius: 0 0 8px 8px;
  flex-shrink: 0;
}
/**
 * _forms.scss – Formular-Elemente
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #757575;
  margin-bottom: 4px;
}
.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  font-size: 0.9375rem;
  color: #212121;
  background-color: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: inherit;
}
.form-control:focus {
  border-color: #121137;
  box-shadow: 0 0 0 3px rgba(18, 17, 55, 0.12);
}
.form-control:read-only, .form-control[readonly] {
  background: #fafafa;
  color: #757575;
}
.form-control:disabled {
  background: #f5f5f5;
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}
textarea.form-control {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}
select.form-control {
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236C6B6B' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  padding-right: 30px !important;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.form-check input[type="checkbox"], .form-check input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #121137;
  flex-shrink: 0;
}
.password-wrapper {
  position: relative;
}
.password-wrapper .form-control {
  padding-right: 40px;
}
.btn-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9E9E9E;
  padding: 4px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.15s ease;
}
.btn-password-toggle:hover {
  color: #212121;
}
.dropdown-item-aktiv {
  background: #EAF0F8 !important;
}
/**
 * _alerts.scss – Alerts, Badges, Spinner, Empty-State, Toasts
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  border: 1px solid transparent;
}
.alert-success {
  background: #E8F5E9;
  color: #1B5E20;
  border-color: #A5D6A7;
}
.alert-warning {
  background: #FFFDE7;
  color: #E65100;
  border-color: #FFE082;
}
.alert-danger {
  background: #FFEBEE;
  color: #B71C1C;
  border-color: #EF9A9A;
}
.alert-info {
  background: #E3F2FD;
  color: #0D47A1;
  border-color: #90CAF9;
}
.doc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 26px;
  white-space: nowrap;
  line-height: 1.4;
}
.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid #E0E0E0;
  border-top-color: #121137;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  flex-shrink: 0;
}
.spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  border-radius: inherit;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  color: #9E9E9E;
  text-align: center;
  gap: 12px;
  flex: 1;
  min-height: 200px;
}
.empty-state i {
  font-size: 2.8rem;
  opacity: 0.22;
}
.empty-state p {
  font-size: 0.9375rem;
  max-width: 300px;
  line-height: 1.5;
}
.empty-state .btn {
  margin-top: 4px;
}
#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #1565C0;
  min-width: 240px;
  max-width: 380px;
  animation: toastSlideIn 0.25s ease, toastFadeOut 0.3s ease 2.7s forwards;
  font-size: 0.875rem;
  pointer-events: auto;
}
.toast-success {
  border-left-color: #2E7D32;
}
.toast-error {
  border-left-color: #C62828;
}
.toast-warning {
  border-left-color: #F57F17;
}
@keyframes toastSlideIn {
  from {
    transform: translateX(110%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes toastFadeOut {
  to {
    opacity: 0;
    transform: translateX(110%);
  }
}
/**
 * _login.scss – Login-Seite und Passwort-Reset
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
body.login-page {
  background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 50%, #0A0A22 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: auto;
}
.login-container {
  width: 100%;
  max-width: 420px;
}
.login-box {
  background: #fff;
  border-radius: 12px;
  padding: 38px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: loginSlideIn 0.38s ease;
}
@keyframes loginSlideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.login-logo {
  text-align: center;
  margin-bottom: 26px;
}
.login-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(18, 17, 55, 0.38);
  border-radius: 6px;
  overflow: hidden;
}
.login-logo-icon img {
  display: block;
  width: 90px;
  height: auto;
}
.login-logo h1 {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.3px;
}
.login-subtitle {
  font-size: 0.85rem;
  color: #9E9E9E;
  margin-top: 4px;
}
.btn-login {
  width: 100%;
  justify-content: center;
  padding: 11px;
  font-size: 0.9375rem;
  border-radius: 6px;
  margin-top: 6px;
}
.forgot-pw-link {
  color: #9E9E9E;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.forgot-pw-link:hover {
  color: #121137;
}
#passwordStrength {
  margin-top: 6px;
}
.strength-bar-wrapper {
  height: 4px;
  background: #E0E0E0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 3px;
}
#strengthBar {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}
#strengthLabel {
  font-size: 0.75rem;
}
#matchIndicator {
  font-size: 0.75rem;
  margin-top: 4px;
}
.caps-warning, .login-client-error {
  font-size: 0.8rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.caps-warning {
  color: #F57F17;
}
.login-client-error {
  color: #C62828;
}
/**
 * _dashboard.scss – Startseite / Dashboard
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
.dashboard-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  min-height: 0;
}
.dashboard-top-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.dashboard-card {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  max-height: 350px;
  display: flex;
  flex-direction: column;
}
.dashboard-card-header {
  padding: 9px 14px;
  background: linear-gradient(135deg, #121137 0%, #0A0A22 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.dashboard-card-header.blue {
  background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
}
.dashboard-card-header.indigo {
  background: #3949AB;
}
.dashboard-card-header.purple {
  background: #6A1B9A;
}
.dashboard-card-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
}
.recently-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.12s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.recently-item:hover {
  background: #EAF0F8;
}
.recently-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.recently-item-content {
  flex: 1;
  min-width: 0;
}
.recently-item-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #212121;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recently-item-sub {
  font-size: 0.78rem;
  color: #9E9E9E;
}
.newest-doc-item {
  display: flex;
  flex-direction: column;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.12s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  gap: 2px;
}
.newest-doc-item:hover {
  background: #E3F2FD;
}
.newest-doc-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}
.newest-doc-company {
  font-size: 0.875rem;
  font-weight: 500;
  color: #212121;
}
.newest-doc-title {
  font-size: 0.8rem;
  color: #757575;
}
.dashboard-wiedervorlage {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.wiedervorlage-header {
  padding: 9px 14px;
  background: linear-gradient(135deg, #121137 0%, #0A0A22 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.wiedervorlage-filter-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 0.78rem;
  cursor: pointer;
  border: none;
  color: #fff;
  transition: background 0.12s;
}
.wiedervorlage-filter-btn:hover {
  background: rgba(255, 255, 255, 0.32);
}
.wiedervorlage-counter {
  margin-left: auto;
  font-size: 0.85rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wiedervorlage-table-container {
  overflow-x: auto;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}
/**
 * _einstellungen.scss – Einstellungen-Modal
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
.settings-toolbar {
  position: sticky;
  top: -18px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: -18px -18px 14px -18px;
  padding: 14px 18px 10px 18px;
  background: #fff;
  border-bottom: 1px solid #E0E0E0;
}
.settings-search {
  position: relative;
}
.settings-search i {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #9E9E9E;
  font-size: 0.875rem;
  pointer-events: none;
}
.settings-search input {
  width: 100%;
  padding: 7px 12px 7px 32px;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.12s;
}
.settings-search input:focus {
  border-color: #121137;
}
.settings-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
.settings-category-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: #757575;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s;
}
.settings-category-tab:hover {
  color: #121137;
}
.settings-category-tab:focus-visible {
  outline: 2px solid #121137;
  outline-offset: -2px;
}
.settings-category-tab.active {
  color: #121137;
  border-bottom-color: #121137;
}
.settings-category-panel {
  display: none;
}
.settings-empty-state {
  display: none;
  padding: 34px 14px;
  text-align: center;
  color: #9E9E9E;
  font-size: 0.875rem;
}
.settings-empty-state i {
  margin-right: 6px;
}
.settings-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settings-accordion-item {
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  overflow: hidden;
}
.settings-accordion-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #4A5A85 0%, #35426A 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.12s;
}
.settings-accordion-header:hover {
  opacity: 0.92;
}
.settings-accordion-header:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}
.settings-accordion-header.dark-header {
  background: linear-gradient(135deg, #0A0E2E 0%, #05071A 100%);
}
.accordion-arrow {
  transition: transform 0.2s ease;
  transform-origin: center;
}
.settings-accordion-item.open .settings-accordion-header .accordion-arrow {
  transform: rotate(180deg);
}
.settings-accordion-body {
  padding: 14px;
  background: #fff;
  max-height: 50vh;
  overflow-y: auto;
}
.settings-accordion-body:has(.settings-editable-table) {
  padding-top: 0;
}
.settings-editable-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: separate;
  border-spacing: 0;
}
.settings-editable-table th, .settings-editable-table td {
  padding: 5px 9px;
  text-align: left;
  border-bottom: 1px solid #E0E0E0;
  font-size: 0.875rem;
}
.settings-editable-table th {
  font-weight: 600;
  color: #757575;
  background: #fafafa;
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 1px 0 #E0E0E0;
}
.settings-editable-table th.sortable {
  cursor: pointer;
  user-select: none;
}
.settings-editable-table th.sortable:hover {
  background: #f0f0f0;
  color: #212121;
}
.settings-editable-table th.sort-asc::after {
  content: " ↑";
  color: #121137;
}
.settings-editable-table th.sort-desc::after {
  content: " ↓";
  color: #121137;
}
.settings-editable-table tr:hover td {
  background: #EAF0F8;
}
.settings-editable-table tr.editing td {
  background: #EDE7F6;
}
.settings-editable-table .inline-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.875rem;
  padding: 2px 3px;
  outline: none;
  font-family: inherit;
}
.settings-editable-table .inline-input:focus {
  border-bottom: 2px solid #121137;
  background: #fff;
}
.settings-new-row td {
  background: #f0f8ff !important;
}
.user-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.user-list-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 12px;
  background: #fafafa;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  transition: background 0.12s;
}
.user-list-item:hover {
  background: #EAF0F8;
}
.user-list-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-name {
  flex: 1;
  font-weight: 500;
}
.user-fullname {
  font-weight: 400;
  color: #9E9E9E;
  margin-left: 4px;
}
.user-permissions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.user-perm-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
  background: #E3F2FD;
  color: #1565C0;
}
.user-perm-none {
  font-size: 0.75rem;
  color: #9E9E9E;
  font-style: italic;
}
.user-status {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}
.user-status.active {
  background: #E8F5E9;
  color: #2E7D32;
}
.user-status.inactive {
  background: #F5F5F5;
  color: #757575;
}
/**
 * _modals.scss – Platzhalter
 *
 * TODO: Dieser Bereich ist im ersten Entwurf noch nicht ausgestaltet.
 * Wird von style.scss bereits importiert, damit die Kompilierung nicht
 * fehlschlägt – hier können die Styles für den modals-Bereich ergänzt werden.
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
/**
 * _tables.scss – Tabellen und Tabellen-Container
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.data-table thead th {
  padding: 8px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  color: #757575;
  background: #fafafa;
  border-bottom: 2px solid #E0E0E0;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 10;
}
.data-table thead th.sortable {
  cursor: pointer;
  user-select: none;
}
.data-table thead th.sortable:hover {
  background: #f0f0f0;
  color: #212121;
}
.data-table thead th.sort-asc::after {
  content: " ↑";
  color: #121137;
}
.data-table thead th.sort-desc::after {
  content: " ↓";
  color: #121137;
}
.data-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.055);
  transition: background 0.12s;
}
.data-table tbody tr:hover {
  background: rgba(18, 17, 55, 0.03);
}
.data-table tbody tr.selected {
  background: #E3F2FD;
}
.data-table tbody td {
  padding: 7px 12px;
  color: #212121;
  vertical-align: middle;
}
.table-actions {
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.table-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  color: #757575;
  transition: all 0.12s;
  font-size: 0.85rem;
  border: none;
  background: none;
  cursor: pointer;
  pointer-events: auto;
}
.table-action-btn:hover {
  background: #E0E0E0;
  color: #212121;
}
.table-action-btn.edit:hover {
  background: #E3F2FD;
  color: #1565C0;
}
.table-action-btn.delete:hover {
  background: #FFEBEE;
  color: #C62828;
}
.table-action-btn.view:hover {
  background: #E8F5E9;
  color: #2E7D32;
}
.table-container {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.table-container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid #E0E0E0;
  gap: 10px;
  flex-wrap: wrap;
  background: #fafafa;
}
.table-container-title {
  font-weight: 600;
  font-size: 0.9375rem;
}
.table-responsive {
  overflow-x: auto;
  overflow-y: auto;
}
.table-striped tbody tr:nth-child(even) {
  background: #fafafa;
}
.table-striped tbody tr:nth-child(even):hover {
  background: rgba(18, 17, 55, 0.03);
}
.table-compact thead th {
  padding: 5px 10px;
}
.table-compact tbody td {
  padding: 4px 10px;
  font-size: 0.8125rem;
}
.table-bordered {
  border: 1px solid #E0E0E0;
}
.table-bordered thead th, .table-bordered tbody td {
  border: 1px solid #E0E0E0;
}
/**
 * _responsive.scss – Responsive / Mobile Anpassungen
 *
 * WICHTIG: Dies ist die eigentliche QUELLE für alle Responsive-Regeln -
 * der Compiler generiert daraus style.css automatisch bei Änderungen neu
 * (siehe ScssCompiler::compileIfChanged()). Änderungen NUR hier vornehmen,
 * NICHT direkt in der kompilierten style.css - sonst gehen sie beim
 * nächsten automatischen Kompilieren (ausgelöst durch Änderung einer
 * BELIEBIGEN anderen .scss-Datei) wieder verloren.
 */
/**
 * _variables.scss – Design-Variablen & Mixins
 *
 * Alle Farben, Abstände, Schriften und Mixins zentral definiert.
 * Wird von allen anderen SCSS-Partials importiert.
 *
 * Farbschema (2026-09 auf Vereinsfarben umgestellt, siehe Logo
 * "Eisbären Eppelheim"):
 *   Primärfarbe (Marineblau, aus dem Wappen-Hintergrund): #121137
 *   Akzent hell (Eisblau, aus Schrift/Krallen im Logo):    #B0CFE7
 *   Sekundärfarbe 1: #B0B0B0
 *   Sekundärfarbe 2: #6C6B6B
 *   Basisfarbe:      #FFFFFF
 *
 * HERKUNFT: Vorher war die Primärfarbe das Eyeconcept-Rot (#D30020).
 * Alle direkten Verwendungen dieses Rottons (auch außerhalb dieser
 * Datei, z.B. in _login.scss, Auth.class.php und
 * MailTemplate.class.php für die Mail-Vorlagen) wurden im selben Zug
 * auf die neuen Markenfarben umgestellt.
 */
/* ── Tablet (≤ 1024px) ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Beschriftungen unter Nav-Buttons ausblenden */
  /* Dashboard: zwei Spalten → eine Spalte */
  /* Dokument: Meta-Zeile umbrechen */
  /* Schmalere Sidebars */
  .nav-btn-label {
    display: none;
  }
  .nav-action-btn {
    padding: 4px 8px;
  }
  .dashboard-top-row {
    grid-template-columns: 1fr;
  }
  .dokument-meta-row {
    grid-template-columns: auto auto;
    gap: 10px;
  }
  .page-list-sidebar {
    width: 250px;
  }
  .artikel-liste-sidebar {
    width: 250px;
  }
}
/* ── Mobil (≤ 768px) ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Hauptmenü-Items verstecken (Hamburger via JS) */
  /* Tab-Texte verstecken, nur Icons */
  /* Layouts: übereinander statt nebeneinander - Liste füllt die komplette
       verfügbare Höhe, der (auf Mobil ungenutzte) Detailbereich daneben
       wird ausgeblendet, statt als leerer grauer Bereich Platz zu verschwenden. */
  /* Modals: volle Breite */
  /* Dokument-Maske: Spalten untereinander */
  /* Positions-Tabelle horizontal scrollbar - .positions-table-scroll
       (siehe _dokumente.scss) ist dort bewusst overflow:visible, das
       wird hier auf schmalen Bildschirmen gezielt wieder auf
       overflow-x:auto zurückgesetzt (Voraussetzung fürs horizontale
       Scrollen bei min-width:700px unten). Als Nebeneffekt wird dadurch
       die Desktop-sticky-Kopfzeile hier automatisch wirkungslos - genau
       gewünscht, siehe Kommentar dort. */
  /* Verknüpfte-Dokumente-Liste im Vorgang: "Erstellt am" fällt weg
       (siehe .hidden-mobile auf der Spalte selbst), Grid entsprechend
       auf drei statt vier Spalten reduzieren. */
  /* Weniger wichtige Spalten ausblenden */
  /* Ansicht-Umschaltung (Tabelle/Liste) ausblenden - unterhalb dieser
       Breite wird ohnehin immer die Listenansicht erzwungen (siehe
       CRMUtils.istMobilAnsicht()), die Auswahl wäre also wirkungslos. */
  /* Filterleisten als Accordion: eingeklappt zeigt nur den Umschalter,
       die eigentlichen Filterfelder (alle direkten Kind-Elemente der
       Filterleiste) werden versteckt. Der Container selbst muss dabei
       ebenfalls "schrumpfen" (Padding/Rahmen weg), sonst bleibt trotz
       ausgeblendeter Kinder ein leerer grauer Bereich stehen. */
  /* Liste soll die komplette Seite natürlich ausfüllen und mit der
       Seite selbst scrollen, statt in einer eigenen, höhenbegrenzten
       Box (overflow-y:auto) zu stecken - auf Mobil gibt es ja ohnehin
       keinen Detailbereich mehr daneben, der eine feste Höhen-
       Aufteilung nötig machen würde (Details öffnen stattdessen in
       einem eigenen Tab, siehe CRMUtils.effektiverNavigationsModus()). */
  /* Die o.g. Freigabe allein reicht nicht - das App-Grundgerüst
       (body.app-loaded, #app-wrapper, .tab-content) ist normalerweise
       bewusst auf die Viewport-Höhe fixiert mit overflow:hidden, damit
       NUR einzelne Bereiche intern scrollen (Desktop-App-Gefühl). Auf
       Mobil wird das auf allen drei Ebenen aufgehoben, damit wirklich
       die GANZE SEITE natürlich scrollt, statt in einer fixierten Box
       eingesperrt zu bleiben. */
  .nav-items {
    display: none;
  }
  #main-nav {
    padding: 0 8px;
  }
  .nav-center {
    max-width: none;
  }
  #tabs-container .tab span {
    display: none;
  }
  .tab {
    min-width: 34px;
    padding: 0 9px;
  }
  .page-list-layout {
    flex-direction: column;
  }
  .page-list-sidebar {
    width: 100%;
    flex: 1;
    height: auto;
    border-right: none;
    border-bottom: none;
  }
  .page-list-sidebar ~ .page-list-main {
    display: none;
  }
  .artikel-grid {
    flex-direction: column;
  }
  .artikel-liste-sidebar {
    width: 100%;
    flex: 1;
    height: auto;
    border-right: none;
    border-bottom: none;
  }
  .artikel-liste-sidebar ~ #artikelDetail {
    display: none;
  }
  .modal-lg, .modal-xl {
    max-width: 100%;
  }
  .dokument-meta-row {
    grid-template-columns: 1fr;
  }
  .dokument-address-row {
    grid-template-columns: 1fr;
  }
  .positions-table-scroll {
    overflow-x: auto;
  }
  .positions-table {
    min-width: 700px;
  }
  .vorgang-dokumente-kopf, .vorgang-dokument-zeile {
    grid-template-columns: 78px 1fr 90px;
  }
  .hidden-mobile {
    display: none !important;
  }
  .ansicht-toggle-group {
    display: none !important;
  }
  .filter-bar {
    padding: 7px 10px;
  }
  .dashboard-top-row {
    gap: 10px;
  }
  .table-container-header.filter-collapsed {
    padding: 0 !important;
    border-bottom: none !important;
    min-height: 0 !important;
  }
  .table-container-header.filter-collapsed > * {
    display: none !important;
  }
  #artikelListeItems, #kontakteListeItems, #dokumenteListeItems, #vorgaengeListeItems {
    overflow-y: visible !important;
    flex: none !important;
    min-height: 0 !important;
  }
  body.app-loaded {
    overflow: visible !important;
    height: auto !important;
  }
  #app-wrapper {
    position: static !important;
    overflow: visible !important;
    height: auto !important;
    margin-top: var(--header-total) !important;
  }
  .tab-content {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
  }
}
/* Filter-Umschalter selbst: auf Desktop nie sichtbar (dort ist die
   Filterleiste immer ausgeklappt), auf Mobil sichtbar gemacht. */
.filter-toggle-btn {
  display: none;
}
@media (max-width: 768px) {
  .filter-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 14px;
    background: #fff;
    border: none;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
  }
  .filter-toggle-btn span {
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .filter-toggle-btn i.fa-sliders-h {
    color: var(--color-primary);
  }
  .filter-toggle-btn i.fa-chevron-down, .filter-toggle-btn i.fa-chevron-up {
    transition: transform 0.15s;
    color: var(--text-muted);
  }
}
/* ── Klein (≤ 480px) ────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Toasts: volle Breite */
  .login-box {
    padding: 22px 16px;
  }
  #main-nav {
    gap: 4px;
  }
  .content-header {
    padding: 6px 10px;
  }
  .content-header-title {
    font-size: 0.875rem;
  }
  .btn {
    padding: 6px 10px;
    font-size: 0.8125rem;
  }
  #toast-container {
    bottom: 10px;
    right: 10px;
    left: 10px;
  }
  .toast {
    min-width: auto;
  }
}
/* ── Print ──────────────────────────────────────────────────────────────── */
@media print {
  /* Steuerelemente ausblenden */
  /* Body: normaler Fluss, keine fixed-Elemente mehr */
  #tab-bar, #main-nav, #search-sidebar, .position-toolbar, .content-header-actions, #toast-container, .modal-overlay {
    display: none !important;
  }
  body {
    background: #fff;
    overflow: auto;
    height: auto;
  }
  #app-wrapper {
    position: static;
    top: auto;
    bottom: auto;
  }
  #tab-contents {
    margin-left: 0 !important;
  }
  .tab-content {
    display: flex !important;
  }
}
