/* =========================================================
   AdsHub - Modern Light Theme & Visual Intelligence Cockpit
   ========================================================= */

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

:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #4f46e5;
  
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --primary-border: #c7d2fe;
  
  --emerald: #059669;
  --emerald-hover: #047857;
  --emerald-light: #ecfdf5;
  --emerald-border: #a7f3d0;
  
  --amber: #d97706;
  --amber-light: #fffbeb;
  --amber-border: #fde68a;
  
  --rose: #e11d48;
  --rose-light: #fff1f2;
  --rose-border: #fecdd3;
  
  --violet: #7c3aed;
  --violet-light: #f5f3ff;
  --violet-border: #ddd6fe;
  
  --sky: #0284c7;
  --sky-light: #f0f9ff;
  --sky-border: #bae6fd;
  
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #64748b;
  
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -4px rgba(0, 0, 0, 0.06), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.05), 0 10px 20px -5px rgba(0,0,0,0.04);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   TOP NAVIGATION BAR
   ========================================================= */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-main);
  letter-spacing: -0.4px;
}

.nav-brand-badge {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.nav-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-subtle);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 9px 20px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.6);
}

.nav-tab-btn.active {
  background: var(--bg-surface);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* =========================================================
   CONTAINER & LAYOUT
   ========================================================= */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.view {
  display: none;
}

.view.active {
  display: block;
  animation: viewFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes viewFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 32px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.25;
}

.hero p {
  color: var(--text-sub);
  font-size: 1.05rem;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Cards */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

/* =========================================================
   INPUT & LAUNCHER BAR
   ========================================================= */
.search-launcher {
  display: flex;
  gap: 12px;
  align-items: stretch;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.search-launcher:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 14px;
}

.search-input-wrap .search-icon {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.search-launcher input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
}

.search-launcher input::placeholder {
  color: #94a3b8;
}

.btn-launch {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-launch:hover {
  background: linear-gradient(135deg, #4338ca, #3730a3);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.btn-launch:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Quick Site Sample Pills */
.sample-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.chip-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-sub);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.chip-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

/* =========================================================
   ANALYSIS PROGRESS BAR & CONSOLE
   ========================================================= */
.loading-box {
  background: #ffffff;
  border: 1px solid var(--sky-border);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.08);
  animation: viewFadeIn 0.3s ease;
}

.loading-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.loading-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sky);
  display: flex;
  align-items: center;
  gap: 8px;
}

.timer-pill {
  background: var(--sky-light);
  color: var(--sky);
  border: 1px solid var(--sky-border);
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.82rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.step-item.active {
  background: var(--sky-light);
  color: var(--sky);
  font-weight: 600;
}

.step-item.done {
  color: var(--emerald);
  font-weight: 500;
}

/* =========================================================
   AUDIT RESULT CARDS & RADIAL METERS (GRAFİKLER & BALONLAR)
   ========================================================= */
.result-container {
  margin-top: 28px;
  animation: viewFadeIn 0.35s ease;
}

/* Result Header Card */
.result-header-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.header-site-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
}

.header-site-url {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}

.btn-emerald {
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #047857, #065f46);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}

/* Scraped Data Verification Pill Container */
.verification-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.verification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.verification-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.verification-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-sub);
}

.meta-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-row-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.meta-row-val {
  font-weight: 600;
  color: var(--text-main);
  word-break: break-word;
}

/* =========================================================
   3-PILLAR SCORE GAUGES (RADIAL PROGRESS CIRCLES)
   ========================================================= */
.score-gauges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .score-gauges-grid {
    grid-template-columns: 1fr;
  }
}

.gauge-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.gauge-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.gauge-card-header {
  margin-bottom: 16px;
  width: 100%;
}

.gauge-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.gauge-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

/* Circular SVG Gauge */
.circle-gauge-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 10px 0 16px 0;
}

.circle-gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-gauge-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 9;
}

.circle-gauge-fill {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 282.7;
  stroke-dashoffset: 282.7;
  transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.4s ease;
}

.circle-gauge-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle-gauge-score {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.circle-gauge-max {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.gauge-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.gauge-checklist {
  width: 100%;
  text-align: left;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 0.78rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gauge-check-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* =========================================================
   SOMUT AKSİYON REÇETESİ (ACTION PRESCRIPTIONS)
   ========================================================= */
.prescription-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.prescription-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.prescription-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.prescription-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.prescription-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.prescription-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.prescription-item-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-copy-bubble {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text-sub);
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.btn-copy-bubble:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
  transform: scale(1.03);
}

.prescription-code-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #1e293b;
  line-height: 1.5;
  word-break: break-all;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

/* =========================================================
   CRITIQUE & CONTENT GAP BOX
   ========================================================= */
.critique-card {
  background: var(--amber-light);
  border: 1px solid var(--amber-border);
  border-left: 6px solid var(--amber);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.critique-head {
  font-size: 0.95rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.critique-body {
  font-size: 0.9rem;
  color: #78350f;
  line-height: 1.6;
  white-space: pre-line;
}

/* =========================================================
   MARKET SEARCH TABLE (WITH VISUAL VOLUME BARS)
   ========================================================= */
.table-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.table-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.clean-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}

.clean-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.clean-table th:first-child {
  border-top-left-radius: 10px;
}

.clean-table th:last-child {
  border-top-right-radius: 10px;
}

.clean-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  vertical-align: middle;
}

.clean-table tbody tr:hover td {
  background: #f8fafc;
}

.clean-table tbody tr:last-child td {
  border-bottom: none;
}

/* Relative Demand Bar */
.volume-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.volume-number {
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-mono);
}

.volume-bar-track {
  width: 90px;
  height: 5px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.volume-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #3b82f6);
  border-radius: 9999px;
}

/* Pill Badges (Balonlar) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.pill.success {
  background: var(--emerald-light);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.pill.danger {
  background: var(--rose-light);
  color: var(--rose);
  border: 1px solid var(--rose-border);
}

.pill.warning {
  background: var(--amber-light);
  color: var(--amber);
  border: 1px solid var(--amber-border);
}

.pill.primary {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.pill.neutral {
  background: var(--bg-subtle);
  color: var(--text-sub);
  border: 1px solid var(--border);
}

/* =========================================================
   METRIC STAT BUBBLES (TOP HIGHLIGHTS)
   ========================================================= */
.metrics-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .metrics-3 {
    grid-template-columns: 1fr;
  }
}

.metric-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

/* Tag Cloud (Balonlar & Rozetler) */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tag-pill.product {
  background: var(--emerald-light);
  color: #065f46;
  border: 1px solid var(--emerald-border);
}

.tag-pill.negative {
  background: var(--rose-light);
  color: #9f1239;
  border: 1px solid var(--rose-border);
}

.tag-pill.negative:hover {
  transform: scale(1.04);
}

/* Headlines List */
.headlines-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.headline-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================================
   CHAT INTERFACE (LIGHT MODERN)
   ========================================================= */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 540px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.chat-messages {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f8fafc;
}

.bubble {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-line;
  box-shadow: var(--shadow-sm);
}

.bubble.bot {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.bubble.user {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-input-bar {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.chat-input-bar input {
  flex: 1;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
}

.chat-input-bar input:focus {
  border-color: var(--primary);
}

.chat-input-bar button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 24px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.chat-input-bar button:hover {
  background: var(--primary-hover);
}

/* =========================================================
   TRENDS GRID (LIGHT MODERN)
   ========================================================= */
.trends-list {
  display: grid;
  gap: 16px;
}

.trend-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}

.trend-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.trend-item h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trend-item p {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* =========================================================
   TOAST NOTIFICATION
   ========================================================= */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.toast {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 20px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  animation: viewFadeIn 0.25s ease;
}
