.elementor-widget-breadcrumbs{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-theme-post-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-7004 .elementor-element.elementor-element-b10fd65 .elementor-heading-title{color:#070707;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-7004 .elementor-element.elementor-element-81d780f{width:var( --container-widget-width, 99.452% );max-width:99.452%;--container-widget-width:99.452%;--container-widget-flex-grow:0;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-7004 .elementor-element.elementor-element-5dec77d .elementor-button{background-color:#FFD10000;}.elementor-7004 .elementor-element.elementor-element-db09be8{width:var( --container-widget-width, 100.127% );max-width:100.127%;--container-widget-width:100.127%;--container-widget-flex-grow:0;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-7004 .elementor-element.elementor-element-9d1509e{text-align:center;}.elementor-7004 .elementor-element.elementor-element-9d1509e .elementor-heading-title{color:#000000;}.elementor-7004 .elementor-element.elementor-element-2a981c6{text-align:center;}.elementor-7004 .elementor-element.elementor-element-2a981c6 .elementor-heading-title{color:#000000;}.elementor-7004 .elementor-element.elementor-element-fd33918{text-align:center;}.elementor-7004 .elementor-element.elementor-element-fd33918 .elementor-heading-title{color:#0C0C0C;}.elementor-7004 .elementor-element.elementor-element-6277ea9{text-align:center;}.elementor-7004 .elementor-element.elementor-element-6277ea9 .elementor-heading-title{color:#000000;}.elementor-7004 .elementor-element.elementor-element-faead42{text-align:center;}.elementor-7004 .elementor-element.elementor-element-faead42 .elementor-heading-title{color:#060707;}.elementor-7004 .elementor-element.elementor-element-d958e7d{text-align:center;}.elementor-7004 .elementor-element.elementor-element-d958e7d .elementor-heading-title{color:#18191A;}.elementor-7004 .elementor-element.elementor-element-b56699a .elementor-heading-title{color:#0A0A0A;}.elementor-7004 .elementor-element.elementor-element-a0ddd01{text-align:center;}.elementor-7004 .elementor-element.elementor-element-a0ddd01 .elementor-heading-title{color:#000000;}.elementor-7004 .elementor-element.elementor-element-62d1f4b{width:var( --container-widget-width, 100.987% );max-width:100.987%;--container-widget-width:100.987%;--container-widget-flex-grow:0;}.elementor-widget-theme-post-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}@media(max-width:767px){.elementor-7004 .elementor-element.elementor-element-3107164{margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;z-index:0;}}@media(min-width:768px){.elementor-7004 .elementor-element.elementor-element-7ab7c79{width:36.231%;}.elementor-7004 .elementor-element.elementor-element-e929dde{width:63.185%;}}/* Start custom CSS *//*****************************************
 * BB Symbols – Global layout + tokens
 *****************************************/
.bb-symbol-page {
  --bb-primary: #2563eb;
  --bb-primary-soft: #e0edff;
  --bb-primary-soft-alt: #eff4ff;
  --bb-bg-soft: #f5f7fb;
  --bb-card-bg: #ffffff;
  --bb-border-subtle: #e5e7eb;
  --bb-border-strong: #d1d5db;
  --bb-text-main: #111827;
  --bb-text-muted: #6b7280;
  --bb-success: #16a34a;
  --bb-danger: #ef4444;
  --bb-warning: #f97316;
  --bb-radius-lg: 18px;
  --bb-radius-xl: 24px;
  --bb-shadow-soft: 0 18px 35px rgba(15, 23, 42, 0.08);
  --bb-shadow-light: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.bb-symbol-page {
  background: var(--bb-bg-soft);
  padding: 32px 0 56px;
}

/* محدود کردن عرض کانتینرهای المنتور داخل صفحه نماد */
.bb-symbol-page .elementor-container {
  max-width: 1200px;
}

/*****************************************
 * Hero / هدر بالای صفحه (اسم نماد + قیمت)
 * (این قسمت رو روی سکشن/کالمن‌هایی که خودت
 * برای هدر ساختی، کلاس‌های زیر رو بذار)
 *****************************************/

.bb-symbol-page .bb-hero {
  background: var(--bb-card-bg);
  border-radius: var(--bb-radius-xl);
  box-shadow: var(--bb-shadow-soft);
  padding: 20px 24px 18px;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
  column-gap: 32px;
  align-items: center;
  margin-bottom: 28px;
}

/* ستون راست: نام نماد + نان‌بری (breadcrumbs) */
.bb-symbol-page .bb-hero__info {
  text-align: right;
}

.bb-symbol-page .bb-hero__breadcrumb {
  font-size: 12px;
  color: var(--bb-text-muted);
  margin-bottom: 6px;
}

.bb-symbol-page .bb-hero__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--bb-text-main);
  margin: 0 0 6px;
}

.bb-symbol-page .bb-hero__ticker {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bb-text-muted);
}

/* ستون چپ: قیمت لحظه‌ای + حالت بازار */
.bb-symbol-page .bb-hero__price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.bb-symbol-page .bb-hero__price-main {
  font-size: 32px;
  font-weight: 800;
  color: var(--bb-text-main);
  line-height: 1;
}

.bb-symbol-page .bb-hero__price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--bb-text-muted);
}

.bb-symbol-page .bb-hero__change {
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  background: #fee2e2;
  color: var(--bb-danger);
}

.bb-symbol-page .bb-hero__change--up {
  background: #dcfce7;
  color: var(--bb-success);
}

.bb-symbol-page .bb-hero__market-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bb-primary-soft-alt);
  color: var(--bb-primary);
  font-size: 12px;
}

/* دکمه معامله (اگر دکمه‌ات کلاس bb-hero__cta داشته باشد) */
.bb-symbol-page .bb-hero__cta {
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: var(--bb-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 20px rgba(37, 99, 235, 0.24);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.bb-symbol-page .bb-hero__cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.32);
}

/*****************************************
 * ردیف کارت‌های کوچک بالای چارت (های/لو/سوآپ...)
 * کافی‌ست المنتور کالمن‌ها را در یک سکشن
 * با کلاس bb-stat-row بگذاری؛ روی هر ستون هم
 * کلاس bb-stat-card.
 *****************************************/

.bb-symbol-page .bb-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.bb-symbol-page .bb-stat-card {
  background: #f9fafb;
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid rgba(227, 232, 239, 0.9);
}

.bb-symbol-page .bb-stat-card__label {
  font-size: 11px;
  color: var(--bb-text-muted);
  margin-bottom: 4px;
}

.bb-symbol-page .bb-stat-card__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--bb-text-main);
}

/*****************************************
 * TradingView chart wrapper
 *****************************************/

.bb-symbol-page .bb-tv-chart-wrap {
  background: var(--bb-card-bg);
  border-radius: var(--bb-radius-xl);
  box-shadow: var(--bb-shadow-soft);
  padding: 14px 14px 10px;
  margin-bottom: 24px;
}

.bb-symbol-page .bb-tv-chart {
  border-radius: 12px;
  overflow: hidden;
  min-height: 380px;
}

/*****************************************
 * متن داینامیک bb_symbol_text + خلاصه
 *****************************************/

.bb-symbol-page .bb-symbol-text {
  background: var(--bb-card-bg);
  border-radius: var(--bb-radius-xl);
  box-shadow: var(--bb-shadow-light);
  padding: 20px 22px;
  margin-bottom: 26px;
  font-size: 14px;
  line-height: 2;
  color: var(--bb-text-main);
}

.bb-symbol-page .bb-symbol-text p {
  margin-bottom: 0.9em;
}

.bb-symbol-page .bb-symbol-summary {
  margin: 12px 0 20px;
  font-size: 13px;
  color: var(--bb-text-muted);
}

/*****************************************
 * Fear & Greed / سیگنال اتوماتیک
 * (خروجی شورت‌کد bb_symbol_fear_greed_chart
 * که قبلاً ساختیم)
 *****************************************/

.bb-symbol-page .bb-fear-greed-card {
  background: var(--bb-card-bg);
  border-radius: var(--bb-radius-xl);
  box-shadow: var(--bb-shadow-soft);
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bb-symbol-page .bb-fear-greed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bb-symbol-page .bb-fear-greed-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--bb-text-main);
}

.bb-symbol-page .bb-fear-greed-meta {
  font-size: 12px;
  color: var(--bb-text-muted);
}

.bb-symbol-page .bb-fear-greed-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #fee2e2;
  color: var(--bb-danger);
}

.bb-symbol-page .bb-fear-greed-badge--buy {
  background: #dcfce7;
  color: var(--bb-success);
}

.bb-symbol-page .bb-fear-greed-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: center;
}

.bb-symbol-page .bb-fear-greed-gauge {
  min-height: 220px;
}

.bb-symbol-page .bb-fear-greed-notes {
  font-size: 13px;
  line-height: 1.9;
  color: var(--bb-text-muted);
}

/*****************************************
 * Indicator tables (RSI, MACD, BBANDS, ADOSC, TRANGE, history)
 *****************************************/

.bb-symbol-page .bb-symbol-history-table,
.bb-symbol-page .bb-symbol-indicator-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bb-card-bg);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--bb-shadow-light);
  font-size: 12px;
  margin-bottom: 22px;
}

.bb-symbol-page .bb-symbol-history-table thead,
.bb-symbol-page .bb-symbol-indicator-table thead {
  background: #f3f4f6;
}

.bb-symbol-page .bb-symbol-history-table th,
.bb-symbol-page .bb-symbol-history-table td,
.bb-symbol-page .bb-symbol-indicator-table th,
.bb-symbol-page .bb-symbol-indicator-table td {
  padding: 8px 10px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
}

.bb-symbol-page .bb-symbol-history-table th,
.bb-symbol-page .bb-symbol-indicator-table th {
  font-weight: 600;
  color: var(--bb-text-muted);
}

.bb-symbol-page .bb-symbol-history-table tbody tr:nth-child(even),
.bb-symbol-page .bb-symbol-indicator-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

/*****************************************
 * RSI / MACD card mode (mode="card")
 *****************************************/

.bb-symbol-page .bb-symbol-indicator-table .bb-indicator-summary {
  text-align: right;
  font-size: 12px;
  color: var(--bb-text-muted);
  padding-top: 10px;
}

/*****************************************
 * Pip Calculator (نسخه ساده bb_symbol_pip_calc)
 *****************************************/

.bb-symbol-page .bb-symbol-pip-calc {
  background: var(--bb-card-bg);
  border-radius: var(--bb-radius-xl);
  box-shadow: var(--bb-shadow-light);
  padding: 18px 20px 16px;
  margin-bottom: 24px;
}

.bb-symbol-page .bb-symbol-pip-calc .bb-pip-calc-header {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bb-text-main);
}

.bb-symbol-page .bb-pip-calc-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  gap: 6px;
}

.bb-symbol-page .bb-pip-calc-row label {
  font-size: 12px;
  color: var(--bb-text-muted);
}

.bb-symbol-page .bb-pip-calc-row input {
  border-radius: 10px;
  border: 1px solid var(--bb-border-subtle);
  padding: 8px 10px;
  font-size: 13px;
}

.bb-symbol-page .bb-pip-calc-btn {
  border-radius: 999px;
  border: none;
  background: var(--bb-primary);
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
}

.bb-symbol-page .bb-pip-calc-result {
  margin-top: 10px;
  font-size: 13px;
  color: var(--bb-text-main);
}

/*****************************************
 * Pip Calculator v3 (bb_pip_calculator → .bb-pip-box)
 *****************************************/

.bb-symbol-page .bb-pip-box {
  background: var(--bb-card-bg);
  border-radius: var(--bb-radius-xl);
  box-shadow: var(--bb-shadow-soft);
  padding: 22px 22px 18px;
  margin-top: 18px;
}

.bb-symbol-page .bb-pip-header h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--bb-text-main);
}

.bb-symbol-page .bb-pip-header p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--bb-text-muted);
}

.bb-symbol-page .bb-pip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px 16px;
  margin-bottom: 14px;
}

.bb-symbol-page .bb-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--bb-text-muted);
}

.bb-symbol-page .bb-field input,
.bb-symbol-page .bb-field select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--bb-border-subtle);
  padding: 8px 10px;
  font-size: 13px;
}

.bb-symbol-page .bb-pip-direction {
  display: inline-flex;
  gap: 6px;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 3px;
}

.bb-symbol-page .bb-dir-btn {
  border-radius: 999px;
  border: none;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  background: transparent;
  color: var(--bb-text-muted);
}

.bb-symbol-page .bb-dir-btn.active {
  background: #fff;
  color: var(--bb-primary);
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.16);
}

.bb-symbol-page .bb-calc-btn {
  width: 100%;
  border-radius: 12px;
  border: none;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  background: var(--bb-primary);
  color: #fff;
  cursor: pointer;
  margin-bottom: 10px;
}

.bb-symbol-page .bb-result-box {
  font-size: 13px;
  color: var(--bb-text-main);
}

.bb-symbol-page .bb-result-box p {
  margin: 4px 0;
}

.bb-symbol-page .bb-profit-pos {
  color: var(--bb-success);
}

.bb-symbol-page .bb-profit-neg {
  color: var(--bb-danger);
}

.bb-symbol-page .bb-trade-cta {
  display: inline-flex;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bb-primary);
}

/*****************************************
 * Indicator mini charts (bb_symbol_indicator_charts)
 *****************************************/

.bb-symbol-page .bb-indicator-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0 26px;
}

.bb-symbol-page .bb-indicator-charts .bb-card {
  background: var(--bb-card-bg);
  border-radius: var(--bb-radius-xl);
  box-shadow: var(--bb-shadow-soft);
  padding: 14px 16px 12px;
}

.bb-symbol-page .bb-indicator-charts__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--bb-text-main);
  margin-bottom: 10px;
}

.bb-symbol-page .bb-indicator-charts__title {
  font-weight: 600;
}

.bb-symbol-page .bb-indicator-charts canvas {
  width: 100% !important;
}

/*****************************************
 * Error boxes
 *****************************************/

.bb-symbol-page .bb-symbol-indicators-error,
.bb-symbol-page .bb-symbol-debug {
  background: #fef2f2;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--bb-danger);
  border: 1px solid #fecaca;
  margin: 8px 0;
}

/*****************************************
 * Responsive
 *****************************************/

@media (max-width: 1024px) {
  .bb-symbol-page {
    padding: 20px 0 36px;
  }

  .bb-symbol-page .bb-hero {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .bb-symbol-page .bb-hero__price-block {
    align-items: flex-start;
  }

  .bb-symbol-page .bb-fear-greed-body {
    grid-template-columns: 1fr;
  }

  .bb-symbol-page .bb-tv-chart {
    min-height: 320px;
  }
}/* End custom CSS */