.xboss-fiber-page,
body.xboss-fiber-page {
  min-width: 0;
  background: #060a0e !important;
  color-scheme: dark;
}

body.xboss-fiber-page {
  overflow-x: hidden;
}

.rhino-login.xboss-fiber-v3 {
  --fiber-night: #060a0e;
  --fiber-panel: rgba(8, 17, 23, 0.94);
  --fiber-ink: #f2f7fa;
  --fiber-muted: #8fa5b4;
  --fiber-faint: #5d7483;
  --fiber-line: rgba(83, 177, 207, 0.2);
  --fiber-blue: #1288ff;
  --fiber-cyan: #38d5e8;
  --fiber-green: #25d09a;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--fiber-ink) !important;
  background: var(--fiber-night) !important;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.rhino-login.xboss-fiber-v3,
.rhino-login.xboss-fiber-v3 * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.rhino-login.xboss-fiber-v3 > .rhino-login-decoration {
  display: none;
}

.xboss-fiber-layer,
.xboss-fiber-fallback,
.xboss-fiber-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.xboss-fiber-layer {
  top: 12%;
  right: 22%;
  bottom: 8%;
  z-index: 0;
}

.xboss-fiber-layer canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.xboss-fiber-fallback {
  z-index: 0;
  overflow: hidden;
  opacity: 0.12;
}

.xboss-fiber-fallback span {
  position: absolute;
  left: -18%;
  width: 112%;
  height: 1px;
  background: rgba(52, 198, 221, 0.58);
  transform: rotate(-12deg);
  transform-origin: left center;
}

.xboss-fiber-fallback span:nth-child(1) { top: 30%; }
.xboss-fiber-fallback span:nth-child(2) { top: 37%; opacity: 0.86; }
.xboss-fiber-fallback span:nth-child(3) { top: 44%; opacity: 0.72; }
.xboss-fiber-fallback span:nth-child(4) { top: 51%; opacity: 0.6; }
.xboss-fiber-fallback span:nth-child(5) { top: 58%; opacity: 0.5; }
.xboss-fiber-fallback span:nth-child(6) { top: 65%; opacity: 0.42; }
.xboss-fiber-fallback span:nth-child(7) { top: 72%; opacity: 0.34; }
.xboss-fiber-fallback span:nth-child(8) { top: 79%; opacity: 0.26; }

.xboss-fiber-grid {
  z-index: 1;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(73, 170, 198, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 170, 198, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, transparent 8%, #000 34%, #000 82%, transparent 100%);
}

.rhino-login.xboss-fiber-v3.xboss-fiber-fallback-active .xboss-fiber-fallback {
  opacity: 0.74;
}

.rhino-login.xboss-fiber-v3 > .rhino-login-header,
.rhino-login.xboss-fiber-v3 > .rhino-login-main,
.xboss-fiber-footer {
  position: relative;
  z-index: 3;
}

.rhino-login.xboss-fiber-v3 > .rhino-login-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: min(100%, 1360px);
  max-width: none;
  height: 76px;
  padding: 0 38px;
  background: transparent !important;
  border-bottom: 1px solid rgba(110, 172, 198, 0.14);
  backdrop-filter: none !important;
}

.rhino-login.xboss-fiber-v3 .rhino-brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(110, 221, 240, 0.52);
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(18, 136, 255, 0.24);
}

.rhino-login.xboss-fiber-v3 .rhino-brand-name {
  margin-left: 11px;
  color: #f4f9fb !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

html body .rhino-login.xboss-fiber-v3 > .rhino-login-header .rhino-brand-name {
  color: #f4f9fb !important;
}

.xboss-fiber-brand-en {
  position: absolute;
  top: 45px;
  left: 83px;
  color: #6f8897;
  font-size: 8px;
  line-height: 10px;
}

.rhino-login.xboss-fiber-v3 .rhino-login-header > span:last-child {
  height: 24px;
  padding: 0 9px;
  color: var(--fiber-green);
  background: rgba(37, 208, 154, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(37, 208, 154, 0.2);
  font-size: 10px;
}

.rhino-login.xboss-fiber-v3 > .rhino-login-main {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px) !important;
  gap: 70px;
  width: min(100%, 1280px);
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 96px 38px 56px;
}

.xboss-fiber-message {
  align-self: center;
  min-width: 0;
  padding: 0 0 5vh 3.5vw;
}

.xboss-fiber-kicker,
.xboss-fiber-console-index {
  color: var(--fiber-cyan);
  font-size: 10px;
  font-weight: 600;
}

.xboss-fiber-message h1 {
  margin: 17px 0 0;
  color: #f4f9fb;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
}

.xboss-fiber-message p {
  margin: 13px 0 0;
  color: var(--fiber-muted);
  font-size: 16px;
  line-height: 1.7;
}

.xboss-fiber-flow-key {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 186px;
  margin-top: 30px;
}

.xboss-fiber-flow-key > span {
  width: 120px;
  height: 1px;
  background: rgba(56, 213, 232, 0.48);
}

.xboss-fiber-flow-key > i {
  width: 3px;
  height: 3px;
  background: var(--fiber-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(56, 213, 232, 0.72);
}

.rhino-login.xboss-fiber-v3 .rhino-login-form {
  position: relative;
  grid-column: 2;
  width: 100%;
  max-width: 400px;
  justify-self: end;
  padding: 32px 34px 30px 38px;
  color: var(--fiber-ink) !important;
  background: var(--fiber-panel) !important;
  border: 1px solid rgba(76, 139, 163, 0.15) !important;
  border-left-color: rgba(75, 207, 226, 0.56) !important;
  border-radius: 6px;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.rhino-login.xboss-fiber-v3 .rhino-login-form::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 72px;
  height: 1px;
  background: var(--fiber-cyan);
  box-shadow: 0 0 14px rgba(56, 213, 232, 0.72);
  content: "";
}

.rhino-login.xboss-fiber-v3 .rhino-login-form > div:first-child {
  margin-bottom: 25px;
}

.xboss-fiber-console-index {
  display: block;
  margin-bottom: 9px;
  color: #64c6dc;
  font-size: 9px;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form h1 {
  color: #f4f9fb;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form h1 + p {
  margin-top: 7px;
  color: var(--fiber-muted);
  font-size: 12px;
  line-height: 20px;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form form {
  gap: 15px;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form label {
  color: #bfd0d9;
  font-size: 11px;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form label > span:first-child {
  margin-bottom: 7px;
  font-weight: 500;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form label .text-destructive {
  color: #50cce1;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form input {
  height: 46px;
  padding-right: 36px;
  color: #eef6f9 !important;
  background: rgba(8, 16, 22, 0.72) !important;
  border-color: rgba(95, 143, 162, 0.3) !important;
  border-radius: 5px;
  outline: none;
  box-shadow: none;
  font-size: 13px;
}

html body .rhino-login.xboss-fiber-v3 .rhino-login-form form input[name="username"],
html body .rhino-login.xboss-fiber-v3 .rhino-login-form form input[name="password"] {
  color: #eef6f9 !important;
  background: rgba(8, 16, 22, 0.72) !important;
  border-color: rgba(95, 143, 162, 0.3) !important;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form input::placeholder {
  color: #5f7582 !important;
}

html body .rhino-login.xboss-fiber-v3 .rhino-login-form form input::placeholder {
  color: #5f7582 !important;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form input:hover {
  border-color: rgba(91, 184, 207, 0.48);
}

.rhino-login.xboss-fiber-v3 .rhino-login-form input:focus {
  border-color: rgba(56, 213, 232, 0.8);
  box-shadow: 0 0 0 2px rgba(56, 213, 232, 0.1);
}

.rhino-login.xboss-fiber-v3 .rhino-login-form label svg {
  color: #6f8997;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form form > div.relative > button[type="button"] {
  top: 31px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #78919e;
  border-radius: 4px;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form form > div.relative > button[type="button"]:hover,
.rhino-login.xboss-fiber-v3 .rhino-login-form form > div.relative > button[type="button"]:focus-visible {
  color: #d4f6fa;
  background: rgba(56, 213, 232, 0.08);
}

.rhino-login.xboss-fiber-v3 .rhino-login-form form > button[type="submit"] {
  height: 44px;
  margin-top: 2px;
  color: #fff !important;
  background: #1288ff !important;
  border: 1px solid rgba(98, 216, 236, 0.54) !important;
  border-radius: 5px;
  box-shadow: 0 0 22px rgba(18, 136, 255, 0.18);
  font-size: 13px;
  font-weight: 600;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form form > button[type="submit"]:hover {
  background: #0877e6 !important;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form form > button[type="submit"]:focus-visible {
  outline: 2px solid rgba(56, 213, 232, 0.84);
  outline-offset: 2px;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form > div:last-child {
  justify-content: center;
  margin-top: 20px;
  color: var(--fiber-muted);
  font-size: 10px;
}

.rhino-login.xboss-fiber-v3 .rhino-login-form > div:last-child svg {
  width: 14px;
  height: 14px;
  color: #65a9ba;
}

.rhino-login.xboss-fiber-v3 .rhino-login-preview-wrap {
  display: none !important;
}

.xboss-fiber-footer {
  position: absolute;
  right: 38px;
  bottom: 20px;
  left: 38px;
  display: flex;
  justify-content: space-between;
  color: var(--fiber-faint);
  font-size: 9px;
  pointer-events: none;
}

@media (max-width: 767px) {
  .xboss-fiber-layer {
    top: 12%;
    right: 0;
    bottom: 8%;
  }

  .xboss-fiber-grid {
    opacity: 0.22;
    background-size: 72px 72px;
  }

  .rhino-login.xboss-fiber-v3 > .rhino-login-header {
    height: 64px;
    padding: 0 18px;
  }

  .rhino-login.xboss-fiber-v3 .rhino-brand-mark {
    width: 32px;
    height: 32px;
  }

  .xboss-fiber-brand-en {
    display: none;
  }

  .rhino-login.xboss-fiber-v3 > .rhino-login-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 72px 16px 38px;
  }

  .xboss-fiber-message {
    display: none;
  }

  .rhino-login.xboss-fiber-v3 .rhino-login-form {
    width: min(100%, 390px);
    max-width: 390px;
    padding: 25px 20px 24px 23px;
  }

  .rhino-login.xboss-fiber-v3 .rhino-login-form h1 {
    font-size: 25px;
  }

  .xboss-fiber-footer {
    right: 18px;
    bottom: 12px;
    left: 18px;
    justify-content: center;
  }

  .xboss-fiber-footer span:first-child {
    display: none;
  }
}

@media (max-width: 340px), (max-height: 620px) {
  .rhino-login.xboss-fiber-v3 > .rhino-login-header {
    height: 58px;
  }

  .rhino-login.xboss-fiber-v3 > .rhino-login-main {
    padding: 62px 12px 24px;
  }

  .rhino-login.xboss-fiber-v3 .rhino-login-form {
    padding: 20px 17px 18px 20px;
  }

  .rhino-login.xboss-fiber-v3 .rhino-login-form > div:first-child {
    margin-bottom: 17px;
  }

  .rhino-login.xboss-fiber-v3 .rhino-login-form h1 {
    font-size: 23px;
  }

  .rhino-login.xboss-fiber-v3 .rhino-login-form form {
    gap: 11px;
  }

  .rhino-login.xboss-fiber-v3 .rhino-login-form input {
    height: 42px;
  }

  .rhino-login.xboss-fiber-v3 .rhino-login-form form > div.relative > button[type="button"] {
    top: 29px;
    height: 30px;
  }

  .rhino-login.xboss-fiber-v3 .rhino-login-form > div:last-child {
    margin-top: 14px;
  }

  .xboss-fiber-footer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rhino-login.xboss-fiber-v3 *,
  .rhino-login.xboss-fiber-v3 *::before,
  .rhino-login.xboss-fiber-v3 *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
