/* BTG Theme Integration */
:root {
  /* Font Family */
  --heading-font: "Jost", sans-serif;
  --body-font: "Inter", sans-serif;
  
  /* Base Color */
  --base-h: 45;
  --base-s: 100%;
  --base-l: 50%;
  --base: var(--base-h) var(--base-s) var(--base-l);
  --base-d-200: var(--base-h) var(--base-s) calc(var(--base-l) - var(--base-l) * 0.2);
  
  /* Base Two Color */
  --base-two-h: 145;
  --base-two-s: 80%;
  --base-two-l: 46%;
  --base-two: var(--base-two-h) var(--base-two-s) var(--base-two-l);
  
  /* Theme Colors - Dark Mode (Default) */
  --primary-bg: #000000;
  --secondary-bg: #0a0a0a;
  --panel-bg: #121212;
  --border-color: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent: #ffe600;
  --accent-hover: #ffcc00;
  
  /* Trading Colors */
  --buy: #26a69a;
  --sell: #ef6b65;
  --accent-2: #3dd5ff;
  --accent-3: #7c5cff;
  
  /* Candle Colors */
  --candle-wick: #ffffff;
  --candle-border: rgba(0, 0, 0, 0.2);
  
  /* Glass Effects */
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.1);
  
  /* Layout Variables */
  --sidebar-width: 320px;
  --topbar-height: 60px;
  --panel-radius: 12px;
  --gap: 12px;
}

/* Light Theme */
[data-theme="light"] {
  --primary-bg: #f5f5f5;
  --secondary-bg: #e0e0e0;
  --panel-bg: #ffffff;
  --border-color: #d0d0d0;
  --text-primary: #000000;
  --text-secondary: #555555;
  --accent: #b39500;
  --accent-hover: #8c7600;
  
  /* Update candle colors for light theme */
  --candle-wick: #000000;
  --candle-border: rgba(0, 0, 0, 0.2);
  
  /* Update glass effects for light theme */
  --glass: rgba(0,0,0,0.05);
  --glass-border: rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  background: var(--primary-bg);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><linearGradient id="a" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ffe600;stop-opacity:0.05"/><stop offset="100%" style="stop-color:%23b39500;stop-opacity:0.05"/></linearGradient></defs><path fill="url(%23a)" d="M0 0h1920v1080H0z"/><circle cx="200" cy="200" r="150" fill="%23ffe600" opacity="0.03"/><circle cx="1700" cy="800" r="200" fill="%23b39500" opacity="0.03"/></svg>') no-repeat center;
  background-size: cover;
  opacity: 0.3;
  z-index: -1;
}

/* Layout Structure */
.app-container {
  display: grid;
  grid-template-rows: var(--topbar-height) 1fr;
  height: 100vh;
  gap: var(--gap);
  padding: var(--gap);
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--panel-radius);
  padding: 0 20px;
  z-index: 1000;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.burger-menu span {
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.logo {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-bg);
  font-weight: 700;
}

.market-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(38, 166, 154, 0.1);
  border: 1px solid rgba(38, 166, 154, 0.3);
  border-radius: 20px;
  font-size: 12px;
  color: var(--buy);
}

.market-status::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--buy);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.price-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
}

.current-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-change {
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 6px;
}

.price-change.positive {
  background: rgba(38, 166, 154, 0.2);
  color: var(--buy);
}

.price-change.negative {
  background: rgba(239, 107, 101, 0.2);
  color: var(--sell);
}

.theme-toggle {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 4px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.theme-toggle i {
  padding: 6px;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.theme-toggle i.active {
  background: var(--accent);
  color: var(--primary-bg);
}

/* Main Layout */
.main-content {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  gap: var(--gap);
  min-height: 0;
  transition: grid-template-columns 0.3s ease;
}

.main-content.sidebar-collapsed {
  grid-template-columns: 0 1fr;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  overflow-y: auto;
  overflow-x: hidden;
  transition: all 0.3s ease;
}

.sidebar.collapsed {
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 3px;
}

.panel {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--panel-radius);
  padding: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.panel:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(255, 230, 0, 0.1);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.panel-title {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.panel-collapse-icon {
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}

.panel.collapsed .panel-collapse-icon {
  transform: rotate(180deg);
}

.panel-content {
  transition: all 0.3s ease;
  overflow: hidden;
}

.panel.collapsed .panel-content {
  max-height: 0;
  margin-bottom: 0;
  padding: 0;
}

/* Chart Area */
.chart-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-height: 0;
}

.chart-main {
  flex: 1;
  min-height: 700px;
  position: relative;
}

.chart-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.timeframe-selector {
  display: flex;
  gap: 4px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 4px;
}

.tf-btn {
  padding: 6px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tf-btn:hover {
  background: var(--glass);
  color: var(--text-primary);
}

.tf-btn.active {
  background: var(--accent);
  color: var(--primary-bg);
}

.chart-Methods {
  display: flex;
  gap: 8px;
}

.method-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.method-btn:hover {
  background: var(--accent);
  color: var(--primary-bg);
  border-color: var(--accent);
}

.method-btn.active {
  background: var(--accent);
  color: var(--primary-bg);
  border-color: var(--accent);
}

.chart-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.1));
  border-radius: 8px;
  overflow: hidden;
}

#chartCanvas {
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

/* Delta Volume Chart */
.delta-volume-container {
  height: 120px;
  position: relative;
}

.delta-volume-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.05));
  border-radius: 8px;
  overflow: hidden;
}

#deltaVolumeCanvas {
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

/* Symbol Ticker */
.symbol-ticker {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.symbol-name {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.symbol-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.symbol-change {
  font-size: 14px;
  margin-top: 4px;
}

.symbol-change.positive {
  color: var(--buy);
}

.symbol-change.negative {
  color: var(--sell);
}

/* Methods Panel */
.Methods-panel {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--panel-radius);
  padding: 16px;
  margin-bottom: var(--gap);
}

.Methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.method-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.method-item:hover {
  background: var(--glass-border);
  transform: translateY(-2px);
}

.method-item.active {
  background: var(--accent);
  color: var(--primary-bg);
  border-color: var(--accent);
}

.method-icon {
  font-size: 20px;
}

.method-name {
  font-size: 11px;
  font-weight: 500;
}

.method-settings {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.setting-input {
  width: 40px;
  padding: 2px 4px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: inherit;
  font-size: 10px;
  text-align: center;
}

/* Order Book - Enhanced */
.orderbook {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 300px;
}

.orderbook-table {
  width: 100%;
  border-collapse: collapse;
}

.orderbook-table th {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: right;
  padding: 6px 8px;
  font-weight: 500;
}

.orderbook-table th:first-child {
  text-align: left;
}

.orderbook-table td {
  font-size: 12px;
  padding: 4px 8px;
  text-align: right;
}

.orderbook {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 400px; /* Increased from 300px to 400px */
  overflow-y: auto; /* Added to ensure scrolling if needed */
}

.orderbook-table td:first-child {
  text-align: left;
}

.orderbook-row {
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.orderbook-row:hover {
  background: var(--glass);
}

.orderbook-row.bid {
  color: var(--buy);
}

.orderbook-row.ask {
  color: var(--sell);
}

.orderbook-row.bid .volume-bar {
  background: linear-gradient(90deg, rgba(38, 166, 154, 0.2) 0%, rgba(38, 166, 154, 0.05) 100%);
}

.orderbook-row.ask .volume-bar {
  background: linear-gradient(90deg, rgba(239, 107, 101, 0.2) 0%, rgba(239, 107, 101, 0.05) 100%);
}

.orderbook-row .volume-bar {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 0;
}

.orderbook-row .price {
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.orderbook-row .amount {
  position: relative;
  z-index: 1;
}

.orderbook-row .total {
  position: relative;
  z-index: 1;
}

.orderbook-separator {
  height: 2px;
  background: var(--border-color);
  margin: 4px 0;
}

.orderbook-current-price {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--glass);
  border-radius: 6px;
  font-size: 12px;
}

.orderbook-current-price .price {
  font-weight: 600;
}

.orderbook-current-price .change {
  font-weight: 600;
}

.orderbook-current-price .change.positive {
  color: var(--buy);
}

.orderbook-current-price .change.negative {
  color: var(--sell);
}

/* Trading Panel */
.trading-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-input, .form-select {
  padding: 10px 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.1);
}

.form-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.order-type-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 4px;
}

.type-tab {
  padding: 8px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.type-tab.active {
  background: var(--accent);
  color: var(--primary-bg);
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-buy {
  background: var(--buy);
  color: white;
}

.btn-buy:hover {
  background: #229a8f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(38, 166, 154, 0.3);
}

.btn-sell {
  background: var(--sell);
  color: white;
}

.btn-sell:hover {
  background: #e55a54;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 107, 101, 0.3);
}

.btn-secondary {
  background: var(--glass);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-border);
}

/* Account Info */
.account-info {
  display: grid;
  gap: 12px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Status Bar */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Account History Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--panel-bg);
  border-radius: var(--panel-radius);
  width: 80%;
  max-width: 800px;
  max-height: 80%;
  overflow-y: auto;
  padding: 20px;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.close-modal {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--text-primary);
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table th, .history-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.history-table th {
  font-weight: 600;
  color: var(--text-secondary);
}

.history-table tr:hover {
  background: var(--glass);
}

/* TradingView Widget Styling */
.tradingview-widget-container {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--panel-radius);
  margin-bottom: var(--gap);
  overflow: hidden;
}

.tradingview-widget-container iframe {
  background: var(--panel-bg);
}

/* Screen Ratio Notification */
.screen-ratio-notification {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.screen-ratio-notification.active {
  opacity: 1;
  visibility: visible;
}

.notification-content {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--panel-radius);
  width: 90%;
  max-width: 600px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.screen-ratio-notification.active .notification-content {
  transform: scale(1);
}

.notification-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.notification-icon {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary-bg);
  font-size: 24px;
}

.notification-title {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.notification-body {
  margin-bottom: 25px;
}

.notification-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.current-ratio {
  font-weight: 600;
  color: var(--accent);
}

.recommended-ratios {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
}

.recommended-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.ratio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ratio-item {
  background: var(--glass-border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-primary);
}

.ratio-item.recommended {
  background: var(--accent);
  color: var(--primary-bg);
}

.notification-footer {
  display: flex;
  justify-content: flex-end;
}

.notification-close {
  background: var(--accent);
  color: var(--primary-bg);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}



.notification-close:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 230, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
  :root {
    --sidebar-width: 280px;
  }
}

@media (max-width: 992px) {
  .main-content {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--topbar-height));
    z-index: 999;
    transform: translateX(-100%);
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  .burger-menu {
    display: flex;
  }
}

@media (max-width: 768px) {
  .app-container {
    padding: 8px;
    gap: 8px;
  }
  
  :root {
    --topbar-height: auto;
    --gap: 8px;
  }
  
  .topbar {
    flex-direction: column;
    padding: 12px;
    height: auto;
  }
  
  .topbar-controls {
    width: 100%;
    justify-content: space-between;
  }
  
  .chart-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .action-buttons {
    grid-template-columns: 1fr;
  }
  
  .Methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel {
  animation: slideIn 0.5s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--glass);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 3000;
  animation: slideIn 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.notification.success {
  background: var(--buy);
}

.notification.error {
  background: var(--sell);
}

.notification.info {
  background: var(--accent);
  color: var(--primary-bg);
}

@keyframes slideOut {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* Footprint styles */
.footprint-text {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-family: monospace;
}

.footprint-total {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* Volume Profile styles */
.volume-profile-text {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
  font-family: monospace;
}

.poc-line {
  stroke-dasharray: 5, 3;
  animation: dash 20s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -100;
  }
}

/* Delta Chart Label */
.delta-chart-label {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--glass);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 10;
}