/* ============================================================================
   BASIS-STYLES
   ============================================================================ */

/* Haupt-Body-Styling */
body {
  background-color: #f6f6f9;
  min-height: 100vh;
  padding-bottom: 3rem; /* Platz für Footer */
}

/* Footer - Fixiert am unteren Bildschirmrand */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px); /* Glasmorphism-Effekt */
  -webkit-backdrop-filter: blur(10px); /* Safari-Unterstützung */
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100; /* Über anderen Inhalten */
  font-size: 0.85rem;
  color: #6b7280;
}

footer div:first-child {
  margin-left: 1rem;
}

footer div:last-child {
  margin-right: 1rem;
}

/* ============================================================================
   LOGIN-SEITE
   ============================================================================ */

/* Container für Login-Seite - Zentriert den Inhalt vertikal und horizontal */
.login-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Wasserzeichen-Logo im Hintergrund der Login-Seite */
.login-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Perfekte Zentrierung */
  z-index: 0; /* Hinter dem Login-Formular */
  pointer-events: none; /* Nicht klickbar */
  opacity: 0.08; /* Sehr transparent */
}

.watermark-logo {
  width: 600px;
  max-width: 90vw;
  height: auto;
  display: block;
}

.login-form-wrapper {
  position: relative;
  z-index: 1;
  max-width: 400px;
  width: 100%;
  background: rgba(255, 255, 255, 0.005);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */

/* Hauptnavigation - Vertikales Layout */
.site-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.site-nav .brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.user-greeting {
  text-align: center;
  margin-bottom: 1rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px solid #d1d5db;
  padding: 0.45rem;
  border-radius: 0.4rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1f2937;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
  white-space: nowrap;
  flex: 0 1 auto;
}

.nav-links a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.nav-links a[style*="margin-left: auto"] {
  margin-left: 0 !important;
  font-weight: 500;
}

.site-nav-header a[style*="margin-left: auto"] {
  margin-left: auto !important;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.site-nav-header a[style*="margin-left: auto"]:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* ============================================================================
   SEITEN-HEADER
   ============================================================================ */

/* Header-Bereich für Seiten mit Titel und Aktionen */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-actions {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}

.page-actions a[role="button"][title],
.page-actions button[title] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 0.25rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* Page-Actions: Standard-Buttons (gelb) */
.page-actions a[role="button"][title]:not(.qr-code-icon):not(.danger) {
  background-color: #fef3c7; /* Hellgelb */
  border: none;
  color: #1f2937;
}

.page-actions a[role="button"][title]:not(.qr-code-icon):not(.danger):hover {
  background-color: #fbbf24; /* Dunkleres Gelb beim Hover */
  border: none;
}

/* ============================================================================
   PAGE-ACTIONS BUTTONS
   ============================================================================ */

/* QR-Code Button / Zurück-Button - Hellgrün */
.page-actions .qr-code-icon {
  background-color: #d1fae5; /* Hellgrün */
  border: none;
  color: #1f2937;
}

.page-actions .qr-code-icon:hover {
  background-color: #10b981; /* Dunkleres Grün beim Hover */
  border: none;
  color: white;
}

/* Zurück-Button mit weißen Dreiecken (blau) */
.page-actions .back-button-white {
  background-color: #0172ad; /* Blau */
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  -webkit-text-stroke: 1px white; /* Weißer Rand für bessere Sichtbarkeit */
}

.page-actions .back-button-white:hover {
  background-color: #02659a; /* Dunkleres Blau beim Hover */
  color: white;
}

/* Gefahr-Buttons (rot) */
.page-actions button[title].danger {
  background-color: #fee2e2; /* Hellrot */
  border: none;
  color: #991b1b;
}

.page-actions button[title].danger:hover {
  background-color: #dc2626; /* Dunkleres Rot beim Hover */
  border: none;
  color: white;
}

.page-actions form {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.page-actions form button[title] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0;
  font-size: 1.2rem;
  border-radius: 0.25rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* ============================================================================
   FLASH-MESSAGES (Benachrichtigungen)
   ============================================================================ */

/* Container für Flash-Messages */
.flash-container {
  margin-bottom: 1rem;
}

/* Flash-Messages auf Login-Seite - Positioniert am unteren Rand */
.login-container .flash-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%); /* Zentriert horizontal */
  z-index: 2; /* Über anderen Elementen */
  margin: 0;
  padding: 0;
}

.login-container .flash-container .flash {
  max-width: 400px;
  width: 90%;
  text-align: center;
  margin: 0 auto;
  display: block;
}

/* Basis-Styling für Flash-Messages */
.flash {
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
}

/* Erfolgs-Message (grün) */
.flash.success {
  background: #d1fae5; /* Hellgrün */
  color: #065f46; /* Dunkelgrün */
  text-align: center;
}

/* Fehler-Message (rot) */
.flash.error {
  background: #fee2e2; /* Hellrot */
  color: #991b1b; /* Dunkelrot */
  text-align: center;
}

/* Info-Message (blau) */
.flash.info {
  background: #bfdbfe; /* Hellblau */
  color: #1e3a8a; /* Dunkelblau */
  text-align: center;
}

/* ============================================================================
   BADGES (Status-Anzeigen)
   ============================================================================ */

/* Basis-Badge (blau) */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px; /* Vollständig abgerundet */
  background: #dbeafe; /* Hellblau */
  color: #1d4ed8; /* Dunkelblau */
  font-size: 0.85rem;
}

/* Warnung-Badge (gelb) */
.badge.warning {
  background: #fef3c7; /* Hellgelb */
  color: #92400e; /* Dunkelgelb/Braun */
}

/* Erfolg-Badge (grün) */
.badge.success {
  background: #d1fae5; /* Hellgrün */
  color: #065f46; /* Dunkelgrün */
}

/* Bald fällig-Badge (orange) */
.badge.soon {
  background: #fed7aa; /* Hellorange */
  color: #9a3412; /* Dunkelorange */
}

/* Überfällig-Badge (rot) */
.badge.overdue {
  background: #fee2e2; /* Hellrot */
  color: #dc2626; /* Rot */
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  align-items: center;
}

.form-actions button,
.form-actions a[role="button"] {
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  line-height: 1;
  vertical-align: middle;
  margin: 0;
}

.form-actions a.danger {
  background-color: #dc2626;
  border-color: #dc2626;
  color: white;
}

.form-actions a.danger:hover {
  background-color: #b91c1c;
  border-color: #b91c1c;
  color: white;
}

/* Logout-Button im Header */
.logout-button {
  background-color: #ef4444;
  border-color: #ef4444;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.logout-button:hover {
  background-color: #dc2626;
  border-color: #dc2626;
  color: white;
}

/* Mobile-Anpassungen für Logout-Button */
@media (max-width: 768px) {
  .logout-button {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  .site-nav-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .logout-button {
    margin-left: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 400px) {
  .logout-button {
    padding: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
  }
  
  .logout-icon-symbol {
    font-size: 1.8rem;
    margin: 0 auto;
    margin-top: 0.15rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: 100%;
    height: 100%;
    text-align: center;
  }
  
  .logout-text {
    display: none;
  }
}

/* Logout-Symbol (U+1F6AA - Tür-Symbol) */
.logout-icon-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.25em;
  font-size: 1.5em;
  line-height: 1;
}

.stat {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
}

/* ============================================================================
   DASHBOARD-GRID
   ============================================================================ */

/* Dashboard-Statistiken Grid - Desktop: 4 Spalten */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 gleichmäßige Spalten */
  gap: 1rem;
  align-items: stretch; /* Alle Artikel haben gleiche Höhe */
}

/* User-Dashboard: 3 Spalten nebeneinander */
.user-dashboard-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

/* Dashboard-Artikel - Flexbox-Layout für vertikale Verteilung */
.grid article {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Titel oben, Statistik unten */
  height: 175px; /* Feste Höhe für Konsistenz */
}

.grid article h2 {
  text-align: center;
  font-size: 30px !important;
}

.grid article .stat {
  margin-top: auto;
}

/* Dashboard-Statistiken als Links */
.grid article a {
  text-decoration: none !important;
  color: inherit !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  transition: opacity 0.2s ease;
}

.grid article a h2 {
  flex-shrink: 0;
}

.grid article a .stat {
  margin-top: auto !important;
  flex-shrink: 0;
}

.grid article a:hover {
  opacity: 0.8;
  cursor: pointer;
}

.hint {
  margin-top: 1rem;
  color: #6b7280;
  font-style: italic;
}

.brand-logo {
  width: 450px;
  max-width: 100%;
  height: auto;
  display: block;
}

details summary {
  cursor: pointer;
  font-weight: 600;
}

.maintenance-form {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.maintenance-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.table-actions {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: inherit;
}

.table-actions a[role="button"],
.table-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 0.25rem;
  cursor: pointer;
  background-color: #00fd2526;
  color: inherit;
  flex-shrink: 0;
}

/* Bearbeiten Button - Hellgelb */
.table-actions a[role="button"]:not(.qr-code-icon):not(.danger) {
  background-color: #fef3c7;
  border: none;
  color: #1f2937;
  margin: 0;
}

.table-actions a[role="button"]:not(.qr-code-icon):not(.danger):hover {
  background-color: #fbbf24;
  border: none;
}

/* QR-Code Button - Hellgrün */
.table-actions .qr-code-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ecfdf5;
  border: none;
  color: #1f2937;
}

.table-actions .qr-code-icon:hover {
  background-color: #10b981;
  border: none;
  color: white;
}

.table-actions .qr-code-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  color: currentColor;
}

/* Löschen Button - Hellrot */
.table-actions button.danger {
  background-color: #fee2e2;
  border: none;
  color: #991b1b;
  margin: 0;
}

.table-actions button.danger:hover {
  background-color: #dc2626;
  border: none;
  color: white;
}

/* Rückgabe erfassen Button - Hover in Blau */
.table-actions button[title="Rückgabe erfassen"]:hover {
  background-color: #3b82f6 !important;
  border-color: #3b82f6 !important;
  color: white !important;
}

.table-actions button[title="Rückgabe erfassen"]:hover span {
  color: white !important;
}

.table-actions form {
  display: inline-flex;
  align-items: center;
  margin: 0;
  height: 100%;
}

.table-actions form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0;
  font-size: 1.2rem;
  border-radius: 0.25rem;
  cursor: pointer;
  flex-shrink: 0;
}

.inventory-cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.danger {
  border-color: #dc2626;
  color: #dc2626;
}

.danger:hover {
  border-color: #b91c1c;
  color: #b91c1c;
}

button.danger {
  background-color: #dc2626;
  border-color: #dc2626;
  color: white;
}

button.danger:hover {
  background-color: #b91c1c;
  border-color: #b91c1c;
  color: white;
}

/* ============================================================================
   QR-CODE / BARCODE
   ============================================================================ */

/* Karte für QR-Code-Anzeige */
.barcode-card {
  max-width: 480px;
  margin: 2rem auto; /* Zentriert */
  padding: 2rem;
  text-align: center;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08); /* Leichter Schatten */
}

/* QR-Code-Bild - Optimiert für scharfe Darstellung */
.barcode-image img {
  max-width: 256px;
  width: 100%;
  margin: 1rem auto;
  image-rendering: -webkit-optimize-contrast; /* Safari */
  image-rendering: crisp-edges; /* Scharfe Kanten für QR-Codes */
}

/* ============================================================================
   SUCHFUNKTION
   ============================================================================ */

/* Container für Suchbereich */
.search-section {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Suchformular ohne Margin */
.search-form {
  margin: 0;
}

/* Input-Gruppe für Suchfeld und Button */
.search-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap; /* Umbruch bei kleinen Bildschirmen */
}

/* Suchfeld nimmt verfügbaren Platz ein */
.search-input-group input[type="text"] {
  flex: 1;
  min-width: 200px; /* Mindestbreite */
}

/* Info-Box für Suchergebnisse */
.search-results-info {
  margin: 1rem 0;
  padding: 0.75rem;
  background: #eff6ff; /* Hellblau */
  border-left: 4px solid #3b82f6; /* Blauer Akzent */
  border-radius: 0.25rem;
}

/* ============================================================================
   TABELLEN
   ============================================================================ */

/* Basis-Tabellen-Styling */
table {
  width: 100%;
  border-collapse: collapse; /* Zusammenfallende Rahmen */
  table-layout: auto; /* Automatische Spaltenbreite */
}

/* Tabellenzeilen - Mindesthöhe für Konsistenz */
table tbody tr {
  min-height: 80px;
  height: auto; /* Kann größer werden bei mehr Inhalt */
}

/* Tabellenkopf und -zellen */
table th,
table td {
  vertical-align: middle; /* Vertikale Zentrierung */
  text-align: center; /* Horizontale Zentrierung */
  min-height: 80px;
  height: auto;
  /* padding: 0.75rem 0.5rem; */ /* Auskommentiert für individuelle Anpassung */
  box-sizing: border-box; /* Padding in Breite/Höhe einrechnen */
}

/* Schriftgröße in Werkzeugliste */
.tools-list-table,
.tools-list-table th,
.tools-list-table td {
  font-size: 0.9em;
}

/* Tabellenkopf in Werkzeugliste: Alle zentriert */
.tools-list-table th {
  text-align: center;
}

/* Tabellenzellen in Werkzeugliste: Alle zentriert */
.tools-list-table td {
  text-align: center;
}

/* Spezifische Tabellen: Gleichmäßige Spaltenverteilung auf 100% Breite */
/* Dashboard - Aktuelle Ausgaben (3 Spalten) */
/* Settings - Aktive Anmeldungen (3 Spalten) */
/* Zurückgegebene Werkzeuge (4 Spalten ohne Aktion) */
/* Werkzeug-Kategorien (4 Spalten) - Desktop und Tablet: wie Mitarbeiter-Tabelle */
@media (min-width: 641px) {
  table.categories-table,
  table.categories-table.tools-list-table {
    table-layout: auto !important;
    width: 100% !important;
    display: table !important;
  }

  /* Werkzeug-Kategorien: Spaltenbreiten aufheben, wie bei Mitarbeiter-Tabelle */
  table.categories-table.tools-list-table thead tr th,
  table.categories-table.tools-list-table tbody tr td {
    width: auto !important;
  }
}

/* Gleichmäßige Spaltenverteilung für Tabellen mit 3 Spalten */
table.dashboard-assignments-table thead tr th,
table.dashboard-assignments-table.tools-list-table thead tr th {
  width: 33.33% !important;
}

table.dashboard-assignments-table tbody tr td,
table.dashboard-assignments-table.tools-list-table tbody tr td {
  width: 33.33% !important;
}

/* Spezifische Spaltenverteilung für Prüfungen-Tabelle (5 Spalten: Werkzeug, Produktbild, Letzte Prüfung, Nächster Termin, Status) */
table.dashboard-inspections-table thead tr th:nth-child(1),
table.dashboard-inspections-table tbody tr td:nth-child(1) {
  width: 25% !important; /* Werkzeug */
}

table.dashboard-inspections-table thead tr th:nth-child(2),
table.dashboard-inspections-table tbody tr td:nth-child(2) {
  width: 10% !important; /* Produktbild */
}

table.dashboard-inspections-table thead tr th:nth-child(3),
table.dashboard-inspections-table tbody tr td:nth-child(3),
table.dashboard-inspections-table thead tr th:nth-child(4),
table.dashboard-inspections-table tbody tr td:nth-child(4),
table.dashboard-inspections-table thead tr th:nth-child(5),
table.dashboard-inspections-table tbody tr td:nth-child(5) {
  width: 21.67% !important; /* Letzte Prüfung, Nächster Termin, Status */
}

/* Spezifische Spaltenverteilung für aktive Anmeldungen (4 Spalten) */
table.active-users-table thead tr th:nth-child(1),
table.active-users-table tbody tr td:nth-child(1) {
  width: 30% !important;
}

table.active-users-table thead tr th:nth-child(2),
table.active-users-table tbody tr td:nth-child(2) {
  width: 15% !important;
}

table.active-users-table thead tr th:nth-child(3),
table.active-users-table tbody tr td:nth-child(3) {
  width: 30% !important;
}

table.active-users-table thead tr th:nth-child(4),
table.active-users-table tbody tr td:nth-child(4) {
  width: 25% !important;
}

table.active-users-table.tools-list-table thead tr th:nth-child(1),
table.active-users-table.tools-list-table tbody tr td:nth-child(1) {
  width: 30% !important;
}

table.active-users-table.tools-list-table thead tr th:nth-child(2),
table.active-users-table.tools-list-table tbody tr td:nth-child(2) {
  width: 15% !important;
}

table.active-users-table.tools-list-table thead tr th:nth-child(3),
table.active-users-table.tools-list-table tbody tr td:nth-child(3) {
  width: 30% !important;
}

table.active-users-table.tools-list-table thead tr th:nth-child(4),
table.active-users-table.tools-list-table tbody tr td:nth-child(4) {
  width: 25% !important;
}

/* Gleichmäßige Spaltenverteilung für Tabellen mit 4 Spalten */
table.returned-assignments-table thead tr th,
table.returned-assignments-table.tools-list-table thead tr th {
  width: 25% !important;
}

table.returned-assignments-table tbody tr td,
table.returned-assignments-table.tools-list-table tbody tr td {
  width: 25% !important;
}

/* Thumbnail-Styling für Produktbilder */
.tool-thumbnail {
  width: 60px;
  height: 45.5px;
  object-fit: contain;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  background: #f9fafb;
  display: inline-block;
  margin: 0;
  vertical-align: middle;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tool-thumbnail:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================================================
   BILD-POPUP MODAL (Vorschau für Produktbilder)
   ============================================================================ */

/* Modal-Overlay für Bild-Vorschau */
.image-popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9); /* Dunkler Hintergrund */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000; /* Sehr hoch, über allen anderen Elementen */
  cursor: pointer; /* Zeigt an, dass Klick schließt */
}

/* Bild im Popup - Responsive Größe */
.image-popup-image {
  max-width: 90vw; /* Maximal 90% der Viewport-Breite */
  max-height: 90vh; /* Maximal 90% der Viewport-Höhe */
  width: auto;
  height: auto;
  object-fit: contain; /* Behält Seitenverhältnis bei */
  border-radius: 0.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); /* Starker Schatten */
  cursor: default; /* Normale Mauszeiger */
}

/* Schließen-Button im Popup */
.image-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9); /* Halbtransparentes Weiß */
  border: none;
  border-radius: 50%; /* Rund */
  width: 40px;
  height: 40px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001; /* Über dem Bild */
  transition: background 0.2s; /* Sanfte Übergänge */
}

.image-popup-close:hover {
  background: rgba(255, 255, 255, 1); /* Vollständig weiß beim Hover */
}

/* ============================================================================
   DARK MODE STYLES
   ============================================================================ */

/* Anpassungen für Dark Mode (basierend auf System-Präferenz) */
@media (prefers-color-scheme: dark) {
  /* Tool-Thumbnail im Dark Mode */
  .tool-thumbnail {
    border-color: #4b5563; /* Dunkleres Grau */
    background: #1f2937; /* Dunkler Hintergrund */
  }
  
  /* Schließen-Button im Dark Mode */
  .image-popup-close {
    background: rgba(30, 30, 30, 0.9); /* Dunkler Hintergrund */
    color: #e5e5e5; /* Helles Grau */
  }
  
  .image-popup-close:hover {
    background: rgba(50, 50, 50, 1); /* Etwas heller beim Hover */
  }
}

/* Tabellenkopf zentrieren (Standard für alle Tabellen außer Werkzeugliste) */
table:not(.tools-list-table) th {
  text-align: center;
}

/* Status- und Aktionen-Spalten im Tabellenkopf zentrieren (Standard) */
table:not(.tools-list-table) th:nth-child(5),
table:not(.tools-list-table) th:nth-child(7) {
  text-align: center;
}

/* Status- und Aktionen-Spalten im Tabellenkörper zentrieren - für alle Tabellen */
table td:nth-child(5),
table td.table-actions,
.tools-list-table td.table-actions,
table:not(.tools-list-table) td.table-actions {
  text-align: center;
  min-height: 120px;
  vertical-align: middle;
  height: auto;
}

/* Stelle sicher, dass Aktionen-Spalte mindestens so hoch wie Prüfung-Spalte ist */

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
}

/* QR-Code-Scanner Modal kleiner */
#barcode-scanner-modal .modal-content {
  max-width: 350px;
  padding: 1rem;
}

.modal-content h2 {
  margin-top: 0;
}

.modal-content video {
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

#barcode-status {
  margin: 1rem 0;
  font-weight: 600;
  color: #3b82f6;
}

/* ============================================================================
   DRUCK-STYLES (Print Media Query)
   ============================================================================ */

@media print {
  /* Verstecke Navigation und UI-Elemente beim Drucken */
  header,
  nav,
  .flash-container,
  .page-header,
  .form-actions,
  .search-section {
    display: none !important;
  }
  
  /* Container ohne Margin/Padding für Druck */
  main.container {
    margin: 0;
    padding: 0;
  }
  
  /* QR-Code-Karte ohne Schatten beim Drucken */
  .barcode-card {
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }
  
  /* Tabellen-Styling für Druck optimiert */
  table {
    width: 100%;
    border-collapse: collapse;
    page-break-inside: auto; /* Erlaube Seitenumbrüche innerhalb der Tabelle */
  }
  
  /* Zeilen nicht auf mehrere Seiten aufteilen */
  tr {
    page-break-inside: avoid;
    page-break-after: auto;
  }
  
  /* Tabellenkopf auf jeder Seite wiederholen */
  thead {
    display: table-header-group;
  }
  
  tbody {
    display: table-row-group;
  }
  
  /* Rahmen für Tabellenzellen beim Drucken */
  th, td {
    border: 1px solid #000;
    padding: 0.5rem;
    text-align: left; /* Linksbündig für bessere Lesbarkeit */
  }
  
  /* Tabellenkopf mit Hintergrundfarbe */
  th {
    background-color: #f3f4f6 !important;
    font-weight: bold;
    -webkit-print-color-adjust: exact; /* Safari */
    print-color-adjust: exact; /* Standard */
  }
  
  /* Aktionen-Spalte beim Drucken ausblenden */
  .table-actions {
    display: none !important;
  }
  
  /* Verstecke Aktionen-Spalte (8. Spalte) beim Drucken */
  table thead th:nth-child(8),
  table tbody td:nth-child(8) {
    display: none !important;
  }
  
  /* Such-Ergebnis-Info beim Drucken */
  .search-results-info {
    margin-bottom: 1rem;
    font-weight: bold;
  }
  
  /* Drucktitel anzeigen (normalerweise versteckt) */
  .print-title {
    display: block !important;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #000;
  }
  
  .print-title h1 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
  }
  
  .print-title p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
  }
}

/* ============================================================================
   RESPONSIVE DESIGN - TABLET (max-width: 900px)
   ============================================================================ */

@media (max-width: 900px) {
  /* Logo kleiner auf Tablets */
  .brand-logo {
    width: 320px;
  }

  /* Mobile-Menü-Toggle anzeigen */
  .menu-toggle {
    display: flex;
  }

  /* Navigations-Links standardmäßig ausblenden */
  .has-nav-toggle .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0;
  }

  /* Navigations-Links anzeigen wenn geöffnet */
  .has-nav-toggle .nav-links.is-open {
    display: flex;
  }

  /* Page-Header vertikal stapeln */
  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Formular-Aktionen vertikal stapeln */
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Tabellen-Aktionen horizontal mit Umbruch */
  .table-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  /* Suchfeld-Gruppe vertikal stapeln */
  .search-input-group {
    flex-direction: column;
    align-items: stretch;
  }

  /* Footer vertikal stapeln und zentrieren */
  footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.75rem;
  }

  footer div:first-child,
  footer div:last-child {
    margin: 0;
  }
}

@media (max-width: 640px) {
  /* Container und Abstände */
  main.container {
    padding: 0.75rem;
  }

  .brand-logo {
    width: 220px;
    max-width: 100%;
  }

  .watermark-logo {
    width: 300px;
    max-width: 90vw;
  }

  .login-form-wrapper {
    padding: 1.5rem;
    margin: 1rem;
  }

  /* Navigation */
  .site-nav-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .site-nav-header a[style*="margin-left: auto"] {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    min-height: 44px;
  }

  /* Tabellen für mobile optimieren - besser scrollbar */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.85rem;
    min-width: 100%;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }

  /* Scrollbar-Indikator für Tabellen */
  table::-webkit-scrollbar {
    height: 8px;
  }

  table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }

  table::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }

  table::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  .tools-list-table {
    font-size: 0.8rem;
    min-width: 100%;
    width: 100%;
  }

  /* Spezifische Tabellen: Behalte table-layout: fixed auch auf mobilen Geräten */
  table.dashboard-assignments-table,
  table.dashboard-assignments-table.tools-list-table,
  table.dashboard-inspections-table,
  table.dashboard-inspections-table.tools-list-table,
  table.active-users-table,
  table.active-users-table.tools-list-table,
  table.returned-assignments-table,
  table.returned-assignments-table.tools-list-table {
    display: table !important;
    table-layout: fixed !important;
    width: 100% !important;
    overflow-x: visible !important;
  }

  /* Spaltenverteilung auf mobilen Geräten beibehalten */
  table.dashboard-assignments-table.tools-list-table thead tr th,
  table.dashboard-assignments-table.tools-list-table tbody tr td {
    width: 33.33% !important;
  }
  
  /* Spezifische Spaltenverteilung für Prüfungen-Tabelle auf mobilen Geräten (5 Spalten) */
  table.dashboard-inspections-table.tools-list-table thead tr th:nth-child(1),
  table.dashboard-inspections-table.tools-list-table tbody tr td:nth-child(1) {
    width: 25% !important; /* Werkzeug */
  }
  
  table.dashboard-inspections-table.tools-list-table thead tr th:nth-child(2),
  table.dashboard-inspections-table.tools-list-table tbody tr td:nth-child(2) {
    width: 10% !important; /* Produktbild */
  }
  
  table.dashboard-inspections-table.tools-list-table thead tr th:nth-child(3),
  table.dashboard-inspections-table.tools-list-table tbody tr td:nth-child(3),
  table.dashboard-inspections-table.tools-list-table thead tr th:nth-child(4),
  table.dashboard-inspections-table.tools-list-table tbody tr td:nth-child(4),
  table.dashboard-inspections-table.tools-list-table thead tr th:nth-child(5),
  table.dashboard-inspections-table.tools-list-table tbody tr td:nth-child(5) {
    width: 21.67% !important; /* Letzte Prüfung, Nächster Termin, Status */
  }
  
  /* Spezifische Spaltenverteilung für aktive Anmeldungen auf mobilen Geräten (4 Spalten) */
  table.active-users-table.tools-list-table thead tr th:nth-child(1),
  table.active-users-table.tools-list-table tbody tr td:nth-child(1) {
    width: 30% !important;
  }
  
  table.active-users-table.tools-list-table thead tr th:nth-child(2),
  table.active-users-table.tools-list-table tbody tr td:nth-child(2) {
    width: 15% !important;
  }
  
  table.active-users-table.tools-list-table thead tr th:nth-child(3),
  table.active-users-table.tools-list-table tbody tr td:nth-child(3) {
    width: 30% !important;
  }
  
  table.active-users-table.tools-list-table thead tr th:nth-child(4),
  table.active-users-table.tools-list-table tbody tr td:nth-child(4) {
    width: 25% !important;
  }

  table.returned-assignments-table.tools-list-table thead tr th,
  table.returned-assignments-table.tools-list-table tbody tr td {
    width: 25% !important;
  }

  .tools-list-table th,
  .tools-list-table td {
    padding: 0.5rem 0.25rem;
    white-space: normal;
    word-wrap: break-word;
  }

  table th,
  table td {
    white-space: normal;
    word-wrap: break-word;
    min-width: 80px;
  }

  /* Mindestbreite für Tabellen basierend auf Button-Breite */
  table {
    min-width: calc(3rem * 3 + 1rem); /* 3 Buttons (je 3rem) + Abstände */
  }

  .table-actions {
    min-width: calc(3rem * 3 + 1rem); /* Mindestbreite für Button-Container */
  }

  /* Buttons touch-freundlicher machen */
  .table-actions {
    gap: 0.75rem;
    padding: 0.5rem 0;
  }

  .table-actions a[role="button"],
  .table-actions button {
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    min-height: 3.5rem;
    font-size: 1.4rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .table-actions form button {
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    min-height: 3.5rem;
    font-size: 1.4rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Formulare */
  .form-grid {
    gap: 1.25rem;
  }

  .form-grid label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    font-size: 16px; /* Verhindert Zoom auf iOS */
    padding: 0.875rem;
    min-height: 48px; /* Größere Touch-Targets */
    border-radius: 0.375rem;
  }

  /* Buttons allgemein */
  button,
  a[role="button"],
  input[type="submit"] {
    min-height: 48px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    touch-action: manipulation; /* Verhindert Doppel-Tap-Zoom */
    border-radius: 0.375rem;
  }

  /* Page Header */
  .page-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1rem 0;
  }

  .page-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }

  .page-header p {
    font-size: 0.95rem;
    margin-bottom: 0;
  }

  .page-header a[role="button"] {
    width: 100%;
    text-align: center;
    min-height: 48px;
    padding: 0.875rem 1.25rem;
  }

  /* Grid für Statistiken */
  .grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .grid article {
    padding: 1rem;
    height: 115px;
    min-height: 115px;
  }

  .grid article h2 {
    font-size: 30px !important;
    margin-bottom: 0.5rem;
  }

  .grid article .stat {
    font-size: 2rem;
  }

  /* Modal */
  .modal-content {
    padding: 1.25rem;
    width: 95%;
    max-width: 95%;
    margin: 1rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  #barcode-scanner-modal .modal-content {
    max-width: 95%;
    padding: 1rem;
  }

  /* Search Section */
  .search-section {
    padding: 1rem;
    margin: 1rem 0;
  }

  .search-input-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .search-input-group input,
  .search-input-group button {
    width: 100%;
    min-height: 48px;
    font-size: 16px; /* Verhindert Zoom auf iOS */
  }

  /* Settings Cards */
  section {
    padding: 1.25rem !important;
    margin-bottom: 1.5rem;
  }

  section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  section h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  /* Footer */
  footer {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.7rem;
  }

  footer div:first-child,
  footer div:last-child {
    margin: 0;
  }

  /* Tool Thumbnail kleiner auf mobile */
  .tool-thumbnail {
    width: 60px;
    height: 45px;
    border-radius: 0.375rem;
  }

  /* Flash Messages */
  .flash {
    font-size: 0.95rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
  }

  /* Dashboard Statistiken */
  .stat {
    font-size: 2.25rem;
    font-weight: 600;
  }

  /* User Greeting */
  .user-greeting {
    padding: 1rem 0;
  }

  .user-greeting h2 {
    font-size: 1.5rem;
  }

  /* Inventarnummer Input Felder */
  .form-grid label div[style*="display: flex"] {
    flex-direction: column;
    align-items: stretch;
  }

  .form-grid label div[style*="display: flex"] input {
    width: 100%;
  }

  /* Barcode Scanner Button */
  #barcode-scanner-btn {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
  }

  /* Card Styles */
  .card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  /* Form Actions */
  .form-actions {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .form-actions button,
  .form-actions a[role="button"] {
    width: 100%;
    min-height: 48px;
  }

  /* Table Container für besseres Scrolling */
  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin: 1rem 0;
  }

  /* Badge Styles auf Mobile */
  .badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 0.375rem;
  }

  /* Links besser klickbar machen */
  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Input Groups */
  .form-grid label div[style*="display: flex"] {
    gap: 0.75rem;
  }

  /* Select Dropdowns */
  select {
    background-size: 1.5rem;
    padding-right: 2.5rem;
  }
}

/* Sehr kleine Bildschirme (kleinere Handys) */
@media (max-width: 400px) {
  main.container {
    padding: 0.5rem;
  }

  .brand-logo {
    width: 200px;
  }

  .tools-list-table {
    font-size: 0.75rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tools-list-table th,
  .tools-list-table td {
    padding: 0.5rem 0.3rem;
  }

  /* Werkzeug-Kategorien: In Phone-Ansicht wie Mitarbeiter-Tabelle (scrollbar) */
  table.categories-table,
  table.categories-table.tools-list-table {
    display: block !important;
    table-layout: auto !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    min-width: 100% !important;
  }

  /* Stelle sicher, dass die Tabelle genug Breite hat, um zu scrollen */
  table.categories-table.tools-list-table thead,
  table.categories-table.tools-list-table tbody {
    display: table;
    width: 100%;
    table-layout: auto;
  }

  table.categories-table.tools-list-table thead tr,
  table.categories-table.tools-list-table tbody tr {
    display: table-row;
  }

  table.categories-table.tools-list-table thead tr th,
  table.categories-table.tools-list-table tbody tr td {
    display: table-cell;
    width: auto !important;
    min-width: 80px !important;
    white-space: normal !important;
  }

  .table-actions a[role="button"],
  .table-actions button {
    width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
  }

  .table-actions form button {
    width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
  }

  h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  h3 {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .grid {
    gap: 0.375rem;
  }

  .grid article {
    padding: 0.875rem;
    height: 115px;
    min-height: 115px;
  }

  .grid article h2 {
    font-size: 30px !important;
    margin-bottom: 0.5rem;
  }

  .grid article .stat {
    font-size: 1.875rem;
  }

  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    font-size: 16px; /* Wichtig: Verhindert Zoom auf iOS */
  }

  button,
  a[role="button"],
  input[type="submit"] {
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
}

/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a1a;
    color: #e5e5e5;
  }

  footer {
    background: rgba(26, 26, 26, 0.9) !important;
    border-top-color: rgba(255, 255, 255, 0.1) !important;
    color: #9ca3af !important;
  }

  .login-watermark {
    opacity: 0.25;
  }

  .login-form-wrapper {
    background: rgba(30, 30, 30, 0.005);
    border: 1px solid rgba(255, 255, 255, 0.02);
  }

  .menu-toggle {
    border-color: #4b5563;
  }

  .menu-toggle span {
    background: #e5e5e5;
  }

  .flash.success {
    background: #064e3b;
    color: #6ee7b7;
  }

  .flash.error {
    background: #7f1d1d;
    color: #fca5a5;
  }

  .flash.info {
    background: #1e3a8a;
    color: #93c5fd;
  }

  .badge {
    background: #1e3a8a;
    color: #93c5fd;
  }

  .badge.warning {
    background: #78350f;
    color: #fde68a;
  }

  .hint {
    color: #9ca3af;
  }

  .barcode-card {
    background: #2a2a2a;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  }

  .search-section {
    background: #2a2a2a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .search-results-info {
    background: #1e3a8a;
    border-left-color: #60a5fa;
  }

  .modal {
    background: rgba(0, 0, 0, 0.85);
  }

  .modal-content {
    background: #2a2a2a;
    color: #e5e5e5;
  }

  .modal-content video {
    border-color: #4b5563;
  }

  #barcode-status {
    color: #60a5fa;
  }

  table {
    color: #e5e5e5;
  }

  table th {
    background-color: #2a2a2a;
    color: #e5e5e5;
  }

  table td {
    border-color: #4b5563;
  }

  /* Pico.css Dark Mode Overrides */
  :root[data-theme="dark"],
  [data-theme="dark"] {
    --pico-background-color: #1a1a1a;
    --pico-color: #e5e5e5;
    --pico-text-selection-background-color: #3b82f6;
    --pico-primary-background: #3b82f6;
    --pico-primary-underline: #2563eb;
    --pico-primary-hover-background: #2563eb;
    --pico-primary-inverse: #fff;
    --pico-secondary-background: #4b5563;
    --pico-secondary-hover-background: #374151;
    --pico-secondary-inverse: #fff;
    --pico-form-element-background-color: #2a2a2a;
    --pico-form-element-border-color: #4b5563;
    --pico-form-element-color: #e5e5e5;
    --pico-form-element-placeholder-color: #9ca3af;
    --pico-form-element-active-background-color: #1a1a1a;
    --pico-form-element-active-border-color: #3b82f6;
    --pico-form-element-focus-color: #3b82f6;
    --pico-form-element-disabled-opacity: 0.5;
    --pico-form-element-invalid-border-color: #dc2626;
    --pico-form-element-valid-border-color: #10b981;
    --pico-switch-background-color: #4b5563;
    --pico-switch-checked-background-color: #3b82f6;
    --pico-range-border-color: #4b5563;
    --pico-range-active-border-color: #3b82f6;
    --pico-range-thumb-border-color: #3b82f6;
    --pico-range-thumb-active-border-color: #2563eb;
    --pico-table-border-color: #4b5563;
    --pico-table-row-stripped-background-color: #2a2a2a;
    --pico-code-background-color: #2a2a2a;
    --pico-code-color: #e5e5e5;
    --pico-code-kbd-background-color: #1a1a1a;
    --pico-code-kbd-color: #e5e5e5;
    --pico-mark-background-color: #fef3c7;
    --pico-mark-color: #1a1a1a;
    --pico-blockquote-border-color: #4b5563;
    --pico-blockquote-footer-color: #9ca3af;
    --pico-details-border-color: #4b5563;
    --pico-details-summary-underline: #9ca3af;
    --pico-details-summary-hover-underline: #e5e5e5;
    --pico-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --pico-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --pico-button-active-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --pico-input-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --pico-input-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --pico-input-focus-box-shadow: 0 0 0 rgba(59, 130, 246, 0.5);
    --pico-input-invalid-box-shadow: 0 0 0 rgba(220, 38, 38, 0.5);
    --pico-input-valid-box-shadow: 0 0 0 rgba(16, 185, 129, 0.5);
  }
}
