/* =============================
   BASE.CSS - SITEMAPLY
   Mobile-first, dark, accessible, modern
   ============================= */

:root {
  /* Color tokens */
  --background-color: #1E1E1E;
  --surface-color: #23272f;
  --card-color: #23272f;
  --card-border: #404040;
  --card-text: #f5f6fa;
  --button-blue: #4285F4;
  --button-blue-hover: #3367c1;
  --error-color: #DC3545;
  --success-color: #28A745;
  --text-color: #f5f6fa;
  --text-secondary: #b0b0b0;
  --border-color: #404040;
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.5);
  /* Font */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-size-base: 16px;
  --font-weight-headline: 700;
}

html, body {
  font-size: 16px;
  line-height: 1.5;
  background: var(--background-color, #1E1E1E);
  color: var(--font-color, #f5f6fa);
  font-family: var(--font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
  max-width: 100vw;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
  box-sizing: border-box;
}

/* Skip to main content (accessibility) */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  background: #23272f;
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 1.08rem;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  outline: 2px solid #4285F4;
  box-shadow: 0 2px 8px #4285f433;
}

/* Navigation styles moved to navigation.css */
/* Navigation styles moved to navigation.css */

/* Legacy nav-avatar styles removed - using nav-avatar-container instead */
.logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(.25,.8,.25,1);
  position: relative;
  overflow: hidden;
  padding: 0.5rem;
  border-radius: var(--border-radius-lg);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(4px) saturate(1.2);
  -webkit-backdrop-filter: blur(4px) saturate(1.2);
  min-height: 44px;
  min-width: 44px;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(.25,.8,.25,1);
  position: relative;
  overflow: hidden;
  padding: 0.5rem;
  background: transparent;
  min-height: 44px;
  min-width: 44px;
}
.logo:not(:last-child) {
  margin-right: 0.5rem;
}
.logo-m {
  margin-right: 0.1rem;
}
.logo:focus {
  outline: none;
  box-shadow: none;
}
/* Legacy nav-avatar img and span styles removed - using nav-avatar-image and nav-avatar-fallback instead */
.dropdown-toggle svg {
  margin-left: 0.5rem;
  transition: transform 0.22s;
}
.nav-admin-entry .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 18px;
  background: #ffe082;
  color: #856404;
  border: 1.5px solid #ffd54f;
  border-radius: var(--border-radius-lg);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(.25,.8,.25,1);
  min-height: 44px;
  min-width: 44px;
  box-sizing: border-box;
  height: 44px;
  position: relative;
  z-index: 1003;
}
/* Navigation styles moved to navigation.css */

/* LOGO LETTER COLOR DEFINITIONS - STRICTLY FROM briefing.md */
.logo-s    { color: #4285F4; background-image: linear-gradient(120deg, #4285F4 80%, #7baaf7 100%); -webkit-text-fill-color: #4285F4; background-clip: text; -webkit-background-clip: text; text-shadow: 0 2px 8px #4285f455; transition: filter 0.18s, transform 0.18s; }
.logo-i    { color: #EA4335; background-image: linear-gradient(120deg, #EA4335 80%, #ff7b6b 100%); -webkit-text-fill-color: #EA4335; background-clip: text; -webkit-background-clip: text; text-shadow: 0 2px 8px #ea433555; transition: filter 0.18s, transform 0.18s; }
.logo-t    { color: #FBBC05; background-image: linear-gradient(120deg, #FBBC05 80%, #fff176 100%); -webkit-text-fill-color: #FBBC05; background-clip: text; -webkit-background-clip: text; text-shadow: 0 2px 8px #fbbc0555; transition: filter 0.18s, transform 0.18s; }
.logo-e1   { color: #4285F4; background-image: linear-gradient(120deg, #4285F4 80%, #7baaf7 100%); -webkit-text-fill-color: #4285F4; background-clip: text; -webkit-background-clip: text; text-shadow: 0 2px 8px #4285f455; transition: filter 0.18s, transform 0.18s; }
.logo-m    { color: #34A853; background-image: linear-gradient(120deg, #34A853 80%, #7cf7a2 100%); -webkit-text-fill-color: #34A853; background-clip: text; -webkit-background-clip: text; text-shadow: 0 2px 8px #34a85355; transition: filter 0.18s, transform 0.18s; }
.logo-a    { color: #EA4335; background-image: linear-gradient(120deg, #EA4335 80%, #ff7b6b 100%); -webkit-text-fill-color: #EA4335; background-clip: text; -webkit-background-clip: text; text-shadow: 0 2px 8px #ea433555; transition: filter 0.18s, transform 0.18s; }
.logo-p    { color: #FBBC05; background-image: linear-gradient(120deg, #FBBC05 80%, #fff176 100%); -webkit-text-fill-color: #FBBC05; background-clip: text; -webkit-background-clip: text; text-shadow: 0 2px 8px #fbbc0555; transition: filter 0.18s, transform 0.18s; }
.logo-y    { color: #34A853; background-image: linear-gradient(120deg, #34A853 80%, #7cf7a2 100%); -webkit-text-fill-color: #34A853; background-clip: text; -webkit-background-clip: text; text-shadow: 0 2px 8px #34a85355; transition: filter 0.18s, transform 0.18s; }
.logo-dot  { color: #6C757D;  background-image: linear-gradient(120deg, #6C757D 80%, #b0b0b0 100%); -webkit-text-fill-color: #6C757D; background-clip: text; -webkit-background-clip: text; text-shadow: 0 2px 8px #6c757d55; transition: filter 0.18s, transform 0.18s; }
.logo-a2   { color: #fff; background-image: none; -webkit-text-fill-color: #fff; background-clip: text; -webkit-background-clip: text; text-shadow: 0 2px 8px #fff8; transition: filter 0.18s, transform 0.18s; }
.logo-i2   { color: #fff; background-image: none; -webkit-text-fill-color: #fff; background-clip: text; -webkit-background-clip: text; text-shadow: 0 2px 8px #fff8; transition: filter 0.18s, transform 0.18s; }
.logo span:hover, .logo span:focus {
  filter: brightness(1.15) drop-shadow(0 0 8px #fff8);
  transform: scale(1.12) rotate(-2deg);
  outline: none;
}

/* Main content */
.main-content {
  width: auto;
  max-width: none;
  min-width: 0;
  flex: 1 1 auto;
  box-sizing: border-box;
  padding: 1.2rem 1rem 2.5rem 1rem;
  margin: 110px auto 0 auto;
  background: none;
  color: var(--text-color);
  min-height: calc(100vh - 200px);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Card */
.card {
  background: var(--card-color);
  color: var(--card-text);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}
.card:hover {
  box-shadow: var(--shadow-md);
}

/* Footer */
.main-footer {
  background: var(--surface-color);
  border-top: 1px solid var(--border-color);
  padding: 1.2rem 0 0.7rem 0;
  text-align: center;
  width: 100%;
  margin-top: 2rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1rem;
  padding: 0 1rem;
}

/* Footer Links */
.footer-link {
  color: var(--button-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.22s, text-decoration 0.22s;
  padding: 4px 8px;
  border-radius: 4px;
  margin: 0 4px;
}

.footer-link:hover, .footer-link:focus {
  color: var(--button-blue-hover);
  text-decoration: underline;
  background: rgba(66, 133, 244, 0.1);
  outline: none;
}

/* Buttons */
.btn, .btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--border-radius-md);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--button-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 #4285f433, 0 1.5px 0 0 #23272f44;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.18s;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 44px;
  min-width: 44px;
  text-align: center;
}
.btn-primary {
  background: var(--button-blue);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--button-blue-hover);
  color: #fff;
  box-shadow: 0 4px 18px 0 #4285f466, 0 0 0 3px #34A85355;
  transform: scale(1.045);
  outline: none;
}
.btn-secondary {
  background: #232e23;
  color: #b0b0b0;
  border: 1.5px solid #444;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #2d2d2d;
  color: #fff;
  border-color: #28a745;
}
.btn-large {
  font-size: 1.13rem;
  padding: 14px 36px;
}
.btn-danger {
  background: #DC3545;
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 #dc354533;
  transition: background 0.18s, color 0.18s;
}
.btn-danger:hover, .btn-danger:focus {
  background: #b52a37;
  color: #fff;
}

/* Form elements */
input, textarea, select {
  background-color: var(--surface-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  min-height: 44px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--button-blue);
  box-shadow: 0 0 0 2px rgba(66,133,244,0.2);
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--surface-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
th, td {
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
th {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
}
tr:hover {
  background-color: rgba(108, 117, 125, 0.1);
}

/* Error/success messages */
.error-message {
  background: #2e2323;
  color: #fff;
  border: 1.5px solid #ffdddd;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 1.08rem;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px 0 #ffdddd33;
  word-break: break-word;
}
.error-message pre {
  white-space: pre-wrap;
  font-size: 0.98em;
  margin-top: 10px;
}
.success-message {
  margin-bottom: 24px;
  background: #232e23;
  color: var(--success-color);
  border: 2px solid var(--success-color);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 8px 0 #28a74533;
  letter-spacing: 0.01em;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

/* Responsive: Desktop nav (wider screens) */
@media (min-width: 901px) {
  .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .nav-links {
    flex-direction: row;
    background: none;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    padding: 0;
    display: flex;
  }
  .main-nav {
    padding-bottom: 0;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-nav {
    display: none !important;
  }
  .desktop-nav {
    display: flex !important;
  }
}

/* Mobile Navigation Overlay Styles */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: #23272f;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-container.active {
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: #b0b0b0;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1002;
}

.mobile-nav-close:hover {
  background: #404040;
  color: #f5f6fa;
}

/* Mobile Navigation Menu Styles */
.mobile-nav {
  padding: 4rem 0 2rem 0;
  height: 100%;
  overflow-y: auto;
}

.menu-section {
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}

.menu-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #b0b0b0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #404040;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 0;
  color: #f5f6fa;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  min-height: 48px;
}

.menu-item:hover,
.menu-item:focus {
  background: rgba(66, 133, 244, 0.1);
  color: #4285F4;
  text-decoration: none;
}

.menu-item.active {
  background: rgba(66, 133, 244, 0.15);
  color: #4285F4;
  border-left: 3px solid #4285F4;
  padding-left: 1rem;
}

.menu-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.menu-text {
  flex: 1;
}

.menu-divider {
  height: 1px;
  background: #404040;
  margin: 0.5rem 0;
  border: none;
}

/* Profile Section Styles */
.profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 0;
  margin-bottom: 1rem;
}

/* Avatar container styles - removed duplicate, using the enhanced version below */

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: 1rem;
  font-weight: 600;
  color: #f5f6fa;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-email {
  font-size: 0.85rem;
  color: #b0b0b0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logout-item {
  color: #DC3545 !important;
}

.logout-item:hover {
  background: rgba(220, 53, 69, 0.1) !important;
  color: #DC3545 !important;
}

/* Responsive: Mobile nav (<=900px) */
@media (max-width: 900px) {
  .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  .nav-links {
    flex-direction: row;
    background: none;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    padding: 0;
    display: flex;
  }
  .main-nav {
    padding-bottom: 0;
  }
  .mobile-menu-toggle {
    display: flex !important;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1200;
  }
  .nav-links .desktop-nav {
    display: none !important;
  }
  .nav-links .mobile-nav {
    display: none !important;
  }
}

/* Responsive: Main content and footer */
@media (max-width: 600px) {
  .main-content {
    padding: 0.7rem 0.3rem 2rem 0.3rem;
    font-size: 0.98rem;
  }
  .logo {
    font-size: 1.15rem;
  }
  .main-footer {
    font-size: 0.92rem;
    padding: 0.7rem 0 0.5rem 0;
  }
  .footer-container {
    padding: 0 0.3rem;
  }
  .footer-link {
    padding: 6px 10px;
    margin: 0 6px;
    min-width: 44px;
    min-height: 44px;
    display: inline-block;
  }
}

@media (min-width: 1201px) {
  .main-content, .footer-container {
    max-width: 1200px;
    margin: 110px auto 0 auto;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --border-color: #808080;
    --text-secondary: #C0C0C0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}

/* Navigation media queries moved to navigation.css */

/* ===== UTILITY CLASSES ===== */

/* Centered content cards */
.content-card-centered {
  max-width: 500px;
  margin: 60px auto;
  padding: 40px 32px 32px 32px;
  background: var(--surface-color);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  text-align: center;
}

.content-card-wide {
  max-width: 900px;
  margin: 40px auto 60px auto;
  padding: 32px 28px 28px 28px;
  background: var(--surface-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.content-card-medium {
  max-width: 600px;
  margin: 40px auto;
  padding: 32px 28px;
  background: var(--surface-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Error states */
.error-title {
  color: var(--error-color);
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.error-message-text {
  font-size: 1.18rem;
  color: var(--text-color);
  margin-bottom: 18px;
}

.error-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Page titles */
.page-title {
  color: var(--button-blue);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.page-title-large {
  color: var(--button-blue);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2.2rem;
}

/* Links in text */
.inline-link {
  color: var(--button-blue);
  text-decoration: underline;
}

/* Button overrides */
.btn-large {
  font-size: 1.08rem;
  padding: 10px 24px;
}

.btn-medium {
  font-size: 1.08rem;
  padding: 10px 18px;
}

/* Debug and development error messages */
.debug-error {
  color: red;
  background: #ffebee;
  padding: 10px;
  margin: 10px;
  border: 1px solid #f44336;
}

.stack-trace-pre {
  font-size: 0.8em;
}

/* END base.css */ 

/* Admin-Navigationseinträge */
.nav-admin-entry > a,
.nav-admin-entry .btn {
    background: #ffe082;
    color: #856404;
    font-weight: 700;
    border: 1.5px solid #ffd54f;
}
.nav-admin-entry > a:hover,
.nav-admin-entry .btn:hover,
.nav-admin-entry .dropdown-toggle:hover {
    background: #ffd54f;
    color: #6d4c00;
    height: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
} 

/* Admin-Dropdown-Menü */
.nav-admin-entry.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    min-height: 44px;
}
.nav-admin-entry .dropdown-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 5px);
    min-width: 200px;
    background: #ffe082;
    border: 1.5px solid #ffd54f;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.13);
    z-index: 1004;
    padding: 0.5em 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    margin-top: 0;
    will-change: opacity, visibility, transform;
}
.nav-admin-entry:hover .dropdown-menu,
.nav-admin-entry:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.nav-admin-entry .dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 44px;
    display: flex;
    align-items: center;
    position: relative;
}
.nav-admin-entry .dropdown-menu a {
    display: block;
    padding: 0.7em 1.2em;
    color: #856404;
    background: none;
    border: none;
    font-weight: 700;
    text-decoration: none;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
    transform: translateZ(0);
    height: auto;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
    z-index: 1005;
    will-change: background, color;
    backface-visibility: hidden;
}
.nav-admin-entry .dropdown-menu a:hover {
    background: #ffd54f;
    color: #6d4c00;
    width: 100%;
    box-sizing: border-box;
    padding: 0.7em 1.2em;
    margin: 0;
    border: none;
    outline: none;
    box-shadow: none;
    transform: translateZ(0);
    height: auto;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
    z-index: 1005;
    will-change: background, color;
    backface-visibility: hidden;
} 

/* Goldene Checkboxen für Admin-Dropdown */
.nav-admin-entry input[type="checkbox"] {
    accent-color: #ffd700;
    width: 1.15em;
    height: 1.15em;
    border-radius: 4px;
    border: 2px solid #ffd54f;
    background: #fffbe6;
    box-shadow: 0 1px 4px #ffd54f33;
    transition: border 0.18s, box-shadow 0.18s;
}
.nav-admin-entry input[type="checkbox"]:checked {
    background: #ffe082;
    border-color: #ffd700;
    box-shadow: 0 0 0 2px #ffd70055;
}
.nav-admin-entry input[type="checkbox"]:focus {
    outline: 2px solid #ffd700;
    box-shadow: 0 0 0 2px #ffd70088;
} 

.nav-links .active,
.nav-links a:hover,
.nav-links a:focus {
    background: none;
    color: #fff;
    font-weight: 800;
    box-shadow: none;
    border-radius: 0;
    text-decoration: none;
    padding-left: 18px;
    padding-right: 18px;
    transition: color 0.18s;
    height: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-links .active::after,
.nav-links a:hover::after,
.nav-links a:focus::after {
    opacity: 1;
    transform: scaleX(1);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

/* Error page parameter tables */
.params-table {
  margin-bottom: 20px;
}

.params-table h4 {
  color: var(--text-color, #f5f6fa);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 0;
}

.params-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--surface-color, #23272f);
  border-radius: var(--border-radius-md, 8px);
  overflow: hidden;
  border: 1px solid var(--border-color, #404040);
}

.params-table th {
  background-color: var(--card-color, #2a2a2a);
  color: var(--text-color, #f5f6fa);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color, #404040);
}

.params-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color, #404040);
  font-size: 14px;
  line-height: 1.4;
}

.params-table td:last-child {
  border-bottom: none;
}

.params-table code {
  background-color: var(--background-color, #1E1E1E);
  color: var(--text-color, #f5f6fa);
  padding: 4px 8px;
  border-radius: var(--border-radius-sm, 4px);
  font-family: 'Courier New', monospace;
  font-size: 13px;
  border: 1px solid var(--border-color, #404040);
  word-break: break-all;
  max-width: 300px;
  display: inline-block;
}

.params-table tr:hover {
  background-color: var(--card-color, #2a2a2a);
}

@media (max-width: 600px) {
  .params-table table {
    font-size: 12px;
  }
  
  .params-table th,
  .params-table td {
    padding: 8px 12px;
  }
  
  .params-table code {
    font-size: 11px;
    max-width: 200px;
  }
}

/* Copy Stacktrace Button and Status */
.copy-section {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--button-blue);
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.copy-button:hover {
  background: var(--button-blue-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.copy-button:focus {
  outline: 2px solid var(--button-blue);
  outline-offset: 2px;
}

.copy-status {
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.copy-status.success {
  color: var(--success-color);
}

.copy-status.error {
  color: var(--error-color);
} 

/* Navigation avatar styles moved to navigation.css */

/* Legacy nav-avatar styles removed - using nav-avatar-container instead */ 