.auth-root {
  --primary: 254 66% 52%;
  --ring: 254 66% 52%;
  --radius: 0.65rem;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  width: 100%;
  color: #262332;
  background: #f7f6fa;
  font-family:
    var(--font-geist-sans), var(--font-renewal-korean), var(--font-pretendard),
    sans-serif;
}
.auth-root *,
.auth-root *::before,
.auth-root *::after {
  box-sizing: border-box;
}
.auth-root :focus-visible {
  outline: 2px solid #5c35d6;
  outline-offset: 3px;
}
.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: none;
  width: 100%;
  max-width: 1280px;
  min-height: 88px;
  margin: 0 auto;
  padding: 20px 40px;
}
.auth-brand {
  display: inline-flex;
  flex: none;
  border-radius: 6px;
}
.auth-brand img {
  display: block;
  width: 112px;
  height: auto;
}
.auth-header > button {
  min-height: 40px;
  border-radius: 8px;
  background: #fff;
  border-color: #e7e4ed;
}
.auth-main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1 0 auto;
  width: 100%;
  padding: 28px 24px 56px;
}
.auth-panel {
  width: 100%;
  max-width: 448px;
  min-width: 0;
  padding: 36px;
  border: 1px solid #e7e4ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 32px #26233204;
}
.auth-intro {
  margin-bottom: 28px;
}
.auth-intro h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.auth-description {
  margin-top: 12px;
  color: #777382;
  font-size: 14px;
  line-height: 1.7;
}
.auth-panel a {
  color: #5c35d6;
  font-weight: 500;
  text-underline-offset: 3px;
}
.auth-panel a:hover {
  text-decoration: underline;
}
.auth-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #e2dfe9;
  border-radius: 9px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.auth-social:hover {
  background: #faf9fc;
  border-color: #bcb5cc;
}
.auth-social svg {
  flex: none;
  width: 20px;
  height: 20px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: #96919f;
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #eeecf2;
}
.auth-form,
.auth-fields {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.auth-fields {
  gap: 18px;
}
.auth-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.auth-label,
.auth-field > label {
  color: #45404f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.auth-input,
.auth-field input:not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 12px 14px;
  border: 1px solid #dedbe6;
  border-radius: 9px;
  background: #fff;
  color: #262332;
  font-size: 16px;
  box-shadow: none;
}
.auth-field input::-moz-placeholder {
  color: #b0aab9;
}
.auth-field input::placeholder {
  color: #b0aab9;
}
.auth-field input[aria-invalid="true"] {
  border-color: #cf344e;
}
.auth-password {
  position: relative;
  min-width: 0;
}
.auth-password input {
  padding-right: 48px !important;
}
.auth-password-toggle {
  position: absolute;
  right: 2px;
  top: 2px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  color: #88818f;
}
.auth-password-toggle:hover {
  color: #5c35d6;
  background: #f7f6fa;
}
.auth-password-toggle svg {
  width: 18px;
  height: 18px;
}
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 12px;
  line-height: 1.6;
}
.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}
.auth-remember label {
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
}
.auth-remember button {
  flex: none;
  width: 16px;
  height: 16px;
  border: 1px solid #c9c3d3;
  border-radius: 4px;
  box-shadow: none;
}
.auth-captcha {
  width: 100%;
  min-height: 65px;
}
.auth-submit {
  width: 100%;
  min-height: 48px;
  border-radius: 9px;
  background: #5c35d6;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.auth-submit:hover {
  background: #4d2bb8;
}
.auth-submit:disabled {
  opacity: 0.5;
}
.auth-error {
  margin: 0;
  color: #bd2944;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.auth-footer {
  flex: none;
  width: 100%;
  margin: 0 auto;
  padding: 22px 24px max(24px, env(safe-area-inset-bottom));
  border-top: 1px solid #eae7ef;
  color: #8b8496;
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
  overflow-wrap: anywhere;
}
.auth-footer p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 12px;
  margin: 0;
}
.auth-footer strong {
  color: #6e6779;
  font-weight: 500;
}
.auth-footer a:hover {
  color: #5c35d6;
}
.auth-legal {
  flex: 1 0 auto;
  width: 100%;
}
@media (max-width: 600px) {
  .auth-root {
    background: #fff;
  }
  .auth-header {
    min-height: 76px;
    padding: 18px 20px;
    border-bottom: 1px solid #f1eff5;
  }
  .auth-brand img {
    width: 104px;
  }
  .auth-main {
    padding: 32px 20px 40px;
  }
  .auth-panel {
    max-width: 400px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .auth-intro {
    margin-bottom: 28px;
  }
  .auth-intro h1 {
    font-size: 28px;
  }
  .auth-footer {
    padding-right: 20px;
    padding-left: 20px;
    background: #faf9fc;
  }
}
@media (max-width: 359px) {
  .auth-header {
    padding-right: 10px;
    padding-left: 10px;
  }
  .auth-main {
    padding: 24px 10px 36px;
  }
  .auth-intro h1 {
    font-size: 26px;
  }
}

