.login-body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(105deg, rgba(238, 246, 255, 0.92), rgba(255, 255, 255, 0.96) 64%),
    #f7fbff;
}

.login-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(560px, 1.18fr) minmax(520px, 0.82fr);
}

.login-story {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 48px 6vw 54px;
}

.login-story::after {
  position: absolute;
  right: -140px;
  bottom: -370px;
  width: 780px;
  height: 590px;
  border: 1px solid #b8d9fc;
  border-radius: 50%;
  content: "";
  transform: rotate(18deg);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.login-brand .brand-word {
  font-size: 42px;
}

.login-brand-caption {
  color: #526889;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.55;
}

.login-copy {
  position: relative;
  z-index: 2;
  margin-top: 120px;
}

.login-copy h1 {
  max-width: 800px;
  margin: 0;
  font-size: 58px;
  font-weight: 730;
  line-height: 1.08;
}

.login-copy p {
  margin: 22px 0 0;
  color: #667a9c;
  font-size: 25px;
}

.story-map {
  position: relative;
  z-index: 2;
  height: 330px;
  margin-top: 46px;
}

.map-card {
  position: absolute;
  display: grid;
  width: 136px;
  min-height: 134px;
  align-content: start;
  border: 1px solid #bbdcfd;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  padding: 20px;
}

.map-card svg {
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.map-card strong {
  margin-bottom: 10px;
  font-size: 14px;
}

.map-card i {
  display: block;
  width: 80%;
  height: 6px;
  margin-top: 6px;
  border-radius: 3px;
  background: #dce7f3;
}

.map-card i:last-child {
  width: 52%;
}

.clients-card {
  left: 0;
  top: 0;
}

.tasks-card {
  left: 225px;
  top: 145px;
}

.projects-card {
  left: 435px;
  top: -8px;
}

.finance-card {
  left: 670px;
  top: 136px;
}

.map-line {
  position: absolute;
  display: block;
  border-color: #0877ed;
  border-style: solid;
  border-width: 0 1px 1px;
}

.line-one {
  left: 134px;
  top: 70px;
  width: 95px;
  height: 145px;
  border-radius: 0 0 0 24px;
}

.line-two {
  left: 360px;
  top: 70px;
  width: 315px;
  height: 145px;
  border-radius: 24px 0 24px 0;
  border-width: 1px 1px 0;
}

.story-motto {
  position: absolute;
  z-index: 2;
  bottom: 55px;
  left: 6vw;
  margin: 0;
  color: #4c6390;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: uppercase;
}

.login-panel-wrap {
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 42px 4vw;
}

.login-panel {
  display: flex;
  width: min(650px, 100%);
  min-height: 700px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #beddfb;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(37, 93, 151, 0.05);
  padding: 66px 70px 32px;
  backdrop-filter: blur(12px);
}

.login-panel h2 {
  margin: 0 0 34px;
  font-size: 38px;
  line-height: 1.15;
}

.login-panel label {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.input-shell {
  display: flex;
  height: 58px;
  align-items: center;
  gap: 13px;
  margin-bottom: 26px;
  border: 1px solid #c5d8ed;
  border-radius: 7px;
  background: white;
  padding: 0 17px;
}

.input-shell:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 119, 237, 0.1);
}

.input-shell.has-error {
  border-color: var(--red);
}

.input-shell > svg,
.password-toggle svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.input-shell input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
}

.input-shell input::placeholder {
  color: #8292ae;
}

.password-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #7283a3;
}

.password-toggle svg {
  stroke: currentColor;
}

.captcha-placeholder {
  display: grid;
  min-height: 104px;
  grid-template-columns: 46px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 15px;
  margin: 28px 0 22px;
  border: 1px solid #d2dfed;
  border-radius: 7px;
  background: #f9fbfe;
  padding: 16px 20px;
}

.captcha-checkbox {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid #95a5bd;
  border-radius: 4px;
  color: #95a5bd;
}

.captcha-checkbox svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.captcha-placeholder > span:nth-child(2) {
  display: grid;
}

.captcha-placeholder small {
  margin-top: 3px;
  color: var(--muted);
}

.captcha-mark {
  color: var(--blue);
  font-size: 32px;
  font-weight: 800;
  text-align: center;
}

.login-submit {
  width: 100%;
  height: 62px;
  justify-content: space-between;
  padding: 0 27px;
  font-size: 18px;
}

.forgot-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  margin-top: 26px;
}

.forgot-row span {
  height: 1px;
  background: #d5e4f4;
}

.forgot-row a {
  color: var(--blue);
  font-size: 14px;
}

.form-alert {
  margin: -16px 0 22px;
  border: 1px solid #f2bbbb;
  border-radius: 7px;
  background: #fff2f1;
  padding: 11px 13px;
  color: #b82d2d;
  font-size: 13px;
}

.login-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d5e4f4;
  padding-top: 25px;
  color: #7b8cab;
  font-size: 12px;
}

.mini-mark {
  color: #18233d;
  font-size: 18px;
}

@media (max-width: 1200px) {
  .login-layout {
    grid-template-columns: minmax(440px, 0.9fr) minmax(500px, 1.1fr);
  }

  .login-story {
    padding-left: 42px;
    padding-right: 30px;
  }

  .login-copy {
    margin-top: 90px;
  }

  .login-copy h1 {
    font-size: 47px;
  }

  .login-copy p {
    font-size: 21px;
  }

  .projects-card {
    left: 315px;
  }

  .finance-card {
    display: none;
  }

  .line-two {
    left: 360px;
    width: 80px;
  }

  .login-panel {
    padding-right: 54px;
    padding-left: 54px;
  }
}

@media (max-width: 900px) {
  .login-layout {
    display: block;
  }

  .login-story {
    min-height: auto;
    padding: 28px 24px 42px;
  }

  .login-story::after,
  .story-map,
  .story-motto {
    display: none;
  }

  .login-brand .brand-word {
    font-size: 32px;
  }

  .login-copy {
    margin-top: 54px;
  }

  .login-copy h1 {
    font-size: 40px;
  }

  .login-copy p {
    font-size: 19px;
  }

  .login-panel-wrap {
    padding: 0 24px 40px;
  }

  .login-panel {
    min-height: 610px;
    padding: 44px 46px 28px;
  }
}

@media (max-width: 560px) {
  .login-story {
    padding: 22px 18px 30px;
  }

  .login-brand {
    gap: 14px;
  }

  .login-brand .brand-word {
    font-size: 25px;
  }

  .login-brand .brand-divider {
    height: 30px;
  }

  .login-brand-caption {
    font-size: 10px;
  }

  .login-copy {
    margin-top: 38px;
  }

  .login-copy h1 {
    font-size: 32px;
  }

  .login-copy p {
    margin-top: 14px;
    font-size: 17px;
  }

  .login-panel-wrap {
    padding: 0 12px 20px;
  }

  .login-panel {
    min-height: 560px;
    padding: 30px 20px 22px;
  }

  .login-panel h2 {
    margin-bottom: 28px;
    font-size: 29px;
  }

  .input-shell {
    height: 54px;
    margin-bottom: 21px;
  }

  .captcha-placeholder {
    min-height: 90px;
    grid-template-columns: 40px minmax(0, 1fr) 34px;
    padding: 13px;
  }

  .captcha-checkbox {
    width: 36px;
    height: 36px;
  }

  .captcha-placeholder small {
    font-size: 10px;
  }

  .login-submit {
    height: 56px;
  }

  .forgot-row {
    gap: 12px;
  }
}


