/* ============================================================
   Indicode – Login / Signup Split-Screen Layout
   Figma 디자인 기반 전면 재설계 (2026-04)
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --primary: #F25C05;
  --primary-dark: #D94E00;
  --primary-light: #FF7A2F;
  --primary-bg: rgba(242, 92, 5, 0.08);
  --text-dark: #1A1A2E;
  --text-mid: #4A4A5A;
  --text-soft: #7A7A8C;
  --text-light: #B0B0C0;
  --border: #E8E8EF;
  --input-bg: #F5F5FA;
  --white: #FFFFFF;
  --error: #E53E3E;
  --success: #38A169;
  --left-gradient: linear-gradient(135deg, #FFFFFF 0%, #FFF5F0 100%);
}

/* ── Reset ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Body ─────────────────────────────────────────────────── */
html {
  height: 100%;
}

body.login-body,
body.signup-body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  min-height: 100vh;
  padding-bottom: 0 !important;
  /* common.css의 128px(8rem) 패딩 제거 */
}

body.login-body {
  overflow: hidden;
}

body.signup-body {
  overflow-x: hidden;
  overflow-y: auto;
}

body.login-body,
body.signup-body {
  font-size: 14px;
  line-height: 1.5;
}

/* 타이틀/폼 레이블 폰트 — body.login-body * 보다 specificity 우선 */
body.login-body .auth-title,
body.signup-body .auth-title {
  color: #FF5D1A;
  font-family: 'Freesentation', sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 800;
  line-height: 42px;
}

body.login-body .auth-subtitle,
body.signup-body .auth-subtitle {
  color: #555;
  font-family: 'Freesentation', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 34px;
}

body.login-body .form-label,
body.signup-body .form-label {
  color: #555;
  font-family: 'Freesentation', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 34px;
}

/* ── Split-Screen Layout ──────────────────────────────────── */
.auth-layout {
  display: flex;
  width: 100vw;
  min-height: 100%;
}

/* 로그인 페이지는 화면을 꽉 채움 */
body.login-body .auth-layout {
  min-height: 100vh;
}

/* ── Left Panel ───────────────────────────────────────────── */
.auth-left {
  flex: 0 0 42%;
  min-width: 380px;
  background: var(--left-gradient);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px;
  position: sticky;
  /* 스크롤 시 고정되도록 변경 */
  top: 0;
  height: 100vh;
  overflow: hidden;
  align-self: flex-start;
}

/* 모바일 화면에서 왼쪽 영역 숨김 처리 */
@media (max-width: 991px) {
  .auth-left {
    display: none;
  }
}

@media (max-width: 480px) {
  .auth-right {
    padding: 60px 16px 40px;
  }
}

/* ── Mesh Background (Organic Drifting) ─────────────────────── */
.mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
  background: #F2F4F8;
}

.mesh-bg .blobs {
  position: absolute;
  inset: -20%;
  filter: blur(120px);
  opacity: 1;
}

.mesh-bg .blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: normal;
  will-change: transform;
}

/* Blob 1 — large peach, drifts slowly */
.mesh-bg .b1 {
  width: 720px;
  height: 720px;
  background: #FFD0BC;
  top: -160px;
  left: -180px;
  opacity: 0.95;
  animation: drift1 11s ease-in-out infinite alternate;
}

/* Blob 2 — soft Indicode orange, opposite corner */
.mesh-bg .b2 {
  width: 640px;
  height: 640px;
  background: rgba(255, 92, 40, 0.4);
  /* #FF5C28 mixed */
  bottom: -220px;
  right: -180px;
  opacity: 0.8;
  animation: drift2 13s ease-in-out infinite alternate;
}

/* Blob 3 — cool main-color bloom to re-introduce the base tone */
.mesh-bg .b3 {
  width: 820px;
  height: 820px;
  background: #F2F4F8;
  top: 25%;
  left: 15%;
  opacity: 0.92;
  animation: drift3 15s ease-in-out infinite alternate;
}

/* Blob 4 — accent at top-right for contrast */
.mesh-bg .b4 {
  width: 560px;
  height: 560px;
  background: #FFD0BC;
  top: 40%;
  right: -140px;
  opacity: 0.65;
  animation: drift4 9s ease-in-out infinite alternate;
}

@keyframes drift1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(380px, 420px) scale(1.25);
  }

  100% {
    transform: translate(220px, 760px) scale(0.85);
  }
}

@keyframes drift2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-520px, -340px) scale(1.2);
  }

  100% {
    transform: translate(-260px, -680px) scale(0.8);
  }
}

@keyframes drift3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-280px, 260px) scale(1.2);
  }

  100% {
    transform: translate(400px, -300px) scale(0.88);
  }
}

@keyframes drift4 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-460px, -200px) scale(1.3);
  }

  100% {
    transform: translate(-680px, 380px) scale(0.75);
  }
}

/* subtle film grain for an organic, non-banded feel */
.mesh-bg .grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* 로고 영역 */
.auth-left-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.auth-left-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.auth-left-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* 중앙 헤드라인 */
.auth-left-content {
  position: relative;
  z-index: 1;
}

.auth-left-logo-body {
  height: 52px;
  width: auto;
  margin-bottom: 32px;
  display: block;
}

.auth-left-headline .hl-gray {
  color: #252525;
  font-family: 'Freesentation', sans-serif !important;
  font-size: 40px;
  font-style: normal;
  font-weight: 800;
  line-height: 42px;
}

.auth-left-headline .hl-orange {
  color: #FF5D1A;
  font-family: 'Freesentation', sans-serif !important;
  font-size: 40px;
  font-style: normal;
  font-weight: 800;
  line-height: 42px;
}

.auth-left-headline {
  font-family: 'Freesentation', sans-serif;
  margin-bottom: 24px;
}

.auth-left-sub {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* 연결하다 옆 움직이는 온점 애니메이션 */
.dot-ani {
  display: inline-flex;
  align-items: center;
  gap: -14px;
  /* 줄어든 크기에 맞춰 조정 */
  margin-left: 24px;
  /* 14px + 10px 더 떨어뜨림 */
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.dot-ani span {
  width: 14px;
  /* 18px * 0.8 = 14.4px -> 14px로 조정 */
  height: 14px;
  background-color: #FF5D1A;
  border-radius: 50%;
  display: inline-block;
  mix-blend-mode: multiply;
}

.dot-ani span:first-child {
  margin-right: -14px;
  /* 줄어든 크기만큼 강제 겹침 */
  animation: dot-mitosis-left 1.5s infinite ease-in-out;
}

.dot-ani span:last-child {
  animation: dot-mitosis-right 1.5s infinite ease-in-out;
}

@keyframes dot-mitosis-left {

  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }

  50% {
    transform: translateX(-14px);
  }
}

@keyframes dot-mitosis-right {

  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }

  50% {
    transform: translateX(14px);
  }
}

/* 전문가 혜택 박스 (투명 버전 - 정적 배치) */
.expert-benefits-box {
  background: none;
  backdrop-filter: none;
  border-radius: 0;
  padding: 0;
  margin-top: 80px;
  /* 위 콘텐츠(헤드라인)와 간격 확보 */
  width: 100%;
  max-width: 502px;
  z-index: 2;
  box-shadow: none;
}

.expert-benefits-modern-title {
  font-size: 24px;
  font-weight: 800;
  color: #252525;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.expert-benefits-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.benefit-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.benefit-item p {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  margin: 0;
}

.benefit-item p strong {
  color: var(--primary);
  font-weight: 700;
}



/* ── Right Panel ──────────────────────────────────────────── */
.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
  background: var(--white);
  position: relative;
}

/* 상단 우측 네비 */
.auth-right-nav {
  position: absolute;
  top: 24px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.auth-nav-link {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-nav-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}

/* 폼 박스 */
.auth-form-box {
  width: 100%;
  max-width: 502px;
}

/* ── 타이틀 ───────────────────────────────────────────────── */
.auth-title {
  color: #FF5D1A;
  font-family: 'Freesentation', sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 800;
  line-height: 42px;
  margin-bottom: 6px;
}

.auth-subtitle {
  color: #555;
  font-family: 'Freesentation', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 34px;
  margin-bottom: 28px;
}

/* ── 에러 메시지 ──────────────────────────────────────────── */
.auth-server-error {
  background: rgba(229, 62, 62, 0.08);
  border: 1px solid rgba(229, 62, 62, 0.25);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--error);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── 회원유형 탭 (signup) ──────────────────────────────────── */
.type-tabs {
  display: flex;
  background: var(--input-bg);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 24px;
  gap: 4px;
}

.type-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: 10px;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.25s;
}

.type-tab.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ── Form Fields ──────────────────────────────────────────── */
.form-group {
  margin-bottom: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.form-label {
  display: block;
  color: #555;
  font-family: 'Freesentation', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 34px;
  margin-bottom: 5px;
}

.form-label .required {
  color: var(--primary);
  margin-left: 2px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input {
  display: block;
  width: 100%;
  height: 60px;
  background: var(--input-bg);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 0 44px 0 16px;
  color: var(--text-dark);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.auth-input::placeholder {
  color: var(--text-light);
}

.auth-input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(242, 92, 5, 0.12);
}

.auth-input.is-error {
  border-color: var(--error);
}

/* 비밀번호 아이콘 */
.input-icon {
  position: absolute;
  right: 14px;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
}

.input-icon:hover {
  color: var(--text-mid);
}

.input-icon svg {
  width: 18px;
  height: 18px;
}

/* select */
select.auth-input {
  padding-left: 14px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7A8C' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  appearance: none;
  -webkit-appearance: none;
}

/* textarea */
textarea.auth-input {
  height: auto;
  min-height: 90px;
  padding-top: 12px;
  resize: vertical;
}

/* 파일 업로드 */
.file-upload-box {
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 16px;
  background: var(--input-bg);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.file-upload-box:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-soft);
  font-size: 13px;
  text-align: center;
}

.file-upload-label svg {
  color: var(--primary);
}

.file-upload-label span em {
  color: var(--primary);
  font-style: normal;
  font-weight: 600;
}

input[type="file"].auth-input-file {
  display: none;
}

/* 인라인 에러 */
.field-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── 아이디/비밀번호 찾기 링크 ─────────────────────────────── */
.find-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  margin: 4px 0 18px;
}

.find-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 12.5px;
  padding: 3px 4px;
}

.find-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.find-links .divider {
  color: var(--border);
  font-size: 13px;
}

/* ── CTA 버튼 ─────────────────────────────────────────────── */
.btn-primary {
  display: block;
  width: 100%;
  height: 68px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(242, 92, 5, 0.30);
  letter-spacing: -0.2px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(242, 92, 5, 0.38);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: block;
  width: 100%;
  height: 46px;
  background: transparent;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}

/* ── 구분선 ───────────────────────────────────────────────── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 18px;
  color: var(--text-light);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── 소셜 로그인 ──────────────────────────────────────────── */
.social-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.btn-social {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn-social:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.btn-social-google:hover {
  border-color: #4285F4;
}

.btn-social-kakao {
  background: #FEE500;
  border-color: #FEE500;
  color: #191919;
}

.btn-social-kakao:hover {
  background: #F5DA00;
  border-color: #F5DA00;
}

.btn-social-naver {
  background: #03C75A;
  border-color: #03C75A;
  color: #fff;
}

.btn-social-naver:hover {
  background: #02B34F;
  border-color: #02B34F;
}

.social-icon {
  display: flex;
  align-items: center;
}

.social-icon svg,
.social-icon img {
  width: 20px;
  height: 20px;
}

/* ── 하단 링크 ────────────────────────────────────────────── */
.auth-bottom-link {
  text-align: center;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-soft);
}

.auth-bottom-link a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.auth-bottom-link a:hover {
  text-decoration: underline;
}

/* ── 약관 동의 ────────────────────────────────────────────── */
.agree-section {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.agree-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.agree-sub-items {
  padding-left: 34px; /* 메인 체크박스 크기 + 간격만큼 들여쓰기 */
  margin-top: 4px;
}

.agree-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid #d1d1d1;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  margin: 0;
}

.agree-checkbox:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.agree-checkbox:checked::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

/* 메인 체크박스 (전체동의) — 주황색 테두리 강조 */
.agree-checkbox.larger {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid #FF5D1A;
  border-radius: 6px;
}

.agree-label {
  flex: 1;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  line-height: 1.2;
}

.agree-item.all .agree-label {
  font-size: 18px;
  font-weight: 800;
  color: #252525;
}

.agree-required {
  color: #FF5D1A;
  font-weight: 600;
  margin-left: 4px;
}

.agree-optional {
  color: #999;
  font-weight: 500;
  margin-left: 4px;
}

.agree-view-arrow {
  color: #ccc;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.agree-view-arrow:hover {
  color: var(--primary);
}

.agree-view {
  color: var(--text-light);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  flex-shrink: 0;
}

.agree-view:hover {
  color: var(--primary);
}

.agree-desc {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 3px;
  margin-left: 28px;
}

/* ── 전문가 추가 필드 ─────────────────────────────────────── */
.expert-extra {
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s;
  max-height: 0;
  opacity: 0;
}

.expert-extra.open {
  max-height: 600px;
  opacity: 1;
}

/* ── Loader / Spinner ─────────────────────────────────────── */
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── 반응형 ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .auth-left {
    flex: 0 0 36%;
    min-width: 300px;
    padding: 36px 36px 40px;
  }

  .auth-left-headline {
    font-size: 26px;
  }

  .auth-right {
    padding: 40px 24px;
  }
}

@media (max-width: 768px) {

  body.login-body,
  body.signup-body {
    overflow: auto;
  }

  .auth-layout {
    flex-direction: column;
    min-height: 100vh;
  }

  .auth-left {
    flex: 0 0 auto;
    min-width: unset;
    padding: 36px 24px 40px;
  }

  .auth-left::before,
  .auth-left::after {
    display: none;
  }

  .auth-left-headline {
    font-size: 22px;
  }

  .auth-right {
    padding: 100px 20px 48px;
    align-items: flex-start;
  }

  .auth-right-nav {
    top: 16px;
    right: 16px;
  }

  .auth-nav-link {
    padding: 6px 12px;
    font-size: 14px;
  }

  .auth-form-box {
    max-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .auth-left {
    padding: 24px 20px 28px;
  }

  .auth-left-headline {
    font-size: 20px;
  }

  .auth-right {
    padding: 100px 16px 40px;
  }

  .auth-title {
    font-size: 28px !important;
    line-height: 34px;
  }

  .auth-subtitle {
    font-size: 16px;
    line-height: 28px;
  }

  .form-label {
    font-size: 14px;
    line-height: 32px;
  }
}

/* ============================================================
   My Page CSS (기존 유지)
   ============================================================ */
.my-page-body .wrapper {
  width: 100vw;
  height: 100vh;
  padding-top: 0;
}

.my-page-body .left-side {
  width: clamp(250px, 15vw, 320px);
  height: calc(100% - 65px);
  position: absolute;
  padding-top: 50px;
}

.my-page-body .center-content {
  width: 100%;
  height: 100%;
  padding-left: clamp(250px, 15vw, 320px);
}

.my-page-body input {
  border-radius: 15px;
  padding-left: 10px;
  outline: none;
}

.left-side>a,
.left-side>div:not(.info-border) {
  width: 100%;
  height: 60px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
}

.left-side a>svg,
.left-side div>svg {
  margin-left: 10px;
}

.left-side a span,
.left-side div span {
  padding-left: 15px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.left-side>a:hover,
.left-side>div:not(.info-border):hover {
  background: #f6f7f9;
}

.left-side>a.on,
.left-side>div.on {
  background: #eef2f7;
}

.left-side .on {
  border-radius: 0px 30px 30px 0px;
  background: #E4EAFC;
}

.left-side .info-border {
  height: 0;
  padding: 10px 16px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  display: flex;
}

.left-side .info-border>div {
  align-self: stretch;
  height: 0;
  border: 1px #CAC4D0 solid;
}

.center-content>div {
  width: 100%;
  height: 100%;
  display: grid;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

.user-info-content>div {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: max(65vw, 900px);
  height: max(65vh, 600px);
}

.user-info-content form {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: 1px solid #CAC4D0;
  border-radius: 10px;
}

.user-info-content form>div {
  flex: 1;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  width: 100%;
}

.user-info-content form>div>*:nth-child(1) {
  flex: 2;
  display: flex;
  justify-content: start;
  padding-left: 5%;
  font-size: 18px;
}

.user-info-content form>div>*:nth-child(2) {
  flex: 6;
  border: none;
  font-size: 1.3rem;
  font-weight: 700;
  background: #FFF;
  padding-left: 10px;
}

.user-info-content form>div>*:nth-child(2):before {
  font-family: "Font Awesome 6 Brands";
}

.user-info-content form>div>*:nth-child(3) {
  flex: 1;
  display: flex;
  justify-content: center;
}

.user-info-content form .c-google {
  color: #5b90f0;
}

.user-info-content form .c-naver {
  color: #03C75A;
}

.user-info-content form .c-kakao {
  color: #FEE500;
}

.user-info-content svg {
  cursor: pointer;
}

.user-info-content .edit-btn {
  width: 70px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--color-new-orange);
  color: #FFF;
  border: none;
}

.user-info-content .edit-btn span {
  font-size: 15px;
  line-height: 1px;
}

.user-info-content .error-message {
  position: absolute;
  margin: 4% 0 0 17%;
}

.search-log-content {
  padding-top: 100px;
  align-items: start !important;
}

.search-log-content>div {
  width: 70vw;
}

.search-log-content div.selectBtn {
  height: 40px;
  width: 65px;
  margin-left: 5px;
  cursor: pointer;
  font-size: 15px;
}

.search-log-content div.selectBtn * {
  font-weight: 700;
}

.search-log-content div.btnSelected {
  color: #FFF;
}

.user-delete-content>div {
  align-self: flex-start;
  width: max(30vw, 500px);
  height: max(30vh, 300px);
  margin-top: 16vh;
}

.user-delete-content .user-delete-title {
  font-weight: 700;
  border-bottom: 1px solid #CAC4D0;
  padding-bottom: 2%;
  margin-bottom: 5%;
}

.user-delete-content .user-delete-explain {
  font-size: 18px;
}

.user-delete-content .user-delete-input-div {
  margin-top: 2%;
}

.user-delete-content .user-delete-input-div input {
  font-size: 18px;
  width: 50%;
  line-height: 1;
  border: 1px solid #afb1b2;
  height: 34px;
}

.user-delete-content .user-delete-input-div .password-check-cancel {
  background-color: #929292;
}

.user-delete-content .user-delete-input-div button {
  width: 70px;
  height: 40px;
  border-radius: 10px;
  margin: 2% 1% 1% 1%;
  float: right;
  border: none;
  background-color: var(--color-new-orange);
  color: #FFF;
}

.password-edit-check .user-delete-input-div {
  margin: 0 0 0 2%;
}

.password-edit-check .user-delete-input-div input {
  width: 300px;
}

.password-edit-check .user-delete-explain.d-flex {
  padding: 2% 0 2% 0;
}

.password-edit-check .user-delete-explain label {
  padding-top: 6px;
  width: 170px;
}

@media (max-width: 767px) {
  .my-page-body .wrapper {
    height: auto;
    padding-bottom: 20px;
  }

  .my-page-body .center-content {
    margin: 5vh auto 90px auto;
    width: 90%;
    padding-left: 0;
  }

  .my-page-body .center-content>div {
    height: auto;
    display: inherit;
  }

  .user-info-content form {
    height: 450px;
    border: none;
  }

  .user-delete-content .user-delete-input-div button,
  .user-info-content .edit-btn {
    width: 60px;
    height: 35px;
  }

  .user-info-content form * {
    font-size: inherit;
  }

  .my-page-body .left-side {
    width: 100%;
    height: auto;
    position: relative;
    padding-top: 25px;
  }

  .user-info-content svg {
    width: 25px !important;
  }

  .user-info-content>div {
    width: 100%;
    height: 100%;
  }

  .user-info-content form>div>*:nth-child(2) {
    width: 100%;
  }

  .user-info-content .error-message {
    margin: 17% 0 0 0;
    width: 100%;
  }

  .user-info-content form>div>*:nth-child(1),
  .user-info-content form>div>*:nth-child(2) {
    font-size: 15px;
  }

  .user-info-content .edit-btn span {
    font-size: inherit;
  }

  .search-log-content {
    padding-top: 0;
  }

  .search-log-content table tbody td:nth-child(2) {
    white-space: nowrap;
  }

  .search-log-content>div {
    width: 90vw;
  }

  .search-log-table tr *:nth-child(2),
  .search-log-table tr *:nth-child(3),
  .search-log-table tr *:nth-child(4),
  .search-log-table tr *:nth-child(6) {
    display: none;
  }

  #ctrlLine {
    margin-top: 1rem;
  }

  #ctrlLine .col-12.col-lg-10.d-flex.justify-content-between {
    flex-direction: column;
  }

  #ctrlLine .box-subtitle {
    margin-bottom: 10px;
  }

  #searchHistory .page-nation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .page-nation .page-info {
    position: relative;
    margin-top: 10px;
    width: auto;
  }

  #ctrlLine .search-box-div {
    flex-direction: column;
  }

  #ctrlLine .search-box-div>div {
    align-self: end;
  }

  #ctrlLine .search-box-div>div.d-flex {
    padding: 0 0 5px 0 !important;
  }

  div.user-delete-content {
    height: auto;
  }

  .user-delete-content>div {
    width: 95%;
    height: auto;
    margin-top: 0;
    padding-left: 5%;
  }

  .user-delete-content .user-delete-input-div input {
    width: 100%;
    font-size: 16px;
  }

  .user-delete-content .user-delete-input-div button {
    margin: 7% 1% 1% 1%;
  }

  .password-edit-check>div {
    flex-direction: column;
  }
}