/* Trading Assistant — custom styles on top of Bootstrap dark theme. */

body {
  min-height: 100vh;
}

.chart-container {
  width: 100%;
  height: 460px;
}

.price-ticker {
  font-size: 1.05rem;
}

/* Metric blocks inside the prediction card */
.metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a929b;
}
.metric-value {
  font-size: 1.15rem;
  font-weight: 600;
}

.levelbox {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.4rem;
  padding: 0.4rem 0.25rem;
  height: 100%;
}

.prediction-card .card-header {
  font-size: 0.9rem;
}

/* News rail */
.news-rail {
  max-height: 420px;
  overflow-y: auto;
}
.news-item {
  display: block;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.4rem;
  margin-bottom: 0.45rem;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.12s ease;
}
.news-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.news-title {
  font-size: 0.85rem;
  line-height: 1.3;
}
.news-meta {
  font-size: 0.72rem;
  color: #8a929b;
  margin-top: 0.2rem;
}

/* Recommendation cards */
.rec-banner {
  border-radius: 0.5rem;
}
.order-ticket {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  white-space: pre-wrap;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.4rem;
  padding: 0.7rem;
}

/* History table */
.table-history td, .table-history th {
  font-size: 0.85rem;
  vertical-align: middle;
}

/* Manual P&L entry */
.pnl-form {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}
.pnl-amount {
  width: 96px;
  flex: 0 0 auto;
}
.pnl-note {
  width: 150px;
  flex: 0 0 auto;
}
.pnl-amount.pnl-pos {
  color: #26a69a;
  font-weight: 600;
}
.pnl-amount.pnl-neg {
  color: #ef5350;
  font-weight: 600;
}
.pnl-summary {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Probability scenarios */
.scenario-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.scenario-label {
  flex: 0 0 78px;
  font-size: 0.78rem;
  color: #adb5bd;
}
.scenario-price {
  flex: 0 0 72px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: right;
}
.scenario-bar {
  flex: 1 1 auto;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.scenario-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f0b90b, #f8d33a);
  border-radius: 4px;
}
.scenario-pct {
  flex: 0 0 38px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: right;
}

/* AI news scan */
.news-scan-summary {
  font-size: 0.9rem;
}
.mover-item {
  display: flex;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mover-impact {
  flex: 0 0 66px;
  align-self: flex-start;
}
.mover-body {
  flex: 1 1 auto;
}
.mover-headline {
  font-weight: 600;
  font-size: 0.9rem;
  color: inherit;
  text-decoration: none;
}
.mover-headline:hover {
  text-decoration: underline;
}
.mover-why {
  font-size: 0.83rem;
  color: #adb5bd;
  margin-top: 0.15rem;
}
.mover-src {
  font-size: 0.72rem;
  color: #8a929b;
  margin-top: 0.15rem;
}

/* Analysis page */
.analysis-chart {
  width: 100%;
  height: 360px;
}
.analysis-chart-sm {
  width: 100%;
  height: 200px;
}
.signal-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.signal-row:last-child {
  border-bottom: none;
}
.brief-list {
  padding-left: 1.1rem;
}
.brief-list li {
  margin-bottom: 0.2rem;
}

/* ── Public marketing site ─────────────────────────────────────────────── */
.public-body {
  background:
    radial-gradient(900px 500px at 50% -120px, rgba(240, 185, 11, 0.10), transparent),
    #0d0f12;
}
.public-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.public-nav .nav-link {
  color: #c9ced6;
}
.public-nav .nav-link:hover {
  color: #fff;
}

.hero {
  padding: 5rem 0 3.5rem;
}
.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  color: #f0b90b;
  border: 1px solid rgba(240, 185, 11, 0.4);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.hero-sub {
  font-size: 1.08rem;
  color: #adb5bd;
  max-width: 40rem;
  margin: 0 auto 1.8rem;
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.section-heading {
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 0.4rem;
}

.feature-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  padding: 1.4rem;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 185, 11, 0.45);
}
.feature-card-premium {
  border-color: rgba(240, 185, 11, 0.35);
  background: rgba(240, 185, 11, 0.05);
}
.feature-icon {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.disclaimer-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.3rem 0;
}

/* Pricing cards */
.pricing-card {
  position: relative;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 0.9rem;
  padding: 1.6rem 1.3rem;
  display: flex;
  flex-direction: column;
}
.pricing-card-popular {
  border-color: rgba(240, 185, 11, 0.6);
}
.pricing-card-vip {
  border-color: rgba(240, 185, 11, 0.4);
  background: rgba(240, 185, 11, 0.05);
}
.pricing-flag {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: #f0b90b;
  color: #1a1d21;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-flag-vip {
  background: #c9ced6;
}
.pricing-name {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a929b;
}
.pricing-price {
  font-size: 2.3rem;
  font-weight: 800;
  margin: 0.2rem 0 0;
}
.pricing-per {
  font-size: 0.95rem;
  font-weight: 400;
  color: #8a929b;
}
.pricing-rate {
  font-size: 0.8rem;
  color: #8a929b;
  margin-bottom: 1rem;
}
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  font-size: 0.88rem;
}
.pricing-list li {
  padding: 0.32rem 0 0.32rem 1.4rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pricing-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #26a69a;
  font-weight: 700;
}
.pricing-list li.pricing-muted {
  color: #6c757d;
}
.pricing-list li.pricing-muted::before {
  content: "\2014";
  color: #6c757d;
}
.pricing-card .btn {
  margin-top: auto;
}

.legal-page {
  max-width: 48rem;
}
.legal-page h2 {
  color: #e9ecef;
}
.legal-page ul {
  color: #adb5bd;
}

.auth-card {
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.public-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2rem 0;
  margin-top: 1rem;
}
.footer-link {
  color: #adb5bd;
  text-decoration: none;
  margin-left: 1rem;
}
.footer-link:hover {
  color: #f0b90b;
}
