.login-page {
  background: #e9eef4;
  color: #111827;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

.login-page main {
  display: block;
}

.login-page .topbar {
  background: rgba(8, 16, 31, .96);
  border-bottom-color: rgba(139, 220, 248, .12);
  box-shadow: 0 8px 28px rgba(5, 11, 22, .16);
}

.login-page .auth-login-btn {
  border: 1px solid rgba(139, 220, 248, .42);
  background: rgba(53, 191, 242, .11);
  color: #eaf8ff;
}

.login-skip-link {
  position: fixed;
  top: 7px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  border-radius:var(--kb-radius-sm);
  background: #fff;
  color: #111827;
  text-decoration: none;
  transform: translateY(-150%);
}

.login-skip-link:focus {
  transform: translateY(0);
}

.login-layout {
  min-height: calc(100vh - 52px);
  height: auto;
  overflow: visible;
  align-items: start;
  background: #e9eef4;
}

.login-main {
  display: grid;
  min-width: 0;
  min-height: calc(100vh - 52px);
  height: auto;
  place-items: center;
  padding:32px;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 0, rgba(66, 133, 167, .12), transparent 43%),
    #e9eef4;
}

.login-layout > .right-sidebar {
  position: sticky;
  top: 52px;
  height: calc(100vh - 52px);
  max-height: calc(100vh - 52px);
  align-self: start;
}

.login-stage {
  display: grid;
  grid-template-columns: minmax(310px, .86fr) minmax(360px, 1.14fr);
  width: min(100%, 900px);
  min-height: 570px;
  overflow: hidden;
  border: 1px solid #d1dae4;
  border-radius:var(--kb-radius-lg);
  background: #fff;
  box-shadow: 0 25px 70px rgba(9, 18, 34, .16);
}

.login-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  padding:40px;
  background:
    radial-gradient(circle at 85% 18%, rgba(34, 151, 204, .28), transparent 35%),
    linear-gradient(145deg, #07101f, #12243d);
  color: #fff;
}

.login-intro-grid,
.login-intro-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.login-intro-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 32px 32px;
}

.login-intro-lines {
  top: auto;
  bottom: -18px;
  height: 260px;
  opacity: .7;
}

.login-intro-lines svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(53, 191, 242, .28);
  stroke-width: 1.2;
}

.login-intro-content {
  align-self: center;
}

.login-intro-content > p:first-child,
.login-card-heading > span {
  margin: 0 0 8px;
  color: #8bdcf8;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.login-intro h1 {
  margin: 0;
  color: #f8fbff;
  font-size:var(--kb-fs-hero);
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: -.045em;
}

.login-intro-content > p:nth-child(3) {
  margin: 20px 0 0;
  color: #a9b8c9;
  font-size: .76rem;
  line-height: 1.85;
}

.login-intro-content > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: #9ddff7;
  font-size: .69rem;
  font-weight: 700;
  text-decoration: none;
}

.login-intro-content > a span {
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.login-card {
  align-self: center;
  padding: 45px 52px 38px;
}

.login-card-heading {
  margin-bottom: 22px;
}

.login-card-heading h2 {
  margin: 0;
  color: #111827;
  font-size:var(--kb-fs-h1);
  font-weight: 760;
  letter-spacing: -.03em;
}

.login-card-heading p {
  margin: 5px 0 0;
  color: #69778b;
  font-size: .72rem;
}

.login-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 20px;
  border-bottom: 1px solid #dce3ea;
}

.login-tabs button {
  position: relative;
  padding:var(--kb-space-3) 8px;
  border: 0;
  background: transparent;
  color: #8995a5;
  font: inherit;
  font-size: .76rem;
  font-weight: 680;
  cursor: pointer;
}

.login-tabs button::after {
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -1px;
  height: 2px;
  content: "";
  background: #188fbd;
  transform: scaleX(0);
  transition: transform .18s ease;
}

.login-tabs button.is-active {
  color: #14243b;
}

.login-tabs button.is-active::after {
  transform: scaleX(1);
}

.login-google,
.login-submit {
  width: 100%;
  min-height: 44px;
  border-radius:var(--kb-radius-md);
  font: inherit;
  font-size: .77rem;
  font-weight: 680;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.login-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #d7dee7;
  background: #fff;
  color: #344156;
}

.login-google:hover {
  border-color: #aebbc9;
  background: #f8fafc;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 17px 0;
  color: #9aa5b4;
  font-size: .63rem;
}

.login-divider::before,
.login-divider::after {
  flex: 1;
  height: 1px;
  content: "";
  background: #e1e6ec;
}

.login-card-body label {
  display: block;
  margin: 10px 0 5px;
  color: #58667a;
  font-size: .65rem;
  font-weight: 680;
}

.login-card-body input {
  width: 100%;
  height: 43px;
  padding: 0 12px;
  border: 1px solid #d5dde6;
  border-radius:var(--kb-radius-sm);
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: .8rem;
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.login-card-body input:focus {
  border-color: #369bc2;
  box-shadow: 0 0 0 3px rgba(54, 155, 194, .13);
}

.login-submit {
  margin-top: 17px;
  border: 1px solid #10223a;
  background: #10223a;
  color: #fff;
}

.login-submit:hover {
  background: #193554;
  transform: translateY(-1px);
}

.login-google:disabled,
.login-submit:disabled {
  opacity: .55;
  cursor: wait;
  transform: none;
}

.login-forgot {
  display: block;
  margin: 12px auto 0;
  padding:0;
  border: 0;
  background: transparent;
  color: #6f7e91;
  font: inherit;
  font-size: .65rem;
  cursor: pointer;
}

.login-forgot:hover {
  color: #177fa9;
}

.login-register-note {
  margin: 10px 0 0;
  color: #7b8797;
  font-size: .62rem;
  line-height: 1.6;
}

.login-feedback {
  min-height: 21px;
  margin-top: 10px;
  color: #c53747;
  font-size: .67rem;
  line-height: 1.55;
}

.login-feedback.is-success {
  color: #087e61;
}

.login-card-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e9ee;
  color: #919cab;
  font-size: .59rem;
  line-height: 1.65;
  text-align: center;
}

.login-card-footer a {
  color: #69778b;
  text-decoration: none;
}

.login-card-footer a:hover {
  color: #177fa9;
}

.login-page .site-footer {
  display: block;
  margin-top: 0;
  padding:20px var(--kb-space-4) 28px;
  background: #e9eef4;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .login-page .topbar-links a:nth-child(n+3) {
    display: none;
  }

  .login-main {
    padding: 22px;
  }

  .login-stage {
    grid-template-columns: minmax(260px, .75fr) minmax(340px, 1.25fr);
  }

  .login-intro {
    padding: 30px;
  }

  .login-card {
    padding: 38px 36px 32px;
  }
}

@media (max-width: 900px) {
  .login-layout > .right-sidebar {
    position: fixed;
    top: 0;
    height: 100vh;
    max-height: none;
  }

  .login-main {
    padding: 24px 16px;
  }
}

@media (max-width: 700px) {
  .login-stage {
    grid-template-columns: 1fr;
  }

  .login-intro {
    min-height: 235px;
    padding: 30px;
  }

  .login-intro h1 {
    font-size:var(--kb-fs-hero);
  }

  .login-intro-content > p:nth-child(3) {
    margin-top: 12px;
  }

  .login-intro-content > a {
    margin-top: 15px;
  }

  .login-card {
    padding: 32px 28px 27px;
  }
}

@media (max-width: 440px) {
  .login-page .auth-login-btn {
    padding: 4px 8px;
    font-size: .61rem;
  }

  .login-main {
    padding: 10px;
  }

  .login-stage {
    border-radius:var(--kb-radius-lg);
  }

  .login-intro {
    min-height: 210px;
    padding: 25px 22px;
  }

  .login-intro-content > p:nth-child(3) {
    font-size: .69rem;
  }

  .login-card {
    padding: 27px 21px 23px;
  }
}
