.auth-shell-body {
  min-height: 100vh;
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: #1b1c1c;
  background:
    radial-gradient(circle at top left, rgba(220, 134, 253, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(219, 48, 75, 0.12), transparent 26%),
    #fbf9f8;
}

.auth-shell-body * {
  box-sizing: border-box;
}

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 112px 24px 24px;
}

.login-stage {
  width: min(100%, 1440px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.login-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border-radius: 36px;
  background: #ffffff;
  box-shadow: 0 32px 80px rgba(53, 34, 36, 0.15);
  min-height: 640px;
}

.login-visual {
  position: relative;
  overflow: hidden;
  padding: 72px 42px;
  background: linear-gradient(180deg, #ffcdb5 0%, #e22d4d 100%);
}

.login-visual::before {
  content: "";
  position: absolute;
  inset: auto 28px 28px auto;
  width: 110px;
  height: 110px;
  background: rgba(125, 18, 39, 0.12);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  transform: rotate(10deg);
}

.login-visual::after {
  content: none;
}

.login-visual-icon {
  position: absolute;
  top: 40px;
  right: 34px;
  z-index: 1;
  transform: rotate(12deg) scale(1.45);
  transform-origin: top right;
  color: rgba(125, 18, 39, 0.24);
  pointer-events: none;
}

.login-visual-icon-symbol {
  display: inline-block;
  font-family: "Material Symbols Outlined";
  font-size: 8rem;
  line-height: 1;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
}

.login-visual-inner {
  position: relative;
  z-index: 1;
  max-width: 430px;
}

.login-kicker {
  margin: 0 0 26px;
  font-family: "Epilogue", sans-serif;
  font-size: clamp(2.35rem, 2.7vw, 3.8rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #350914;
}

.login-copy {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.55;
  color: rgba(53, 9, 20, 0.8);
}

.login-copy-wide {
  max-width: 360px;
  font-size: 1.08rem;
}

.login-sparkles {
  position: absolute;
  left: 44px;
  bottom: 54px;
  width: 128px;
  height: 128px;
  opacity: 0.28;
}

.login-sparkles::before,
.login-sparkles::after,
.login-sparkles span {
  content: "";
  position: absolute;
  background: rgba(139, 27, 45, 0.48);
  clip-path: polygon(50% 0%, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0% 50%, 36% 36%);
}

.login-sparkles::before {
  width: 68px;
  height: 68px;
  left: 0;
  bottom: 8px;
}

.login-sparkles::after {
  width: 34px;
  height: 34px;
  left: 66px;
  bottom: 62px;
}

.login-sparkles span {
  width: 38px;
  height: 38px;
  left: 60px;
  bottom: 0;
}

.login-visual-note {
  position: absolute;
  left: 42px;
  bottom: 40px;
  z-index: 1;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #350914;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 42px 50px;
  background: #ffffff;
}

.login-panel-inner {
  width: min(100%, 560px);
  margin: 0 auto;
}

.login-title {
  margin: 0 0 4px;
  font-family: "Epilogue", sans-serif;
  font-size: clamp(2.45rem, 2.85vw, 4rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #1b1c1c;
}

.login-subtitle {
  margin: 0 0 38px;
  font-size: 1.15rem;
  color: #6b5455;
}

.login-subtitle-wide {
  max-width: 520px;
}

.login-alert {
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #ffdad6;
  color: #93000a;
  font-weight: 600;
}

.login-alert-success {
  background: #dcf6e4;
  color: #13532a;
}

.login-form-group {
  margin-bottom: 24px;
}

.login-label-row,
.login-label {
  display: block;
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  color: #1b1c1c;
}

.login-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.login-forgot {
  font-size: 0.92rem;
  font-weight: 700;
  color: #cf2744;
  text-decoration: none;
}

.login-forgot:hover {
  color: #b70e35;
}

.login-input-wrap {
  position: relative;
}

.login-input {
  width: 100%;
  height: 72px;
  border: none;
  border-radius: 999px;
  padding: 0 24px 0 66px;
  font-size: 1.1rem;
  color: #4a3234;
  background: #f4efed;
  box-shadow: inset 0 0 0 1px rgba(227, 190, 190, 0.18);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.login-input::placeholder {
  color: #c2afad;
}

.login-input:focus {
  outline: none;
  background: #fff8f8;
  box-shadow: inset 0 0 0 2px rgba(183, 14, 53, 0.26), 0 0 0 8px rgba(219, 48, 75, 0.08);
}

.login-input-icon {
  position: absolute;
  top: 50%;
  left: 26px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  color: #9b7a7b;
  pointer-events: none;
}

.login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 70px;
  margin-top: 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #e52b49 0%, #df2d4b 100%);
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 1.34rem;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(223, 45, 75, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.login-submit:hover {
  filter: brightness(1.02);
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(223, 45, 75, 0.3);
}

.login-submit:active {
  transform: translateY(0);
}

.login-submit-arrow {
  width: 22px;
  height: 22px;
}

.login-input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.login-checkbox {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  column-gap: 14px;
  margin: 8px 0 10px;
  color: #5b4041;
  font-size: 1rem;
  line-height: 1.45;
  cursor: pointer;
}

.login-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.login-checkbox-mark {
  position: relative;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 999px;
  background: #fff8f8;
  box-shadow: inset 0 0 0 1px rgba(227, 190, 190, 0.9);
}

.login-checkbox-mark::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.login-checkbox input:checked + .login-checkbox-mark {
  background: #df2d4b;
  box-shadow: none;
}

.login-checkbox input:checked + .login-checkbox-mark::after {
  transform: rotate(-45deg) scale(1);
}

.login-divider {
  margin: 40px 0 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 190, 190, 0) 0%, rgba(227, 190, 190, 0.45) 20%, rgba(227, 190, 190, 0.45) 80%, rgba(227, 190, 190, 0) 100%);
}

.login-register {
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  color: #6b5455;
}

.login-register a {
  margin-left: 6px;
  font-weight: 800;
  color: #8a39ab;
  text-decoration: none;
}

.login-register a:hover {
  text-decoration: underline;
}

.login-note {
  margin: 42px 0 0;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a8867f;
}

@media (max-width: 1100px) {
  .login-card {
    grid-template-columns: 1fr;
  }

  .login-visual {
    min-height: 290px;
    padding: 48px 34px 64px;
  }

  .login-visual-icon {
    top: 32px;
    right: 28px;
    transform: rotate(12deg) scale(1.2);
  }

  .login-panel {
    padding-top: 48px;
  }
}

@media (max-width: 820px) {
  .login-shell {
    padding: 136px 14px 28px;
  }

  .login-card {
    min-height: auto;
    border-radius: 28px;
  }

  .login-visual,
  .login-panel {
    padding-left: 24px;
    padding-right: 24px;
  }

  .login-visual {
    padding-top: 42px;
  }

  .login-visual-icon {
    top: 26px;
    right: 22px;
    transform: rotate(12deg) scale(0.92);
  }

  .login-visual-icon-symbol {
    font-size: 6.25rem;
  }

  .login-panel {
    padding-top: 36px;
    padding-bottom: 38px;
  }

  .login-input,
  .login-submit {
    height: 62px;
  }

  .login-input-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
