QWidget {
  background-color: #FFFFFF;
}

QLabel {
  font-family: Microsoft YaHei;
  font-size: 18px;
}
/**  子标题  **/
QLabel[class="subTitle"] {
  font-family: Microsoft YaHei;
  font-size: 24px;
  font-weight: bold;
}

/**  默认按钮  **/
QToolButton[class="btnDefault"] {
  border-radius: 12px;
  background-color: #2F6FC6;
  color: #FFFFFF;
  font-family: "Microsoft YaHei";
  font-size: 18px;
}
/**  白色填充按钮  **/
QToolButton[class="btnOpposite"] {
  border-radius: 12px;
  border: 1px solid #2F6FC6;
  background-color: #FFFFFF;
  color: #2F6FC6;
  font-family: "Microsoft YaHei";
  font-size: 18px;
}

/**  右上角关闭按钮 **/
QWidget#wdgtTip QToolButton{
  padding: 3px;
  border: none;
  margin: 0px;
}

/**  表格顶端的标题栏  **/
QLabel[class="frameLabel"]{
  background-color: #2F6FC6;
  border: 0px;
  border-radius: 0px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 10px;
  font-size: 16px;
  color: #FFFFFF;
  font-family: "Microsoft YaHei";
}

/**  查询条件输入框  **/
QLineEdit[class="gridInput"] {
    border-radius: 10px;
    font-family: "Microsoft YaHei";
    color: #333333;
    border: 1px solid #CCCCCC;
    font-size: 16px;
    background-color: #DFEBF2;
    padding-left: 10px;
}

QComboBox[class="defaultSelect"] {
  border-radius: 6px;
  font-family: "Microsoft YaHei";
  padding-left: 16px;
  color: #333333;
  border: 1px solid #CCCCCC;
  font-size: 16px;
}
QComboBox[class="defaultSelect"]::down-arrow {
  image: url(":/image/main/arrow_down.png");
}
QComboBox[class="defaultSelect"]::down-arrow::on {
  image: url(":/image/main/arrow_up.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;
  font-family: "Microsoft YaHei";
  font-size: 16px;
  outline: 0px;
}
QComboBox[class="defaultSelect"] QAbstractItemView::item{
  height: 40px;
  font-family: "Microsoft YaHei";
  color: #333333;
  padding-left: 9px;
  background-color: #FFFFFF;
}
QComboBox[class="defaultSelect"] QAbstractItemView::item:hover{
  color: #FFFFFF;
  background-color: #2F6FC6;
}
QComboBox[class="defaultSelect"] QAbstractItemView::item:selected{
  color: #FFFFFF;
  background-color: #2F6FC6;
}
QComboBox[class="defaultSelect"] QScrollBar::vertical {
  width: 5px;
  background: #FFFFFF;
  border: none;
}
QComboBox[class="defaultSelect"] QScrollBar::handle::vertical {
  width: 5px;
  background: #2F6FC6;
  border: none;
}
QComboBox[class="defaultSelect"] QScrollBar::add-line::vertical {
  border: none;
}
QComboBox[class="defaultSelect"] QScrollBar::sub-line::vertical {
  border: none;
}

/**  查询普通按钮  **/
QWidget#wdgtQueryBox QToolButton {
  border-radius: 12px;
  background-color: #2F6FC6;
  color: #FFFFFF;
  font-family: "Microsoft YaHei";
  font-size: 18px;
}
/**  查询重置按钮  **/
QWidget#wdgtQueryBox QToolButton[class="btnResetQuery"] {
  border-radius: 12px;
  border: 1px solid #2F6FC6;
  background-color: #FFFFFF;
  color: #2F6FC6;
  font-family: "Microsoft YaHei";
  font-size: 18px;
}

/**  表格部分通用样式  **/
QTableWidget {
  border: 0px;
  font-size: 18px;
  color: #333333;
}

QTableWidget QHeaderView::section {
  background-color: #2F6FC6;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  font-size: 18px;
  min-height: 50px;
}

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

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

QTableWidget QWidget[class="wdgtOper"] {
  background: transparent;
}

QLabel[class="urlText"] {
  color: #0000FF;
  text-decoration: underline;
}

QToolTip {
  font-family: "Microsoft Yahei";
  font-size: 18px;
  padding: 10px;
}

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


/** 分页组件  **/
QWidget[class="wdgtPageBtn"] {
  background: #2F6FC6;
  border-radius: 6px;
}
QWidget[class="wdgtPageBtn"] QToolButton {
  background: transparent;
}
QWidget[class="wdgtPage"] QLabel {
  color: #333333;
  font-size: 16px;
  font-family: "Microsoft YaHei";
}

/**  对话框弹窗顶端的标题栏  **/
QWidget[class="dlgTitle"]{
  background-color: #2F6FC6;
  border: 0px;
  padding: 10px;
}
QWidget[class="dlgTitle"] QLabel{
  background: transparent;
  border: 0px;
  padding: 10px;
  font-size: 20px;
  color: #FFFFFF;
  font-family: "Microsoft YaHei";
}

/** 详情表格 **/
QWidget[class="detailTable"] QLabel{
  font-size: 18px;
  color: #333333;
  font-family: "Microsoft YaHei";
}
QWidget[class="detailTable"] QLabel[class="urlText"] {
  color: #0000FF;
  text-decoration: underline;
}
/**  文本输入框  **/
QWidget[class="detailTable"] QLineEdit{
  border-radius: 10px;
  font-family: "Microsoft YaHei";
  color: #333333;
  border: 1px solid #CCCCCC;
  font-size: 16px;
  background-color: #DFEBF2;
  padding-left: 10px;
}
/**  日期选择器  **/
QWidget[class="detailTable"] QDateEdit {
  border-radius: 10px;
  font-family: "Microsoft YaHei";
  color: #333333;
  border: 1px solid #CCCCCC;
  font-size: 16px;
  padding-left: 10px;
}

/**  下拉列表框的样式  **/
QWidget[class="detailTable"] QComboBox {
  border-radius: 6px;
  font-family: "Microsoft YaHei";
  padding-left: 16px;
  color: #333333;
  border: 1px solid #CCCCCC;
  font-size: 16px;
}
QWidget[class="detailTable"] QComboBox::down-arrow {
  image: url(":/image/main/arrow_down.png");
}
QWidget[class="detailTable"] QComboBox::down-arrow::on {
  image: url(":/image/main/arrow_up.png");
}
QWidget[class="detailTable"] QComboBox::drop-down {
  subcontrol-origin: padding;
  subcontrol-position: top right;
  width: 20px;
  border: 0px;
  padding-right: 15px;
}
QWidget[class="detailTable"] QComboBox QAbstractItemView {
  color: #333333;
  background-color: #E1E1ED;
  font-family: "Microsoft YaHei";
  font-size: 16px;
  outline: 0px;
}
QWidget[class="detailTable"] QComboBox QAbstractItemView::item{
  height: 40px;
  font-family: "Microsoft YaHei";
  color: #333333;
  padding-left: 9px;
  background-color: #FFFFFF;
}
QWidget[class="detailTable"] QComboBox QAbstractItemView::item:hover{
  color: #FFFFFF;
  background-color: #2F6FC6;
}
QWidget[class="detailTable"] QComboBox QAbstractItemView::item:selected{
  color: #FFFFFF;
  background-color: #2F6FC6;
}
QWidget[class="detailTable"] QComboBox QScrollBar::vertical {
  width: 5px;
  background: #FFFFFF;
  border: none;
}
QWidget[class="detailTable"] QComboBox QScrollBar::handle::vertical {
  width: 5px;
  background: #2F6FC6;
  border: none;
}
QWidget[class="detailTable"] QComboBox QScrollBar::add-line::vertical {
  border: none;
}
QWidget[class="detailTable"] QComboBox QScrollBar::sub-line::vertical {
  border: none;
}

QCheckBox[class="defaultSolid"] {
    color: #333333;
    font-family: "Microsoft YaHei";
    font-size: 18px;
    /*padding-left: 5px;*/
}
QCheckBox[class="defaultSolid"]::indicator {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid #2F6FC6;
}
QCheckBox[class="defaultSolid"]::indicator::unchecked {
    background: #FFFFFF;
    /*border: 2px solid #CCCCC;*/
}
QCheckBox[class="defaultSolid"]::indicator::checked {
    background: #2F6FC6;
}


QSpinBox[class="defaultNumber"] {
    border-radius: 10px;
    font-family: "Microsoft YaHei";
    color: #333333;
    border: 1px solid #CCCCCC;
    font-size: 16px;
    background-color: #FFFFFF;
    padding-left: 10px;
}


/** 自动校准界面步骤按钮 **/
QWidget#wdgtTestStep QPushButton {
  background: transparent;
  border: 2px solid #2F6FC6;
  border-radius: 10px;
  font-family: "Microsoft YaHei";
  font-size: 20px;
  color: #333333;
  padding: 16px;
}
QWidget#wdgtTestStep QPushButton:checked {
  background: #2F6FC6;
  color: #FFFFFF;
}
QWidget#wdgtTestStep QPushButton:checked:hover {
  background: #2F6FC6;
  color: #FFFFFF;
}
QWidget#wdgtTestStep QPushButton:hover {
  background: rgba(80, 72, 151, 0.3);
  color: #FFFFFF;
}
/*
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#wdgtFooter QToolButton {
  border-radius: 6px;
  background-color: #2F6FC6;
  color: #FFFFFF;
  font-family: "Microsoft YaHei";
  font-size: 18px;
  font-weight: bold;
}

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;
}
*/
