        html,
        body {
            background-color: #121212;
            /* Твой цвет фона */
            color: #ffffff;
            margin: 0;
            padding: 0;
        }

        body {
            background: #121212;
            color: #e0e0e0;
            font-family: 'Segoe UI', sans-serif;
            margin: 0;
            padding: 20px;
        }

        .card {
            background: #1e1e1e;
            padding: 20px;
            border-radius: 12px;
            max-width: 1400px;
            margin: 0 auto;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }

        .nav {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }

        .btn {
            padding: 8px 16px;
            background: #333;
            border: 1px solid #444;
            color: #fff;
            text-decoration: none;
            border-radius: 6px;
            font-size: 13px;
        }

        .btn.active {
            background: #3498db;
            /* color: white; */
            border-color: #3498db;
        }


        .chart-container {
            width: 100%;
            margin-bottom: 10px;
            background: #1e1e1e;
        }

        #chart-price {
            height: 450px;
        }

        #chart-ichi {
            height: 250px;
        }

        #chart-rsi {
            height: 180px;
        }


        label {
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        input[type="checkbox"] {
            accent-color: #00E396;
        }

        /* Переменные для темной темы (по умолчанию) */
        :root {
            --bg-color: #1a1a1a;
            --card-bg: #2d2d2d;
            --text-color: #ffffff;
            --border-color: #404040;
        }

        /* Переменные для светлой темы */
        body.light-theme {
            --bg-color: #f4f7f6;
            --card-bg: #ffffff;
            --text-color: #000000;
            --border-color: #e0e0e0;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            transition: all 0.3s ease;
            /* Плавный переход */
        }

        .chart-card {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
        }

        .controls {
            display: flex;
            /* Включает гибкий контейнер */
            flex-wrap: wrap;
            /* Позволяет переносить элементы, если они не влезают */
            gap: 20px;
            /* Делает ровные отступы между чекбоксами */
            align-items: center;
            /* Выравнивает их по вертикали по центру */
            padding: 15px;
            background-color: var(--card-bg);
            border-radius: 8px;
            margin-bottom: 10px;
        }

        /* Чтобы label и input всегда были на одной линии */
        .controls label {
            display: flex;
            align-items: center;
            gap: 8px;
            /* Расстояние от галочки до текста */
            cursor: pointer;
            white-space: nowrap;
            /* Запрещает тексту внутри label разрываться */
        }

        /* Делаем фон всего контейнера тултипа прозрачным */
        .apexcharts-tooltip {
            background: rgba(255, 255, 255, 0.7) !important;
            /* 0.7 — это степень непрозрачности */
            box-shadow: none !important;
            /* Убираем тень, если она мешает прозрачности */
            border: 1px solid #e3e3e3 !important;
        }

        /* Если у тебя темная тема */
        .apexcharts-theme-dark .apexcharts-tooltip {
            background: rgba(0, 0, 0, 0.5) !important;
            color: #fff;
        }

        .apexcharts-tooltip.apexcharts-theme-light,
        .apexcharts-tooltip.apexcharts-theme-dark {
            top: 10px !important;
            /* Фиксируем расстояние от верхнего края */
            left: 50% !important;
            transform: translateX(-50%) !important;
        }


        /* Окно подсказки (Glassmorphism) */
        #rsi-help-card {
            display: none;
            /* Скрыто по умолчанию */
            position: absolute;
            top: 55px;
            /* Сразу под тулбаром */
            right: 25px;
            width: 240px;
            z-index: 100;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(8px);
            /* Размытие фона */
            border: 1px solid rgba(0, 143, 251, 0.3);
            border-radius: 10px;
            padding: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            font-size: 13px;
            color: #333;
            line-height: 1.5;
        }

        /* Окно подсказки (Glassmorphism) */
        #macd-help-card {
            display: none;
            /* Скрыто по умолчанию */
            position: absolute;
            top: 55px;
            /* Сразу под тулбаром */
            right: 25px;
            width: 240px;
            z-index: 100;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(8px);
            /* Размытие фона */
            border: 1px solid rgba(0, 143, 251, 0.3);
            border-radius: 10px;
            padding: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            font-size: 13px;
            color: #333;
            line-height: 1.5;
        }


        /* Стрелочка, указывающая на иконку '?' */
        #rsi-help-card::before {
            content: "";
            position: absolute;
            top: -6px;
            right: 15px;
            width: 10px;
            height: 10px;
            background: white;
            border-left: 1px solid rgba(0, 143, 251, 0.3);
            border-top: 1px solid rgba(0, 143, 251, 0.3);
            transform: rotate(45deg);
        }

        /* Стрелочка, указывающая на иконку '?' */
        #macd-help-card::before {
            content: "";
            position: absolute;
            top: -6px;
            right: 15px;
            width: 10px;
            height: 10px;
            background: white;
            border-left: 1px solid rgba(0, 143, 251, 0.3);
            border-top: 1px solid rgba(0, 143, 251, 0.3);
            transform: rotate(45deg);
        }

        /* Стили для темной темы (если используешь) */
        .dark-theme #rsi-modal {
            background: #2b2d3e;
            color: #f8f9fa;
            border-color: #404258;
            opacity: 0.9;
        }

        .chart-container {
            position: relative;
            /* background: #fff; 
            padding: 20px; 
            border-radius: 12px; 
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            max-width: 900px;
            margin: auto; */
        }

        .help-card {
            display: none;
            position: absolute;
            top: 55px;
            right: 25px;
            width: 240px;
            z-index: 100;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(8px);
            border: 1px solid #ddd;
            border-radius: 10px;
            padding: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            font-size: 13px;
        }

        .macd-title {
            font-weight: bold;
            color: #546E7A;
            display: block;
            margin-bottom: 5px;
        }