/* Account pages share the site's ivory, lavender and Pretendard palette. */
.auth-body { min-height: 100svh; display: flex; flex-direction: column; }
.auth-shell { width: min(1176px, calc(100% - 80px)); margin-inline: auto; }
.auth-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.auth-wordmark-dot { color: #9c80b4; }
.auth-header-links { display: flex; align-items: center; gap: 29px; color: #72657f; font-size: 13px; }
.auth-home-link { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.auth-home-link > span { font-size: 19px; font-weight: 300; }
.auth-language-link { display: flex; align-items: center; gap: 7px; min-height: 44px; }
.auth-language-link svg { width: 16px; height: 16px; stroke-width: 1.5; }
.auth-header-links a:hover { color: #483159; }
.auth-main { flex: 1; display: flex; align-items: center; padding-block: 14px 22px; }
.auth-layout { width: 100%; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); overflow: hidden; background: #fff; border: 1px solid #e8e2ed; border-radius: 26px; box-shadow: 0 12px 50px #56456405; }
.auth-story { position: relative; min-height: 636px; isolation: isolate; overflow: hidden; background: #e8e1ed; }
.auth-story::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #e5dfed30 0%, #e3ddeb00 38%, #e8e1ed1f 53%, #e8e1edea 77%, #e8e1ed 100%); }
.auth-story-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.auth-story-kicker { position: absolute; left: 38px; top: 36px; color: #50435f; font-size: 10px; font-weight: 500; letter-spacing: .19em; }
.auth-story-copy { position: absolute; left: 40px; right: 30px; bottom: 38px; }
.auth-story-sparkle { display: block; margin-bottom: 17px; color: #88709e; }
.auth-story-sparkle svg { width: 29px; height: 33px; stroke-width: 1; }
.auth-story h2 { max-width: 360px; font-size: clamp(28px, 2.8vw, 38px); font-weight: 450; line-height: 1.42; letter-spacing: -.055em; }
.auth-story h2 span { display: block; }
html[lang='en'] .auth-story h2 { max-width: 340px; font-family: Georgia, 'Times New Roman', serif; font-size: 45px; font-weight: 400; line-height: 1.13; letter-spacing: -.045em; }
.auth-story-copy > p { margin-top: 14px; color: #66596f; font-size: 14px; line-height: 1.7; }
.auth-story-caption { display: block; margin-top: 32px; color: #7a6c86; font-size: 9px; font-weight: 450; letter-spacing: .17em; }
.auth-form-panel { padding: 65px 56px; display: flex; align-items: center; min-width: 0; }
.auth-form-inner { width: 100%; max-width: 410px; margin-inline: auto; }
.auth-heading { margin-bottom: 33px; }
.auth-eyebrow { margin-bottom: 12px; color: #8e76a5; font-size: 10px; font-weight: 650; letter-spacing: .19em; }
.auth-heading h1 { font-size: 31px; font-weight: 550; line-height: 1.35; letter-spacing: -.045em; }
.auth-description { margin-top: 12px; color: #837789; font-size: 14px; line-height: 1.65; }
.auth-form { display: grid; gap: 20px; scroll-margin-top: 25px; }
.auth-label { display: block; margin-bottom: 8px; color: #514758; font-size: 13px; font-weight: 550; line-height: 1.4; }
.auth-field { min-width: 0; }
.auth-field input { display: block; width: 100%; height: 51px; padding: 0 15px; color: #34283f; background: #fff; border: 1px solid #e2dce8; border-radius: 9px; font-size: 14px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.auth-field input::placeholder { color: #a297ac; font-weight: 400; opacity: 1; }
.auth-field input:hover { border-color: #bdb0c9; }
.auth-field input:focus { border-color: #9276ae; box-shadow: 0 0 0 3px #a48cbd16; outline: none; }
.auth-field input[aria-invalid='true'] { border-color: #bc7182; background: #fffdfd; }
.auth-field input[aria-invalid='true']:focus { box-shadow: 0 0 0 3px #bc718219; }
.auth-email-parts { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1.15fr); align-items: center; gap: 8px; }
.auth-email-parts input { min-width: 0; padding-inline: 12px; }
.auth-email-at { color: #9987a7; font-size: 15px; text-align: center; }
.auth-email-parts input[readonly] { color: #6f587f; background: #f8f5fa; }
.auth-domain-select { position: relative; margin-top: 9px; }
.auth-domain-select select { display: block; width: 100%; min-height: 46px; appearance: none; padding: 10px 38px 10px 14px; border: 1px solid #e2dce8; border-radius: 9px; color: #756280; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.auth-domain-select select:hover { border-color: #bdb0c9; }
.auth-domain-select select:focus-visible { outline: 2px solid #9276ae; outline-offset: 2px; }
.auth-domain-select select[aria-invalid='true'] { border-color: #bc7182; }
.auth-domain-select > svg { position: absolute; right: 14px; top: 16px; width: 14px; height: 14px; color: #9a85a8; pointer-events: none; }
.auth-password-wrap { position: relative; }
.auth-password-wrap input { padding-right: 50px; }
.auth-password-toggle { position: absolute; right: 5px; top: 4px; width: 43px; height: 43px; display: flex; align-items: center; justify-content: center; color: #9b8ba9; background: transparent; border-radius: 5px; }
.auth-password-toggle:hover { color: #665277; background: #f7f4fa; }
.auth-password-toggle svg { width: 19px; height: 19px; stroke-width: 1.5; }
.auth-password-toggle:focus-visible { outline-offset: 0; outline-width: 2px; }
.auth-eye-slash { display: none; position: absolute; width: 21px; height: 1.5px; transform: rotate(-45deg); background: currentColor; box-shadow: 0 -2px 0 #fff; }
.auth-password-toggle[aria-pressed='true'] .auth-eye-slash { display: block; }
.auth-field-hint { margin-top: 7px; color: #8e8097; font-size: 12px; line-height: 1.45; }
.auth-field-error { margin-top: 7px; color: #a33f56; font-size: 12px; line-height: 1.5; }
.auth-optional { margin-left: 5px; color: #95879f; font-size: 11px; font-weight: 400; }
.auth-submit { display: flex; width: 100%; min-height: 53px; margin-top: 7px; align-items: center; justify-content: center; gap: 12px; padding: 13px 18px; border: 1px solid #746091; border-radius: 9px; background: #746091; color: #fff; font-size: 15px; font-weight: 550; transition: background .15s, border-color .15s; }
.auth-submit svg { width: 17px; height: 17px; stroke-width: 1.5; }
.auth-submit:hover { border-color: #614d7d; background: #614d7d; }
.auth-kakao { margin-top: 13px; }
.auth-kakao-button { position: relative; display: flex; width: 100%; min-height: 53px; align-items: center; justify-content: center; gap: 9px; padding: 13px 36px; border: 1px solid #fee500; border-radius: 9px; color: #191919; background: #fee500; font-size: 15px; font-weight: 550; line-height: 1.5; }
.auth-kakao-button:disabled { color: #191919; background: #fee500; opacity: 1; cursor: not-allowed; }
.auth-kakao-symbol { position: absolute; left: 18px; top: 50%; width: 22px; height: 21px; transform: translateY(-50%); background: url('../../images/kakao-login-ko.png') no-repeat -13px -12px / 300px 45px; }
.auth-kakao > p { margin-top: 9px; color: #86728f; font-size: 11px; line-height: 1.6; text-align: center; }
.auth-form-inner:has(input[name='user_type'][value='business']:checked) .auth-kakao { display: none; }
.auth-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 9px; margin-top: 29px; color: #8b7c96; font-size: 13px; text-align: center; }
.auth-switch a { color: #746091; font-weight: 650; text-underline-offset: 4px; }
.auth-switch a:hover { text-decoration: underline; }
.auth-error-summary { margin-bottom: 23px; padding: 14px 17px; border: 1px solid #edd3d9; border-radius: 9px; background: #fff8f9; color: #92374c; font-size: 13px; line-height: 1.6; }
.auth-error-summary:focus { outline: 2px solid #bc7182; outline-offset: 3px; }
.auth-error-summary ul { margin: 6px 0 0; padding-left: 18px; }
.auth-error-summary a { text-decoration: underline; text-underline-offset: 3px; }
.auth-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 17px 29px; color: #9a8ba5; font-size: 11px; }
.auth-footer p:first-child { font-size: 9px; letter-spacing: .11em; }
.auth-account-types { margin-bottom: 2px; }
.auth-type-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.auth-type-option { position: relative; min-width: 0; cursor: pointer; }
.auth-type-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.auth-type-card { display: block; height: 100%; padding: 13px 14px 12px; border: 1px solid #e2dce8; border-radius: 9px; background: #fff; transition: background .15s, border-color .15s; }
.auth-type-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; color: #63566e; }
.auth-type-top strong { font-size: 13px; font-weight: 550; }
.auth-radio-dot { flex-shrink: 0; width: 15px; height: 15px; border: 1px solid #d5cbdc; border-radius: 50%; background: #fff; }
.auth-type-hint { display: block; margin-top: 4px; font-size: 11px; color: #8b7b97; line-height: 1.5; }
.auth-type-option input:checked + .auth-type-card { border-color: #ab92c1; background: #f6f1fa; }
.auth-type-option input:checked + .auth-type-card .auth-type-top { color: #715688; }
.auth-type-option input:checked + .auth-type-card .auth-radio-dot { border: 4px solid #8b70a6; }
.auth-type-option input:focus-visible + .auth-type-card { outline: 3px solid #8b71b1; outline-offset: 3px; }
.auth-business-fields { display: grid; gap: 17px; margin-top: 3px; padding-top: 16px; border-top: 1px solid #ebe5ef; }
.auth-business-fields legend { float: left; width: 100%; margin-bottom: 3px; color: #5f4e6d; font-size: 13px; font-weight: 600; }
.auth-business-note { clear: both; margin-top: -11px; color: #94849f; font-size: 11px; }
.auth-body--signup .auth-form-panel { padding-block: 43px; }
.auth-body--signup .auth-heading { margin-bottom: 25px; }
.auth-body--signup .auth-form { gap: 17px; }
.auth-body--signup .auth-story-image { max-height: 870px; }
.auth-body--signup .auth-story::after { height: min(100%, 870px); }
.auth-body--signup .auth-story-copy { bottom: 44px; }
.auth-body--signup .auth-submit { margin-top: 5px; }
.auth-body--signup .auth-switch { margin-top: 24px; }
.auth-body [hidden] { display: none !important; }
@media (max-width: 1100px) {
  .auth-shell { width: calc(100% - 56px); }
  .auth-form-panel { padding-inline: 38px; }
  .auth-story-copy { left: 30px; right: 24px; }
  .auth-story-kicker { left: 30px; }
  .auth-heading h1 { font-size: 28px; }
  .auth-story h2 { font-size: 31px; }
  html[lang='en'] .auth-story h2 { font-size: 40px; }
}
@media (max-width: 800px) {
  .auth-shell { width: min(580px, calc(100% - 40px)); }
  .auth-header { min-height: 85px; }
  .auth-header-links { gap: 16px; }
  .auth-home-link { display: none; }
  .auth-main { align-items: flex-start; padding-block: 6px 16px; }
  .auth-layout { display: block; border-radius: 20px; }
  .auth-story { min-height: 170px; }
  .auth-story-image { width: 70%; left: auto; right: 0; object-position: 68% 40%; }
  .auth-story::after { background: linear-gradient(90deg, #e7e0ed 17%, #e7e0ede0 37%, #e7e0ed20 73%, #e7e0ed00 100%); }
  .auth-story-kicker { top: 24px; left: 27px; font-size: 8px; letter-spacing: .15em; }
  .auth-story-copy, .auth-body--signup .auth-story-copy { left: 26px; right: auto; top: 62px; bottom: auto; max-width: 57%; }
  .auth-story-sparkle, .auth-story-caption, .auth-story-copy > p { display: none; }
  .auth-story h2 { max-width: 205px; font-size: 25px; line-height: 1.35; }
  html[lang='en'] .auth-story h2 { max-width: 200px; font-size: 31px; }
  .auth-form-panel { padding: 36px 37px 38px; }
  .auth-body--signup .auth-form-panel { padding-block: 33px 36px; }
  .auth-heading { margin-bottom: 27px; }
  .auth-heading h1 { font-size: 28px; }
  .auth-description { font-size: 13px; margin-top: 10px; }
  .auth-field input { font-size: 16px; }
  .auth-field input::placeholder { font-size: 14px; }
  .auth-domain-select select { font-size: 16px; }
  .auth-footer { padding-block: 12px 25px; font-size: 10px; }
}
@media (max-width: 430px) {
  .auth-shell { width: calc(100% - 32px); }
  .auth-header { min-height: 78px; }
  .auth-header .wordmark-text { font-size: 28px; }
  .auth-header .wordmark svg { width: 19px; }
  .auth-language-link { font-size: 12px; }
  .auth-language-link svg { width: 14px; }
  .auth-layout { border-radius: 18px; }
  .auth-story { min-height: 144px; }
  .auth-story-kicker { left: 23px; top: 21px; font-size: 7px; }
  .auth-story-copy, .auth-body--signup .auth-story-copy { left: 23px; top: 51px; max-width: 54%; }
  .auth-story h2 { font-size: 23px; }
  html[lang='en'] .auth-story h2 { font-size: 27px; }
  .auth-form-panel { padding: 31px 24px 32px; }
  .auth-body--signup .auth-form-panel { padding: 30px 24px 32px; }
  .auth-heading h1 { font-size: 25px; }
  .auth-eyebrow { font-size: 9px; margin-bottom: 10px; }
  .auth-description { font-size: 12px; }
  .auth-type-card { padding: 12px 11px; }
  .auth-type-hint { font-size: 10px; }
  .auth-switch { font-size: 12px; }
  .auth-email-parts { gap: 6px; grid-template-columns: minmax(0, 1fr) 15px minmax(0, 1.1fr); }
  .auth-email-parts input { padding-inline: 10px; }
  .auth-email-parts input::placeholder { font-size: 12px; }
  .auth-kakao-button { font-size: 14px; }
  .auth-kakao-symbol { left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-body { scroll-behavior: auto; }
  .auth-body *, .auth-body *::before, .auth-body *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 360px) {
  .auth-form-panel, .auth-body--signup .auth-form-panel { padding-inline: 20px; }
  .auth-heading h1 { font-size: 23px; }
  .auth-story h2 { font-size: 21px; }
  html[lang='en'] .auth-story h2 { font-size: 25px; }
  .auth-type-card { padding-inline: 9px; }
}
