*::-webkit-input-placeholder {
  color: #999 !important;
}
.ant-pagination-options-quick-jumper input::-webkit-input-placeholder {
  color: #999 !important;
}
html {
  font-size: 14px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: default;
  outline: none;
  -webkit-user-select: none;
}
img,
input,
select,
textarea,
code,
pre {
  -webkit-user-select: auto;
}
ul,
li,
dl,
dt,
dd,
ol {
  list-style: none;
  display: block;
}
a {
  opacity: 1;
  text-decoration: none;
}
button {
  border: none;
  opacity: 1;
  background: transparent;
}
.ant-btn {
  font-size: 12px;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", "WenQuanYi Micro Hei", Arial, sans-serif;
}
.right {
  float: right;
}
@media only screen and (max-width: 1024px) {
  .ant-message {
    top: 20% !important;
  }
}
code {
  width: 100%;
  padding: 0;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  margin: 0;
  font-size: 85%;
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 3px;
}
pre {
  padding: 16px;
  overflow: auto;
  font-size: 85%;
  line-height: 1.45;
  background-color: #f7f7f7;
  border-radius: 3px;
  word-wrap: normal;
  margin-top: 0;
  margin-bottom: 16px;
}
pre > code {
  padding: 0;
  margin: 0;
  font-size: 100%;
  word-break: normal;
  white-space: pre;
  background: transparent;
  border: 0;
}
pre code {
  display: inline;
  padding: 0;
  margin: 0;
  overflow: visible;
  line-height: inherit;
  word-wrap: normal;
  background-color: transparent;
  border: 0;
}
.ant-card {
  margin-bottom: 12px;
}
.ant-card:last-of-type {
  margin-bottom: 0;
}
.ant-modal-body .ant-form-item-label {
  float: left;
}
.hidden {
  display: none;
}
.ant-form-small .ant-form-item {
  margin-bottom: 12px;
}
.ant-form-tiny .ant-form-item {
  margin-bottom: 6px;
}
table,
.ant-table table {
  border-collapse: collapse !important;
}
.ant-table-bordered .ant-table-tbody > tr > td:last-child {
  border-right: 1px solid #e9e9e9 !important;
}
.ant-form-liner .ant-form-item-label + div {
  display: inline-block;
}
.fixed-action-parent {
  position: relative;
}
.fixed-action {
  position: fixed;
  background: #ffffff;
  z-index: 888;
  width: 100%;
  top: 3rem;
  padding: 2rem 0 0 0;
}
.fixed-action + * {
  top: 48px;
  left: 0;
  right: 0;
  position: absolute;
}
.fixed-action.two-lines + * {
  top: 88px;
}
@media only screen and (max-width: 1300px) {
  .fixed-action {
    top: 6rem;
  }
  .fixed-action.two-lines + * {
    top: 6rem;
  }
}
@media only screen and (max-width: 1100px) {
  .fixed-action {
    padding-right: 0;
  }
}
@media only screen and (max-width: 800px) {
  .fixed-action .ant-col-8 {
    width: 50%;
  }
}
.table-out-bordered .ant-table-tbody > tr {
  background-color: rgba(217, 217, 217, 0.6);
}
.table-out-bordered .ant-table-tbody > tr:hover {
  background-color: rgba(217, 217, 217, 0.6);
}
.table-out-bordered .ant-table-tbody > tr > td {
  border-color: #FFFFFF;
}
.ant-input.empty,
.ant-input-number.empty {
  border-color: #fa0;
  box-shadow: 0 0 0 2px rgba(255, 170, 0, 0.2);
}
.ant-menu-vertical > .ant-menu-item,
.ant-menu-inline > .ant-menu-item,
.ant-dropdown-link {
  font-size: 14px;
}
.ant-form-item {
  min-height: 32px;
}
@media only screen and (max-width: 721px) {
  #orderImgWrapper {
    display: block !important;
  }
  #orderImgWrapper #orderImg {
    width: 100% !important;
  }
  #orderImgWrapper #orderImg img {
    width: 100% !important;
    height: auto !important;
  }
  #orderImgWrapper #orderImg + div {
    padding-left: 0 !important;
    padding-top: 24px;
    width: 100%;
  }
}

.certain-search-item-count {
  position: absolute;
  color: #999;
  right: 16px;
}

nav {
  width: 100%;
  height: auto;
  font-size: 1.2rem;
  line-height: 3rem;
  background: #000;
  color: #ffffff;
  z-index: 1001;
  position: relative;
}
.wechat nav {
  display: none;
}
nav.fixed {
  top: 0;
  left: 0;
  position: fixed;
}
nav * {
  display: inline-block;
  max-width: 100%;
}
nav .right {
  right: 5%;
  position: absolute;
  height: 2rem;
  color: #999999;
}
nav .back {
  left: 5%;
  position: absolute;
  line-height: 100%;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 2rem;
  color: #FFFFFF;
}
nav .ant-select-search {
  position: relative;
  width: 100%;
  height: 100%;
}
nav .certain-category-search.ant-select-auto-complete .ant-input-affix-wrapper .ant-input-suffix {
  right: 5%;
}
nav .certain-category-search-dropdown .ant-select-dropdown-menu-item-group-title {
  color: #666;
  font-weight: bold;
}
nav .certain-category-search-dropdown .ant-select-dropdown-menu-item-group {
  border-bottom: 1px solid #F6F6F6;
}
nav .certain-category-search-dropdown .ant-select-dropdown-menu-item {
  padding-left: 16px;
}
nav .certain-category-search-dropdown .ant-select-dropdown-menu-item.show-all {
  text-align: center;
  cursor: default;
}
nav .certain-category-search-dropdown .ant-select-dropdown-menu {
  max-height: 300px;
}
nav .certain-search-item-count {
  position: absolute;
  color: #999;
  right: 16px;
}
nav .certain-category-search.ant-select-focused .certain-category-icon {
  color: #108ee9;
}
nav .certain-category-icon {
  color: #6E6E6E;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  font-size: 16px;
}

aside {
  top: 0;
  left: 0;
  bottom: 0;
  width: 160px;
  height: 100%;
  overflow: auto;
  position: fixed;
  background: #404040;
  padding-top: 36px;
  z-index: 998;
}
.wechat aside {
  top: 0;
}
@media only screen and (max-width: 1300px) {
  aside {
    left: -160px;
    position: fixed;
    opacity: 0.95;
    transition: left 0.5s ease;
  }
  aside.visible {
    display: block;
    left: 0;
  }
}
aside .about {
  width: 100%;
  height: 84px;
  padding-left: 10%;
}
aside .logo {
  /*background-image: url("/images/icon_logo_white_hor_.svg");*/
  /*background-position: center left;*/
  /*background-repeat: no-repeat;*/
  /*background-size: 50%;*/
  color: #FFFFFF;
  line-height: 84px;
  font-size: 24px;
  width: 100%;
  height: 100%;
}
aside footer {
  padding-top: 42px;
  text-align: center;
  font-size: 1rem;
  width: 100%;
  color: rgba(255, 255, 255, 0.4);
}
aside footer a {
  color: rgba(255, 255, 255, 0.4);
}
.sidebar.toggle {
  z-index: 1000;
  display: none;
  font-size: 2rem;
}
.sidebar.toggle.wrapper {
  height: 5rem;
  background: transparent;
  z-index: 1000;
  top: 3rem;
  left: 0;
  padding: 1rem 1rem 0;
  position: fixed;
  transition: all 0.5s ease;
  display: none;
}
@media only screen and (max-width: 1300px) {
  .sidebar.toggle.wrapper {
    width: 100%;
    display: block;
    background: #FFFFFF;
  }
  .sidebar.toggle.wrapper.visible {
    width: auto;
    background: transparent;
    left: 100px;
    transition: left 0.5s ease;
  }
}
.wechat .sidebar.toggle.wrapper {
  top: 0;
}
@media only screen and (max-width: 1300px) {
  .sidebar.toggle {
    display: block;
  }
  .sidebar.toggle.visible {
    transition: all 0.5s ease;
    color: #ffffff;
  }
}
main {
  top: 3rem;
  left: 10rem;
  position: absolute;
  padding: 2rem;
  width: calc(100% - 10rem);
  height: calc(100% - 3rem);
  overflow: auto;
}
.wechat main {
  top: 0;
}
@media only screen and (max-width: 1300px) {
  main {
    top: 6rem;
    left: 0;
    width: 100%;
    height: calc(100% - 6rem);
  }
  .wechat main {
    top: 5rem;
  }
}
.fixed-tab-menu {
  width: 200px;
  position: fixed;
  height: calc(100% - 3rem);
  overflow: auto;
}
@media only screen and (max-width: 1300px) {
  .fixed-tab-menu {
    height: calc(100% - 6rem);
  }
}
.fixed-list-menu {
  width: 450px;
  position: fixed;
  height: calc(100% - 3rem);
  overflow: auto;
}
@media only screen and (max-width: 1300px) {
  .fixed-list-menu {
    height: calc(100% - 6rem);
  }
}
.fixed-action + * .fixed-tab-menu {
  padding-bottom: 5rem;
}
.fixed-action.two-lines + * .fixed-tab-menu {
  padding-bottom: 8rem;
}

.dimmer {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.83);
  z-index: 1010;
  opacity: 1;
}

.image-previewer {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  background: transparent;
  padding: 3rem 0;
}
.image-previewer .close {
  font-size: 3rem;
  color: #FFFFFF;
  line-height: 1;
  height: 3rem;
  width: 3rem;
  top: 6rem;
  right: 6rem;
  position: absolute;
  cursor: pointer;
  z-index: 1011;
}
.image-previewer .close .anticon {
  cursor: pointer;
}
.image-previewer .wrapper {
  display: flex;
  height: 100%;
  width: 100%;
  position: relative;
}
.image-previewer .wrapper .arrow {
  width: 20rem;
  height: 100%;
  position: relative;
  font-size: 2rem;
  color: #FFFFFF;
  cursor: pointer;
}
.image-previewer .wrapper .arrow .anticon {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2rem;
  margin: auto;
  position: absolute;
  cursor: pointer;
}
.image-previewer .wrapper .content {
  flex: 1;
  position: relative;
}
.image-previewer .wrapper .content img {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.image-previewer .footer {
  text-align: center;
  color: #FFFFFF;
}

.hidden {
  display: none;
}
.ant-select {
  display: block;
}
.selectRowStyle {
  font-weight: bold;
  background-color: #f559ed;
}
.ant-table-tbody > tr.selectRowStyle > td,
.ant-table-tbody > tr.selectRowStyle:hover > td {
  background-color: #f559ed !important;
}
.needHideColumn {
  display: none;
}
.ant-upload-list-item-name {
  width: 160px;
  margin-right: 8px;
}
.tablebox {
  max-height: 708px;
  overflow-y: scroll;
}
.tableHeaderBox {
  border-top: 1px solid #e9e9e9;
  border-left: 1px solid #e9e9e9;
  border-right: 1px solid #e9e9e9;
  border-radius: 4px;
  overflow: hidden;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 99;
}
.tableHeaderItem {
  border-left: 1px solid #e9e9e9;
  padding: 10px 8px;
}

.buy-orders-list .group {
  padding: 12px 0;
  border-bottom: dashed 1px #000000;
}
.buy-orders-list .group .item {
  padding: 0 24px;
}
.buy-orders-list .group .item.border.left {
  border-right: solid 1px #000000;
}
.buy-orders-list .group .item.border.right {
  border-left: solid 1px #000000;
}
.buy-orders-list .group .item .contents {
  line-height: 22px;
  padding: 6px 0 0;
}
.buy-orders-list .group .item .contents li {
  min-width: 100px;
  display: inline-block;
}
.buy-orders-list .group .item .contents li img {
  height: 1.5em;
  margin: 0 3px;
}
.buy-orders-list .group .item .contents li > .value {
  max-width: 60px;
  margin-left: 3px;
  font-weight: bold;
  font-size: 1.5em;
}
.buy-orders-list .group.signle {
  border-bottom: none;
  padding: 0;
}
.buy-orders-list .group.signle .item {
  padding: 12px 24px;
  border-bottom: dashed 1px #000000;
}
.buy-orders-list.edit .group {
  padding: 0 22px;
  border: none;
}
.buy-orders-list.edit .group span {
  padding: 0 6px;
  display: inline-block;
}
.buy-orders-list.edit .group span.ant-input-wrapper {
  width: 78px;
}
.buy-orders-list.edit .group span:first-of-type {
  padding-left: 0;
}
.buy-orders-list.edit .group .ant-input-number {
  width: 70px;
}
.buy-orders-list.edit .group .title {
  padding: 12px 0 6px;
}
.buy-orders-list.edit .group ul.contents {
  margin-left: 4em;
  padding: 6px 0 12px;
  line-height: 22px;
  border-bottom: dashed 1px #000000;
}
.buy-orders-list.edit .group ul.contents > div {
  max-width: 720px;
}
.buy-orders-list.edit .group ul.contents li {
  display: inline-block;
  min-width: 200px;
  padding: 6px 1em;
  line-height: 22px;
}
.buy-orders-list.edit .group .three-words {
  width: 4em;
  padding: 0;
}
.buy-orders-list.edit .group .six-words {
  width: 7em;
  padding: 0;
}
.buy-orders-list.edit .group .img {
  height: 22px;
  width: 5em;
  text-align: center;
  vertical-align: bottom;
  padding: 0;
}
.buy-orders-list.edit .group .img.value {
  font-size: 1rem;
  font-weight: bold;
}
.buy-orders-list.edit .group img {
  height: 22px;
}

.buy-orders ul.list {
  padding-bottom: 2rem;
}
.buy-orders ul.list li span {
  display: inline-block;
}
.buy-orders ul.list li span.id {
  width: 3em;
}
.buy-orders ul.list li span.name {
  width: 7em;
}
.buy-orders ul.list li span.tag {
  width: 5em;
}
.buy-orders ul.list li span.price,
.buy-orders ul.list li span.unit {
  width: 3em;
}
.buy-orders ul.list li span.input {
  width: 6em;
}
.buy-orders ul.list li span.nickname {
  width: 4em;
}
.buy-orders ul.list li span.image {
  height: 1.5em;
  width: 4em;
}
.buy-orders ul.list li span.image img {
  height: 100%;
}
.buy-orders ul.list li.title {
  padding: 1em 0;
  border-bottom: dashed 1px #000000;
}
.buy-orders ul.list li.title:last-of-type {
  border-bottom: none;
}
.buy-orders ul.list li ul {
  padding: 1em 0 0 2em;
  max-width: 100%;
}
.buy-orders ul.list li ul li {
  display: inline-block;
  width: 18em;
  margin: 6px 0;
}
.buy-orders ul.list li ul li.input {
  width: 6em;
}

.reminderTag {
  display: inline-block;
  margin-left: 4px;
}

/* react-anything-sortable 样式（本地副本）。
 * 库自带的 sortable.css 因 splitChunks 被抽到 common chunk(0.index.css)，
 * 浏览器未加载该 chunk 的 CSS 导致 .ui-sortable-item 无 float、项变一行一个。
 * 放到 src/ 会打进主 bundle 的 index.css，保证样式始终生效。
 */
.ui-sortable {
  display: block;
  position: relative;
  overflow: visible;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.ui-sortable:before,
.ui-sortable:after {
  content: " ";
  display: table;
}

.ui-sortable:after {
  clear: both;
}

/* 关键：让排序项横向流动、自动换行，而不是一行一个 */
.ui-sortable .ui-sortable-item {
  float: left;
  cursor: move;
  margin-right: 8px;
  margin-bottom: 8px;
}

.ui-sortable .ui-sortable-item.ui-sortable-dragging {
  position: absolute;
  z-index: 1688;
}

.ui-sortable .ui-sortable-placeholder {
  display: none;
}

.ui-sortable .ui-sortable-placeholder.visible {
  display: block;
  z-index: -1;
}

.verify-orders ul.list {
  padding-bottom: 2rem;
}
.verify-orders ul.list li span {
  display: inline-block;
}
.verify-orders ul.list li span.id {
  width: 3em;
  font-weight: bold;
}
.verify-orders ul.list li span.name {
  width: 7em;
}
.verify-orders ul.list li span.nameHeader {
  width: 7em;
  font-weight: bold;
}
.verify-orders ul.list li span.tag {
  width: 5em;
}
.verify-orders ul.list li span.price,
.verify-orders ul.list li span.unit {
  width: 3em;
}
.verify-orders ul.list li span.input {
  width: 6em;
}
.verify-orders ul.list li span.nickname {
  width: 4em;
}
.verify-orders ul.list li span.image {
  height: 1.5em;
  width: 4em;
}
.verify-orders ul.list li span.image img {
  height: 100%;
}
.verify-orders ul.list li span.subname {
  width: 7em;
}
.verify-orders ul.list li span ul.list.subname {
  width: 7em;
}
.verify-orders ul.list li span ul.list.subtitle {
  padding: 1em 0;
  border-bottom: dashed 1px #000000;
}
.verify-orders ul.list li span ul.list.subtitle:last-of-type {
  border-bottom: none;
}
.verify-orders ul.list li.title {
  padding: 1em 0;
  border-bottom: dashed 1px #000000;
}
.verify-orders ul.list li.title:last-of-type {
  border-bottom: none;
}

#container {
  margin: 24px;
}
#container h2 {
  margin-bottom: 10px;
}
.drag-handle {
  cursor: move!important;
}
.dragging-container tbody {
  position: relative;
  overflow: hidden;
}
.dragging-container tbody tr {
  background: #fff !important;
  transition: none!important;
}
.dragging-container tbody tr td {
  position: relative;
}
.dragging-container .drag-target-line {
  bottom: -1px;
  width: 1000%;
  height: 0;
  left: -500%;
  display: block;
  position: absolute;
  border-bottom: dashed 2px red;
  z-index: 2;
}
.dragging-container .drag-target-line.drag-target-top {
  bottom: auto;
  top: -1px;
}

.surplus-log-page .query-card {
  margin-bottom: 16px;
}
.surplus-log-page .query-card .steps-hint {
  margin-bottom: 20px;
}
.surplus-log-page .query-card .search-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.surplus-log-page .query-card .search-line:last-child {
  margin-bottom: 0;
}
.surplus-log-page .query-card .search-line .step-label {
  width: 56px;
  color: rgba(0, 0, 0, 0.65);
  font-weight: 600;
  flex-shrink: 0;
}
.surplus-log-page .query-card .search-line .or-sep {
  margin: 0 8px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  flex-shrink: 0;
}
.surplus-log-page .query-card .search-line .ant-tag {
  margin-left: 8px;
}
.surplus-log-page .query-card .search-line .btn-gap {
  margin-right: 8px;
}
.surplus-log-page .result-extra {
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
}

.centered {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute !important;
  margin: auto !important;
}
/* 登录/注册等 /user 页面的容器：提供高度与定位上下文，使 .centered 卡片垂直居中 */
.auth {
  position: relative;
  min-height: 100vh;
}
.sign {
  width: 600px;
  height: 400px;
  /* antd 5 的 Form.Item 控制区默认不是 flex，导致同一行多个 Col
     （记住密码/修改密码/联系我们）被纵向堆叠。恢复水平布局 */
}
.sign .ant-form-item-control-input-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.varify-button-input + .ant-input-group-addon {
  width: 100px !important;
}
.captcha {
  height: 32px;
  cursor: pointer;
}

