/* Aihub Forex — professional broker terminal theme */
.fx-terminal { background: #0d1117; color: #e6edf3; min-height: calc(100vh - 120px); font-family: 'Inter', system-ui, sans-serif; }
.fx-topbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 10px 12px; background: #161b22; border-bottom: 1px solid #30363d; }
.fx-topbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fx-feed-badge { font-size: 10px; font-weight: 600; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; cursor: default; white-space: nowrap; }
.fx-feed-badge.live { background: rgba(63,185,80,0.15); color: #3fb950; border: 1px solid rgba(63,185,80,0.4); }
.fx-feed-badge.sim { background: rgba(139,148,158,0.12); color: #8b949e; border: 1px solid #30363d; }
.fx-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.fx-tab { padding: 6px 12px; border-radius: 6px; border: 1px solid #30363d; background: transparent; color: #8b949e; font-size: 11px; font-weight: 600; cursor: pointer; }
.fx-tab.on { background: #238636; border-color: #238636; color: #fff; }
.fx-stats { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; }
.fx-stat strong { color: #58a6ff; display: block; font-size: 13px; }
.fx-stat.pos strong { color: #3fb950; }
.fx-stat.neg strong { color: #f85149; }
.fx-layout { display: grid; grid-template-columns: 200px 1fr 260px; gap: 0; min-height: 480px; }
@media (max-width: 900px) { .fx-layout { grid-template-columns: 1fr; } }
.fx-watch { background: #161b22; border-right: 1px solid #30363d; overflow-y: auto; max-height: 520px; }
.fx-watch-item { padding: 8px 10px; border-bottom: 1px solid #21262d; cursor: pointer; font-size: 11px; }
.fx-watch-item.on { background: #21262d; border-left: 3px solid #58a6ff; }
.fx-watch-item .sym { font-weight: 700; color: #e6edf3; }
.fx-watch-item .pr { float: right; }
.fx-watch-item .up { color: #3fb950; }
.fx-watch-item .dn { color: #f85149; }
.fx-chart-area { display: flex; flex-direction: column; background: #0d1117; }
.fx-chart-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid #30363d; align-items: center; }
.fx-tf-btn, .fx-type-btn { padding: 4px 8px; border-radius: 4px; border: 1px solid #30363d; background: #21262d; color: #8b949e; font-size: 10px; cursor: pointer; }
.fx-tf-btn.on, .fx-type-btn.on { background: #388bfd; border-color: #388bfd; color: #fff; }
.fx-chart-wrap { flex: 1; min-height: 320px; position: relative; }
.fx-chart-wrap canvas, .fx-chart-wrap > div { width: 100% !important; }
.fx-order-panel { background: #161b22; border-left: 1px solid #30363d; padding: 12px; overflow-y: auto; }
.fx-order-panel h4 { margin: 0 0 10px; font-size: 12px; color: #8b949e; }
.fx-side-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.fx-buy, .fx-sell { padding: 10px; border: none; border-radius: 6px; font-weight: 800; cursor: pointer; font-size: 13px; }
.fx-buy { background: #238636; color: #fff; }
.fx-sell { background: #da3633; color: #fff; }
.fx-buy.on, .fx-sell.on { box-shadow: 0 0 0 2px #fff; }
.fx-field { margin-bottom: 8px; }
.fx-field label { display: block; font-size: 10px; color: #8b949e; margin-bottom: 3px; }
.fx-field input, .fx-field select { width: 100%; padding: 7px; border-radius: 5px; border: 1px solid #30363d; background: #0d1117; color: #e6edf3; font-size: 12px; box-sizing: border-box; }
.fx-place { width: 100%; padding: 10px; border: none; border-radius: 6px; background: #388bfd; color: #fff; font-weight: 700; cursor: pointer; margin-top: 6px; }
.fx-calc { margin-top: 12px; padding: 8px; background: #21262d; border-radius: 6px; font-size: 10px; color: #8b949e; }
.fx-bottom { border-top: 1px solid #30363d; background: #161b22; }
.fx-bottom-tabs { display: flex; gap: 0; border-bottom: 1px solid #30363d; }
.fx-bottom-tab { padding: 8px 14px; font-size: 11px; cursor: pointer; color: #8b949e; border-bottom: 2px solid transparent; }
.fx-bottom-tab.on { color: #58a6ff; border-bottom-color: #58a6ff; }
.fx-bottom-body { padding: 8px; max-height: 180px; overflow: auto; font-size: 11px; }
.fx-table { width: 100%; border-collapse: collapse; }
.fx-table th, .fx-table td { padding: 6px 8px; text-align: left; border-bottom: 1px solid #21262d; }
.fx-pnl-pos { color: #3fb950; }
.fx-pnl-neg { color: #f85149; }
.fx-panel-view { padding: 12px; }
.fx-news-item, .fx-cal-item, .fx-sig-item { padding: 8px 0; border-bottom: 1px solid #21262d; font-size: 11px; }
.fx-academy-lvl { background: #161b22; border-radius: 10px; padding: 12px; margin-bottom: 10px; border: 1px solid #30363d; }
.fx-progress { height: 6px; background: #21262d; border-radius: 3px; margin-top: 6px; overflow: hidden; }
.fx-progress-bar { height: 100%; background: #238636; }
.fx-lesson { padding: 10px; border-bottom: 1px solid #21262d; cursor: pointer; }
.fx-lesson.locked { opacity: 0.55; cursor: not-allowed; }
.fx-lesson:hover:not(.locked) { background: #21262d; }
.fx-lesson-body { padding: 14px; line-height: 1.6; font-size: 13px; }
.fx-lesson-content h4 { color: #e6edf3; margin: 16px 0 8px; font-size: 13px; }
.fx-lesson-content ul { margin: 8px 0 12px 18px; color: #c9d1d9; }
.fx-lesson-lead { font-size: 14px; color: #e6edf3; margin-bottom: 12px; }
.fx-lesson-tip { margin-top: 16px; padding: 10px 12px; background: rgba(88,166,255,0.08); border-left: 3px solid #58a6ff; border-radius: 4px; font-size: 12px; color: #c9d1d9; }
.fx-academy-sub { background: #161b22; border: 1px solid #30363d; border-radius: 8px; padding: 14px; margin-bottom: 16px; }
.fx-academy-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 10px; }
.fx-academy-plan { background: #21262d; border: 1px solid #30363d; border-radius: 8px; padding: 12px; text-align: center; }
.fx-academy-plan.featured { border-color: #238636; }
.fx-tier-badge { font-size: 9px; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; margin-left: 6px; }
.fx-tier-badge.free { background: rgba(63,185,80,0.15); color: #3fb950; }
.fx-tier-badge.weekly { background: rgba(88,166,255,0.15); color: #58a6ff; }
.fx-tier-badge.monthly { background: rgba(168,85,247,0.15); color: #a855f7; }
.fx-quiz-q { margin-bottom: 14px; }
.fx-quiz-choice { display: block; padding: 8px; margin: 4px 0; background: #21262d; border-radius: 6px; cursor: pointer; border: 1px solid transparent; }
.fx-quiz-choice.on { border-color: #58a6ff; }
.fx-community-post { background: #161b22; border-radius: 8px; padding: 10px; margin-bottom: 8px; border: 1px solid #30363d; }
.fx-bots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; padding: 12px; }
