:root {
  --orange: #ff8300;
  --orange-2: #ffad1f;
  --orange-dark: #cf5600;
  --dark: #141823;
  --muted: #687080;
  --line: #e5e8ee;
  --soft: #fff7ed;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(12, 18, 28, .16);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--dark);
  background:
    radial-gradient(circle at 13% 20%, rgba(255, 143, 0, .08), transparent 16rem),
    radial-gradient(circle at 88% 72%, rgba(255, 174, 42, .10), transparent 18rem),
    #ffffff;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.svg-sprite symbol * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 54px 24px;
}

.login-card {
  width: min(1410px, 100%);
  min-height: 760px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visual-panel {
  position: relative;
  padding: 72px 64px 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 181, 64, .13), transparent 20rem),
    #ffffff;
}

.back-home {
  position: absolute;
  top: 28px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f07400;
  font-weight: 800;
}

.back-home svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
}

.dot {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  box-shadow: 0 12px 24px rgba(255, 131, 0, .26);
}

.dot-one {
  top: 160px;
  left: 96px;
}

.dot-two {
  right: 70px;
  bottom: 300px;
  width: 16px;
  height: 16px;
}

.loan-illustration {
  position: relative;
  width: min(570px, 100%);
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.soft-circle {
  position: absolute;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 232, 194, .82), rgba(255,255,255,.05));
}

.main-illustration {
  width: 100%;
  max-width: 540px;
  position: relative;
  z-index: 2;
}

.visual-copy {
  text-align: center;
  margin-top: 20px;
}

.visual-copy h1 {
  font-size: 36px;
  line-height: 1.25;
  margin: 0 0 22px;
  letter-spacing: -.7px;
}

.visual-copy h1 span {
  color: var(--orange);
}

.visual-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.55;
}

.form-panel {
  padding: 78px 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 66px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.logo-svg {
  width: 62px;
  height: 62px;
  color: var(--orange);
  fill: currentColor;
}

.welcome {
  margin-bottom: 42px;
}

.welcome h2 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -.9px;
}

.welcome p {
  margin: 0;
  color: var(--muted);
  font-size: 24px;
}

.role-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  margin-bottom: 40px;
  background: #fff;
}

.role-tab {
  height: 74px;
  border: 0;
  background: #fff;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.role-tab + .role-tab {
  border-left: 1px solid var(--line);
}

.role-tab svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
}

.role-tab.active {
  color: var(--orange-dark);
  background: linear-gradient(135deg, #fff4e6, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(255, 131, 0, .36);
}

.login-form label {
  display: block;
  margin-bottom: 30px;
}

.login-form label > span {
  display: block;
  margin-bottom: 13px;
  font-size: 19px;
  font-weight: 800;
}

.field {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1.5px solid #d8dde5;
  border-radius: 12px;
  padding: 0 20px;
  background: #fff;
  transition: .2s ease;
}

.field:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 131, 0, .10);
}

.field svg {
  width: 27px;
  height: 27px;
  color: #29313f;
  fill: none;
  stroke: currentColor;
  flex: 0 0 auto;
}

.field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--dark);
  font-size: 21px;
}

.field input::placeholder {
  color: #858b98;
}

.eye-btn {
  border: 0;
  background: transparent;
  color: #29313f;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 6px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -3px 0 44px;
  gap: 18px;
}

.remember {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  color: #596171;
  font-size: 18px;
  font-weight: 650;
}

.remember input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fake-check {
  width: 28px;
  height: 28px;
  border: 1.5px solid #c9cfd8;
  border-radius: 7px;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  background: #fff;
}

.fake-check svg {
  width: 18px;
  height: 18px;
  opacity: 0;
  color: #fff;
  fill: none;
  stroke: currentColor;
}

.remember input:checked + .fake-check {
  background: var(--orange);
  border-color: var(--orange);
}

.remember input:checked + .fake-check svg {
  opacity: 1;
}

.forgot-btn {
  border: 0;
  background: transparent;
  color: var(--orange);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.login-submit {
  width: 100%;
  height: 78px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  font-size: 27px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(255, 131, 0, .28);
  transition: .2s ease;
}

.login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(255, 131, 0, .34);
}

.helper-text {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}

.login-toast {
  position: fixed;
  right: 26px;
  bottom: 26px;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111827;
  color: #fff;
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transform: translateY(130px);
  transition: .25s ease;
  z-index: 40;
}

.login-toast.show {
  transform: translateY(0);
}

.login-toast svg {
  width: 22px;
  height: 22px;
  color: var(--orange-2);
  fill: none;
  stroke: currentColor;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .login-shell {
    padding: 28px 16px;
  }

  .login-card {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    min-height: 560px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 70px 28px 40px;
  }

  .form-panel {
    padding: 52px 34px;
  }

  .login-brand {
    margin-bottom: 42px;
  }
}

@media (max-width: 560px) {
  .login-card {
    border-radius: 20px;
  }

  .visual-panel {
    min-height: 480px;
  }

  .dot-one {
    left: 38px;
  }

  .visual-copy h1 {
    font-size: 27px;
  }

  .visual-copy p {
    font-size: 18px;
  }

  .form-panel {
    padding: 40px 20px;
  }

  .login-brand {
    font-size: 26px;
    gap: 12px;
  }

  .logo-svg {
    width: 48px;
    height: 48px;
  }

  .welcome h2 {
    font-size: 34px;
  }

  .welcome p {
    font-size: 19px;
  }

  .role-tab {
    height: 62px;
    font-size: 18px;
  }

  .field {
    height: 62px;
  }

  .field input {
    font-size: 17px;
  }

  .form-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-submit {
    height: 66px;
    font-size: 22px;
  }
}
