@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap");
/* ============================================================
   이곳(egot) 로그인 스킨
   Split layout: 좌측 이미지 + 우측 폼
   ============================================================ */
@font-face {
  font-family: "NIXGONM-Vb";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/NIXGONM-Vb.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* 리셋 & 기본 */
.egot-login-wrap * {
  box-sizing: border-box;
}
.egot-login-wrap {
  display: flex;
  min-height: 100vh;
  width: 100%;
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
/* ── 좌측: 배경 이미지 패널 ── */
.egot-login-visual {
  flex: 1 1 75%;
  position: relative;
  background: url("../../../../modules/member/skins/egot/img/login-bg.png") center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 60px;
}
.egot-login-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}
.egot-login-visual .visual-text {
  position: absolute;
  top: 30%;
  left: 60px;
  z-index: 1;
  color: #fff;
  font-size: clamp(48px, 5vmin, 430%);
  font-family: "NIXGONM-Vb", "Noto Sans KR", sans-serif;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
/* ── 우측: 로그인 폼 패널 ── */
.egot-login-panel {
  flex: 0 0 25%;
  width: 25%;
  max-width: 25%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 48px 40px;
  background: #fff;
  overflow-y: auto;
}
/* 로고 */
.egot-login-logo {
  position: absolute;
  top: 48px;
  left: 40px;
  margin: 0;
  text-align: left;
}
.egot-login-logo .logo-mark {
  display: inline-block;
  text-decoration: none;
}
.egot-login-logo .logo-mark svg {
  width: 120px;
  height: auto;
}
/* 타이틀 */
.egot-login-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  width: 100%;
  max-width: 320px;
  margin: auto auto 32px;
  line-height: 1.3;
  text-align: left;
}
/* ── 소셜 로그인 ── */
.egot-social-login {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.egot-social-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}
.egot-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.egot-social-btn svg {
  width: 100%;
  height: 100%;
}
.egot-social-btn.kakao {
  background: #FFE269;
}
.egot-social-btn.naver {
  background: #37E17B;
}
.egot-social-btn.google {
  background: #EAEDF2;
}
.egot-social-btn.apple {
  background: #EAEDF2;
}
/* 구분선 */
.egot-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  color: #aaa;
  font-size: 13px;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.egot-divider::before, .egot-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}
/* ── 폼 필드 ── */
.egot-field {
  margin-bottom: 20px;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.egot-field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #888;
  margin-bottom: 6px;
}
.egot-field-input-wrap {
  position: relative;
}
.egot-field input[type="text"], .egot-field input[type="email"], .egot-field input[type="password"] {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  background: #F4F4F4;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.egot-field input:focus {
  border-color: #1BD2EE;
  background: #fff;
}
.egot-field input::placeholder {
  color: #bbb;
}
/* 비밀번호 토글 */
.egot-pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #aaa;
  display: flex;
  align-items: center;
}
.egot-pw-toggle:hover {
  color: #666;
}
.egot-pw-toggle svg {
  width: 20px;
  height: 20px;
}
/* 체크박스 */
.egot-keep-login {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 56px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
}
.egot-keep-login input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #F4F4F4;
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
  flex-shrink: 0;
}
.egot-keep-login input[type="checkbox"]:checked {
  background: #1BD2EE;
  border-color: #1BD2EE;
}
.egot-keep-login input[type="checkbox"]:checked + span, .egot-keep-login:has(input[type="checkbox"]:checked) {
  color: #1BD2EE;
}
.egot-keep-login input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #ccc;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.egot-keep-login input[type="checkbox"]:checked::after {
  border-color: #fff;
}
/* 캡챠 */
.egot-captcha {
  margin-bottom: 20px;
}
/* 로그인 버튼 */
.egot-submit-btn {
  width: 100%;
  max-width: 320px;
  height: 52px;
  border: 1px solid #1BD2EE;
  border-radius: 8px;
  background: #1BD2EE;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(27, 210, 238, 0.18);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  margin: 0 auto 24px;
  display: block;
}
.egot-submit-btn:hover {
  background: #12BBD6;
  border-color: #12BBD6;
  box-shadow: 0 14px 28px rgba(27, 210, 238, 0.24);
  transform: translateY(-1px);
}
/* 하단 링크 */
.egot-login-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #999;
  margin-bottom: auto;
}
.egot-login-footer a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}
.egot-login-footer a:hover {
  color: #333;
}
.egot-login-footer .sep {
  color: #ddd;
}
/* 유효성 메시지 */
.egot-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.egot-message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.egot-message.info {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
/* ── 반응형: 모바일 ── */
@media (max-width: 960px) {
  .egot-login-wrap {
    flex-direction: column;
  }
  .egot-login-visual {
    display: none;
  }
  .egot-login-panel {
    flex: 1;
    width: 100%;
    max-width: 100%;
    padding: 32px 24px;
  }
  .egot-login-logo {
    top: 32px;
    left: 24px;
  }
}
@media (max-width: 480px) {
  .egot-login-panel {
    padding: 24px 20px;
  }
  .egot-login-logo {
    top: 24px;
    left: 20px;
  }
  .egot-login-title {
    font-size: 20px;
    margin-bottom: 24px;
  }
  .egot-social-btn {
    width: 48px;
    height: 48px;
  }
}
/* ── 온보딩 게이트웨이와 동일한 로그인 화면 ── */
.egot-login-wrap {
  --bg: #0e1a24;
  --card: #16232e;
  --card2: #1d2e3c;
  --accent: #93c2dd;
  --accent2: #63c6ce;
  --mint: #63c6ce;
  --text: #e6eef4;
  --sub: #9db2c0;
  --line: #2a3e4e;
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--bg);
  color: var(--text);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
html[data-theme="light"] .egot-login-wrap {
  --bg: #eaf1f5;
  --card: #ffffff;
  --card2: #c9e0ec;
  --accent: #2e86c1;
  --accent2: #1665b0;
  --mint: #63c6ce;
  --text: #2c3238;
  --sub: #6c7076;
  --line: #c9e0ec;
}
.egot-login-visual, .egot-login-logo, .egot-login-title, .egot-divider {
  display: none;
}
.egot-login-panel {
  width: min(100%, 480px);
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 52px) 26px;
  overflow: visible;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.egot-login-gateway-emoji {
  font-size: clamp(48px, 9vh, 68px);
  line-height: 1;
  text-align: center;
  filter: drop-shadow(0 8px 18px rgba(46, 134, 193, 0.12));
}
.egot-login-gateway-title {
  width: 100%;
  margin: 0 0 4px;
  color: var(--text);
  font-size: clamp(30px, 5vh, 40px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.2px;
  text-align: center;
  word-break: keep-all;
}
.egot-login-gateway-title span {
  color: var(--accent);
}
.egot-social-login {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.egot-social-btn {
  width: 100%;
  height: auto;
  min-height: 51px;
  padding: 15px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15171b;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.egot-social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 39, 56, 0.08);
}
.egot-social-btn:focus-visible, .egot-login-legacy summary:focus-visible, .egot-legacy-naver:focus-visible, .egot-submit-btn:focus-visible {
  outline: 3px solid rgba(46, 134, 193, 0.3);
  outline-offset: 2px;
}
.egot-social-btn svg {
  display: none;
}
.egot-social-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.egot-social-btn span b {
  color: #4285f4;
  font-size: 17px;
  font-weight: 800;
}
.egot-social-btn.kakao {
  background: #fee500;
  color: #191600;
}
.egot-social-btn.facebook {
  background: #1877f2;
  color: #ffffff;
}
.egot-social-btn.naver {
  background: #03c75a;
  color: #ffffff;
}
.egot-social-btn.google, .egot-social-btn.apple {
  background: #ffffff;
  border-color: var(--line);
  color: #15171b;
}
.egot-login-terms {
  width: 100%;
  display: grid;
  gap: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.egot-login-terms.is-error {
  border-color: #d45858;
  box-shadow: 0 0 0 2px rgba(212, 88, 88, 0.12);
}
.egot-login-terms label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--sub);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}
.egot-login-terms label + label {
  border-top: 1px solid var(--line);
}
.egot-login-terms__all {
  color: var(--text) !important;
  font-size: 13px !important;
}
.egot-login-terms input {
  flex: none;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.egot-login-terms a {
  color: inherit;
  text-underline-offset: 2px;
}
.egot-login-terms-error {
  display: block;
  width: 100%;
  min-height: 18px;
  margin: -10px 0 0;
  color: #d45858;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}
.egot-login-legacy {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  overflow: hidden;
}
.egot-login-legacy summary {
  position: relative;
  padding: 14px 44px 14px 16px;
  color: var(--sub);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.egot-login-legacy summary::-webkit-details-marker {
  display: none;
}
.egot-login-legacy summary::after {
  content: "⌄";
  position: absolute;
  top: 50%;
  right: 17px;
  color: var(--sub);
  font-size: 18px;
  line-height: 1;
  transform: translateY(-58%);
  transition: transform 0.18s ease;
}
.egot-login-legacy[open] summary {
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.egot-login-legacy[open] summary::after {
  transform: translateY(-38%) rotate(180deg);
}
.egot-login-legacy-body {
  padding: 18px;
}
.egot-legacy-naver {
  width: 100%;
  min-height: 46px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #03c75a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.egot-login-legacy form {
  width: 100%;
  margin: 0;
}
.egot-login-legacy .egot-field, .egot-login-legacy .egot-keep-login, .egot-login-legacy .egot-submit-btn {
  width: 100%;
  max-width: none;
}
.egot-login-legacy .egot-field {
  margin-bottom: 16px;
}
.egot-login-legacy .egot-field-label {
  color: var(--sub);
}
.egot-login-legacy .egot-field input[type="text"], .egot-login-legacy .egot-field input[type="email"], .egot-login-legacy .egot-field input[type="password"] {
  border-color: var(--line);
  background: var(--bg);
  color: var(--text);
}
.egot-login-legacy .egot-field input:focus {
  border-color: var(--accent);
  background: var(--card);
}
.egot-login-legacy .egot-field input::placeholder {
  color: var(--sub);
  opacity: 0.72;
}
.egot-login-legacy .egot-pw-toggle.is-active {
  color: var(--accent);
}
.egot-login-legacy .egot-keep-login {
  margin: 0 0 18px;
  color: var(--sub);
}
.egot-login-legacy .egot-keep-login input[type="checkbox"] {
  border-color: var(--line);
  background: var(--bg);
}
.egot-login-legacy .egot-keep-login input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}
.egot-login-legacy .egot-submit-btn {
  height: 50px;
  margin: 0 0 18px;
  border-color: var(--accent);
  border-radius: 10px;
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(46, 134, 193, 0.18);
}
.egot-login-legacy .egot-submit-btn:hover {
  border-color: #2676aa;
  background: #2676aa;
  box-shadow: 0 12px 24px rgba(46, 134, 193, 0.24);
}
.egot-login-legacy .egot-login-footer {
  margin: 0;
  color: var(--sub);
}
.egot-login-legacy .egot-login-footer a {
  color: var(--sub);
}
.egot-login-legacy .egot-login-footer a:hover {
  color: var(--accent);
}
.egot-login-legacy .egot-login-footer .sep {
  color: var(--line);
}
.egot-login-legacy .egot-message {
  margin: 0 0 18px;
}
.egot-login-doctor-link {
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.egot-login-doctor-link b {
  color: var(--accent);
}
.egot-login-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.egot-login-sheet-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.egot-login-sheet {
  display: flex;
  flex-direction: column;
  width: min(100%, 520px);
  max-height: min(82vh, 720px);
  max-height: min(82dvh, 720px);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 -18px 46px rgba(0, 0, 0, 0.24);
  transform: translateY(100%);
  transition: transform 0.24s ease;
}
.egot-login-sheet-overlay.is-open .egot-login-sheet {
  transform: translateY(0);
}
.egot-login-sheet__handle {
  flex: none;
  width: 38px;
  height: 5px;
  margin: 12px auto 4px;
  border-radius: 999px;
  background: var(--line);
}
.egot-login-sheet > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 18px 12px;
  border-bottom: 1px solid var(--line);
}
.egot-login-sheet > header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.egot-login-sheet > header button {
  border: 0;
  background: none;
  color: var(--sub);
  font: inherit;
  font-size: 18px;
  cursor: pointer;
}
.egot-login-sheet__body {
  overflow-y: auto;
  padding: 16px 18px max(28px, env(safe-area-inset-bottom));
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.7;
}
.egot-login-sheet__terms {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.egot-login-sheet__terms label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  cursor: pointer;
}
.egot-login-sheet__terms label + label {
  border-top: 1px solid var(--line);
}
.egot-login-sheet__terms label.is-all {
  color: var(--text);
}
.egot-login-sheet__terms input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.egot-login-sheet__view, .egot-login-sheet__back {
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.egot-login-sheet__view {
  padding: 0;
}
.egot-login-sheet__start {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.egot-login-sheet__start:disabled {
  background: var(--line);
  color: var(--sub);
  cursor: not-allowed;
}
.egot-login-sheet__back {
  display: block;
  margin: 0 0 12px;
  padding: 0;
}
.egot-login-sheet__legal {
  color: var(--sub);
}
body.egot-login-sheet-open {
  overflow: hidden;
}
@media (max-width: 480px) {
  .egot-login-panel {
    width: 100%;
    max-width: 480px;
    padding: 24px 26px;
  }
}
@media (max-height: 700px) {
  .egot-login-panel {
    justify-content: flex-start;
  }
}
/*# sourceMappingURL=8f6e54270c11d1a4f0df66b485728fa66e80293c.login.scss.map */
