  
       .chart-container {
            margin-top: 3rem;
            width: 100vw;
            height: 20rem;
            background: #131722;
            display: flex;
            flex-direction: column;
        }

        .top-toolbar {
            background: #1e222d;
            padding: 8px 16px;
            display: flex;
            align-items: center;
            gap: 16px;
            border-bottom: 1px solid #363c4e;
            flex-shrink: 0;
        }

        .symbol-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .symbol-name {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
        }

        .symbol-exchange {
            font-size: 12px;
            color: #ffae00;
            background: #2a2e39;
            padding: 2px 6px;
            border-radius: 3px;
        }

        .price-display {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-left: 20px;
        }

        .current-price {
            font-size: 18px;
            font-weight: 600;
            color: #26a69a;
            transition: color 0.3s ease;
        }

        .price-change {
            font-size: 14px;
            color: #26a69a;
            transition: color 0.3s ease;
        }

        .price-change.negative {
            color: #ef5350;
        }

        .current-price.negative {
            color: #ef5350;
        }

        .timeframe-selector {
            display: flex;
            gap: 2px;
            margin-left: auto;
        }

        .timeframe-btn {
            background: #2a2e39;
            border: 1px solid #363c4e;
            color: #d1d4dc;
            padding: 6px 12px;
            font-size: 12px;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.2s;
        }

        .timeframe-btn:hover {
            background: #363c4e;
        }

        .timeframe-btn.active {
            background: #2962ff;
            border-color: #2962ff;
            color: white;
        }

        .main-content {
            display: flex;
            flex: 1;
            overflow: hidden;
        }

        .left-sidebar {
            width: 60px;
            background: #1e222d;
            border-right: 1px solid #363c4e;
            display: flex;
            flex-direction: column;
            padding: 8px 0;
        }

        .tool-btn {
            width: 44px;
            height: 44px;
            margin: 2px 8px;
            background: transparent;
            border: 1px solid transparent;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
        }

        .tool-btn:hover {
            background: #363c4e;
            border-color: #363c4e;
        }

        .tool-btn.active {
            background: #2962ff;
            border-color: #2962ff;
        }

        .chart-area {
            flex: 1;
            display: flex;
            flex-direction: column;
            background: #131722;
            position: relative;
        }

        .chart-grid {
            flex: 1;
            background: linear-gradient(to right, #1a1f2a 1px, transparent 1px),
                        linear-gradient(to bottom, #1a1f2a 1px, transparent 1px);
            background-size: 50px 30px;
            position: relative;
            overflow: hidden;
        }

        .y-axis {
            position: absolute;
            right: 0;
            top: 0;
            width: 80px;
            height: 100%;
            background: #1e222d;
            border-left: 1px solid #363c4e;
            z-index: 5;
        }

        .price-level {
            position: absolute;
            right: 0;
            width: 80px;
            height: 1px;
            background: #363c4e;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .price-label {
            background: #1e222d;
            color: #868993;
            font-size: 11px;
            padding: 2px 4px;
            border-radius: 2px;
        }

        .candlestick-container {
            position: absolute;
            top: 0;
            left: 0;
            width: calc(100% - 80px);
            height: 100%;
            overflow: hidden;
        }

        .candlestick {
            position: absolute;
            display: flex;
            flex-direction: column;
            align-items: center;
           width: 3px; /* Decrease from 12px */
            transition: transform 0.8s ease-in-out;
        }

        .candlestick.entering {
            transform: translateX(100px);
            opacity: 0;
        }

        .candlestick.active {
            transform: translateX(0);
            opacity: 1;
        }

        .wick {
            width: 1px;
            transition: all 0.3s ease;
        }

        .body {
            width: 10px;
            border-radius: 1px;
            margin: 1px 0;
            min-height: 2px;
            transition: all 0.3s ease;
        }

        .bullish .wick {
            background: #26a69a;
        }

        .bullish .body {
            background: #26a69a;
            border: 1px solid #26a69a;
        }

        .bearish .wick {
            background: #ef5350;
        }

        .bearish .body {
            background: #ef5350;
            border: 1px solid #ef5350;
        }

        .volume-panel {
            height: 120px;
            background: #131722;
            border-top: 1px solid #363c4e;
            position: relative;
        }

        .volume-bars {
            position: absolute;
            bottom: 20px;
            left: 0;
            width: calc(100% - 80px);
            height: 100px;
            display: flex;
            align-items: flex-end;
            gap: 1px;
            padding: 0 20px;
        }

        .volume-bar {
            flex: 1;
            background: #26a69a;
            opacity: 0.3;
            min-height: 2px;
            border-radius: 1px 1px 0 0;
            transition: all 0.3s ease;
        }

        .volume-bar.bearish {
            background: #ef5350;
        }

        .volume-bar.new {
            animation: volumeGrow 0.5s ease-out;
        }

        @keyframes volumeGrow {
            from { height: 0; }
            to { height: var(--final-height); }
        }

        .x-axis {
            position: absolute;
            bottom: 0;
            left: 0;
            width: calc(100% - 80px);
            height: 20px;
            background: #1e222d;
            border-top: 1px solid #363c4e;
            display: flex;
            align-items: center;
            justify-content: space-around;
        }

        .time-label {
            font-size: 10px;
            color: #868993;
        }

        .right-sidebar {
            width: 280px;
            background: #1e222d;
            border-left: 1px solid #363c4e;
            display: flex;
            flex-direction: column;
        }

        .sidebar-tabs {
            display: flex;
            border-bottom: 1px solid #363c4e;
        }

        .sidebar-tab {
            flex: 1;
            padding: 12px 16px;
            text-align: center;
            cursor: pointer;
            font-size: 13px;
            color: #868993;
            border-bottom: 2px solid transparent;
            transition: all 0.2s;
        }

        .sidebar-tab:hover {
            background: #2a2e39;
        }

        .sidebar-tab.active {
            color: #2962ff;
            border-bottom-color: #2962ff;
        }

        .watchlist {
            flex: 1;
            overflow-y: auto;
        }

        .watchlist-item {
            padding: 8px 16px;
            border-bottom: 1px solid #363c4e;
            cursor: pointer;
            transition: background 0.2s;
        }

        .watchlist-item:hover {
            background: #2a2e39;
        }

        .watchlist-symbol {
            font-size: 13px;
            font-weight: 500;
            color: #fff;
        }

        .watchlist-price {
            font-size: 12px;
            color: #26a69a;
            margin-top: 2px;
        }

        .watchlist-change {
            font-size: 11px;
            color: #26a69a;
        }

        .watchlist-change.negative {
            color: #ef5350;
        }

        .crosshair {
            position: absolute;
            pointer-events: none;
            z-index: 10;
        }

        .crosshair-line {
            position: absolute;
            background: #868993;
            opacity: 0.5;
        }

        .crosshair-horizontal {
            height: 1px;
            width: 100%;
            left: 0;
        }

        .crosshair-vertical {
            width: 1px;
            height: 100%;
            top: 0;
        }

        .price-tooltip {
            position: absolute;
            background: #1e222d;
            border: 1px solid #363c4e;
            padding: 4px 8px;
            font-size: 11px;
            border-radius: 3px;
            z-index: 11;
        }

        .price-flash {
            animation: priceFlash 0.5s ease-out;
        }

        @keyframes priceFlash {
            0% { background-color: rgba(38, 166, 154, 0.3); }
            50% { background-color: rgba(38, 166, 154, 0.6); }
            100% { background-color: transparent; }
        }

        .price-flash.negative {
            animation: priceFlashRed 0.5s ease-out;
        }

        @keyframes priceFlashRed {
            0% { background-color: rgba(239, 83, 80, 0.3); }
            50% { background-color: rgba(239, 83, 80, 0.6); }
            100% { background-color: transparent; }
        }

        /* Android-specific hiding */
        @media screen and (-webkit-min-device-pixel-ratio: 0) {
            .chart-container {
                display: none !important;
            }
        }

        /* General mobile device hiding */
        @media (max-width: 768px) {
            .chart-container {
                display: none !important;
            }
        }

        /* Tablet and smaller screens */
        @media (max-width: 1024px) {
            .right-sidebar {
                width: 200px;
            }
        }

        @media (max-width: 768px) {
            .right-sidebar {
                display: none;
            }
            
            .left-sidebar {
                width: 50px;
            }
            
            .y-axis {
                width: 60px;
            }
            
            .candlestick-container {
                width: calc(100% - 60px);
            }
            
            .volume-bars {
                width: calc(100% - 60px);
            }
            
            .x-axis {
                width: calc(100% - 60px);
            }
        }