/* =========================================================================================================================== */
/*                                            🧩 MARKETS – BTC – PRICE                                                         */
/*                                            📍 static/css/pages/markets/btc_price.css                                        */
/* =========================================================================================================================== */



/* HEADLINE */
.MARKETS_BTC_PRICE-headline {
    font-family: "Courier New", monospace;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;

    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.25rem;

    background: linear-gradient(
        90deg,
        rgb(255, 215, 0) 0%,
        rgb(255, 215, 0) 45%,
        rgb(30, 144, 255) 55%,
        rgb(30, 144, 255) 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 1px 0 rgba(255,255,255,0.5),
        0 0 8px rgba(255,215,0,0.6),
        0 0 8px rgba(30,144,255,0.6);
}



/* 📊 CHART CONTAINER */
#MARKETS_BTC_USD_EUR {
    width: 100%;
    padding: 1rem 2rem;
    box-sizing: border-box;
    margin-bottom: 3rem;
}

#MARKETS_BTC_USD_EUR .chart-wrapper {
    position: relative; /* 🔥 wichtig für Overlay */
    margin-top: 1.5rem;
    background: rgba(0,0,0,0.6);
    border-radius: 0.625rem;
    padding: 1.25rem;
}

#MARKETS_BTC_USD_EUR canvas {
    width: 100% !important;
    height: 37.5rem;
    border-radius: 0.625rem;
}


/* 🚀 OVERLAY (FINAL – ONLY SYSTEM) */
.MARKETS_BTC_PRICE-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;

    display: flex;
    flex-direction: column;
    gap: 0.6rem;

    z-index: 20;
}

.MARKETS_BTC_PRICE-overlay span {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.35rem;

    padding: 0.35rem 0.7rem;
    border-radius: 999px;

    font-size: 0.8rem;
    font-weight: 500;

    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);

    border: 1px solid rgba(255,255,255,0.1);

    transition: all 0.2s ease;
}

/* Label (24h etc.) */
.MARKETS_BTC_PRICE-overlay span::after {
    content: attr(data-label);
    opacity: 0.6;
    font-size: 0.7rem;
}

/* COLORS */
.MARKETS_BTC_PRICE-overlay span.positive {
    color: #6fdc8c;
    border-color: rgba(111,220,140,0.4);
}

.MARKETS_BTC_PRICE-overlay span.negative {
    color: #ff6b6b;
    border-color: rgba(255,107,107,0.4);
}

/* Hover */
.MARKETS_BTC_PRICE-overlay span:hover {
    transform: translateY(-1px);
    background: rgba(0,0,0,0.85);
}


/* 📦 INFO BOX */
.info-box-markets-price {
    box-shadow:
        0 0 0 1px rgba(30, 144, 255, 1),
        0 0 10px rgba(255, 215, 0, 1);
}
