/* ═══════════════════════════════════════════════════════════════════
   TRADETRACKER — FEATURE GATES CSS
   Styles for locked sidebar items and the upgrade wall panel.
   Inherits design tokens from main.css (--bg, --surface, etc.)
   ═══════════════════════════════════════════════════════════════════ */


/* ── Locked sidebar item ─────────────────────────────────────────── */

.sidebar-item.fg-locked {
  cursor: pointer !important;  /* still clickable to show upgrade wall */
}

.sidebar-item.fg-locked:hover {
  background: var(--surface2);
  color: var(--text2);
}

/* Lock badge that replaces / accompanies "Soon" badge */
.fg-lock-badge {
  margin-left: auto;
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
}


/* ── Upgrade wall panel ───────────────────────────────────────────── */

#panelUpgradeWall {
  /* Override .view-panel defaults */
  display: none !important;
  padding: 40px 24px;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

#panelUpgradeWall.active {
  display: flex !important;
}

/* Centered card */
.fg-wall-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px 16px;
}

.fg-wall-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 48px 44px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}


/* Lock icon */
.fg-wall-icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* "PLAN PRO" badge */
.fg-wall-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid var(--green-mid);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 18px;
  font-family: var(--title);
}

/* Heading */
.fg-wall-title {
  font-family: var(--title);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 14px;
}

/* Description */
.fg-wall-desc {
  font-family: var(--title);
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 380px;
}

/* Feature bullet list */
.fg-wall-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.fg-wall-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--title);
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}

.fg-wall-list-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Upgrade CTA button */
.fg-wall-btn {
  background: var(--green);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 13px 28px;
  font-family: var(--title);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  max-width: 340px;
  transition: opacity 0.15s, transform 0.1s;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.fg-wall-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.fg-wall-btn:active {
  transform: translateY(0);
  opacity: 1;
}

/* Back link */
.fg-wall-back {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text3);
  border-radius: 8px;
  padding: 9px 20px;
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  max-width: 340px;
  transition: all 0.15s;
}

.fg-wall-back:hover {
  border-color: var(--border2);
  color: var(--text2);
  background: var(--surface2);
}


/* ── Responsive ───────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .fg-wall-card {
    padding: 36px 24px;
    border-radius: 14px;
  }

  .fg-wall-title {
    font-size: 18px;
  }

  .fg-wall-desc {
    font-size: 12px;
  }

  .fg-wall-list li {
    font-size: 12px;
  }
}
