/* =========================================================
    MoneroVest - Crypto Market
    ========================================================= */

.crypto-section {
    background: #000000;
    overflow: hidden;
}

    .crypto-section .section-title h2,
    .crypto-section .section-title p,
    .crypto-section .crypto-loading,
    .crypto-section .crypto-updated {
        color: #ffffff;
    }

    .crypto-section .crypto-error {
        color: #ffffff;
    }

    .crypto-section .crypto-ticker {
        width: 100%;
        overflow: hidden;
        background-color: #ffffff;
        border-top: 1px solid #eeeeee;
        border-bottom: 1px solid #eeeeee;
    }

    .crypto-section .crypto-ticker-track {
        display: flex;
        align-items: center;
        width: max-content;
        min-width: max-content;
        padding: 18px 0;
        animation: cryptoTickerScroll 30s linear infinite;
    }

@keyframes cryptoTickerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.crypto-section .crypto-ticker-group {
    display: flex;
    flex-shrink: 0;
}

.crypto-section .crypto-ticker-item {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 220px;
    height: 42px;
    padding: 0 28px;
    gap: 18px;
    border-right: 1px solid #e9e9e9;
    white-space: nowrap;
}

.crypto-section .crypto-ticker-symbol {
    color: #111111;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.crypto-section .crypto-ticker-price {
    color: #222222;
    font-size: 14px;
    font-weight: 700;
}

.crypto-section .crypto-ticker-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 800;
}

.crypto-section .crypto-change-positive {
    color: #167d44;
}

.crypto-section .crypto-change-negative {
    color: #b3261e;
}

.crypto-section .crypto-ticker:hover .crypto-ticker-track {
    animation-play-state: paused;
}

.crypto-section .crypto-loading {
    padding: 10px 0;
    text-align: center;
}

.crypto-section .crypto-error {
    padding: 10px 0;
    color: #b3261e;
    text-align: center;
}

.crypto-section .crypto-updated {
    margin-top: 12px;
    color: #777777;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 767.98px) {
    .crypto-section .crypto-ticker-item {
        min-width: 190px;
        padding: 0 20px;
        gap: 14px;
    }

    .crypto-section .crypto-ticker-symbol,
    .crypto-section .crypto-ticker-price {
        font-size: 13px;
    }

    .crypto-section .crypto-ticker-change {
        font-size: 12px;
    }
}

.crypto-section .crypto-ticker-coin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.crypto-section .crypto-ticker-logo {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    object-fit: contain;
    display: block;
}
