/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --primary: #1a3c7a;
  --primary-light: #e6eefc;
  --secondary: #0b9c6f;
  --secondary-light: #e3f6ef;
  --bg-color: #f4f7f6;
  --card-bg: rgba(255, 255, 255, 0.85);
  --text-main: #2d3748;
  --text-muted: #718096;
  --border-color: rgba(255, 255, 255, 0.4);
}

.dark-theme {
  --primary: #63b3ed;
  --primary-light: rgba(99, 179, 237, 0.15);
  --secondary: #4fd1c5;
  --secondary-light: rgba(79, 209, 197, 0.15);
  --bg-color: #0d1117;
  --card-bg: rgba(30, 41, 59, 0.85);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

/* Glassmorphism Panels */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.title-gradient {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Typografie */
h1, h2, h3 {
  margin-top: 0;
}

a {
  text-decoration: none;
  color: var(--primary);
}

/* Utilities */
.score-badge {
    background: var(--secondary);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.type-badge {
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Segmented 3-Way Toggle */
.segmented-control {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    gap: 4px;
    width: 100%;
    margin-top: 5px;
}

.segmented-control input[type="radio"] {
    display: none;
}

.segmented-control label {
    flex: 1 1;
    text-align: center;
    padding: 8px 8px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    color: var(--text-muted);
}

.segmented-control input[type="radio"]:checked + label {
    background: white;
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-weight: 700;
}

/* Farben für Ausblenden/Prio */
.segmented-control input[type="radio"][value="0.0"]:checked + label {
    color: #e53e3e;
}
.segmented-control input[type="radio"][value="1.5"]:checked + label {
    color: #0b9c6f;
}

/* Neue UX-Komponenten (Ideenpool) */

/* 3. Magic Hover Karten (TL;DR) */
.tldr-hover-card {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
  padding: 0 15px;
  background: var(--primary-light);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

.article-card:hover .tldr-hover-card {
  max-height: 500px;
  opacity: 1;
  margin-top: 15px;
  padding: 12px 15px;
}

/* 1. KI-Relevanz Ring */
.score-ring {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-main);
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: relative;
}
.score-ring::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--card-bg);
  z-index: 1;
}
.score-ring span {
  z-index: 2;
}

/* 5. Filter Tabs */
.filter-tab {
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 16px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}
.filter-tab:hover {
  color: var(--text-main);
}
.filter-tab.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}

