/* ToolPlease - Exaktes Design nach Vorlage */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Public+Sans:wght@400;500;600;700&display=swap');

/* Local Fonts - Only Used Fonts */

/* LT Wave Mono Light - Used for hero-subtitle */
@font-face {
  font-family: 'LT Wave Mono Light';
  src: url('../font/Wave/LTWaveMono-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* LT Wave Mono Bold - Used for logo, "Ich möchte", "Made with" */
@font-face {
  font-family: 'LTWave Mono';
  src: url('../font/Wave/LTWaveMono-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* LT Wave Text Black - Used for logo and button bold text */
@font-face {
  font-family: 'LTWave Text Black';
  src: url('../font/Wave/LTWaveText-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}



/* Design System */
:root {
  /* Colors */
  --color-primary: #1a1a1a;
  --color-secondary: #0b1b15;
  --color-accent: #3334ef;
  --color-accent-light: #f8eff4;
  --color-success: #09c7be;
  --color-warning: #000000;
  --color-bg: #ffffff;
  --color-bg-soft: #fefefe;
  --color-border: #f1f5f9;
  --color-border-light: #f8fafc;

  /* Typography */
  --font-family: 'LTWave Mono', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-secondary: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 0.7rem;
  --space-lg: 2rem;
  --space-xl: 3rem;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Apple-style Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
  --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.37);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--color-primary);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Sich bewegender Farbverlauf über gesamten Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(45deg,
      rgba(255, 50, 50, 0.22) 0%,
      rgba(255, 150, 0, 0.22) 20%,
      rgba(100, 50, 255, 0.22) 40%,
      rgba(0, 200, 100, 0.22) 60%,
      rgba(200, 0, 255, 0.22) 80%,
      rgba(50, 126, 249, 0.23) 100%);
  background-size: 400% 400%;
  animation: movingGradient 140s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes movingGradient {

  0%,
  100% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 100% 0%;
  }

  50% {
    background-position: 100% 100%;
  }

  75% {
    background-position: 0% 100%;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Header mit Logo, Roboter und Subtitle */
.top-header {
  padding: var(--space-lg) 35px;
  background: transparent;
}

.header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: var(--space-xs);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(26, 26, 26, 0.5);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 2px;
  opacity: 0.7;
}

.lang-btn:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.lang-btn.active {
  background: var(--color-accent);
  color: white;
  opacity: 1;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: 'LTWave Text Black', var(--font-family);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo:hover .robot-icon {
  animation: robot-hop 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.robot-icon {
  width: 32px;
  height: 32px;
  animation: floating-robot 3s ease-in-out infinite;
  position: absolute;
  right: -40px;
  top: 0;
}

.heart-icon {
  width: 17px;
  height: 17px;
  animation: floating-heart 3s ease-in-out infinite;
  position: relative;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.02em;
  font-family: 'LT Wave Mono Light', monospace, var(--font-secondary);
  text-align: center;
  margin: 0;
  transform: translateY(60px);
}

@keyframes floating-robot {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-5px) rotate(2deg);
  }
}

@keyframes floating-heart {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-2px) rotate(1deg);
  }
}

@keyframes robot-hop {
  0% {
    transform: translateY(0px);
  }

  30% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-2px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Hero Section - Normales Layout von oben nach unten */
.hero {
  background: transparent;
  padding: 2rem 0 3rem 0;
  position: relative;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

/* Main Content - Für Results sichtbar */
.main {
  padding: var(--space-md) 0;
}

/* Search Section - Direkt in Hero */
.search-section {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.search-card {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.input-group {
  margin-bottom: var(--space-lg);
}

.input-label {
  display: block;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 900;
  font-family: 'LTWave Text Black', var(--font-family);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-lg);
  text-align: center;
  letter-spacing: 0.02em;
  position: relative;
  z-index: -1;
  transform: translateX(-4rem);
}

.search-input {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  font-size: clamp(0.9rem, 2.2vw, 1.2rem);
  border: 1px solid transparent;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #a3a9c5;
  font-family: 'LT Wave Mono Light', monospace, var(--font-secondary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
  top: -3.5rem;
}

.search-input::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, #ec4899, #a855f7, #3b82f6);
  border-radius: 50px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.search-input:focus {
  outline: none;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #1a1a1a;
  transform: translateY(-2px);
}

.search-input:focus::before {
  opacity: 1;
}

.search-input::placeholder {
  color: #a3a9c5;
  font-weight: 400;
  font-size: 0.9em;
}

.search-button {
  width: auto;
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 900;
  font-family: 'LTWave Text Black', var(--font-family);
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-top: -2rem;
}

.search-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.4s ease;
}

.search-button:hover {
  background: linear-gradient(135deg, var(--color-accent) 0%, #4692ef 100%);
  border-color: transparent;
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 64px rgba(59, 130, 246, 0.4),
    0 8px 32px rgba(37, 99, 235, 0.3);
}

@keyframes colorShift {
  0% {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 16px 64px rgba(59, 130, 246, 0.4),
      0 8px 32px rgba(29, 78, 216, 0.3);
  }

  25% {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    box-shadow: 0 16px 64px rgba(30, 64, 175, 0.4),
      0 8px 32px rgba(30, 58, 138, 0.3);
  }

  50% {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 16px 64px rgba(14, 165, 233, 0.4),
      0 8px 32px rgba(2, 132, 199, 0.3);
  }

  75% {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 16px 64px rgba(3, 105, 161, 0.4),
      0 8px 32px rgba(7, 89, 133, 0.3);
  }

  100% {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 16px 64px rgba(59, 130, 246, 0.4),
      0 8px 32px rgba(29, 78, 216, 0.3);
  }
}

.search-button:hover::before {
  left: 100%;
}

.search-button:active {
  transform: translateY(-1px) scale(1.01);
}

/* Examples Section */
.examples {
  text-align: center;
  margin-top: 25px;
}

.examples-title {
  font-size: 1rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
  font-weight: 500;
  margin-top: 60px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
  justify-content: center;
  max-width: 800px;
  margin: 15px auto 0;
}

/* Example Pills - Einheitliche Positionierung ohne individuelle Versetzung */

.example-pill {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-secondary);
  letter-spacing: 0.01em;
  padding: var(--space-sm) var(--space-md);
  border-radius: 50px;
  font-size: 14.5px;
  font-family: var(--font-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Dynamic Color Classes for Example Pills - Unified Animation */
.example-pill.color-pink:hover {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  border-color: transparent;
  color: #000000;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 64px rgba(252, 231, 243, 0.4),
    0 8px 32px rgba(251, 207, 232, 0.3);
}

.example-pill.color-blue:hover {
  background: linear-gradient(135deg, #dbeafe, #bae6fd);
  border-color: transparent;
  color: #000000;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 64px rgba(219, 234, 254, 0.4),
    0 8px 32px rgba(186, 230, 253, 0.3);
}

.example-pill.color-green:hover {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-color: transparent;
  color: #000000;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 64px rgba(209, 250, 229, 0.4),
    0 8px 32px rgba(167, 243, 208, 0.3);
}

.example-pill.color-cyan:hover {
  background: linear-gradient(135deg, #67e8f9, #e0f2fe);
  border-color: transparent;
  color: #000000;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 64px rgba(103, 232, 249, 0.4),
    0 8px 32px rgba(224, 242, 254, 0.3);
}

.example-pill.color-purple:hover {
  background: linear-gradient(135deg, #f3e8ff, #ddd6fe);
  border-color: transparent;
  color: #000000;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 64px rgba(243, 232, 255, 0.4),
    0 8px 32px rgba(221, 214, 254, 0.3);
}

.example-pill.color-orange:hover {
  background: linear-gradient(135deg, #fed7aa, #fdba74);
  border-color: transparent;
  color: #000000;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 64px rgba(254, 215, 170, 0.4),
    0 8px 32px rgba(253, 186, 116, 0.3);
}

.example-pill.color-red:hover {
  background: linear-gradient(135deg, #fecaca, #fca5a5);
  border-color: transparent;
  color: #000000;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 64px rgba(254, 202, 202, 0.4),
    0 8px 32px rgba(252, 165, 165, 0.3);
}

.example-pill.color-yellow:hover {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: transparent;
  color: #000000;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 64px rgba(254, 243, 199, 0.4),
    0 8px 32px rgba(253, 230, 138, 0.3);
}

/* Results Section */
.results-section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  display: block !important;
  visibility: visible !important;
}

.results-section.show {
  opacity: 1;
  transform: translateY(0);
  display: block !important;
  visibility: visible !important;
}

.results-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.results-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: var(--space-sm);
}

.goal-summary {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0 auto var(--space-xl);
  max-width: 800px;
}

.goal-text {
  font-size: 1.1rem;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.6;
  font-family: var(--font-secondary);
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

/* Tool Cards - Apple-style mit Glasmorphismus */
.tool-card {
  background: rgba(245, 245, 248, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-up 0.5s ease forwards;
  box-shadow: var(--shadow-glass),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tool-card:nth-child(1) {
  animation-delay: 0.1s;
}

.tool-card:nth-child(2) {
  animation-delay: 0.2s;
}

.tool-card:nth-child(3) {
  animation-delay: 0.3s;
}

.tool-card:nth-child(4) {
  animation-delay: 0.4s;
}

.tool-card:nth-child(5) {
  animation-delay: 0.5s;
}

.tool-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tool-card:hover {
  box-shadow: 0 20px 80px rgba(59, 130, 246, 0.15),
    0 10px 40px rgba(139, 92, 246, 0.1),
    0 5px 20px rgba(16, 185, 129, 0.08);
  transform: translateY(-8px) scale(1.02);
  border: 1px solid transparent;
  background: linear-gradient(white, rgb(246, 246, 248)) padding-box,
    linear-gradient(135deg, #3b82f6, #8b5cf6, #10b981) border-box;
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
  gap: var(--space-sm);
}

.tool-info {
  flex: 1;
}

.tool-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.tool-icon {
  font-size: 1.5em;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  margin-right: var(--space-sm);
  overflow: hidden;
}

.tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.tool-icon-fallback {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--color-primary);
}

/* Use-Case Recommendations */
.use-case-recommendations {
  margin-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
}

.recommendations-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: var(--space-xs);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.recommendations-toggle:hover {
  background: var(--color-border);
}

.toggle-icon {
  transition: transform 0.2s ease;
}

.use-case-recommendations.expanded .toggle-icon {
  transform: rotate(180deg);
}

.recommendations-content {
  display: none;
  padding: var(--space-sm) 0;
  gap: var(--space-xs);
  flex-direction: column;
}

.use-case-recommendations.expanded .recommendations-content {
  display: flex;
}

.use-case-item {
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  font-size: 12.8px;
  margin-bottom: var(--space-xs);
}

.use-case-item.recommended {
  background: transparent;
  color: #059669;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.use-case-item.not-recommended {
  background: transparent;
  color: #dc2626;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.best-for {
  padding: var(--space-sm);
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 12.8px;
  color: var(--color-text);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Workflows Section */
.workflows-section {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 2px solid var(--color-border);
}

.workflows-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.workflows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.workflow-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.workflow-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.workflow-header {
  margin-bottom: var(--space-md);
}

.workflow-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.workflow-description {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.workflow-tools {
  margin-bottom: var(--space-md);
}

.workflow-step-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: var(--space-xs);
  transition: transform 0.2s ease;
}

.workflow-step-link:hover {
  transform: translateY(-1px);
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(59, 130, 246, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.workflow-step-link:hover .workflow-step {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

.step-number {
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-role {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.tool-name {
  color: var(--color-primary);
  font-weight: 600;
}

.workflow-steps-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-list li {
  padding: var(--space-xs) 0;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  padding-left: 2rem;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
}

.steps-list li:before {
  content: '→ ';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  white-space: pre;
}

.steps-list li:last-child {
  border-bottom: none;
}

.tool-category {
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-secondary);
}

.tool-price {
  background: #ffffff;
  color: var(--color-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.tool-price.free {
  background: #ffffff;
  color: var(--color-secondary);
}

.tool-price.paid {
  background: #ffffff;
  color: var(--color-warning);
}

.tool-price.premium {
  background: #ffffff);
  border: 1px solid rgb(226, 226, 226);
  color: var(--color-primary);
}

.tool-description {
  margin-bottom: var(--space-md);
  position: relative;
}

.tool-description .description-text {
  color: var(--color-secondary);
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--font-secondary);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease-in-out;
}

.tool-description .expand-toggle {
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  font-size: 0.875rem;
  padding: 0.25rem 0;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: var(--font-family);
  display: inline-block;
}

.tool-description .expand-toggle:hover {
  color: #be185d;
  text-decoration: none;
}

.tool-description .expand-toggle:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .tool-description .expand-toggle {
    font-size: 1rem;
    padding: 0.5rem 0;
    min-height: 44px;
    /* Touch-friendly */
  }
}

/* Legacy collapsed/expanded classes für Rückwärtskompatibilität */
.tool-description.collapsed {
  overflow: hidden;
  max-height: 1.5em;
  cursor: pointer;
}

.tool-description.collapsed::after {
  content: '...';
  position: absolute;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9) 50%);
  padding-left: 1rem;
}

.tool-description.expanded {
  overflow: visible;
  max-height: none;
}

.tool-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

/* Feature tags removed - no longer used */

.tool-rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.stars {
  color: var(--color-warning);
}

.rating-text {
  color: var(--color-secondary);
}

.tool-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
  gap: var(--space-sm);
}

.platform-info {
  font-size: 0.85rem;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-secondary);
}

.tool-link {
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.tool-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.4s ease;
}

.tool-link:hover {
  background: linear-gradient(135deg, var(--color-accent) 0%, #d946ef 100%);
  border-color: transparent;
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 16px 64px rgba(236, 72, 153, 0.4),
    0 8px 32px rgba(168, 85, 247, 0.3);
}

.tool-link:hover::before {
  left: 100%;
}

/* Badges - 5 Main Categories */
.recommended-badge,
.popular-badge,
.new-badge,
.professional-badge,
.free-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-sm);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-secondary);
}

.recommended-badge {
  background: var(--color-accent);
  /* Accent Color - Empfohlen */
  color: white;
}

.popular-badge {
  background: #b514b5;
  /* Purple - Beliebt */
  color: white;
}

.new-badge {
  background: #f59e0b;
  /* Orange - Neu */
  color: white;
}

.professional-badge {
  background: #8b5cf6;
  /* Purple - Professionell */
  color: white;
}

.free-badge {
  background: #6b7280;
  /* Gray - Kostenlos */
  color: white;
}

/* Use-Case Badge */
.use-case-badge {
  background: #b514b5;
  /* Same as recommended/popular */
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-secondary);
  display: inline-block;
  margin-right: var(--space-xs);
}

/* Use-Case Recommendations */
.use-case-recommendations {
  margin: var(--space-sm) 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.recommendations-toggle {
  background: var(--color-bg-soft);
  padding: var(--space-xs) var(--space-sm);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: background-color 0.2s ease;
}

.recommendations-toggle:hover {
  background: var(--color-border-light);
}

.toggle-icon {
  transition: transform 0.2s ease;
  font-size: 0.7rem;
}

.use-case-recommendations.expanded .toggle-icon {
  transform: rotate(180deg);
}

.recommendations-content {
  display: none;
  padding: var(--space-sm);
  background: white;
}

.use-case-recommendations.expanded .recommendations-content {
  display: block;
}

.recommended-uses,
.not-recommended-uses {
  margin-bottom: var(--space-xs);
}

.use-case-item {
  padding: 0.3rem 0.6rem;
  margin: 0.2rem 0;
  border-radius: var(--radius-sm);
  font-size: 12.8px;
  line-height: 1.4;
}

.use-case-item.recommended {
  background: transparent;
  color: #0369a1;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.use-case-item.not-recommended {
  background: transparent;
  color: #dc2626;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Enhanced Loading States */
.loading {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  position: relative;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto var(--space-md);
}

/* Enhanced Processing Spinner */
.enhanced-processing-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(181, 20, 181, 0.1);
  border-top: 4px solid var(--color-accent);
  border-radius: 50%;
  animation: enhancedSpin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  margin: 0 auto var(--space-md);
  position: relative;
}

.enhanced-processing-spinner::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 2px solid transparent;
  border-top: 2px solid rgba(181, 20, 181, 0.6);
  border-radius: 50%;
  animation: enhancedSpinReverse 0.8s linear infinite;
}

/* Multi-step Loading Indicator */
.multi-step-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.loading-step {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border);
  animation: loadingPulse 1.4s ease-in-out infinite both;
}

.loading-step:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-step:nth-child(2) {
  animation-delay: -0.16s;
}

.loading-step:nth-child(3) {
  animation-delay: 0s;
}

.loading-step.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* Loading Text with Typewriter Effect */
.loading-text {
  font-size: 1.1rem;
  color: var(--color-secondary);
  font-weight: 500;
  position: relative;
}

.loading-text.typewriter::after {
  content: '|';
  animation: blink 1s infinite;
  color: var(--color-accent);
}

.enhanced-loading-text {
  font-size: 1rem;
  color: var(--color-secondary);
  margin-top: var(--space-sm);
  opacity: 0.8;
  font-style: italic;
}

/* Processing Status Indicator */
.processing-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(181, 20, 181, 0.2);
  margin: var(--space-md) auto;
  max-width: 400px;
}

.processing-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.processing-step.active {
  background: rgba(181, 20, 181, 0.1);
  color: var(--color-accent);
}

.processing-step.completed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.step-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

.step-icon.active {
  background: var(--color-accent);
  color: white;
  animation: pulse 2s infinite;
}

.step-icon.completed {
  background: #10b981;
  color: white;
}

.step-text {
  font-size: 0.9rem;
  font-weight: 500;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes enhancedSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.1);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes enhancedSpinReverse {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes loadingPulse {

  0%,
  80%,
  100% {
    transform: scale(0.8);
    background: var(--color-border);
  }

  40% {
    transform: scale(1.2);
    background: var(--color-accent);
  }
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Footer */
.footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  text-align: center;
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.footer-robot-icon {
  width: 32px;
  height: 32px;
}

.footer-description {
  color: var(--color-secondary);
  font-size: 1rem;
  margin: 0;
  max-width: 400px;
}

/* Footer Section */
.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

.footer-section-text {
  color: var(--color-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
  text-align: center;
}

.footer-cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(135deg, var(--color-accent) 0%, #9333ea 100%);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.footer-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
  text-decoration: none;
  color: white;
}



/* Footer Text Links */
.footer-links-section {
  text-align: center;
  padding: var(--space-md) 0;
}

.footer-copy-text {
  color: var(--color-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  font-family: var(--font-secondary);
  ;
}

.footer-text-link {
  color: var(--color-secondary);
  letter-spacing: 0.02em;
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin: 0 4px;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-text-link:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* Ensure links are visible */
.footer-links-section a {
  text-decoration: none;
  font-size: 14.5px;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-links-section a:hover {
  color: var(--color-accent) !important;
  text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  gap: var(--space-md);
}

.footer-made-with {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.footer-made-with p {
  color: var(--color-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-link {
  color: var(--color-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .input-label {
    transform: translateX(-3rem);
  }

  .search-input {
    top: -3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .hero {
    padding: 0;
  }

  .search-card {
    padding: 20px 10px;
  }

  .input-label {
    transform: translateX(-2rem);
    font-size: clamp(3rem, 10vw, 4rem);
  }

  .search-input {
    top: -2.5rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .examples-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    max-width: 300px;
    margin: 0 auto;
  }

  /* Footer Responsive */
  .footer-content {
    gap: var(--space-md);
  }

  .footer-section {
    padding: var(--space-sm);
  }

  .footer-section-text {
    font-size: 0.9rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  /* Language Switcher Mobile */
  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-left {
    align-items: center;
  }

  .language-switcher {
    margin-top: var(--space-sm);
  }

  .search-button {
    margin-top: 0.5rem;
  }

  .logo {
    font-size: 1.6rem;
  }

  .example-pill {
    width: 100%;
    text-align: center;
    transform: translateX(0px) !important;
  }

  .tool-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .input-label {
    transform: translateX(-1rem);
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .top-header {
    padding: 40px 0px 0px;
    background: transparent;
  }

  .search-input {
    top: -2rem;
  }

  .search-button {
    margin-top: 2rem;
    font-size: 1rem;
    padding: var(--space-md) var(--space-lg);
  }

  .logo {
    font-size: 1.75rem;
  }

  .lang-btn {
    font-size: 0.65rem;
    padding: 1px 4px;
    opacity: 0.5;
  }

  .language-switcher {
    gap: 2px;
  }
}

/* Sp
ecial Features */
.special-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.special-feature-tag {
  background: linear-gradient(135deg, #17bfd5, #0fa1d2);
  transition: left 0.4s ease;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-secondary);

}

/* 
Workflows Section */
.workflows-section {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border-light);
}

.workflows-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--space-lg);
  font-family: var(--font-family);
}

.workflows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.workflow-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: var(--shadow-glass);
}

.workflow-card:hover {
  box-shadow:
    0 16px 64px rgba(139, 92, 246, 0.15),
    0 8px 32px rgba(59, 130, 246, 0.1),
    0 4px 16px rgba(16, 185, 129, 0.08);
  transform: translateY(-4px) scale(1.01);
  border: 1px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #8b5cf6, #3b82f6, #10b981) border-box;
}

.workflow-header {
  margin-bottom: var(--space-md);
}

.workflow-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  font-family: var(--font-family);
}

.workflow-description {
  font-size: 0.9rem;
  color: var(--color-secondary);
  line-height: 1.4;
  font-family: var(--font-secondary);
}

.workflow-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.workflow-tool {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-xs) var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 80px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.workflow-tool:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.workflow-tool-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-secondary);
}

.workflow-tool-role {
  font-size: 0.7rem;
  color: var(--color-secondary);
  font-family: var(--font-secondary);
  margin-top: 2px;
}

.workflow-steps {
  margin-top: var(--space-md);
}

.workflow-steps-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  font-family: var(--font-secondary);
}

.workflow-steps-list {
  margin: 0;
  padding-left: var(--space-md);
  font-family: var(--font-secondary);
}

.workflow-steps-list li {
  font-size: 0.85rem;
  color: var(--color-secondary);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.workflow-steps-list li:last-child {
  margin-bottom: 0;
}

/* Responsive Workflows */
@media (max-width: 768px) {
  .workflows-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .workflow-tools {
    justify-content: center;
  }
}

/* Feed
back UI Styles */
.feedback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.feedback-modal {
  background: white;
  border-radius: 12px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #eee;
}

.feedback-header h3 {
  margin: 0;
  color: #333;
  font-size: 18px;
}

.feedback-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.5s ease;
}

.feedback-close:hover {
  background-color: #f5f5f5;
}

.feedback-content {
  padding: 20px 24px 24px;
}

.feedback-query {
  margin: 0 0 12px;
  color: #666;
  font-size: 14px;
}

.feedback-category {
  margin: 0 0 20px;
  color: #333;
  font-size: 14px;
}

.feedback-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.feedback-btn {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.feedback-correct {
  border-color: #4CAF50;
  color: #4CAF50;
}

.feedback-correct:hover {
  background: #4CAF50;
  color: white;
}

.feedback-incorrect {
  border-color: #f44336;
  color: #f44336;
}

.feedback-incorrect:hover {
  background: #f44336;
  color: white;
}

.feedback-correction {
  margin-top: 16px;
}

.feedback-correction p {
  margin: 0 0 12px;
  color: #333;
  font-weight: 500;
}

.feedback-category-select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 12px;
}

.feedback-comments {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 16px;
}

.feedback-submit-buttons {
  display: flex;
  gap: 12px;
}

.feedback-submit {
  background: #2196F3;
  color: white;
  border-color: #2196F3;
}

.feedback-submit:hover {
  background: #1976D2;
  border-color: #1976D2;
}

.feedback-cancel {
  background: #f5f5f5;
  color: #666;
  border-color: #ddd;
}

.feedback-cancel:hover {
  background: #e0e0e0;
}

.feedback-thanks {
  text-align: center;
  padding: 20px;
}

.feedback-thanks-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feedback-thanks h3 {
  margin: 0 0 8px;
  color: #4CAF50;
}

.feedback-thanks p {
  margin: 0;
  color: #666;
}

.feedback-trigger-btn {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 8px;
}

.feedback-trigger-btn:hover {
  background: #e9ecef;
  color: #495057;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced Classification System Styles */

/* Clarification Section */
.clarification-section {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg);
}

.clarification-message {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.clarification-message p {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin: 0;
}

/* Alternatives Grid */
.alternatives-grid {
  margin-bottom: var(--space-lg);
}

.alternatives-grid h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  text-align: center;
}

.alternative-card {
  background: var(--color-bg-soft);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.alternative-card:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  transform: translateY(-2px);
}

.alternative-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.alternative-header h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

.confidence-badge {
  background: var(--color-accent);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.alternative-description {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* Clarification Questions */
.clarification-questions {
  margin-bottom: var(--space-lg);
}

.clarification-questions h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  text-align: center;
}

.question-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.question-list li {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  margin-bottom: var(--space-xs);
  font-size: 0.95rem;
  color: var(--color-primary);
}

.question-list li:before {
  content: "💭 ";
  margin-right: var(--space-xs);
}

/* Clarification Actions */
.clarification-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.retry-button,
.new-search-button {
  background: var(--color-bg-soft);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.retry-button:hover,
.new-search-button:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

/* Metadata Display */
.metadata-display {
  margin-top: var(--space-sm);
  opacity: 0.7;
}

.metadata-display details {
  cursor: pointer;
}

.metadata-display summary {
  font-size: 0.8rem;
  color: #666;
  user-select: none;
}

.metadata-content {
  margin-top: var(--space-xs);
  padding: var(--space-xs);
  background: #f8f9fa;
  border-radius: var(--radius-sm);
  font-family: monospace;
}

.metadata-content p {
  margin: 2px 0;
  font-size: 0.75rem;
  line-height: 1.3;
}

/* Loading States for Enhanced Classification */
.classification-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  color: var(--color-primary);
}

.classification-loading .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Typo Correction Visual Indicators */
.typo-correction-notification {
  background: linear-gradient(135deg,
      rgba(34, 197, 94, 0.1) 0%,
      rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  animation: slideInFromTop 0.5s ease-out;
  position: relative;
  overflow: hidden;
}

.typo-correction-notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  animation: shimmer 2s ease-in-out infinite;
}

.typo-icon {
  font-size: 1.2rem;
  color: #10b981;
  animation: bounce 2s infinite;
}

.typo-text {
  color: #065f46;
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
}

.typo-original {
  text-decoration: line-through;
  color: #dc2626;
  font-weight: 400;
}

.typo-corrected {
  color: #10b981;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  margin: 0 0.2rem;
}

.typo-dismiss {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.typo-dismiss:hover {
  background: rgba(107, 114, 128, 0.1);
  color: #374151;
}

/* Enhanced Search Input with Typo Indication */
.search-input.typo-detected {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.05);
  animation: typoGlow 2s ease-in-out infinite;
}

.search-input.typo-corrected {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.05);
  animation: correctionGlow 1s ease-out;
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typoGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
  }
}

@keyframes correctionGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.2);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Error States */
.classification-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  color: #dc2626;
  text-align: center;
}

.classification-error .error-title {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.classification-error .error-message {
  font-size: 0.9rem;
  margin: 0;
}

/* Enhanced Tool Cards */
.tool-card.enhanced {
  position: relative;
}

.tool-card.enhanced::before {
  content: "🤖";
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.8rem;
  opacity: 0.6;
}

.contextual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--space-xs);
}

.contextual-tag {
  background: var(--color-accent-light);
  color: var(--color-accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
}

.relevance-explanation {
  font-size: 0.8rem;
  color: #666;
  font-style: italic;
  margin-top: var(--space-xs);
  padding-top: var(--space-xs);
  border-top: 1px solid var(--color-border-light);
}

/* Responsive Design for Clarification */
@media (max-width: 768px) {
  .clarification-section {
    padding: var(--space-md);
  }

  .clarification-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .retry-button,
  .new-search-button {
    justify-content: center;
  }

  .alternatives-grid {
    margin-bottom: var(--space-md);
  }

  .alternative-card {
    padding: var(--space-sm);
  }
}

/*
 Personality and Easter Egg Styles */
.personality-response {
  position: relative;
  overflow: hidden;
}

.personality-response::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--personality-color, #ec4899), transparent);
  opacity: 0.7;
}

.personality-response .results-title {
  color: #1a1a1a;
}

.special-message {
  background: linear-gradient(135deg, var(--personality-color, #ec4899)20, transparent);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  font-style: italic;
  border-left: 4px solid var(--personality-color, #ec4899);
}



.surprise-me-btn {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.surprise-me-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

/* Emoji Rain Animation */
@keyframes emojiRain {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Enhanced Tool Cards for Fun Queries */
.personality-response .tool-card {
  position: relative;
  overflow: hidden;
}

.personality-response .tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--personality-color, #ec4899), transparent);
  opacity: 0.5;
}

.tool-card.fun-tool {
  background: linear-gradient(135deg, #fdf2f8, #f0f9ff);
  border: 2px solid var(--personality-color, #ec4899);
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.15);
}

.tool-card.fun-tool .tool-name {
  color: var(--personality-color, #ec4899);
}

.fun-fact {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-style: italic;
  border-left: 3px solid #f59e0b;
}

/* Sparkle Effect for Magic Queries */
@keyframes sparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.sparkle {
  position: absolute;
  pointer-events: none;
  animation: sparkle 1.5s infinite;
}

/* Floating Animation for Flying Queries */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Pulse Effect for Superhero Queries */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Glow Effect for Mystical Queries */
@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 5px var(--personality-color, #9370DB);
  }

  50% {
    box-shadow: 0 0 20px var(--personality-color, #9370DB), 0 0 30px var(--personality-color, #9370DB);
  }
}

.mystical-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Money Animation for Millionaire Queries */
@keyframes money-spin {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

.money-spin {
  animation: money-spin 2s linear infinite;
}

/* Party Mode Styles */
.party-mode {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7);
  background-size: 400% 400%;
  animation: party-gradient 3s ease infinite;
}

@keyframes party-gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Responsive Personality Features */
@media (max-width: 768px) {


  .special-message {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}

/* Dark Mode Support for Personality Features */
@media (prefers-color-scheme: dark) {


  .special-message {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), transparent);
    color: #e0e7ff;
  }
}

/* Enhanced Fun Query Styles */
.fun-query-result {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: funQueryAppear 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

.fun-query-result::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  animation: shimmer 2s ease-in-out infinite;
}

/* Fun Query Categories with Different Themes */
.fun-query-result.magic-theme {
  background: linear-gradient(135deg,
      rgba(139, 92, 246, 0.1) 0%,
      rgba(168, 85, 247, 0.05) 100%);
  border-color: rgba(139, 92, 246, 0.3);
}

.fun-query-result.love-theme {
  background: linear-gradient(135deg,
      rgba(236, 72, 153, 0.1) 0%,
      rgba(219, 39, 119, 0.05) 100%);
  border-color: rgba(236, 72, 153, 0.3);
}

.fun-query-result.money-theme {
  background: linear-gradient(135deg,
      rgba(34, 197, 94, 0.1) 0%,
      rgba(16, 185, 129, 0.05) 100%);
  border-color: rgba(34, 197, 94, 0.3);
}

.fun-query-result.tech-theme {
  background: linear-gradient(135deg,
      rgba(59, 130, 246, 0.1) 0%,
      rgba(37, 99, 235, 0.05) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

@keyframes funQueryAppear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* Enhanced Fun Query Emoji with Better Animation */
.fun-query-emoji {
  font-size: 3rem;
  animation: enhancedBounce 2s infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  position: relative;
}

.fun-query-emoji::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: glow 2s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes enhancedBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  10% {
    transform: translateY(-10px) rotate(-2deg);
  }

  30% {
    transform: translateY(-5px) rotate(1deg);
  }

  60% {
    transform: translateY(-3px) rotate(-1deg);
  }
}

@keyframes glow {
  from {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }

  to {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Enhanced Fun Query Tools Grid */
.fun-query-tools .tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.fun-tool-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(248, 250, 252, 0.8) 100%);
  border: 2px solid rgba(181, 20, 181, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.fun-tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(181, 20, 181, 0.05) 0%,
      rgba(139, 92, 246, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fun-tool-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(181, 20, 181, 0.3);
  box-shadow:
    0 20px 40px rgba(181, 20, 181, 0.15),
    0 10px 20px rgba(139, 92, 246, 0.1);
}

.fun-tool-card:hover::before {
  opacity: 1;
}

/* Fun Query Interactive Elements */
.try-again-btn {
  background: linear-gradient(135deg, var(--color-accent) 0%, #d946ef 100%);
  color: white;
  border: none;
  padding: var(--space-sm) var(--space-lg);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.try-again-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.4s ease;
}

.try-again-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(181, 20, 181, 0.4);
}

.try-again-btn:hover::before {
  left: 100%;
}

.fun-query-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  justify-content: center;
}

.fun-query-emoji {
  font-size: 3rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.fun-query-title {
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fun-query-content {
  text-align: center;
  margin-bottom: 2rem;
}

.fun-query-response {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

.fun-query-fact {
  font-size: 1rem;
  color: var(--color-accent);
  font-style: italic;
  padding: 1rem;
  background: rgba(181, 20, 181, 0.1);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
  margin: 0;
}

.fun-query-tools {
  margin-bottom: 2rem;
}

.tools-header {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 1.5rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.fun-tool-card {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(181, 20, 181, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.fun-tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(181, 20, 181, 0.1), transparent);
  transition: left 0.5s ease;
}

.fun-tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}

.fun-tool-card:hover::before {
  left: 100%;
}

.tool-header {
  margin-bottom: 0.5rem;
}

.tool-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

.tool-description {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tool-link:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.fun-query-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(181, 20, 181, 0.2);
}

.fun-query-suggestion {
  color: var(--color-secondary);
  margin: 0;
}

.try-again-btn {
  background: none;
  border: none;
  color: var(--color-accent);
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s ease;
}

.try-again-btn:hover {
  color: var(--color-primary);
}

/* Special Effects */
.sparkle-effect {
  position: relative;
  overflow: visible;
}

.sparkle-effect::after {
  content: '✨';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 2rem;
  animation: sparkle 2s infinite;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}

.floating-heart {
  position: fixed;
  font-size: 2rem;
  pointer-events: none;
  z-index: 1000;
  animation: floatUp 4s linear forwards;
}

@keyframes floatUp {
  0% {
    bottom: -50px;
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }

  100% {
    bottom: 100vh;
    opacity: 0;
    transform: translateX(20px) rotate(360deg);
  }
}

.money-rain {
  position: fixed;
  font-size: 2rem;
  pointer-events: none;
  z-index: 1000;
  animation: fallDown 5s linear forwards;
}

@keyframes fallDown {
  0% {
    top: -50px;
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }

  100% {
    top: 100vh;
    opacity: 0;
    transform: translateX(-20px) rotate(360deg);
  }
}

/* Responsive Fun Query Styles */
@media (max-width: 768px) {
  .fun-query-result {
    margin: 1rem;
    padding: 1.5rem;
  }

  .fun-query-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .fun-query-emoji {
    font-size: 2.5rem;
  }

  .fun-query-title {
    font-size: 1.5rem;
  }

  .fun-query-response {
    font-size: 1.1rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .fun-tool-card {
    padding: 1rem;
  }

  /* Enhanced Mobile Responsive Additions */
  .fun-query-tools .tools-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Universal Helpers Mobile Styles */
  .universal-helpers-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .universal-helper-card {
    padding: var(--space-md);
  }

  .universal-helper-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
  }

  .universal-helper-badge {
    margin-top: var(--space-xs);
  }

  /* Typo Correction Mobile Styles */
  .typo-correction-notification {
    padding: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }

  .typo-text {
    font-size: 0.85rem;
  }

  /* Loading States Mobile */
  .processing-status {
    padding: var(--space-md);
    margin: var(--space-sm) auto;
  }

  .processing-step {
    padding: var(--space-xs);
  }

  .step-text {
    font-size: 0.8rem;
  }

  /* Enhanced Search Input Mobile */
  .search-input {
    font-size: 1rem;
    padding: var(--space-md) var(--space-lg);
  }
}

/* Dark Mode Support for Fun Queries */
@media (prefers-color-scheme: dark) {
  .fun-query-result {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(17, 24, 39, 0.9));
    border-color: rgba(255, 255, 255, 0.1);
  }

  .fun-tool-card {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(181, 20, 181, 0.3);
  }

  .fun-query-fact {
    background: rgba(181, 20, 181, 0.2);
    color: #e0e7ff;
  }
}

/ * Universal Helpers Styling */ .universal-helpers-header {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
  border: 2px solid #e1e8ff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.universal-helpers-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #06b6d4, #10b981, #f59e0b);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 200% 0;
  }

  50% {
    background-position: -200% 0;
  }
}

.universal-helpers-title {
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.universal-helpers-explanation {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-sm);
}

.universal-helpers-reason {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.reason-icon {
  font-size: 1.1rem;
}

.universal-helpers-message {
  color: #334155;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.universal-helpers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.universal-helper-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.universal-helper-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #06b6d4, #10b981);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.universal-helper-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.universal-helper-card:hover::before {
  opacity: 1;
}

.universal-helper-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.tool-icon-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.universal-helper-card .tool-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.universal-helper-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tool-title-section {
  flex: 1;
}

.universal-helper-card .tool-name {
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.universal-helper-card .tool-category {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

.tool-rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.rating-stars {
  color: #fbbf24;
  font-size: 0.9rem;
}

.rating-number {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
}

.relevance-explanation {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.relevance-icon {
  font-size: 1rem;
}

.relevance-text {
  color: #92400e;
  font-size: 0.9rem;
  font-weight: 500;
}

.universal-helper-card .tool-features {
  margin-bottom: var(--space-md);
}

.universal-helper-card .features-list {
  list-style: none;
  display: grid;
  gap: var(--space-xs);
}

.universal-helper-card .feature-item {
  color: #475569;
  font-size: 0.9rem;
  padding-left: 1rem;
  position: relative;
}

.universal-helper-card .feature-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 600;
}

.special-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.special-feature {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #3730a3;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid #a5b4fc;
}

.universal-helper-card .tool-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid #e2e8f0;
}

.tool-price,
.tool-platform {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-label,
.platform-label {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-value,
.platform-value {
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 600;
}

.price-value.freemium {
  color: #059669;
}

.price-value.free {
  color: #10b981;
}

.price-value.paid {
  color: #dc2626;
}

.universal-helper-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid #e2e8f0;
}

.universal-helper-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.universal-helper-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.universal-helper-link:hover::before {
  left: 100%;
}

.universal-helper-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.link-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.universal-helper-link:hover .link-icon {
  transform: translateX(3px);
}

.universal-helper-context {
  text-align: center;
}

.context-text {
  color: #64748b;
  font-size: 0.8rem;
  font-style: italic;
}

.universal-helpers-footer {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  margin-top: var(--space-lg);
}

.footer-tip {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.new-search-button {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.new-search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Responsive Design for Universal Helpers */
@media (max-width: 768px) {
  .universal-helpers-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .universal-helper-card {
    padding: var(--space-md);
  }

  .universal-helpers-header {
    padding: var(--space-md);
  }

  .universal-helpers-title {
    font-size: 1.25rem;
  }

  .universal-helper-card .tool-details {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* Animation for universal helpers appearance */
.universal-helper-card {
  animation: slideInUp 0.6s ease-out;
}

.universal-helper-card:nth-child(2) {
  animation-delay: 0.1s;
}

.universal-helper-card:nth-child(3) {
  animation-delay: 0.2s;
}

.universal-helper-card:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/ * Enhanced Search Flow Styles - Task 7 */
/* Typo Correction Notification */
.typo-correction-notification {
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f9f0 100%);
  border: 1px solid #c3e6c3;
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  margin-bottom: var(--space-md);
  animation: slideInFromTop 0.3s ease-out;
}

.typo-correction-content {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.typo-correction-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.typo-correction-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.typo-correction-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2d5a2d;
}

.typo-correction-change {
  font-size: 0.875rem;
  color: #4a7c4a;
  font-family: var(--font-family);
}

/* Enhanced Metadata Display */
.enhanced-metadata-display {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  margin-top: var(--space-sm);
  font-size: 0.875rem;
}

.enhanced-metadata-display h4 {
  margin: 0 0 var(--space-xs) 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.enhanced-features,
.processing-steps,
.typo-info,
.fun-query-info {
  margin-bottom: var(--space-xs);
}

.enhanced-features ul,
.processing-steps ol {
  margin: 0.25rem 0 0 1rem;
  padding: 0;
}

.enhanced-features li,
.processing-steps li {
  margin-bottom: 0.125rem;
  color: #6c757d;
  text-transform: capitalize;
}

.typo-info,
.fun-query-info {
  color: #6c757d;
}

/* Enhanced Universal Helpers Styling */
.universal-helpers-header {
  position: relative;
}

.universal-helpers-header::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
  border-radius: var(--radius-sm);
}

.universal-helpers-explanation {
  background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
  border: 1px solid #ffeaa7;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0;
}

.universal-helpers-reason {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: #8b6914;
}

.reason-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.universal-helpers-message {
  color: #6b5b00;
  font-weight: 500;
  margin: 0;
}

/* Enhanced Tool Cards for Universal Helpers */
.universal-helper-card {
  position: relative;
  border: 2px solid #ffeaa7;
  background: linear-gradient(135deg, #fffef7 0%, #fffbf0 100%);
  transition: all 0.3s ease;
}

.universal-helper-card:hover {
  border-color: #fdcb6e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(253, 203, 110, 0.15);
}

.universal-helper-header {
  position: relative;
}

.universal-helper-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #8b6914;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid #ffeaa7;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.universal-helper-link {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #8b6914;
  border: 1px solid #ffeaa7;
  transition: all 0.3s ease;
}

.universal-helper-link:hover {
  background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.universal-helper-context {
  margin-top: var(--space-xs);
  padding-top: var(--space-xs);
  border-top: 1px solid #ffeaa7;
}

.context-text {
  color: #8b6914;
  font-style: italic;
}

/* Enhanced Search Flow Animations */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes enhancedFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Search Flow Responsive Design */
@media (max-width: 768px) {
  .typo-correction-notification {
    padding: var(--space-xs);
  }

  .typo-correction-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .universal-helpers-explanation {
    padding: var(--space-sm);
  }

  .universal-helper-badge {
    position: static;
    display: inline-block;
    margin-bottom: var(--space-xs);
  }
}

/* Enhanced Search Flow Debug Mode */
.enhanced-metadata-display {
  animation: enhancedFadeIn 0.4s ease-out;
}

/* Enhanced Search Flow Success States */
.enhanced-search-success {
  border-left: 4px solid var(--color-success);
  background: linear-gradient(135deg, #e8f8f7 0%, #f0faf9 100%);
}

.enhanced-search-warning {
  border-left: 4px solid #ffa726;
  background: linear-gradient(135deg, #fff8e1 0%, #fffbf0 100%);
}

/* Error
 Handling Styles */
.error-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
  display: none;
  animation: slideInRight 0.3s ease-out;
}

.error-notification-content {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.error-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.error-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
}

.error-dismiss {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.5s ease;
}

.error-dismiss:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.typo-correction-notification {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(78, 205, 196, 0.2);
}

.typo-correction-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.typo-correction-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.typo-correction-text {
  flex: 1;
  font-size: 13px;
}

.typo-correction-label {
  font-weight: 600;
  margin-right: 8px;
}

.typo-correction-change {
  font-family: 'Courier New', monospace;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.enhanced-metadata-display {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  font-size: 12px;
  color: #6c757d;
}

.metadata-section h4 {
  margin: 0 0 12px 0;
  color: #495057;
  font-size: 14px;
}

.enhanced-features ul,
.processing-steps ol {
  margin: 8px 0;
  padding-left: 20px;
}

.enhanced-features li,
.processing-steps li {
  margin: 4px 0;
  text-transform: capitalize;
}

.typo-info,
.fun-query-info {
  margin: 8px 0;
  padding: 6px 10px;
  background: #e3f2fd;
  border-left: 3px solid #2196f3;
  border-radius: 4px;
}

/* Animation for error notifications */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Error state styles for search results */
.search-result.error-state {
  border: 2px solid #ff6b6b;
  background: linear-gradient(135deg, #fff5f5, #ffe0e0);
}

.search-result.error-state .result-header {
  color: #d32f2f;
}

.error-fallback-message {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 14px;
}

.error-fallback-message .error-icon {
  color: #f39c12;
  margin-right: 8px;
}

/* Fun query error recovery styles */
.fun-query-fallback {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  border: 2px solid #ff9a56;
}

.fun-query-fallback .fun-emoji {
  filter: grayscale(0.3);
}

.fun-query-fallback .fun-message::after {
  content: " (Notfall-Modus aktiviert 🔧)";
  font-size: 0.9em;
  opacity: 0.8;
}

/* Performance warning styles */
.performance-warning {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 8px 12px;
  margin: 8px 0;
  border-radius: 4px;
  font-size: 12px;
  color: #856404;
}

.performance-warning .warning-icon {
  color: #f39c12;
  margin-right: 6px;
}

/* System health indicator */
.system-health-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.system-health-indicator.healthy {
  background: #4caf50;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.system-health-indicator.degraded {
  background: #ff9800;
  box-shadow: 0 0 8px rgba(255, 152, 0, 0.5);
}

.system-health-indicator.unhealthy {
  background: #f44336;
  box-shadow: 0 0 8px rgba(244, 67, 54, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* Responsive error handling */
@media (max-width: 768px) {
  .error-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .enhanced-metadata-display {
    font-size: 11px;
    padding: 12px;
  }

  .typo-correction-notification {
    padding: 10px 12px;
  }

  .system-health-indicator {
    bottom: 10px;
    right: 10px;
  }
}