/* Trade List Sidebar 组件 - 币安风格 */

/* 引入通用侧边栏样式 */

/* 交易所列表容器 */
.exchange-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 交易所列表项 */
.exchange-item {
    position: relative;
    border-bottom: 1px solid var(--border-light, rgba(240, 185, 11, 0.05));
    transition: var(--transition);
}

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

.exchange-item:hover {
    background: rgba(240, 185, 11, 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-icon-wrapper {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
}

.exchange-logo {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* 交易所信息 */
.exchange-info {
    flex: 1;
    margin-left: 1rem;
}

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

.exchange-desc {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.3;
}

/* 箭头图标 */
.exchange-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-gray);
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

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