/* VF API global console skin */
:root,
html.dark {
  --vf-bg: #070b12;
  --vf-bg-2: #0b111c;
  --vf-panel: rgba(12, 20, 32, .82);
  --vf-panel-strong: rgba(16, 28, 42, .94);
  --vf-line: rgba(105, 240, 255, .22);
  --vf-line-strong: rgba(125, 255, 178, .32);
  --vf-cyan: #5cf4ff;
  --vf-green: #7dffb2;
  --vf-amber: #ffd166;
  --vf-text: #ecf8ff;
  --vf-muted: #93a8ba;
  --semi-color-bg-0: rgba(10, 16, 27, .90);
  --semi-color-bg-1: rgba(13, 23, 36, .94);
  --semi-color-bg-2: rgba(20, 32, 48, .96);
  --semi-color-fill-0: rgba(92, 244, 255, .08);
  --semi-color-fill-1: rgba(92, 244, 255, .12);
  --semi-color-fill-2: rgba(125, 255, 178, .14);
  --semi-color-border: rgba(105, 240, 255, .20);
  --semi-color-primary: #5cf4ff;
  --semi-color-primary-hover: #7dffb2;
  --semi-color-text-0: #ecf8ff;
  --semi-color-text-1: #b7c8d8;
  --semi-color-text-2: #8da0af;
}

html, body, #root {
  min-height: 100%;
  background: var(--vf-bg) !important;
  color: var(--vf-text) !important;
}

body {
  background:
    linear-gradient(180deg, #070b12 0%, #0b111c 55%, #0a1218 100%) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(92, 244, 255, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 244, 255, .06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(125, 255, 178, .08), transparent 36%, rgba(255, 209, 102, .04));
  background-size: 44px 44px, 44px 44px, 100% 100%;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.86), rgba(0,0,0,.18) 82%, transparent);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.86), rgba(0,0,0,.18) 82%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 1px, transparent 1px 7px);
  opacity: .24;
}

.app-layout,
.semi-layout,
.semi-layout-content,
main {
  background: transparent !important;
}

.semi-layout-header,
header,
[class*="Header"] {
  background: rgba(7, 11, 18, .76) !important;
  border-bottom: 1px solid var(--vf-line) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .28) !important;
  backdrop-filter: blur(18px) saturate(1.25);
}

.semi-navigation,
.semi-layout-sider,
aside,
[class*="sidebar"],
[class*="Side"] {
  background: rgba(7, 11, 18, .78) !important;
  border-right: 1px solid var(--vf-line) !important;
  backdrop-filter: blur(18px) saturate(1.2);
}

.semi-navigation-item,
.semi-navigation-sub-title,
.semi-navigation-item-text,
nav a,
header a {
  color: var(--vf-text) !important;
}

.semi-navigation-item:hover,
.semi-navigation-item-active,
.semi-navigation-sub-title:hover,
nav a:hover {
  background: linear-gradient(90deg, rgba(92,244,255,.16), rgba(125,255,178,.09)) !important;
  color: #ffffff !important;
  box-shadow: inset 3px 0 0 var(--vf-cyan);
}

.semi-card,
.semi-collapse,
.semi-descriptions,
.semi-list,
.semi-table,
.semi-tabs-content,
.semi-modal-content,
.semi-popover-wrapper,
.semi-dropdown,
.semi-toast-content {
  background: var(--vf-panel) !important;
  border: 1px solid var(--vf-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 44px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.055) !important;
  backdrop-filter: blur(16px) saturate(1.22);
}

.semi-card:hover,
.semi-table:hover,
.semi-collapse:hover {
  border-color: var(--vf-line-strong) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.38), 0 0 0 1px rgba(92,244,255,.08) inset !important;
}

.semi-card-body,
.semi-card-header,
.semi-table-container,
.semi-modal-body,
.semi-modal-header,
.semi-modal-footer {
  background: transparent !important;
}

.semi-typography,
.semi-typography-primary,
.semi-form-field-label-text,
.semi-table-tbody,
.semi-table-thead,
.semi-descriptions-item-th,
.semi-descriptions-item-td {
  color: var(--vf-text) !important;
}

.semi-typography-secondary,
.semi-typography-small,
.semi-form-extra,
.semi-table-cell .semi-typography {
  color: var(--vf-muted) !important;
}

.semi-button {
  border-radius: 8px !important;
  border-color: rgba(92,244,255,.24) !important;
  background: rgba(12, 22, 34, .76) !important;
  color: var(--vf-text) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.semi-button:hover {
  border-color: rgba(125,255,178,.52) !important;
  background: rgba(92,244,255,.12) !important;
  color: #ffffff !important;
}

.semi-button-primary,
.semi-button-primary:not(.semi-button-disabled) {
  background: linear-gradient(135deg, #5cf4ff 0%, #7dffb2 100%) !important;
  border-color: transparent !important;
  color: #061018 !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 30px rgba(92,244,255,.20), inset 0 1px 0 rgba(255,255,255,.32) !important;
}

.semi-button-danger,
.semi-button-warning {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.semi-button-disabled,
.semi-button[disabled] {
  opacity: .48 !important;
  filter: saturate(.65);
}

.semi-input-wrapper,
.semi-input,
.semi-select,
.semi-select-selection,
.semi-textarea-wrapper,
.semi-datepicker,
.semi-input-number,
.semi-input-number-suffix-btns {
  background: rgba(5, 12, 21, .72) !important;
  border-color: rgba(105, 240, 255, .22) !important;
  color: var(--vf-text) !important;
  border-radius: 8px !important;
}

.semi-input-wrapper:hover,
.semi-input-wrapper-focus,
.semi-select:hover,
.semi-select-focus,
.semi-textarea-wrapper-focus {
  border-color: rgba(92,244,255,.62) !important;
  box-shadow: 0 0 0 3px rgba(92,244,255,.10) !important;
}

.semi-input::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(183,200,216,.55) !important;
}

.semi-table-thead > .semi-table-row > .semi-table-row-head,
.semi-table-thead th {
  background: rgba(92,244,255,.10) !important;
  color: #dffbff !important;
  border-bottom: 1px solid rgba(92,244,255,.22) !important;
}

.semi-table-tbody > .semi-table-row,
.semi-table-row,
.semi-table-tbody tr {
  background: rgba(10,17,28,.36) !important;
}

.semi-table-tbody > .semi-table-row:hover,
.semi-table-row:hover,
.semi-table-tbody tr:hover {
  background: rgba(92,244,255,.085) !important;
}

.semi-table-row-cell,
.semi-table-cell,
.semi-table-tbody td,
.semi-table-thead th {
  border-color: rgba(105,240,255,.14) !important;
}

.semi-tabs-bar,
.semi-tabs-tab,
.semi-radioGroup,
.semi-segmented {
  background: transparent !important;
  border-color: rgba(105,240,255,.18) !important;
}

.semi-tabs-tab-active,
.semi-tabs-tab:hover,
.semi-radio-buttonRadioGroup .semi-radio-addon-buttonRadio-checked,
.semi-segmented-item-selected {
  color: #061018 !important;
  background: linear-gradient(135deg, #5cf4ff, #7dffb2) !important;
  border-radius: 8px !important;
}

.semi-tag,
.semi-badge-status-text,
.semi-switch,
.semi-checkbox-inner,
.semi-radio-inner {
  border-color: rgba(92,244,255,.28) !important;
}

.semi-tag {
  background: rgba(92,244,255,.10) !important;
  color: #dffbff !important;
  border-radius: 6px !important;
}

.semi-progress-track {
  background: rgba(92,244,255,.12) !important;
}

.semi-progress-line-inner,
.semi-progress-circle-ring {
  background: linear-gradient(90deg, #5cf4ff, #7dffb2) !important;
}

.recharts-wrapper,
.echarts-for-react,
canvas,
svg[class*="chart"],
[class*="chart"],
[class*="Chart"] {
  filter: saturate(1.12) contrast(1.04);
}

.semi-pagination-item,
.semi-pagination-prev,
.semi-pagination-next {
  background: rgba(12,22,34,.76) !important;
  border-color: rgba(105,240,255,.18) !important;
  color: var(--vf-text) !important;
  border-radius: 8px !important;
}

.semi-pagination-item-active {
  background: linear-gradient(135deg, #5cf4ff, #7dffb2) !important;
  color: #061018 !important;
}

header a[href="/"]:has(img[alt="logo"]) img,
main:has(img[alt="Logo"]) img[alt="Logo"] {
  display: none !important;
}

header a[href="/"]:has(img[alt="logo"])::before,
main:has(img[alt="Logo"])::before {
  content: "VF";
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: 10px;
  border-radius: 8px;
  color: #061018;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(135deg, #5cf4ff, #7dffb2 72%, #ffd166);
  box-shadow: 0 12px 32px rgba(92,244,255,.22), inset 0 1px 0 rgba(255,255,255,.45);
}

main:has(img[alt="Logo"])::before {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  font-size: 24px;
}

main:has(img[alt="Logo"]) .semi-card,
main:has(.semi-form-field-username) .semi-card {
  max-width: 460px;
  border-color: rgba(92,244,255,.32) !important;
}

a,
.semi-typography a,
[class*="text-semi-color-primary"] {
  color: var(--vf-cyan) !important;
}

a:hover,
.semi-typography a:hover {
  color: var(--vf-green) !important;
}

.semi-modal-mask {
  background: rgba(2, 6, 12, .72) !important;
  backdrop-filter: blur(6px);
}

.semi-spin-children::after {
  background: rgba(7,11,18,.52) !important;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(7,11,18,.72);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(92,244,255,.55), rgba(125,255,178,.48));
  border-radius: 8px;
  border: 2px solid rgba(7,11,18,.86);
}

@media (max-width: 768px) {
  .semi-card,
  .semi-table,
  .semi-modal-content {
    border-radius: 8px !important;
  }

  body::before {
    background-size: 34px 34px, 34px 34px, 100% 100%;
  }

  header a[href="/"]:has(img[alt="logo"])::before {
    width: 36px;
    height: 36px;
  }
}

