html,
body,
#root {
  min-width: 1480px;
  height: 100%;
}
#root {
  overflow-x: auto;
}
.flex {
  display: flex;
}
.flex-h {
  display: flex;
  align-items: center;
}
.flex-c {
  display: flex;
  flex-direction: column;
}
.flex-h-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-v-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mt-5 {
  margin-top: 5px;
}
.can-click {
  cursor: pointer;
}
.global-header {
  padding: 0 24px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.ant-modal-header {
  border-bottom: none !important;
}
.ant-modal-footer {
  border-top: none !important;
}
.colorWeak {
  filter: invert(80%);
}
.ant-layout {
  min-height: 100vh;
}
.ant-layout .ant-layout-content {
  margin: 0;
}
.ant-layout .ant-layout-content .ant-pro-page-container {
  margin: 24px;
}
.ant-layout-sider {
  background-color: #fff !important;
}
/* 移除 PageContainer 子内容容器底部内边距 */
.ant-pro-page-container-children-container {
  padding-bottom: 0 !important;
  padding-block-end: 0 !important;
}
.ant-pro-sider.ant-layout-sider .ant-pro-sider-logo {
  justify-content: center;
}
.ant-pro-sider.ant-layout-sider .ant-pro-sider-logo img {
  width: auto;
  height: 65px;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}
.ant-space-item > .ant-form {
  padding: 0 14px;
}
.ant-space-item > .ant-form .ant-form-item .ant-form-item-label {
  overflow: visible !important;
}
.ant-space-item > .ant-form .ant-form-item .ant-form-item-required {
  margin-left: -18px;
}
.ant-form-item .ant-form-item-label {
  position: relative !important;
}
.ant-form-item .ant-form-item-label > label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding-left: 12px !important;
  text-align: left !important;
}
.ant-form-item .ant-form-item-label > label.ant-form-item-required:not(
        .ant-form-item-required-mark-optional
      )::before {
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  margin: 0 !important;
  color: #ff4d4f !important;
  transform: translateY(-50%) !important;
  content: '*' !important;
}
.ant-pro-page-container-children-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.ant-form-item-extra {
  margin: 6px 0 12px;
}
.ant-form-vertical .ant-form-item-label {
  padding-bottom: 0;
}
.text-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.react-quill .ql-editor {
  min-height: 130px;
  max-height: 400px;
}
canvas {
  display: block;
}
body {
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul,
ol {
  list-style: none;
}
@media (max-width: 480px) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
  }
  .ant-table-thead > tr > th,
  .ant-table-tbody > tr > th,
  .ant-table-thead > tr > td,
  .ant-table-tbody > tr > td {
    white-space: pre;
  }
  .ant-table-thead > tr > th > span,
  .ant-table-tbody > tr > th > span,
  .ant-table-thead > tr > td > span,
  .ant-table-tbody > tr > td > span {
    display: block;
  }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  body .ant-design-pro > .ant-layout {
    min-height: 100vh;
  }
}

/* stylelint-disable */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  margin: 0;
}
[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}
mark {
  padding: 0.2em;
  background-color: #feffe6;
}

.menu :global(.anticon) {
  margin-right: 8px;
}
.menu :global(.ant-dropdown-menu-item) {
  min-width: 160px;
}
.right {
  display: flex;
  float: right;
  height: 48px;
  margin-left: auto;
  overflow: hidden;
}
.right .action {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 12px;
  cursor: pointer;
  transition: all 0.3s;
}
.right .action > span {
  vertical-align: middle;
}
.right .action:hover {
  background: rgba(0, 0, 0, 0.025);
}
.right .action:global(.opened) {
  background: rgba(0, 0, 0, 0.025);
}
.right .search {
  padding: 0 12px;
}
.right .search:hover {
  background: transparent;
}
.right .account .avatar {
  margin-right: 8px;
  color: #1890ff;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.85);
}
.dark .action:hover {
  background: #252a3d;
}
.dark .action:global(.opened) {
  background: #252a3d;
}
.dropdownContent {
  background: #fff;
  border: 1px solid #e3e3e3 !important;
}
.dropdownContent :global(.ant-dropdown-menu) {
  box-shadow: none;
}
.notice-bell {
  display: inline-flex;
  align-items: center;
}
.notice-dropdown-overlay {
  width: 380px;
}
.notice-dropdown {
  background: #fff;
  border: 1px solid rgba(5, 5, 5, 0.06);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.notice-dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(5, 5, 5, 0.06);
}
.notice-dropdown-body {
  max-height: 360px;
  overflow: auto;
}
.notice-dropdown-loading,
.notice-dropdown-empty {
  padding: 18px 16px;
  text-align: center;
}
.notice-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(5, 5, 5, 0.06);
}
.notice-dropdown-item:last-child {
  border-bottom: none;
}
.notice-dropdown-item-icon {
  font-size: 18px;
  color: #1677ff;
  margin-top: 2px;
}
.notice-dropdown-item-main {
  flex: 1 1;
  min-width: 0;
}
.notice-dropdown-item-title {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.88);
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-dropdown-item-time {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  line-height: 20px;
}
.notice-dropdown-item-link {
  flex-shrink: 0;
  margin-left: 12px;
  margin-top: 2px;
}
.notice-dropdown-footer {
  padding: 12px 0;
  text-align: center;
  border-top: 1px solid rgba(5, 5, 5, 0.06);
}
@media only screen and (max-width: 768px) {
  :global(.ant-divider-vertical) {
    vertical-align: unset;
  }
  .name {
    display: none;
  }
  .right {
    position: absolute;
    top: 0;
    right: 12px;
  }
  .right .account .avatar {
    margin-right: 0;
  }
  .right .search {
    display: none;
  }
}

