/* ====================== TABS NAVIGATION ====================== */
.research-tabs {text-align: center;}

/* ========================= MAIN TABS ========================= */
.main-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  overflow-x: auto;
  padding: 0 10px;
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.main-tabs::-webkit-scrollbar {
  display: none;
}
/* TAB BUTTON */
.tab-btn {
  padding: 7px 16px;
  border: none;
  border-radius: 20px;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  /* Remove mobile tap highlight */
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.tab-btn:hover {
  background: #e2e8f0;
}
.tab-btn.active {
  background: #16a34a;
  color: #fff;
}
/* Remove blue focus border */
.tab-btn:focus {
  outline: none;
  box-shadow: none;
}
/* ========================= SUB TABS ========================= */
.sub-tabs {
  overflow-x: auto;
  padding: 0 10px;
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.sub-tabs::-webkit-scrollbar {
  display: none;
}
/* SUB GROUP */
.sub-group {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}
.sub-group.active {
  display: flex;
}
/* SUB TAB LINKS */
.sub-group a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #16a34a;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  /* Remove mobile tap highlight */
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.sub-group a:hover {
  border-color: #16a34a;
}
/* ACTIVE LINK */
.sub-group a.active {
  border-color: #16a34a;
  font-weight: 600;
}
/* Remove blue focus border */
.sub-group a:focus {
  outline: none;
  box-shadow: none;
}
/* ========================= MOBILE ========================= */
@media (max-width: 600px) {
  .research-tabs {
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .main-tabs {
    gap: 8px;
    margin-bottom: 20px;
  }
  .tab-btn {
    font-size: 13px;
    padding: 6px 12px;
  }
  .sub-group {
    gap: 12px;
    justify-content: center;
  }
  .sub-group a {
    font-size: 14px;
    padding: 5px 0;
  }
}
/* ========================= PERFORMANCE CARD DESIGN ========================= */
.performance-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  max-width: 500px;
  margin: 0 auto 18px;
  text-align: center;
}
.performance-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
/* HERO RETURN */
.return-main {
  font-size: 42px;
  font-weight: bold;
  margin: 6px 0;
}
.return-positive { color: #16a34a; }
.return-negative { color: #dc2626; }
/* BADGE */
.return-label {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}
.strong { background: #dcfce7; color: #166534; }
.good   { background: #e0f2fe; color: #0369a1; }
.low    { background: #fef3c7; color: #92400e; }
/* META */
.meta-line {
  font-size: 14px;
  margin-bottom: 10px;
  color: #555;
}
/* INLINE STATS */
.stats-inline {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.stats-inline span {
  flex: 1;
  text-align: center;
}
.profit{
  color:#15803d; /* Dark Green */
}
.neutral{
  color:#f59e0b; /* Orange */
}
.smallprofit{
  color:#6b7280; /* Gray */
}
.loss{
  color:#dc2626; /* Red */
}
/* SINGLE BAR */
.progress {
  height: 8px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg,#22c55e,#16a34a);
}
/* TABLE SMALL POLISH */
table { width:100%; }
td { font-size: 14px; }
/* STAT BARS */
.stats-bars {
  margin-top: 12px;
}
.stat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}
.stat-label {
  width: 90px;
  text-align: left;
  font-weight: 500;
}
.stat-bar {
  flex: 1;
  height: 6px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.stat-value {
  width: 40px;
  text-align: right;
  font-size: 14px;
}
/* COLORS */
.fill {
  height: 100%;
  border-radius: 10px;
}
.green { background: #22c55e; }
.red { background: #ef4444; }
.gray { background: #9ca3af; }
/* WIN RATE BOX */
.winrate-box {
  margin: 10px 0 12px;
}
.winrate-top {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 4px;
  font-weight: 700;
}
.winrate-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.winrate-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg,#3b82f6,#2563eb);
}
/* Small "i" icon */
.info-tooltip {
  width: 16px;
  height: 16px;
  background: #e5e7eb;
  color: #333;
  border-radius: 50%;
  text-align: center;
  font-size: 11px;
  line-height: 16px;
  font-weight: bold;
  display: inline-block;
  position: relative;
  margin-left: 6px;
  cursor: pointer;
}
/* Tooltip text */
.tooltip-text {
  visibility: hidden;
  width: 220px;
  background-color: #111;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s ease;
}
/* Arrow */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #111 transparent transparent transparent;
}
/* Show on hover */
.info-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
.hidden-row {
  display: none;
}
/* Clean neutral button */
.load-more-btn {
  margin: 16px auto;
  display: block;
  padding: 8px 18px;
  background: #f1f5f9; /* light gray */
  color: #334155;       /* dark text */
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  text-align: center;
  width: fit-content;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
/* Hover */
.load-more-btn:hover {
  background: #e2e8f0;
}
/* GRID */
.insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 22px;
}
/* COMMON CARD STYLE */
.best-trade-card,
.top5-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 16px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
/* HOVER EFFECT */
.best-trade-card:hover,
.top5-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
/* ===== BEST TRADE CARD ===== */
.best-trade-card {
  border: 1px solid #dcfce7;
  box-shadow: 0 8px 22px rgba(34,197,94,0.12);
}
/* ICON (NO EMOJI) */
.best-trade-card::before {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 18px;
  opacity: 0.25;
}
/* COMMON TITLE BADGE */
.titles {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}
/* BEST TRADE BADGE */
.best-trade-card .titles {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
/* TOP 5 BADGE */
.top5-card .titles {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
/* TITLE */
.best-trade-card .titles {
  font-size: 12px;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
/* SYMBOL */
.best-trade-card .symbol {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}
/* RETURN */
.best-trade-card .return {
  font-size: 34px;
  font-weight: 700;
  color: #16a34a;
  margin: 6px 0;
}
/* DAYS */
.best-trade-card .days {
  font-size: 12px;
  color: #6b7280;
}
/* ===== TOP 5 CARD ===== */
.top5-card {
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
/* TITLE */
.top5-card .titles {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
/* ROW */
.top5-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px dashed #e5e7eb;
}
.top5-row:last-child {
  border-bottom: none;
}
/* SYMBOL TEXT */
.top5-row span:first-child {
  color: #111827;
  font-weight: 500;
}
/* HPR VALUE */
.top5-row span:last-child {
  color: #16a34a;
  font-weight: 600;
}
.best-trade-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(#22c55e, #16a34a);
}
/* MOBILE */
@media (max-width: 600px) {
  .insight-grid {
    grid-template-columns: 1fr;
  }
}

.no-call-box{
  text-align:center;
  padding:25px 15px;
  margin:20px auto;
  max-width:400px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#f8fafc;
  color:#6b7280;
  font-size:14px;
  font-weight:500;
}