/*
// ============================================================================
// Project : 木木个人工作室管理平台
// File    : admin.common.css.css
// Author  : 林文川 <steven_lin@outlook.com>
// Created : 2024年2月1日 下午4:10:55
// ============================================================================/* 
*/

div#GridBody .OddRow {
    background-color: white !important;
}

div#GridBody .DualRow {
    background-color: #EFEFEF !important;
}

table#grid-table2 {
    width: auto !important;
    min-width: 100% ;
    table-layout: auto;  /* 默认就是这个，可以不写 */
    border-collapse: collapse;
}

.district-picker1 {
    width: 150px;
}
.district-picker {
    width: 120px !important;
    margin-right: 3px !important;
}

.date-picker {
    width: 50px;
    height: 30px;
}

div#formArea {
  width: 100%;
  padding: 10px !important;
  overflow-x: hidden; /* 禁止横向滚动 */
}

div#formArea .table12 {
  width: 100% !important;
  background-color: lightcoral ;
}

/* ---------------------------
   【每组】外壳：控制整组宽度
--------------------------- */
/* 2组 → 每组 50% */
div#formArea .table .group2 {
  width: 50% !important;
  display: inline-block;
  vertical-align: top;
}
/* 3组 → 每组 33.333% */
div#formArea .table .group3 {
  width: 33.333% !important;
  display: inline-block;
  vertical-align: top;
}
/* 4组 → 每组 25% */
div#formArea .table .group4 {
  width: 25% !important;
  display: inline-block;
  vertical-align: top;
}

/* ---------------------------
   组内布局：标题 + 内容
--------------------------- */
div#formArea .table .group {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 6px 4px;
}

/* 标题：最小100px，自动宽度 */
div#formArea .table .CaptionA, div#formArea .table .Caption {
  min-width: 100px;
  width: 0.01%;           /* 自动收缩到文字宽度 */  
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: right;
  padding-right: 10px;
  font-weight: 500;
}

/* 内容：填满剩下空间 */
div#formArea .table .item {
  flex: 1;
}

div#formArea td {
    border: 1px solid #cdcdcd;    
    height: 30px;
}

div#formArea INPUT[type="text"].Price {
    width: 50px !important;
    text-align: right;
    padding-right: 5px;	
}
