/* ========================================
   MARKET ASSETS STYLES
   Стили блока криптовалют/активов
   ======================================== */

/* === CONTAINER === */

.market-assets {
    border-radius: 24px;
    padding: 16px 20px;
    background: rgba(15, 21, 26, 0.8);
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    width: 100%;
}

.market-assets h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: white;
    margin: 0;
}

/* === ASSETS LIST === */

.assets-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}

.asset-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #182027;
    border-radius: 20px;
}

/* === ASSET LEFT SIDE === */

.asset-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.asset-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, #1a4060 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-icon {
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.crypto-icon-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* No assets message */
.no-assets {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 20px;
    text-align: center;
    color: var(--grey);
}

.no-assets p {
    margin: 0;
    font-size: 14px;
}

.asset-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.asset-fullname {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: white;
}

.asset-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.asset-name,
.asset-price-usd {
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    color: var(--grey);
}

.asset-dot {
    font-size: 8px;
    color: var(--grey);
}

/* === ASSET RIGHT SIDE === */

.asset-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.asset-amount {
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    color: white;
    text-align: right;
}

.asset-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    text-align: right;
}

.asset-change.up { color: var(--green); }
.asset-change.down { color: var(--red-2); }

.change-arrow { font-size: 8px; }
.change-value { font-size: 12px; }
