﻿@charset "UTF-8";
.demand-box {
  padding: 20px;
}

.demand-list .col {
  margin-bottom: 20px;
}

.demand-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.2s;
  height: 100%;
}
.demand-card:hover {
  transform: translateY(-4px);
}
.demand-card .d-flex {
  align-items: center;
}
.demand-card .demand-type {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-right: 8px;
}
.demand-card .demand-type.buy {
  background: #e0f2fe;
  color: #2a6049;
}
.demand-card .demand-type.sell {
  background: #fee2e2;
  color: #ef4444;
}
.demand-card .price {
  font-size: 20px;
  font-weight: bold;
}
.demand-card .price.buy {
  color: #2a6049;
}
.demand-card .price.sell {
  color: #ef4444;
}
.demand-card .remark {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  margin-top: 10px;
  white-space: nowrap; /* 不换行 */
  overflow: hidden; /* 超出隐藏 */
  text-overflow: ellipsis; /* 显示省略号 */
  width: 210px; /* 重要：span/div 宽度需要确定 */
  box-sizing: border-box; /* 避免 padding 导致超出宽度 */
}
.demand-card .text-muted {
  margin-bottom: 8px;
}
.demand-card .btn {
  font-size: 12px;
  padding: 4px 12px;
}

.action-bar {
  text-align: right;
  margin-bottom: 20px;
}

.btm-btn-group {
  display: flex;
  padding-bottom: 100px;
  justify-content: center;
}
.btm-btn-group .btm-btn-group-item {
  width: 200px;
  height: 40px;
  background: #2a6049;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btm-btn-group .btm-btn-group-item:last-child {
  margin-left: 30px;
  background: #ef4444;
}
