QLabel {
  font-family: Microsoft YaHei;
  font-size: 18px;
}

QToolButton[class="menuNormal"] {
  font-family: Microsoft YaHei;
  font-size: 20px;
  color: #2F6FC6;
  padding: 20px;
  border: 0px;
  background-color: #FFFFFF;
}
QToolButton[class="menuActive"] {
  color: #2D67B7;
  font-family: Microsoft YaHei;
  font-size: 24px;
  font-weight: bold;
  color: #2F6FC6;
  padding: 20px;
  border: 1px solic #E3E3E3;
  border-radius: 10px;
  background-color: #E3E3E3;
}
QToolButton[class="menuDisabled"] {
  color: #D5E2F4;
  font-family: Microsoft YaHei;
  font-size: 20px;
  color: #2F6FC6;
  padding: 20px;
  border: 0px;
}
QToolButton[class="menuNormal"]::hover {
  color: #598CD1;
  font-size: 24px;
}

QPushButton[class="tableBtnDetail"] {
  background: transparent;
  color: #2F6FC6;
  border: 0px;
  font-size: 16px;
  text-decoration: underline;
}


QWidget#wdgtQueryBox QLineEdit {
  border: 1px solid #E3E3E3;
  border-radius: 6px;
  padding-left: 10px;
  font-family: Microsoft YaHei;
  font-size: 16px;
}
QWidget#wdgtQueryBox QLineEdit::read-only {
  border: 1px solid #E3E3E3;
  border-radius: 6px;
  padding-left: 10px;
  font-family: Microsoft YaHei;
  font-size: 16px;
  background-color: #F3F3F3;
}

QWidget#wdgtQueryBox QDateEdit {
  border: 1px solid #E3E3E3;
  border-radius: 6px;
  padding-left: 10px;
  font-family: Microsoft YaHei;
  font-size: 16px;
}

QWidget#wdgtQueryBox QComboBox {
  border-radius: 6px;
  font-family: Microsoft YaHei;
  padding-left: 10px;
  color: #333333;
  border: 1px solid #E3E3E3;
  font-size: 16px;
}

QWidget#wdgtQueryBox QComboBox::down-arrow {
  image: url(":/image/Index/arrowDown.png");
}
QWidget#wdgtQueryBox QComboBox::down-arrow::on {
  image: url(":/image/Index/arrowUp.png");
}

QWidget#wdgtQueryBox QComboBox::drop-down {
  subcontrol-origin: padding;
  subcontrol-position: top right;
  width: 20px;
  border: 0px;
  padding-right: 15px;
}

QWidget#wdgtQueryBox QComboBox QAbstractItemView {
  color: #333333;
  background-color: #E1E1ED;
  selection-background-color: #2F6FC6;
  selection-color: #FFFFFF;
  font-family: "Microsoft YaHei";
  outline: 0px;
  font-size: 16px;
}

QWidget#wdgtQueryBox QComboBox QAbstractItemView::item {
  height: 30px;
  color: #333333;
  background-color: #FFFFFF;
  font-size: 16px;
}
QWidget#wdgtQueryBox QComboBox QAbstractItemView::item:hover {
  color: #FFFFFF;
  background-color: #2F6FC6;
}

QWidget#wdgtQueryBox QComboBox QAbstractItemView::item:selected {
  color: #FFFFFF;
  background-color: #2F6FC6;
}


QWidget#wdgtQueryBox QComboBox QScrollBar::vertical {
  width: 10px;
  background: #FFFFFF;
  border: none;
}

QWidget#wdgtQueryBox QComboBox QScrollBar::handle::vertical {
  width: 10px;
  background: #2F6FC6;
  border: none;
}

QWidget#wdgtQueryBox QComboBox QScrollBar::add-line::vertical {
  border: none;
}
QWidget#wdgtQueryBox QComboBox QScrollBar::sub-line::vertical {
  border: none;
}

QWidget#wdgtQueryBox QToolButton#btnQuery {
  border-radius: 6px;
  background-color: #2F6FC6;
  color: #FFFFFF;
  font-family: "Microsoft YaHei";
  font-size: 18px;
  font-weight: bold;
}
QWidget#wdgtQueryBox QToolButton#btnResetQuery {
  border-radius: 6px;
  background-color: #CF8421;
  color: #FFFFFF;
  font-family: "Microsoft YaHei";
  font-size: 18px;
  font-weight: bold;
}

QWidget#wdgtFooter QToolButton {
  border-radius: 6px;
  background-color: #2F6FC6;
  color: #FFFFFF;
  font-family: "Microsoft YaHei";
  font-size: 18px;
  font-weight: bold;
}

QTableWidget {
  border: 0px;
  font-size: 16px;
  color: #333333;
}

QTableWidget QHeaderView::section {
  background-color: #E3E3E3;
  border: 0px;
  color: #000000;
  font-size: 20px;
  min-height: 50px;
}

QTableWidget::item {
  padding-left: 5px;
  padding-right: 5px;
  border: 0px;
}

QTableWidget::item::selected {
  background: #FFFFFF; 
  color: #2F6FC6;
}

QComboBox[class="defaultSelect"] {
  border-radius: 6px;
  font-family: Microsoft YaHei;
  padding-left: 10px;
  color: #333333;
  border: 1px solid #E3E3E3;
  font-size: 16px;
}
QComboBox[class="defaultSelect"]::down-arrow {
  image: url(":/image/Index/arrowDown.png");
}
QComboBox[class="defaultSelect"]::down-arrow::on {
  image: url(":/image/Index/arrowUp.png");
}
QComboBox[class="defaultSelect"]::drop-down {
  subcontrol-origin: padding;
  subcontrol-position: top right;
  width: 20px;
  border: 0px;
  padding-right: 15px;
}
QComboBox[class="defaultSelect"] QAbstractItemView {
  color: #333333;
  background-color: #E1E1ED;
  selection-background-color: #2F6FC6;
  selection-color: #FFFFFF;
  font-family: "Microsoft YaHei";
  outline: 0px;
  font-size: 16px;
}
QComboBox[class="defaultSelect"] QAbstractItemView::item {
  height: 30px;
  color: #333333;
  background-color: #FFFFFF;
  font-size: 16px;
}
QComboBox[class="defaultSelect"] QAbstractItemView::item:hover {
  color: #FFFFFF;
  background-color: #2F6FC6;
}
QComboBox[class="defaultSelect"] QAbstractItemView::item:selected {
  color: #FFFFFF;
  background-color: #2F6FC6;
}

QPushButton#btnDetailCategory, QPushButton#btnSaveAddr {
  border-radius: 6px;
  background-color: #2F6FC6;
  color: #FFFFFF;
  font-family: "Microsoft YaHei";
  font-size: 18px;
  font-weight: bold;
}

/* 页面整体背景设置为灰色 */
QFrame#wdgtStateMain {
  background-color: #E3E3E3;
}
/* 信息块使用白色背景 用于区域分割 */
QFrame[class="infoBlock"] {
  background-color: #FFFFFF;
}
/* 子标题样式 */
QWidget[class="subTitle"] QLabel {
  color: #2F6FC6;
  font-weight: bold;
  font-size: 20px;
  min-height: 40px;
}

QLabel[class="gridLabel"] {
    font-size: 18px;
    padding: 10px 20px;
}

QLineEdit[class="gridInput"] {
    border-radius: 6px;
    font-family: "Microsoft YaHei";
    color: #333333;
    border: 1px solid #CCCCCC;
    font-size: 18px;
}