/* © theCryptoTool.com */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.roi-value {
    font-size: 24px;
    font-weight: 500;
}

.progress-container {
    width: 100%;
}

.label {
    font-size: 12px;
    font-weight: 500;
    color: #A0A3A7;
}

canvas.bot-canvas {
  width: 100%;
}

.performance-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 0 0;
}

.performance-info {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 13px;
}

.performance-label {
  opacity: 0.7;
  font-weight: 500;
}

.performance-timeframe {
  opacity: 0.5;
  font-size: 12px;
}

.add-chart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background-color: inherit;
  vertical-align: middle;
  border: none;
  border-radius: 8px;
  color: #000000c4;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.bot-hr {
    border: none;
    height: 1px;
    margin: 4px;
    background-color: #dddddd;
}

.bot-stats {
    display: flex;
    font-size: 12px;
    padding-top: 5px;
}

.bot-stat {
    flex: 1;
}

.bot-stat:nth-child(3) {
    text-align: right;
}

.bot-info {
  font-size: 0.9rem;
}

.bot-info-tutorial {
  font-weight: 500;
}
/* © theCryptoTool.com */
:root {
    --bg: #F5F5F5;
    --container-bg: #F5F5F5;
    --text: #000;
    --header-bg: #F5F5F5;
    --border: #d4d4d4; /*#e7e7e7;#e9e9e9*/

    --bull: rgb(8,153,129);
    --bear: #e12323;

    --divider-text: #555;
    --icon-invert: 0;

    --border-bottom: 0;

    --lesser-text: #242424;

    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.07);
}

[data-theme="dark"] {
    --bg: #0D1421; /*#090f1c blue tint very fancy or #181818 */
    --text: #e4e4e4;
    --header-bg: #0D1421;
    --border: #323546; /*#333; #313131 origin: #212835 #2c2c2c #20242c #1c222f #1f2633 #2a293e*/
    --sidebar-bg: #0D1421;
    --container-bg: rgb(19, 28, 44); /*#121b2b; rgb(23, 32, 47);*/

    --container-bg-dark: rgb(16, 25, 41);

    --bull: rgb(29, 219, 191);
    --bear: #ff5c5c;

    --divider-text: #b3b3b3;
    --icon-invert: 0;

    --border-bottom: 1;

    --lesser-text: #dadada;

    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.3);
}
/* © theCryptoTool.com */
.gauge-header {
    text-align: center;
    margin-bottom: 30px;
}

.gauge-title {
    color: #313131;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.gauge-subtitle {
    color: #888;
    font-size: 14px;
}

.gauge-wrapper {
    position: relative;
    width: 100%;
    height: 130px;
}

.gauge-svg {
    width: 100%;
    height: 100%;
}

.gauge-bg {
    fill: none;
    stroke: #ccc;
    stroke-width: 9;
    stroke-linecap: round;
}

.gauge-fill {
    fill: none;
    stroke-width: 9;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s ease, stroke 0.3s ease;
}

.gauge-needle {
    transition: transform 0.8s ease;
}

.gauge-center {
    fill: #EFF2F5;
    stroke: #1E2029;
    stroke-width: 2;
}

.gauge-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 0px; /* 0 10px */
}

.gauge-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.label-bearish {
    color: #f23645;
}

.label-neutral {
    color: #888;
}

.label-bullish {
    color: #16C784;
}

.gauge-value {
    text-align: center;
    margin-bottom: 20px;
}

.value-number {
    font-size: 38px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 5px;
}

.value-label {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.control-btn {
    flex: 1;
    min-width: 80px;
    padding: 12px 20px;
    background: #2a2a2a;
    border: none;
    border-radius: 8px;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.control-btn:active {
    transform: translateY(0);
}

.indicator-name {
    color:#979797;
}
/* © theCryptoTool.com */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.indicator-value {
    font-size: 24px;
    font-weight: 500;
    color: #2345e1;
}

.volatility-value {
    font-size: 24px;
    font-weight: 500;
    color: #e12323;
}

.rsi-value {
    font-size: 24px;
    font-weight: 500;
}

.progress-container {
    width: 100%;
}

.labels {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.labels .label:nth-child(2) {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.progress-wrapper {
    position: relative;
    width: 100%;
}

.progress-bar {
    height: 6px;
    background-color: #fff;
    border-radius: 3px;
    display: flex;
    overflow: hidden;
}

.segment {
    height: 100%;
}

.segment-oversold-strong {
    background-color: #16C784;
    opacity: 1;
    width: 15%;
}

.segment-oversold-mild {
    background-color: #16C784;
    opacity: 0.5;
    width: 15%;
}

.segment-neutral {
    background-color: #3E424A;
    opacity: 1;
    width: 50%;
}

.segment-overbought-mild {
    background-color: #EA3943;
    opacity: 0.5;
    width: 15%;
}

.segment-overbought-strong {
    background-color: #EA3943;
    opacity: 1;
    width: 15%;
}


/* For other scales */
.segment-weak {
    opacity: 0.4;
    width: 25%;
}

.segment-moderate {
    opacity: 0.6;
    width: 25%;
}

.segment-strong {
    opacity: 0.8;
    width: 25%;
}

.segment-extreme {
    opacity: 1;
    width: 25%;
}

.segment-trend {
    background-color: #2346e1d5; /* #2345e1;*/
}

.segment-volatility {
    background-color: #e12323;
}

.indicator {
    position: absolute;
    top: 50%;
    width: 15px;
    height: 15px;
    background-color: #EFF2F5;
    border: 2px solid #1E2029;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: left 0.3s ease;
}

.controls {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-group label {
    color: #A0A3A7;
    font-size: 14px;
    min-width: 80px;
}

.input-group input {
    flex: 1;
    background: #2B2F36;
    border: 1px solid #3E424A;
    border-radius: 8px;
    padding: 8px 12px;
    color: #EFF2F5;
    font-size: 14px;
}

.input-group input:focus {
    outline: none;
    border-color: #3861FB;
}

.status {
    margin-top: 16px;
    padding: 12px;
    background: #2B2F36;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.rsi-value.oversold {
    color: #16C784;
}

.rsi-value.neutral {
    color: #3E424A
}

.rsi-value.overbought {
    color: #EA3943;
}
/* © theCryptoTool.com */
#loadingOverlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  z-index: 999999;

  /* START VISIBLE */
  opacity: 1;
  pointer-events: all;

  transition: opacity 0.4s ease;
}

/* Hidden state */
#loadingOverlay.hidden {
  opacity: 0;
  pointer-events: none;
}
  /* Volume Bars */
  .volume-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
  }

  .bar {
    width: 12px;
    background: linear-gradient(180deg, #667eea 0%, #2345e1 100%);
    border-radius: 4px 4px 0 0;
    position: relative;
    box-shadow: 0 0 2px #667eea;
  }

  .bar:nth-child(1) {
    animation: volumePulse 2s ease-in-out infinite;
    animation-delay: 0s;
  }

  .bar:nth-child(2) {
    animation: volumePulse 2s ease-in-out infinite;
    animation-delay: 0.1s;
  }

  .bar:nth-child(3) {
    animation: volumePulse 2s ease-in-out infinite;
    animation-delay: 0.2s;
  }

  .bar:nth-child(4) {
    animation: volumePulse 2s ease-in-out infinite;
    animation-delay: 0.3s;
  }

  .bar:nth-child(5) {
    animation: volumePulse 2s ease-in-out infinite;
    animation-delay: 0.4s;
  }

  .bar:nth-child(6) {
    animation: volumePulse 2s ease-in-out infinite;
    animation-delay: 0.5s;
  }

  .bar:nth-child(7) {
    animation: volumePulse 2s ease-in-out infinite;
    animation-delay: 0.6s;
  }

  @keyframes volumePulse {
    0%, 100% {
      height: 20px;
      opacity: 0.4;
    }
    50% {
      height: 75px;
      opacity: 1;
    }
  }

.loading-text {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    position: relative;
}

  .loading-text::after {
    content: '';
    animation: dots 1.5s steps(4) infinite;
  }

  @keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
  }

/* Fade-out transition (overlay hidden later) */
#loadingOverlay.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* © theCryptoTool.com */
/* ====== Global Reset & Base Styles ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,Helvetica,Arial,sans-serif;
    user-select: none;
    background-color: var(--bg);
    color: var(--text);
    height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ====== Header ====== */
.main-header {
    width: 100%;
    padding: 12px 24px;
    height: 70px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    background: var(--sidebar-bg);
}

#symbol {
    display: none;
}

a {
    color: #667eea;
}

/* ====== Main Body (flex container) ====== */
.main-body {
    display: flex;
    flex: 1;     
    width: 100%;  
    min-height: 0; 
}

/* ====== Sidebar ====== */
.sidebar {
    flex: 1;
    min-width: 400px;
    max-width: 400px;
    border-right: 1px solid var(--border);
    background-color: var(--sidebar-bg);
    overflow-y: auto; /* scroll only if needed */
}

/* ====== Graph Area ====== */
.chart {
    flex: 3;
    overflow-y: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Panning scroll */
canvas {
    touch-action: pan-y !important
}

.chart-wrapper {
    position: relative;
    flex: 1; /* fills available vertical space */
    padding-right: 8px;
    padding-bottom: 4px;
    margin-top: 8px;
    min-height: 0; /* important to prevent overflow in flex containers */
    border-bottom: var(--border-bottom)px solid #333
}

.select-crypto {
    width: auto;
    display: inline;
}

.logo {
    width: 40px;
    vertical-align: middle;
    height: auto;
    filter: invert(var(--icon-invert));
}

.select-crypto-name {
    padding: 5px;
    display: inline;
    font-size: 1.1rem;
    vertical-align: middle;
    font-weight: 600;
}

.select-crypto-symbol {
    font-family: 'Courier New', Courier, monospace;
    display: inline;
    color: #858585;
    font-size: 1rem;
}

.mobile-settings {
    display: none;
}

.bull-color {
    color: rgb(8, 153, 129);
}

.bear-color {
    color: #e12323;
}

.weak-trend {
    opacity: 0.8;
}

/* ====== Responsive Layout: Mobile (<600px) ====== */
@media (max-width: 750px) {

    .main-body {
        flex-direction: column-reverse;  /* stack vertically */
        flex: none;
    }

    .chart {
        width: 100%;
        flex: none;              /* remove desktop flex height */
        height: auto;            /* shrink to content */
        min-height: 200px;       /* optional: ensure usable graph area */
        overflow: visible;       /* let page scroll naturally */
        display: block;
    }

    .sidebar {
        width: 100%;
        flex: none;
        height: auto;
        order: -1;            /* natural height, no fixed height */
        min-width: 0;
        max-width: 100%;
        overflow: visible; 
    }

    .chart-wrapper {
        height: 70vh;
        padding-right: 12px;
        padding-bottom: 4px;
        margin-top: 12px;
        min-height: 0; 
    }

    .mobile-settings {
        display: block;
    }

    .sidebar-settings {
        display: none;
    }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* © theCryptoTool.com */

/* For Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #667eead0;
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #5568d3ad;
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #667eea80 var(--bg);
}

/* Add bottom fade gradient */
.sidebar::after {
  content: '';
  position: sticky;
  bottom: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--bg));
}
/* © theCryptoTool.com */
#selectAssetOverlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;

  /* START VISIBLE */
  opacity: 0;
  pointer-events: none;

  transition: opacity 0.4s ease;
}

#selectAssetOverlay.show {
  opacity: 1;
  pointer-events: all;
}

.select-asset-container  {
    border-radius: 12px;
    border: 1px solid var(--border);
    background-color: var(--container-bg);
    height: 300px;
    padding: 10px;
    box-sizing: border-box;
}

.select-top {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid var(--border);
}

.select-top-right  {
    flex: 1;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    vertical-align: middle;
    padding: 8px;
}

.select-top-left  {
    flex: 10;
}

.search-container {
    position: relative;
    width: 100%;
}

.search-container i {
    position: absolute;
    top: 50%;
    left: 12px;
    padding: 8px;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--divider-text);
}

.search-container input {
    width: 100%;
    padding: 16px 40px 16px 46px;
    background-color: inherit;
    color: inherit;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 16px;
}

/* Results */
.selects-results {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
}

/* Individual result */
.select-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e7e7e7;
  padding: 6px 16px 6px 16px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.select-result:hover {
  border-color: var(--border);
}

/* Left side */
.select-result-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-icon {
  width: 32px;
  height: 32px;
  border: 1px solid #e7e7e7;
  border-radius: 50%;
}

/* Text */
.result-info .result-name {
  font-size: 1rem;
  font-weight: 600;
}

.result-info .result-symbol {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 2px;
}

.select-container {
    position: relative;
    margin-left: auto;
}

.select-container {
    max-width: 250px;
}

#selectAsset {
    width: 100%;
    padding: 12px 40px 12px 44px;
    background: var(--container-bg);
    margin-left: 3px;
    border-radius: 30px;
    border: 1px solid var(--border);
    outline: none;
    font-size: 16px;
    color: var(--divider-text);
    box-sizing: border-box;      /* VERY IMPORTANT */
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.select-asset-name {
    white-space: nowrap;
    overflow: hidden;            /* REQUIRED for ellipsis */
    text-overflow: ellipsis;
}

/* Left PNG image */
.select-container .left-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    pointer-events: none;
    object-fit: contain;
}

/* Right Bootstrap chevron */
.select-container i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #777;
    pointer-events: none;
}

.select-container select:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 6px rgba(26, 115, 232, 0.3);
}

/* Make the container respect its fixed height */
.select-asset-container {
    height: 300px;           /* you already have this */
    display: flex;           /* ← ADD THIS */
    flex-direction: column;  /* ← ADD THIS */
}

/* Let the results area take the remaining space and scroll */
.selects-results {
    flex: 1;                 /* takes all available space */
    overflow-y: auto;        /* enables vertical scrolling */
    margin-top: 6px;
    padding-right: 4px;      /* optional: space for scrollbar */
}

/* Optional: nicer scrollbar (Webkit browsers) */
.selects-results::-webkit-scrollbar {
    width: 6px;
}

.selects-results::-webkit-scrollbar-track {
    background: transparent;
}

.selects-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.selects-results::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}
/* © theCryptoTool.com */
.sidebar-containers {
    padding: 4px;
    display: block;
}

.sidebar-container {
    margin: 8px 8px 0px 8px;
    padding: 12px;
    border-radius: 5px;
    border: 0px solid var(--border);
    background-color: var(--container-bg);
    box-shadow: var(--box-shadow);
    /*background: #171E2F;
    background: linear-gradient(90deg,rgba(22, 29, 47, 1) 0%, rgba(18, 27, 43, 1) 80%);*/
}

.sidebar-container.adx,.sidebar-container.rsi,.sidebar-container.trend,.sidebar-container.volatility {
    margin: 8px 8px 0px 8px;
    padding: 12px;
    border-radius: 5px;
    border: 0px solid var(--border);
    background-color: var(--container-bg-dark);
    box-shadow: var(--box-shadow);
    /*background: #171E2F;
    background: linear-gradient(90deg,rgba(22, 29, 47, 1) 0%, rgba(18, 27, 43, 1) 80%);*/
}

.sidebar-name-container {
  display: flex;
  padding: 16px 16px 8px 16px;
  align-items: center;
  gap: 8px;
}

.icon {
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.sidebar-name-container div {
  font-weight: 600;
}

.sidebar-name {
    font-size: 1.3rem;
}

.sidebar-symbol {
  color: #aaa;
  font-size: 1rem;
}

.sidebar-position {

  float: right;
}

.sidebar-price-amount {
  font-size: 34px;
}

.sidebar-price-change {
  font-size: 0.85rem;
  color: #16c784;
}

.sidebar-price {
  padding: 0px 16px 16px 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 15px;
}

.sidebar-times {
  display: flex;
  align-items: center;
  gap: 12px;    
  padding: 0px 16px 12px 16px;
}

.sidebar-time {
  border: 0px solid var(--border);
  background-color: var(--container-bg);
  padding: 7px 8px;
  text-align: center;
  font-weight: 350;
  border-radius: 5px;  
  box-shadow: var(--box-shadow);
}

.sidebar-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0px 16px 12px 16px;

  flex-wrap: nowrap;          /* keep tabs on one line */
  overflow-x: auto;           /* horizontal scrollbar */
  overflow-y: hidden;
  white-space: nowrap;        /* prevent accidental wrapping */

  -webkit-overflow-scrolling: touch; /* smooth scroll on mobile */
}

.sidebar-tab {
  border: 0px solid var(--border);
  background-color: var(--container-bg);
  padding: 7px 8px;
  text-align: center;
  font-weight: 350;
  border-radius: 5px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  white-space: nowrap;        /* text stays on one line */
  flex-shrink: 0;             /* prevents tabs from shrinking */

  box-shadow: var(--box-shadow);
}

.badge-new {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}


.sidebar-time.active {
  border-radius: 5px;
  border: 1.5px solid #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.sidebar-tab.active {
  border-radius: 5px;
  border: 1.5px solid #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.sidebar-tab:hover {
  border-radius: 5px;
  border: 1.5px solid #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.sidebar-time:hover {
  border-radius: 5px;
  border: 1.5px solid #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.gauge-chart {
    padding: 0 8px;
    border-radius: 5px;
    background-color: var(--container-bg-dark);
    border: 0px solid var(--border);
    flex: 1;
    box-shadow: var(--box-shadow);
}

.gauge-charts {
    padding: 0px 8px;
    margin-top: 8px;
    display: flex;
    gap: 8px;  
}

.row {
  display: flex;
  justify-content: space-between; /* pushes gear to the right */
  align-items: center;
  border-bottom: 1px solid var(--border); /*e9e9e9*/
  padding: 8px 4px;
}

.row:last-child {
  border-bottom: none;
}


.divider {
  display: flex;
  align-items: center;
  gap: 1rem;               /* space between line and text */
  color: var(--divider-text);
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  margin: 1rem 0;
}

.divider.footer {
  display: flex;
  font-style: italic;
  align-items: center;
  gap: 1rem;               /* space between line and text */
  color: var(--divider-text);
  font-weight: 600;
  font-size: 0.8rem;
  margin: 0.4rem 1rem 1rem 1rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--border);
  border-radius: 1px;
}

.divider-plain {
  height: 1px;
  background-color: var(--border);
  border-radius: 1px;
  margin-top: 0.6rem;
}

.divider span {     /* hides the line behind the word if needed */
  padding: 0 0.2rem;
}

hr.sidebar-divider {
  border: none;
  height: 1px;
  padding: 0px;
  margin: 8px;
}

.sidebar-chart {
  display: none;
}

.sidebar-bots {
  padding: 4px;
  display: none;
}

/*details.sidebar-container {
  background: linear-gradient(135deg, #667eea2f 0%, #764ba225 100%);
}*/

details.sidebar-container {
  background-color: var(--container-bg-dark);
}

summary {
  cursor: pointer;
}

details p {
  margin-top: 8px;
  font-size: 0.9rem;
}

details {
  color: var(--text);
}

.sidebar-container[open] summary {
    border-bottom: 1px solid #667eea;
    padding-bottom: 10px;
}
.content-wrapper {
    padding: 4px;
}

strong {
    color: #667eea;
    font-weight: 600;
}
.indicator-level {
    font-weight: 600;
    color: #667eea;
}
a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
a:hover {
    border-bottom-color:#667eea;
}
h1 {
    color: #667eea;
    text-align: center;
    margin-bottom: 30px;
}

.site-footer {
  font-style: italic;
  background: inherit;
  color: var(--lesser-text);
  margin-top: 8px;
  text-align: center;
  overflow-wrap: break-word;
  text-wrap: pretty;
  hyphens: auto;
  padding: 12px;
  font-size: 15px;
}

.footer-container {
  font-size: 14px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.site-footer h4 {
  color: inherit;
  font-size: 15px;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: inherit;
}

.footer-bottom {
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 8px;
  text-align: center;
  font-size: 14px;
  color: inherit;
}

.footer-column {
  line-height: 1.5rem;
}

.sidebar-tabs a {
  color: inherit;
}

.trending .sidebar-tab img {
  width: 20px; 
  height: auto; 
  margin-right: 8px;
}

.trending .sidebar-tab {
  padding: 8px 12px;
}

.trending .sidebar-tabs {
  overflow: hidden;
  padding: 0px 8px 8px 8px;
  gap: 8px;
}

.bi-link-45deg {
  margin-left: 4px;
}
/* © theCryptoTool.com */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #667eea;
}

input:focus + .slider {
  box-shadow: 0 0 1px #667eea;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
.notification-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;

    transform: translateY(-100%);
    transition: transform 1.5s ease; /* Due to no layout shift to improve CLS */
    will-change: transform;

    gap: 16px;
    flex-wrap: wrap;
}

.notification-banner.show {
    transform: translateY(0);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}

.banner-icon {
    font-size: 24px;
}

.banner-text {
    font-weight: 500;
}

.banner-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    background: #f7f7f7;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

.main-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    margin-bottom: 20px;
    color: #333;
}

.tutorial-container {
    color: rgb(255, 255, 255);
    background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%);
    font-weight: 500;
    text-align: center;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.125rem;
}

.tutorial-container:hover {
   cursor: pointer;
}

