:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --dark: #0f172a;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  color: var(--gray-800);
  line-height: 1.6;
  min-height: 100vh;
}

/* Header & Topbar */
.topbar {
  background: var(--dark);
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid #1e293b;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header {
  background: #ffffff;
  border-bottom: 2px solid var(--dark);
  padding: 18px 0 12px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  background: linear-gradient(135deg, #0284c7, #0f172a);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.logo-img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: contain;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-area:hover .logo-img {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.logo-text h1 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--dark);
  line-height: 1;
  margin: 0;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-admin {
  background: #f1f5f9;
  color: var(--dark);
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--gray-300);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-admin:hover {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}

/* Market / Economy Ticker Bar */
.ticker-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.market-container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.market-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
}

.market-badge .live-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: live-pulse 1.8s infinite;
}

@keyframes live-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.market-viewport {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.market-viewport::-webkit-scrollbar {
  display: none; /* WebKit */
}

.market-items {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.market-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  transition: all 0.2s ease;
  user-select: none;
  flex-shrink: 0;
}

.market-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.market-name {
  font-weight: 700;
  color: #475569;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}

.market-val {
  font-weight: 700;
  color: #0f172a;
}

.market-diff {
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.market-diff.up {
  color: #16a34a;
}

.market-diff.down {
  color: #dc2626;
}

.market-diff.neutral {
  color: #64748b;
}

/* Hero Section */
.hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 22px 26px;
  border-radius: 12px;
  margin: 18px 0 24px 0;
  position: relative;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
  display: flex;
  gap: 24px;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hero-media {
  flex: 0 0 280px;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  background: #1e293b;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.hero-media img:hover {
  transform: scale(1.03);
}

.hero-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-badge.badge-warning,
.hero-badge.badge-partial {
  background: rgba(245, 158, 11, 0.25);
  border-color: rgba(245, 158, 11, 0.6);
  color: #fbbf24;
}

.hero-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-title:hover {
  color: #38bdf8;
}

.hero-summary {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Filter Controls */
.filter-section {
  background: white;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tab-btn {
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--gray-600);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input {
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 0.85rem;
  width: 220px;
  outline: none;
}

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

.status-select {
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.85rem;
  background: white;
  outline: none;
  color: var(--gray-800);
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.news-card {
  background: white;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.card-img-wrapper {
  position: relative;
  height: 200px;
  background: #e2e8f0;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-card:hover .card-img {
  transform: scale(1.03);
}

.card-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #94a3b8;
  font-size: 2.5rem;
}

.card-score-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.badge-verified {
  background: #10b981;
  color: white;
}

.badge-pending {
  background: #f59e0b;
  color: white;
}

.card-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--dark);
  cursor: pointer;
}

.card-title:hover {
  color: var(--primary);
}

.card-summary {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Source Citation Badges on Card */
.card-sources-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
  font-size: 0.75rem;
  color: var(--gray-600);
}

.source-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
  color: #334155;
}

.card-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.btn-detail {
  background: transparent;
  color: var(--primary);
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-detail:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Detail Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: white;
  border-radius: 12px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--dark);
  color: white;
}

.modal-header-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.modal-content {
  padding: 28px;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--dark);
}

/* Haberin Önemli Detayları (Lead Box) */
.news-key-details {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #10b981;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 18px 0 20px 0;
}

.key-details-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #166534;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.key-details-icon {
  font-size: 1.15rem;
}

.key-details-summary {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1e293b;
  font-weight: 500;
  margin-bottom: 10px;
}

.key-details-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.key-details-points li {
  font-size: 0.92rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.key-details-points li .point-bullet {
  color: #10b981;
  font-weight: bold;
  font-size: 1rem;
}

/* Teyit Tuşu (Toggle Bar) */
.factcheck-section {
  margin: 20px 0;
}

.btn-toggle-factcheck {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-toggle-factcheck:hover {
  background: #f1f5f9;
  border-color: var(--primary);
}

.btn-factcheck-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-shield {
  font-size: 1.2rem;
}

.btn-factcheck-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

.factcheck-badge-pill {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.btn-factcheck-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.toggle-arrow {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
  display: inline-block;
}

.btn-toggle-factcheck.open .toggle-arrow {
  transform: rotate(90deg);
}

.btn-toggle-factcheck.open {
  border-color: var(--primary);
  background: #f0f9ff;
}

/* Fact-Check Verification Box */
.factcheck-box {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  margin: 12px 0 0 0;
}

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

.factcheck-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.9rem;
}

.factcheck-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 12px 0 6px 0;
  color: var(--dark);
}

.factcheck-list {
  list-style: none;
  margin-bottom: 12px;
}

.factcheck-list li {
  font-size: 0.88rem;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.icon-check {
  color: var(--success);
  font-weight: bold;
}

.icon-warn {
  color: var(--warning);
  font-weight: bold;
}

.factcheck-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.source-link-btn {
  background: white;
  border: 1px solid var(--gray-300);
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.78rem;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: all 0.2s;
}

.source-link-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f0f9ff;
}

.copyright-disclaimer {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--gray-600);
  background: #f1f5f9;
  padding: 10px;
  border-radius: 6px;
  border-left: 3px solid #0284c7;
}

/* Article Body */
.article-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin-top: 20px;
  font-weight: 400;
}

.article-text h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 24px 0 10px 0;
  color: var(--dark);
}

.article-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 20px 0 8px 0;
  color: var(--dark);
}

.article-text p {
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 18px;
}

.article-text p:first-of-type {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.85;
  margin-bottom: 22px;
}

.article-text ul {
  margin: 12px 0 16px 20px;
  font-weight: 400;
  line-height: 1.7;
}

.article-text blockquote {
  border-left: 4px solid var(--primary);
  padding: 10px 16px;
  margin: 16px 0;
  background: #f8fafc;
  color: #475569;
  font-style: italic;
  font-weight: 400;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 40px 0 20px 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer h4 {
  color: white;
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .brand-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .filter-section {
    flex-direction: column;
    align-items: stretch;
  }
  .search-input {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-banner {
    flex-direction: column-reverse;
    gap: 16px;
    padding: 16px;
  }
  .hero-media {
    flex: none;
    width: 100%;
    height: 180px;
  }
}

/* Admin Tabs & CMS Styles */
.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}

.admin-tab-btn {
  background: transparent;
  border: none;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-600);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-tab-btn:hover {
  color: var(--dark);
}

.admin-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-success {
  background: #10b981;
  color: white;
}
.btn-success:hover {
  background: #059669;
}

.btn-danger {
  background: #ef4444;
  color: white;
}
.btn-danger:hover {
  background: #dc2626;
}

.btn-secondary {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.btn-secondary:hover {
  background: #e2e8f0;
}

.table-thumb {
  width: 50px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  background: #e2e8f0;
}

.badge-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


/* ============================================================ */
/* FİKRİ TAKİP STİLLERİ */
/* ============================================================ */

.btn-fikri-takip {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-fikri-takip:hover {
  background: linear-gradient(135deg, #6d28d9, #5b21b6);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.35);
}
.btn-fikri-takip.active {
  background: #4b5563;
}
.btn-fikri-takip:disabled {
  opacity: 0.7;
  cursor: wait;
}

.fikri-takip-panel {
  border-top: 3px solid #7c3aed;
  background: #faf5ff;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.ft-panel-inner {
  padding: 20px;
}

.ft-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.ft-panel-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ft-panel-title strong {
  font-size: 1rem;
  color: #4c1d95;
}

.ft-konu {
  font-size: 0.8rem;
  color: #7c3aed;
  font-style: italic;
}

.ft-skor-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid;
  white-space: nowrap;
}

.ft-alert {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  color: #92400e;
  margin-bottom: 14px;
}

.ft-analiz {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #374151;
  margin-bottom: 16px;
  background: white;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e9d5ff;
}

.ft-etiketler {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.ft-etiket {
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: 12px;
  font-weight: 600;
}

.ft-kisi {
  background: #ede9fe;
  color: #5b21b6;
}

.ft-kurum {
  background: #dbeafe;
  color: #1e40af;
}

.ft-section {
  margin-bottom: 16px;
}

.ft-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6d28d9;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ft-bulgu {
  background: white;
  border: 1px solid #e9d5ff;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.ft-bulgu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #f5f3ff;
  border-bottom: 1px solid #e9d5ff;
  flex-wrap: wrap;
  gap: 6px;
}

.ft-bulgu-header strong {
  font-size: 0.85rem;
  color: #4c1d95;
}

.ft-degisim-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.ft-bulgu-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ft-pozisyon {
  font-size: 0.82rem;
  line-height: 1.5;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.ft-label {
  font-weight: 600;
  color: #7c3aed;
  white-space: nowrap;
  min-width: 80px;
}

.ft-aciklama {
  font-size: 0.78rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed #e9d5ff;
}

.ft-gecmis-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ft-gecmis-item {
  background: white;
  border: 1px solid #e9d5ff;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.ft-gecmis-item:hover {
  border-color: #7c3aed;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
  transform: translateX(2px);
}

.ft-gecmis-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
  line-height: 1.4;
}

.ft-gecmis-meta {
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.ft-gecmis-ozet {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

.ft-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e9d5ff;
  flex-wrap: wrap;
  gap: 8px;
}

.ft-veri-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: #ede9fe;
  color: #6d28d9;
}

.ft-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  color: #7c3aed;
  font-size: 0.9rem;
}

.ft-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #e9d5ff;
  border-top-color: #7c3aed;
  border-radius: 50%;
  animation: ft-spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes ft-spin {
  to { transform: rotate(360deg); }
}

.ft-error {
  padding: 16px 20px;
  color: #ef4444;
  font-size: 0.85rem;
  background: #fef2f2;
}

/* Eğitim ve Yapay Zeka sekme stilleri */
.tab-egitim { background: #f0fdf4 !important; color: #166534 !important; border: 1px solid #bbf7d0 !important; }
.tab-egitim:hover, .tab-egitim.active { background: #16a34a !important; color: white !important; border-color: #16a34a !important; }
.tab-ai { background: #f5f3ff !important; color: #5b21b6 !important; border: 1px solid #ddd6fe !important; }
.tab-ai:hover, .tab-ai.active { background: #7c3aed !important; color: white !important; border-color: #7c3aed !important; }
