
/* =========================================================
   CoinASX Spot Trade Equal Rounded V64
   只改现货交易区视觉：
   - 保留盘口/价格实时跳动
   - 左右区域等高
   - 所有输入框同宽同高
   - 圆角统一
   ========================================================= */

:root{
  --v64-bg:#070707;
  --v64-panel:#202022;
  --v64-panel2:#242426;
  --v64-line:#2d2d2f;
  --v64-text:#f5f5f7;
  --v64-muted:#929297;
  --v64-green:#b8e83d;
  --v64-red:#ee4e62;
  --v64-radius:12px;
  --v64-field:48px;
}

/* 交易区左右两栏 */
.trade-buy-sell{
  display:grid!important;
  grid-template-columns:minmax(0,58fr) minmax(0,42fr)!important;
  align-items:stretch!important;
  gap:12px!important;
  padding:12px 15px 16px!important;
  background:var(--v64-bg)!important;
  box-sizing:border-box!important;
}

/* 左侧下单区 */
.trade-buy-sell > .flex.flex-col.flex-1{
  width:auto!important;
  min-width:0!important;
  height:100%!important;
}

/* 右侧盘口：不改DOM、不改价格、不改行情逻辑 */
.trade-buy-sell > .deep-data{
  width:auto!important;
  min-width:0!important;
  height:100%!important;
  margin-left:0!important;
  padding:0!important;
  background:var(--v64-bg)!important;
  border:0!important;
  border-radius:0!important;
  align-self:stretch!important;
}

/* 买入 / 卖出 */
.trade-buy-sell .tabBackground{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  height:44px!important;
  min-height:44px!important;
  padding:4px!important;
  background:var(--v64-panel)!important;
  border-radius:12px!important;
  overflow:hidden!important;
}

.trade-buy-sell .tabBackground .buy-item{
  height:36px!important;
  min-height:36px!important;
  line-height:36px!important;
  margin:0!important;
  border-radius:9px!important;
  font-size:14px!important;
  font-weight:700!important;
}

/* 当前买入 */
.trade-buy-sell .tabBackground .buy-item.open{
  background:#3b4723!important;
  color:var(--v64-green)!important;
}

/* 所有表单盒子统一 */
.trade-buy-sell .inputBackground,
.trade-buy-sell .mt-22.mb-22.inputBackground,
.trade-buy-sell .h-70.inputBackground{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:var(--v64-field)!important;
  min-height:var(--v64-field)!important;
  line-height:var(--v64-field)!important;
  margin-top:10px!important;
  margin-bottom:0!important;
  padding:0 12px!important;
  background:var(--v64-panel)!important;
  border:1px solid transparent!important;
  border-radius:var(--v64-radius)!important;
  box-shadow:none!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* 市价委托内部也保持48px */
.trade-buy-sell .mt-22.mb-22.inputBackground > .h-70{
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  padding:0!important;
}

/* 聚焦状态精致一点 */
.trade-buy-sell .inputBackground:focus-within{
  border-color:#3b3d42!important;
  background:#242426!important;
}

/* 输入框本体 */
.trade-buy-sell input,
.trade-buy-sell input.h-70{
  width:100%!important;
  min-width:0!important;
  height:46px!important;
  min-height:46px!important;
  line-height:46px!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!
  outline:0!important;
  color:var(--v64-text)!important;
  font-size:14px
  font-weight:600!important;
  box-sizing:border-box!important;
}

/* disabled 价格输入仍然保持Vue实时值显示，不覆盖 value */
.trade-buy-sell input:disabled{
  opacity:1!important;
  -webkit-text-fill-color:var(--v64-text)!important;
  color:var(--v64-text)!important;
}

/* 单位 */
.trade-b
.trade-buy-sell .textColor2{
  flex-shrink:
  color:#c8c8cc!important;
  font-size:12px!important;
  white-space:nowrap!important;
}

/* 数量/总额两个按钮完全等宽 */
.trade-buy-sell .total-list{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  width:100%!important;
  margin-top:10px!import
}

.trade-buy-sell .total-div
  width:100%!important;
  height:36px!important;
  min-height:36px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  background:var(--v64-panel)!important;
  border-radius:9px!important;
  color:#c8c8cc!important;
  font-size:12px!important;
}

.trade-buy-sell .total-div.active-bg{
  background:#3b3d4d!important;
  color:#fff!important;
}

/* 25/50/75/100 等宽 */
.trade-buy-sell .font-24.w-full.flex.justify-between.items-center{
  display:grid!important;
  grid-template-columns:repeat(4,1fr)!important;
  gap:6px!important;
  margin-top:10px!important;
}

.trade-buy-sell .tab-item{
  width:100%!important;
  height:30px!important;
  min-height:30px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  background:var(--v64-panel)!important;
  border-radius:8px!important;
  color:#a9abb0!important;
  font-size:11px!important;
}

/* 可用 */
.trade-buy-sell .mt-40{
  margin-top:14px!important;
}

.trade-buy-sell .mt-40 .font-24,
.trade-buy-sell .mt-40 p{
  font-size:12px!important;
}

/* 买入按钮 */
.trade-buy-sell .buyandSell{
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  line-height:48px!important;
  margin-top:16px!important;
  border-radius:12px!important;
  font-size:15px!important;
  font-weight:800!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}

.trade-buy-sell .buyandSell.bg-green{
  background:var(--v64-green)!important;
  color:#101010!important;
}

/* 盘口标题 */
.trade-buy-sell .deep-data > .flex.justify-between.text-grey{
  min-height:44px!important;
  padding-bottom:6px!important;
  align-items:flex-start!important;
}

.trade-buy-sell .deep-data .font-24{
  font-size:10px!important;
  color:var(--v64-muted)!important;
}

/* 盘口实时行：只改尺寸，绝不写价格文本 */
.trade-buy-sell .deep-data .font-26{
  min-height:22px!important;
  line-height:22px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  font-size:12px!important;
  font-variant-numeric:tabular-nums!important;
}

.trade-buy-sell .deep-data .font-34{
  min-height:28px!important;
  line-height:28px!important;
  padding-top:4px!important;
  font-size:18px!important;
  font-weight:800!important;
}

.trade-buy-sell .deep-data .approximately-text{
  min-height:18px!important;
  line-height:18px!important;
  padding-bottom:4px!important;
  color:#8f8f94!important;
  font-size:10px!important;
}

.trade-buy-sell .deep-data .text-right{
  white-space:nowrap!important;
}

/* 实时涨跌颜色保留 */
.trade-buy-sell .text-green{color:var(--v64-green)!important}
.trade-buy-sell .text-red{color:var(--v64-red)!important}

/* 下方盘口档位控件 */
.k-select-box{
  padding:0 15px 12px!important;
  background:var(--v64-bg)!important;
}

.k-select-box .select-box{
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  background:var(--v64-panel)!important;
  border:0!important;
  border-radius:10px!important;
  overflow:hidden!important;
}

.k-select-box .select-box .h-70{
  height:40px!important;
  min-height:40px!important;
}

/* 小屏 */
@media(max-width:430px){
  :root{
    --v64-field:46px;
  }

  .trade-buy-sell{
    grid-template-columns:minmax(0,58fr) minmax(0,42fr)!important;
    gap:10px!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }

  .trade-buy-sell input,
  .trade-buy-sell input.h-70{
    height:44px!important;
    min-height:44px!important;
    line-height:44px!important;
    font-size:13px!important;
  }

  .trade-buy-sell .deep-data .font-26{
    font-size:11px!important;
  }
}

/* 超窄屏 */
@media(max-width:360px){
  .trade-buy-sell{
    grid-template-columns:minmax(0,59fr) minmax(0,41fr)!important;
    gap:8px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }

  .trade-buy-sell .deep-data .font-26{
    font-size:10px!important;
  }
}

