/* ================================================================
   Crypto Signal Terminal — src/styles/crypto-signals.css
   INEHub Premium Dark UI
   ================================================================ */

/* ── Reset & base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:             #080A12;
  --bg-card:        #0A0C17;
  --bg-input:       #0D1020;
  --bg-hover:       #0f1428;
  --border:         #14182a;
  --border-2:       #1a1f35;
  --muted:          #3d4a6a;
  --muted-2:        #2d3555;
  --muted-3:        #1e2438;
  --text:           #CBD3F0;
  --text-dim:       #8A96B8;

  --blue:           #4A8AFF;
  --blue-dark:      #1a3a6e;
  --blue-border:    #2a5aaa;

  --green:          #00E676;
  --green-dim:      #00B259;
  --green-dark:     #007a3d;
  --green-bg:       rgba(0,230,118,0.07);
  --green-border:   rgba(0,230,118,0.28);

  --red:            #FF5252;
  --red-dim:        #CC3333;
  --red-bg:         rgba(255,82,82,0.07);
  --red-border:     rgba(255,82,82,0.28);

  --neutral-bg:     rgba(138,144,166,0.05);
  --neutral-border: rgba(138,144,166,0.18);

  --radius-sm: 6px;
  --radius-md: 9px;
  --radius-lg: 12px;

  --font-ui:   'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

html { font-size: 14px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--font-mono); }

/* ── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e2438; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #2a3050; }

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .38; transform: scale(.76); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-7px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%, 100% { opacity: .3; }
  50%       { opacity: .65; }
}
@keyframes flashGreen {
  0%   { color: var(--green); text-shadow: 0 0 12px rgba(0,230,118,.5); }
  100% { color: var(--text);  text-shadow: none; }
}
@keyframes flashRed {
  0%   { color: var(--red);  text-shadow: 0 0 12px rgba(255,82,82,.5); }
  100% { color: var(--text); text-shadow: none; }
}
@keyframes bgFlashGreen {
  0%   { background: rgba(0,230,118,.12); }
  100% { background: transparent; }
}
@keyframes bgFlashRed {
  0%   { background: rgba(255,82,82,.12); }
  100% { background: transparent; }
}
@keyframes generatePulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,138,255,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(74,138,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,138,255,0); }
}
@keyframes spinBtn {
  to { transform: rotate(360deg); }
}

.pulse     { animation: pulse 1.3s ease-in-out infinite; }
.fade-down { animation: fadeDown .18s ease; }

.flash-up   { animation: flashGreen .6s ease forwards, bgFlashGreen .6s ease forwards; }
.flash-down { animation: flashRed .6s ease forwards, bgFlashRed .6s ease forwards; }

/* ── Utility ────────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ── Live indicator ─────────────────────────────────────────────── */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 600;
  letter-spacing: .5px;
}
.live-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}
.topbar__time {
  font-size: 11px;
  color: #3a4260;
  font-family: var(--font-mono);
}

/* ── Container ──────────────────────────────────────────────────── */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

/* ── Title row ──────────────────────────────────────────────────── */
.title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.page-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.8px;
  color: var(--text);
  margin-bottom: 3px;
}
.page-sub {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}
.title-row__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Signal badge ───────────────────────────────────────────────── */
.signal-badge {
  background: var(--bg-card);
  border: 1px solid var(--neutral-border);
  border-radius: 8px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color .5s;
}
.signal-badge--buy  { border-color: var(--green-border); }
.signal-badge--sell { border-color: var(--red-border); }

.signal-badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted);
  display: inline-block;
  transition: background .5s;
}
.signal-badge--buy  .signal-badge__dot { background: var(--green); }
.signal-badge--sell .signal-badge__dot { background: var(--red); }

.signal-badge__text {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  transition: color .5s;
}
.signal-badge--buy  .signal-badge__text { color: var(--green); }
.signal-badge--sell .signal-badge__text { color: var(--red); }

.signal-badge__conf { font-size: 11px; color: var(--muted); }

/* ── Controls row ───────────────────────────────────────────────── */
.controls-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.control-group { display: flex; flex-direction: column; gap: 6px; }
.ctrl-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ── Dropdown ───────────────────────────────────────────────────── */
.dropdown { position: relative; }

.dropdown__trigger {
  background: var(--bg-input);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
  transition: border-color .2s;
}
.dropdown__trigger:hover,
.dropdown.open .dropdown__trigger { border-color: #2a3555; }

.dropdown__sym    { font-weight: 800; font-size: 15px; color: var(--text); }
.dropdown__slash  { font-size: 13px; color: var(--muted); font-weight: 500; }
.dropdown__name   { font-size: 12px; color: var(--muted-2); }
.dropdown__chevron {
  margin-left: auto;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .2s;
}
.dropdown.open .dropdown__chevron { transform: rotate(180deg); }

.dropdown__panel {
  position: absolute;
  top: calc(100% + 5px);
  left: 0; right: 0;
  background: var(--bg-input);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  z-index: 500;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.85);
}

.dropdown__search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.dropdown__search-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font-ui);
  width: 100%;
}
.dropdown__search-input::placeholder { color: var(--muted); }

.dropdown__ex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 12px 4px;
  border-bottom: 1px solid var(--border);
  background: #090b16;
}
.dropdown__ex-header-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .8px;
  text-transform: uppercase;
}
.dropdown__ex-labels { display: flex; }
.ex-label {
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-mono);
  width: 52px;
  text-align: right;
  padding-right: 4px;
  opacity: .7;
}

.dropdown__list {
  list-style: none;
  max-height: 310px;
  overflow-y: auto;
}
.dropdown__loading {
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

/* Coin row */
.coin-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background .12s;
  border-bottom: 1px solid #0c0f1a;
}
.coin-item:last-child { border-bottom: none; }
.coin-item:hover    { background: var(--bg-hover); }
.coin-item.selected { background: #0c1328; }

.coin-item__img {
  width: 22px; height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.coin-item__sym {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text);
  width: 46px;
  flex-shrink: 0;
}
.coin-item__name {
  font-size: 11.5px;
  color: var(--muted);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.coin-item__prices { display: flex; align-items: center; flex-shrink: 0; }
.coin-item__ex-price {
  width: 52px;
  text-align: right;
  padding-right: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-2);
  white-space: nowrap;
  transition: color .3s;
}
.coin-item__ex-price.loading {
  background: #14182a;
  border-radius: 2px;
  height: 9px;
  animation: shimmer 1.5s ease infinite;
  color: transparent;
  margin: 0 2px;
}
.coin-item__ex-price.error { color: #1e2438; }
.coin-item__check {
  width: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-left: 2px;
}

/* ── Strategy buttons ───────────────────────────────────────────── */
.strat-group { display: flex; flex-wrap: wrap; gap: 6px; }
.strat-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: #4a5a7a;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: all .15s;
}
.strat-btn:hover  { border-color: #3a4a6a; color: var(--text-dim); }
.strat-btn.active { background: #101e3a; border-color: var(--blue-border); color: var(--blue); }

/* ── Generate Signal Button ─────────────────────────────────────── */
.generate-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.generate-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #1a3a6e 0%, #0f2247 100%);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: 14px 28px 14px 20px;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: all .2s;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.generate-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74,138,255,.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .2s;
}
.generate-btn:hover::before { opacity: 1; }
.generate-btn:hover {
  border-color: #4A8AFF;
  box-shadow: 0 6px 24px rgba(74,138,255,.25);
  transform: translateY(-1px);
}
.generate-btn:active { transform: translateY(0); box-shadow: 0 2px 10px rgba(74,138,255,.2); }
.generate-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.generate-btn.loading { animation: generatePulse 1s ease infinite; }

.generate-btn__icon {
  width: 38px; height: 38px;
  background: rgba(74,138,255,.15);
  border: 1px solid rgba(74,138,255,.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: background .2s;
}
.generate-btn:hover .generate-btn__icon { background: rgba(74,138,255,.22); }

.generate-btn__text {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  display: block;
  line-height: 1;
  margin-bottom: 3px;
  letter-spacing: -.2px;
}
.generate-btn__sub {
  font-size: 10.5px;
  color: var(--muted);
  display: block;
  line-height: 1;
}

.generate-btn.pulse { animation: generatePulse .5s ease; }

.generate-hint {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 320px;
}

/* ── Main grid ──────────────────────────────────────────────────── */
.main-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 14px;
  align-items: start;
}

/* ── Panel base ─────────────────────────────────────────────────── */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.panel__head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Indicators ─────────────────────────────────────────────────── */
.indicators-body { padding: 4px 0 8px; }

.waiting-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  text-align: center;
}
.waiting-state p { font-size: 11.5px; color: var(--muted); line-height: 1.5; }

.ind-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid #0c0f1c;
}
.ind-row:last-child { border-bottom: none; }
.ind-row__label { font-size: 11px; color: var(--muted); font-weight: 500; flex-shrink: 0; padding-right: 8px; }
.ind-row__right { text-align: right; }
.ind-row__value { font-size: 11.5px; font-weight: 700; font-family: var(--font-mono); display: block; margin-bottom: 4px; }

.ind-bar {
  height: 3px;
  background: #14182a;
  border-radius: 2px;
  overflow: hidden;
  width: 80px;
}
.ind-bar__fill {
  height: 100%;
  border-radius: 2px;
  opacity: .65;
  transition: width .65s ease;
}

/* Skeleton */
.skel-rows { padding: 4px 0; }
.skel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #0c0f1c;
}
.skel {
  height: 11px;
  background: #14182a;
  border-radius: 3px;
  animation: shimmer 1.5s ease infinite;
}

/* ── Signal panel ───────────────────────────────────────────────── */
.signal-panel {
  border-color: var(--neutral-border);
  transition: border-color .5s, box-shadow .5s;
}
.signal-panel--buy {
  border-color: var(--green-border);
  box-shadow: 0 0 50px rgba(0,0,0,.45), inset 0 0 50px rgba(0,230,118,.022);
}
.signal-panel--sell {
  border-color: var(--red-border);
  box-shadow: 0 0 50px rgba(0,0,0,.45), inset 0 0 50px rgba(255,82,82,.022);
}

.signal-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}
.signal-panel__coin { display: flex; align-items: center; gap: 11px; }

.coin-icon      { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.coin-icon--lg  { width: 36px; height: 36px; }

.signal-panel__sym {
  font-size: 18px; font-weight: 900; color: var(--text);
  letter-spacing: -.4px; line-height: 1; margin-bottom: 2px;
}
.signal-panel__slash  { font-size: 13px; color: var(--muted); font-weight: 500; }
.signal-panel__coinname { font-size: 11px; color: var(--muted-2); margin-top: 2px; }

.signal-panel__price-wrap { text-align: right; }
.signal-panel__price-row { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.signal-panel__price {
  font-size: 26px; font-weight: 700; color: var(--text);
  letter-spacing: -1px; transition: color .4s; border-radius: 4px; padding: 0 2px;
}
.signal-panel__price-sub { font-size: 10px; color: var(--muted-2); margin-top: 2px; }

/* Signal banner */
.signal-banner {
  padding: 18px 22px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--neutral-bg);
  transition: background .5s;
}
.signal-banner--buy  { background: var(--green-bg); }
.signal-banner--sell { background: var(--red-bg); }

.signal-banner__label {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  color: var(--muted); text-transform: uppercase; margin-bottom: 6px;
}
.signal-banner__action {
  font-size: 30px; font-weight: 900; letter-spacing: -1px;
  line-height: 1; color: var(--muted); transition: color .5s;
}
.signal-banner--buy  .signal-banner__action { color: var(--green); }
.signal-banner--sell .signal-banner__action { color: var(--red); }
.signal-banner__meta { font-size: 11px; color: var(--muted); margin-top: 5px; }

/* Levels */
.levels-grid {
  padding: 16px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.level-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.level-box {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.level-box--sl { background: rgba(255,82,82,.04); border-color: rgba(255,82,82,.16); }

.level-box__label {
  font-size: 9px; font-weight: 700; color: var(--muted);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px;
}
.level-box__label--sl { color: var(--red-dim); }
.level-box__price-row { display: flex; align-items: center; gap: 4px; }
.level-box__price { font-size: 15px; font-weight: 700; color: var(--text); }
.level-box__price--sl { color: var(--red); }
.level-box__sub { font-size: 10px; color: var(--muted-2); margin-top: 3px; }
.level-box__sub--sl { color: #662222; }

/* TP section */
.tp-section__label {
  font-size: 9px; font-weight: 700; color: var(--muted);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px;
}

.tp-row {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  margin-bottom: 7px;
  border-radius: var(--radius-md);
  background: rgba(0,230,118,.04);
  border: 1px solid rgba(0,230,118,.14);
  transition: background .15s;
}
.tp-row:last-child { margin-bottom: 0; }
.tp-row:hover { background: rgba(0,230,118,.07); }
.tp-row--2 { background: rgba(0,230,118,.06); border-color: rgba(0,230,118,.20); }
.tp-row--3 { background: rgba(0,230,118,.09); border-color: rgba(0,230,118,.28); }
.tp-row--2:hover { background: rgba(0,230,118,.10); }
.tp-row--3:hover { background: rgba(0,230,118,.13); }

.tp-row__num {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: rgba(0,230,118,.13);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #00C060;
  margin-right: 10px; flex-shrink: 0;
}
.tp-row__info { flex: 1; min-width: 0; }
.tp-row__tag {
  font-size: 10px; font-weight: 700; color: var(--green-dark);
  letter-spacing: .4px; margin-bottom: 2px;
}
.tp-row__price-row { display: flex; align-items: center; gap: 4px; }
.tp-row__price { font-size: 15px; font-weight: 700; color: var(--green); }
.tp-row__pct {
  font-size: 13px; font-weight: 800; color: var(--green);
  text-align: right; min-width: 54px;
}
.tp-row__rr {
  font-size: 10px; color: var(--muted);
  text-align: right; font-family: var(--font-mono);
  background: rgba(0,0,0,.2);
  padding: 1px 6px; border-radius: 3px;
  margin-top: 2px; display: inline-block;
}

/* Confidence */
.conf-row__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.conf-row__label { font-size: 10px; color: var(--muted); }
.conf-row__value { font-size: 10px; font-weight: 700; font-family: var(--font-mono); }
.conf-bar { height: 4px; background: #14182a; border-radius: 2px; overflow: hidden; }
.conf-bar__fill { height: 100%; border-radius: 2px; opacity: .78; transition: width .85s ease, background .5s; }

/* ── Copy button ────────────────────────────────────────────────── */
.copy-btn {
  background: none; border: none; cursor: pointer;
  padding: 3px 5px; border-radius: 4px; color: #2a3050;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-family: var(--font-ui);
  transition: color .15s, background .15s;
}
.copy-btn:hover        { color: var(--muted); background: rgba(255,255,255,.04); }
.copy-btn.copied       { color: var(--green); }
.copy-btn--red:hover   { color: var(--red-dim); }
.copy-btn--green:hover { color: var(--green-dim); }

/* ── Deploy button ──────────────────────────────────────────────── */
.deploy-btn {
  width: 100%;
  background: #0d1b3a;
  border: 1px solid #1e3a70;
  border-radius: var(--radius-md);
  padding: 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font-ui);
  transition: background .2s, box-shadow .2s;
}
.deploy-btn:hover { background: #122248; box-shadow: 0 4px 16px rgba(74,138,255,.15); }

/* ── Disclaimer ─────────────────────────────────────────────────── */
.disclaimer {
  margin-top: 24px; border-top: 1px solid #0f1220; padding-top: 14px;
  text-align: center; font-size: 10px; color: var(--muted-3);
  line-height: 1.7; max-width: 820px; margin-left: auto; margin-right: auto;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .controls-row { grid-template-columns: 1fr; }
  .main-grid    { grid-template-columns: 1fr; }
  .indicators-panel { order: 2; }
  .signal-panel     { order: 1; }
}
@media (max-width: 600px) {
  .container { padding: 14px 12px 28px; }
  .page-title { font-size: 18px; }
  .signal-panel__price { font-size: 20px; }
  .signal-banner__action { font-size: 24px; }
  .level-boxes { grid-template-columns: 1fr; }
  .ex-label { width: 40px; font-size: 8px; }
  .coin-item__ex-price { width: 40px; font-size: 9px; }
  .title-row { flex-direction: column; align-items: flex-start; }
  .generate-row { flex-direction: column; align-items: flex-start; }
  .generate-hint { max-width: 100%; }
}

/* ── SMC / ICT analysis sections (added for 90-day structure engine) ───── */
.ind-section-label {
  font-size: 9px;
  font-weight: 800;
  color: #4A8AFF;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 10px 16px 6px;
  background: rgba(74,138,255,.04);
  border-bottom: 1px solid #14182a;
}
.ind-section-label:first-child {
  padding-top: 8px;
}

.smc-reasons {
  padding: 12px 16px 14px;
  border-top: 1px solid #14182a;
}
.smc-reasons__label {
  font-size: 9px;
  font-weight: 700;
  color: #3d4a6a;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.smc-reason-item {
  font-size: 11px;
  color: #8A96B8;
  line-height: 1.5;
  padding: 6px 0 6px 16px;
  position: relative;
  border-bottom: 1px solid #0c0f1c;
}
.smc-reason-item:last-child { border-bottom: none; }
.smc-reason-item::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #4A8AFF;
  font-size: 10px;
}
/* ==========================================================================
   SIGNAL ACCESS LOCK OVERLAY (blur + prompt)
   Append this block to BOTH broker-signals.css AND crypto-signals.css
   (or move it into a shared stylesheet loaded on both pages, e.g. main.css,
   to avoid duplicating it in two files).

   Shown when a logged-in user's affiliate_requests/{uid} status is not
   "approved" — blurs the <main> terminal content and overlays a centered
   lock card prompting them to complete the Signal Access request.
   ========================================================================== */

/* Blur applied to <main> while access is locked */
main.signal-access-blurred {
    filter: blur(6px) brightness(0.55);
    pointer-events: none;
    user-select: none;
    transition: filter 0.3s ease;
}

/* Full-viewport fixed overlay, sits above the blurred page */
.signal-access-lock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(3, 9, 18, 0.35); /* subtle dim, the blur does most of the work */
    animation: signalLockFadeIn 0.3s ease-in-out;
}

.signal-access-lock-card {
    background: #0a1628;
    border: 1px solid #1a3458;
    border-radius: 14px;
    max-width: 420px;
    width: 100%;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.signal-access-lock-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #60a5fa;
}

.signal-access-lock-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.signal-access-lock-card p {
    font-size: 0.88rem;
    color: #7aaccc;
    line-height: 1.6;
    margin-bottom: 24px;
}

.signal-access-lock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.signal-access-lock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(59, 130, 246, 0.4);
}

@keyframes signalLockFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 480px) {
    .signal-access-lock-card {
        padding: 28px 22px;
    }
}