/* Trade List Sidebar 组件 - 赛博朋克风格 - 特定样式 */

/* 交易所列表特定样式 */
.exchange-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exchange-item {
    position: relative;
    border-bottom: 1px solid rgba(0, 255, 136, 0.05);
    transition: var(--transition);
}

.exchange-item:last-child {
    border-bottom: none;
}

.exchange-item:hover {
    background: rgba(0, 255, 136, 0.02);
    transform: translateX(4px);
}

/* 交易所链接 */
.exchange-link {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: var(--text-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.exchange-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.exchange-link:hover::before {
    left: 100%;
}

.exchange-link:hover {
    color: var(--text-white);
}

/* 交易所图标包装器 */
.exchange-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.exchange-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: var(--transition);
}

.exchange-link:hover .exchange-logo {
    transform: scale(1.1);
}

.exchange-link:hover .exchange-icon-wrapper {
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    transform: scale(1.05);
}

/* 交易所信息 */
.exchange-info {
    flex: 1;
    min-width: 0;
}

.exchange-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.exchange-link:hover .exchange-name {
    color: var(--primary);
}

.exchange-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    opacity: 0.8;
    transition: var(--transition);
}

.exchange-link:hover .exchange-desc {
    opacity: 1;
}

/* 交易所箭头 */
.exchange-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-gray);
    opacity: 0.5;
    transition: var(--transition);
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.exchange-link:hover .exchange-arrow {
    opacity: 1;
    color: var(--primary);
    transform: translateX(4px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .exchange-link {
        padding: 1rem;
    }
    
    .exchange-icon-wrapper {
        width: 40px;
        height: 40px;
        margin-right: 0.75rem;
    }
    
    .exchange-logo {
        width: 24px;
        height: 24px;
    }
    
    .exchange-name {
        font-size: 0.9rem;
    }
    
    .exchange-desc {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .exchange-link {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem;
    }
    
    .exchange-icon-wrapper {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .exchange-arrow {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }
    
    .exchange-link:hover .exchange-arrow {
        transform: translateY(-50%) translateX(4px);
    }
}