
:root {
    --indices-pressure-dashed-val-weekly: -28.8;
    --indices-pressure-dashed-color-weekly: #CCCCCC;
    --indices-pressure-solid-val-weekly: -63;
    --indices-pressure-solid-color-weekly: #ffffff;

    --indices-pressure-dashed-val-daily: -31.75;
    --indices-pressure-dashed-color-daily: #888888;
    --indices-pressure-solid-val-daily: -63.5;
    --indices-pressure-solid-color-daily: #ffffff;

    --indices-move-pos-solid-val-weekly: 54.42;
    --indices-move-pos-solid-color-weekly: #ffffff;
    --indices-move-pos-dashed-val-weekly: 27.21;
    --indices-move-pos-dashed-color-weekly: #CCCCCC;
    --indices-move-neg-solid-val-weekly: -54.42;
    --indices-move-neg-solid-color-weekly: #ffffff;
    --indices-move-neg-dashed-val-weekly: -27.21;
    --indices-move-neg-dashed-color-weekly: #CCCCCC;

    --indices-move-pos-solid-val-daily: 59.54;
    --indices-move-pos-solid-color-daily: #ffffff;
    --indices-move-pos-dashed-val-daily: 29.77;
    --indices-move-pos-dashed-color-daily: #CCCCCC;
    --indices-move-neg-solid-val-daily: -59.54;
    --indices-move-neg-solid-color-daily: #ffffff;
    --indices-move-neg-dashed-val-daily: -29.77;
    --indices-move-neg-dashed-color-daily: #CCCCCC;}

.timeframe-weekly #logo-price { bottom: 8%; right: 4%; }
.timeframe-weekly #logo-pressure { bottom: 21%; right: 3%; }
.timeframe-weekly #logo-move { bottom: 12%; right: 3%; }

.timeframe-daily #logo-price { bottom: 8%; right: 4%; }
.timeframe-daily #logo-pressure { bottom: 11%; right: 3%; }
.timeframe-daily #logo-move { bottom: 12%; right: 3%; }
.timeframe-daily #logo-aux-pression { bottom: 10%; right: 4%; }
.timeframe-daily #logo-aux-hvshort { bottom: 10%; right: 4%; }
.timeframe-daily #logo-aux-hvlong { bottom: 10%; right: 4%; }
.timeframe-daily #logo-aux-spread { bottom: 10%; right: 4%; }

#zoom-info-wrapper {
    bottom: 5%;
    left: 3%;}

/* ========================================================================== */
/* BTCUSD - MODULE IMPLIED VOLATILITY                                         */
/* Styles locaux : aucun changement du CSS commun.                            */
/* ========================================================================== */

:root {
    --btc-zscore-hist-color: #333333;
    --btc-zscore-curve-color: #ffffff;
    --btc-zscore-point-color: #ffff00;
}

#app-container #indices-price-panel > #indices-price-overlay > #indices-button-group > #indices-iv-wrapper {
    position: relative !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: normal !important;
    overflow: visible !important;
    transform: none !important;
    float: none !important;
    pointer-events: auto !important;
}

#btc-iv-price-chart {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.btc-iv-horizontal-legend {
    position: absolute;
    top: 48px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: #e0e0e0;
    pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* POSITION DES LOGOS - MODULE IMPLIED VOLATILITY                            */
/* Chaque graphique possède désormais son propre réglage indépendant.         */
/* Augmenter bottom = monter le logo ; augmenter right = déplacer à gauche.   */
/* -------------------------------------------------------------------------- */

/* Graphique principal Implied Volatility (H/L/C + supports/résistances) */
#btc-iv-logo-price {
    bottom: 6%;
    right: 2%;
}

/* Graphique IV Pressure HV */
#btc-iv-pressure-panel .btc-iv-module-logo {
    bottom: 12%;
    right: 4%;
}

/* Graphique BTC Z-score */
#btc-zscore-btc-panel .btc-iv-module-logo {
    bottom: 7%;
    right: 4%;
}

/* Graphique Implied Volatility Z-score */
#btc-zscore-iv-panel .btc-iv-module-logo {
    bottom: 7%;
    right: 4%;
}

.btc-iv-module-panel > .btc-iv-horizontal-legend {
    top: 10px;
}

.btc-zscore-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.btc-zscore-row > .btc-zscore-panel {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

.btc-zscore-panel {
    min-height: 260px;
    height: 30vh;
}

.btc-zscore-canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    cursor: default;
}

.btc-zscore-current {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 12;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    pointer-events: none;
}

.btc-zscore-current-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--btc-zscore-point-color);
    display: inline-block;
}

@media (max-width: 768px) {
    .btc-zscore-panel {
        min-height: 220px;
        height: 34vh;
    }

    .btc-iv-horizontal-legend {
        gap: 10px;
        font-size: 11px;
    }
}
