/* ============================================================
 * 인천 버팀이음 프로젝트 — site.css
 * Relate Design System 기반 · Pretendard 한국어 최적화
 * ============================================================ */

/* ===== 사이트 토큰 오버라이드 (Calendly Theme) ===== */
:root {
  --kr-tracking:      -0.01em;
  --header-h:         80px;
  --container-max:    1320px;
  --container-px:     40px;

  /* Calendly Colors (텍스트 컬러 무채색으로 조정) */
  --color-midnight-indigo: #1a1a1a;
  --color-action-blue: #006BFF;
  --color-lavender-glow: #e55cff;
  --color-royal-amethyst: #8247f5;
  --color-sunset-gold: #ffa600;
  --color-skybound-blue: #0099ff;
  --color-ocean-glimmer: #BB32D5;
  --color-glacier-blue: #004EBA;
  --color-snow-white: #ffffff;
  --color-cloud-mist: #F8F9FB;
  --color-pale-gray: #E7EDF6;
  --color-slate-blue: #555555;
  --color-steel-gray: #8c8c8c;
  --color-platinum-tint: #D4E0ED;
  --color-outline-gray: #E6E6E6;
  --color-text-black: #0A0A0A;
  --color-midnight-ink: #292929; /* 디자인 가이드에서 규정한 진한 블랙 */


  /* 폰트 전체 강제 (Relate 내부 Inter 폰트를 모두 Pretendard로 덮어쓰기) */
  --font-inter:       var(--font-pretendard);
  --font-sans:        var(--font-pretendard);

  /* 기존 컬러 매핑 덮어쓰기 */
  --fg-1: var(--color-midnight-indigo);
  --fg-2: var(--color-text-black);
  --fg-3: var(--color-slate-blue);
  --fg-4: var(--color-slate-blue);
  --bg-canvas: var(--color-snow-white);
  --bg-card: var(--color-snow-white);
  --border-soft: var(--color-platinum-tint);
  --border-default: var(--color-outline-gray);

  /* 컴포넌트 스타일 덮어쓰기 */
  --radius-pill: 8px; /* 로그인 등 액션 버튼에 사용 (Calendly 버튼 둥글기) */
  --radius-badges: 50px;
  --radius-cards: 16px;

  /* 히어로 배경 */
  --hero-bg: transparent;

  /* 쉐도우 (Calendly Elevation) */
  --shadow-card: rgba(71, 103, 136, 0.04) 0px 4px 5px 0px, rgba(71, 103, 136, 0.03) 0px 8px 15px 0px, rgba(71, 103, 136, 0.08) 0px 30px 50px 0px;
  --shadow-btn: rgba(71, 103, 136, 0.04) 0px 4px 5px 0px, rgba(71, 103, 136, 0.03) 0px 8px 15px 0px, rgba(71, 103, 136, 0.06) 0px 15px 30px 0px;
  --shadow-hover: rgba(71, 103, 136, 0.04) 0px 4px 5px 0px, rgba(71, 103, 136, 0.03) 0px 4px 10px 0px, rgba(71, 103, 136, 0.05) 0px 10px 20px 0px;
}

/* ===== 글로벌 리셋 ===== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body, button, input, select, textarea {
  font-family: var(--font-pretendard);
}

html, body {
  overflow-x: hidden; /* 배경 도형으로 인한 가로 스크롤 방지 */
  letter-spacing: var(--kr-tracking);
  color: var(--fg-2);
  background: var(--bg-canvas);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  padding-top: var(--header-h); /* fixed 헤더에 콘텐츠가 가려지지 않도록 보정 */
}

/* ===== 한국어 타입 스케일 ===== */
.kr-display {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  color: var(--fg-1);
}

.kr-display-sub {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  letter-spacing: -0.005em;
  color: var(--fg-4);
}

.kr-h2 {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--fg-2);
}

.kr-h3 {
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--fg-1);
}

.kr-body {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  color: var(--color-text-black);
}

.kr-label {
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  color: var(--color-slate-blue);
}

.kr-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--color-signal-blue);
  text-transform: uppercase;
}

/* ===== 컨테이너 ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.header-container {
  width: 100%;
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
  margin: 0 auto;
}

/* ===== 헤더 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;             /* width가 좁아질 때 자동으로 가운데 정렬 */
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0;
  box-shadow: none;
  width: 100%;                /* 기본: 풀너비 → 하단 라인이 화면 끝까지 이어짐 */
  max-width: none;
  transition:
    width         0.55s cubic-bezier(0.16, 1, 0.3, 1), /* 스프링감 있는 자연스러운 이징 */
    top           0.55s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow    0.55s cubic-bezier(0.16, 1, 0.3, 1),
    border-color  0.55s cubic-bezier(0.16, 1, 0.3, 1),
    background    0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  top: 16px;
  width: calc(100% - 80px);  /* 좌우 40px씩 여백 */
  max-width: 1320px;          /* 캔버스 사이즈(1320px) 그대로 */
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.site-header.is-scrolled .header-container {
  padding-left: clamp(20px, 3vw, 40px);
  padding-right: clamp(20px, 3vw, 40px);
}

.site-header .row {
  display: flex;
  align-items: stretch;   /* nav가 헤더 전체 높이(80px)를 채울 수 있도록 */
  height: var(--header-h);
  gap: 0;
}

/* 왼쪽: 브랜드 텍스트 */
.brand {
  display: inline-flex;
  align-items: center;
  align-self: center;   /* row가 stretch여도 브랜드는 세로 가운데 */
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 160ms;
}

.brand-logo {
  height: 27px; /* 추가 10% 축소 적용 */
  width: auto;
  object-fit: contain;
}

.brand:hover { opacity: 0.8; text-decoration: none; }

/* 중앙: 네비게이션 */
nav.site-nav {
  flex: 1;
  display: flex;
  align-items: stretch;   /* 헤더 높이 전체를 전달 */
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: stretch;   /* li 높이도 stretch */
  gap: 2px;
  list-style: none;
}

.nav-list li {
  display: flex;
  align-items: stretch;   /* a 태그까지 stretch 전달 */
}

.nav-list a {
  position: relative; /* 가상 요소(밑줄)의 기준점 */
  display: inline-flex;
  align-items: center;
  align-self: stretch;        /* 헤더 높이 전체를 채움 */
  padding: 0 16px;            /* 세로 padding 제거 → 헤더 높이에 맞춤 */
  border-radius: var(--radius-pill);
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--color-midnight-indigo);
  text-decoration: none;
  transition: color 160ms;
  white-space: nowrap;
}

/* 호버 시 펼쳐지는 하단 라인 */
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;                  /* 헤더 하단 border에 딱 붙음 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;                /* 2px → 3px */
  background-color: var(--color-action-blue);
  transition: width 0.3s cubic-bezier(0.2, 0, 0.1, 1);
  border-radius: 2px 2px 0 0; /* 위쪽만 둥글게 */
}


.nav-list a.active::after,
.nav-list a:hover::after {
  width: calc(100% - 32px); /* 텍스트 너비만큼만 펼쳐지도록 (padding 16px * 2 제외) */
}

.nav-list a.active,
.nav-list a:hover {
  /* 배경 제거, 컬러만 변경(반전) */
  color: var(--color-action-blue);
  text-decoration: none;
}

/* 오른쪽: 헤더 액션 */
.header-actions {
  display: flex;
  align-items: center;
  align-self: center;   /* row가 stretch여도 버튼은 세로 가운데 */
  flex-shrink: 0;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: #0066FF; /* 브랜드 메인 파란색 */
  color: #ffffff;
  font-family: var(--font-pretendard);
  font-weight: 700; /* Bold 서체 */
  font-size: 16px;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.15); /* 비례 축소된 그림자 */
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.login-btn:hover {
  background: #0052cc; /* 호버 시 아주 살짝 더 짙은 파란색 */
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

/* 모바일 토글 */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--color-midnight-indigo);
  transition: opacity 160ms;
  margin-left: auto;
  align-self: center;
}

.mobile-toggle:hover { opacity: 0.7; }

/* ===== 타이핑 커서 애니메이션 ===== */
.typing-cursor {
  font-weight: 300;
  opacity: 0.8;
  color: var(--color-action-blue); /* 커서는 포인트 컬러로 */
  animation: cursor-blink 0.8s step-end infinite;
  margin-left: 2px;
}
@keyframes cursor-blink {
  50% { opacity: 0; }
}

/* ===== 히어로 섹션 ===== */
.hero {
  position: relative;
  padding: clamp(60px, 10.5vh, 120px) 0 clamp(80px, 10vh, 120px);
  isolation: isolate;
}

/* 히어로 하단 구분선 — 컨텐츠 너비 기준 3px 흐린 라인 */
.hero::after {
  content: "";
  display: none; /* 메인페이지 카드 위 이상한 라인 제거 */
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 80px), var(--container-max)); /* 컨텐츠 너비(최대 1320px) 기준 */
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-platinum-tint) 15%,
    var(--color-platinum-tint) 85%,
    transparent
  );
  border-radius: 2px;
  pointer-events: none;
}

/* ===== 히어로 배경 도형 ===== */
.hero-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  /* overflow: hidden; (도형이 잘리지 않도록 제거) */
}

.hero-blob {
  position: absolute;
  border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
  animation: hero-blob-float 20s infinite linear;
  opacity: 1;
}

.hero-blob-1 {
  width: 800px;
  height: 800px;
  background: var(--color-lavender-glow); /* 보라색 계열 */
  top: -250px;
  left: -400px;
  animation: hero-blob-float-squiggly 25s infinite linear;
}

.hero-blob-2 {
  width: 700px;
  height: 700px;
  background: var(--color-skybound-blue); /* 파란색 계열 */
  bottom: -200px;
  right: -270px;
  animation: hero-blob-float-triangle 32s infinite linear reverse;
}

@keyframes hero-blob-float-squiggly {
  /* 왼쪽 보라색 도형 */
  0%   { transform: rotate(0deg)   scale(1);    border-radius: 25% 75% 65% 35% / 30% 25% 75% 70%; }
  25%  { transform: rotate(90deg)  scale(1.15) translate(50px, -30px); border-radius: 65% 35% 25% 75% / 60% 35% 65% 40%; }
  50%  { transform: rotate(180deg) scale(0.85) translate(30px,  50px); border-radius: 35% 65% 75% 25% / 75% 60% 30% 25%; }
  75%  { transform: rotate(270deg) scale(1.10) translate(-50px, -25px); border-radius: 75% 25% 35% 65% / 25% 70% 30% 70%; }
  100% { transform: rotate(360deg) scale(1);    border-radius: 25% 75% 65% 35% / 30% 25% 75% 70%; }
}

@keyframes hero-blob-float-triangle {
  /* 오른쪽 파란색 도형 */
  0%   { transform: rotate(0deg)   scale(1);    border-radius: 70% 30% 25% 75% / 65% 35% 75% 25%; }
  33%  { transform: rotate(120deg) scale(1.15) translate(110px, -80px); border-radius: 30% 70% 65% 35% / 70% 25% 35% 75%; }
  66%  { transform: rotate(240deg) scale(0.85) translate(-110px, 80px); border-radius: 55% 45% 30% 70% / 25% 75% 65% 35%; }
  100% { transform: rotate(360deg) scale(1);    border-radius: 70% 30% 25% 75% / 65% 35% 75% 25%; }
}

/* 배경 블룸 */
.hero::before {
  content: "";
  position: absolute;
  inset: -140px 0 0 0;
  z-index: -1;
  background: var(--hero-bg);
  pointer-events: none;
}



.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

/* 상단 뱃지 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: var(--radius-badges);
  background: var(--color-pale-gray);
  border: none;
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 16px; /* 14.5px → 16px 디자인 가이드 준수 */
  letter-spacing: -0.005em;
  color: var(--color-glacier-blue);
}

.hero-badge-dot {
  width: 20px;
  height: 20px;
  border-radius: 50px;
  background: var(--color-action-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pretendard);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* 슬로건 */
.hero-slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-slogan-line1 {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-midnight-indigo);
}

.hero-slogan-line2 {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-action-blue);
  white-space: nowrap;
}

/* 서브 카피 */
.hero-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-sub-text {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--color-slate-blue);
}

.hero-sub-br {
  display: none;
}

/* 히어로 통계 */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--color-pale-gray); /* 배경 컬러(연한 블루/그레이) 다시 깔기 */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none; /* 라인은 지우기 */
  border-radius: 50px;
  padding: 0 6px;
  box-shadow: none; /* 그림자 제거 */
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-midnight-indigo); /* 텍스트를 블랙톤으로 */
  letter-spacing: -0.005em;
}

.hero-stat-num {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--color-action-blue); /* 날짜만 포인트 컬러로 */
}

.hero-stat-divider {
  width: 1px;
  height: 20px;
  background: #ffffff; /* 구분선 흰색 */
  opacity: 0.8;
  flex-shrink: 0;
}

/* ===== 사업안내 섹션 ===== */
.programs {
  padding: 0 0 clamp(80px, 10vh, 120px); /* 카드를 위로 조금 더 올리기 위해 상단 패딩 제거 */
  /* background: var(--bg-canvas); (도형이 뒤로 보이게 투명 처리) */
}

.programs-header {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* ===== 프로그램 카드 (Calendly 스타일 적용) ===== */
.program-card {
  position: relative;
  background: var(--color-snow-white);
  border: 1px solid var(--theme-color); /* 박스 라인을 도형 컬러(테마 컬러)로 설정 */
  border-radius: var(--radius-cards);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: none; /* 기본 그림자 제거 */
}

.program-card:hover {
  box-shadow: var(--shadow-hover); /* 호버 시에만 그림자 표시 */
}

/* 테마 변수 설정 (Calendly 레퍼런스 이미지의 실제 Accent Colors와 동일하게 맞춤) */
.theme-blue { --theme-color: var(--color-action-blue); } /* #006BFF (VONAGE 카드 색상) */
.theme-green { --theme-color: var(--color-sunset-gold); } /* #FFA600 (TEXAS 카드 색상) */
.theme-purple { --theme-color: var(--color-royal-amethyst); } /* #8247F5 (smith.ai 카드 색상) */

.program-card-content {
  padding: 60px 32px 0 32px; /* 상단에서 조금 더 떨어뜨리기 위해 패딩 상향 */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.program-card-title {
  font-family: var(--font-pretendard);
  font-weight: 800;
  font-size: 32px; /* 원래의 32px 크기로 복원 */
  color: var(--theme-color); /* 포인트 컬러(테마 색상) 적극 활용 */
  letter-spacing: -0.03em; /* 기본 자간 복원 */
  margin-bottom: 24px;
  line-height: 1.35;
  transition: color 0.3s;
  word-break: keep-all;
}

/* 두 번째 줄(아랫줄) 블랙톤 적용 */
.program-card-title .title-dark {
  color: var(--color-midnight-indigo);
  transition: color 0.3s;
}

/* 철강업 연관 화물운송종사자 한줄 강제 및 자간 조정 */
.program-title-nowrap {
  display: inline-block;
  white-space: nowrap;
  letter-spacing: -0.06em;
}

.program-card-desc {
  font-family: var(--font-pretendard);
  font-size: 17px; /* 16px에서 17px(pt)로 상향 */
  color: var(--color-slate-blue);
  line-height: 1.6;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.program-card-footer {
  position: relative;
  padding: 0 32px 36px 32px;
  color: #ffffff;
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.card-blob-bg {
  position: absolute;
  bottom: -110px; /* 조금 더 아래쪽으로 배치 */
  left: -40px;
  width: 280px;
  height: 240px;
  background: var(--theme-color);
  transition: transform 0.5s cubic-bezier(0.2, 0, 0.1, 1), border-radius 0.5s;
  z-index: 0;
}

/* 각 카드별로 상이한 유기적 도형(Blob) 형태 지정 */
.theme-blue .card-blob-bg {
  border-radius: 15% 85% 70% 30% / 40% 35% 65% 60%; /* 개성있게 변형 */
}
.theme-green .card-blob-bg {
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
}
.theme-purple .card-blob-bg {
  border-radius: 35% 65% 55% 45% / 40% 55% 45% 60%;
}

.program-card:hover .card-blob-bg {
  transform: scale(5);
  border-radius: 50%; /* 꽉 찰 때 둥글게 퍼지도록 */
}

.program-card:hover .program-card-title,
.program-card:hover .program-card-title .title-dark,
.program-card:hover .program-card-desc {
  color: var(--color-snow-white);
}

.program-card-footer svg {
  transition: transform 0.2s;
}

.program-card:hover .program-card-footer svg {
  transform: translateX(4px);
}


/* ── 카드 + 신청버튼 묶음 래퍼 ── */
.program-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px; /* 카드와 신청버튼 사이 20px 간격 */
}

/* ── 지원사업 신청하기 버튼 바 ── */
.program-apply-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
  width: 100%;
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--theme-color);
  border-radius: var(--radius-cards);
  cursor: pointer;
  font-family: var(--font-pretendard);
  text-align: left;
  box-sizing: border-box;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.program-apply-bar:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
}

/* 텍스트: 기본 다크, 호버 시 흰색 */
.program-apply-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-midnight-indigo, #0F172A);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.25s ease;
}

/* '지원사업' 단어만 포인트컬러 */
.program-apply-accent {
  color: var(--theme-color);
  transition: color 0.25s ease;
}

.program-apply-bar:hover .program-apply-text,
.program-apply-bar:hover .program-apply-accent {
  color: #ffffff;
}

/* 원형 화살표 아이콘: 포인트컬러 채움 + 흰 화살표 — 크기 35px */
.program-apply-arrow-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

/* 호버 시: 원은 흰색, 화살표는 포인트컬러 */
.program-apply-bar:hover .program-apply-arrow-circle {
  background: #ffffff;
  color: var(--theme-color);
  transform: translateX(3px);
}

/* ===== 파트너 기관 로고 섹션 (홈페이지 하단) ===== */
.partner-logos-section {
  padding: 40px 0;
  background: transparent;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.partner-logos-inner {
  display: flex;
  justify-content: center;
}

.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  justify-items: center;
  width: 100%;
}

.partner-logos-grid .footer-partner-logo {
  height: 30px; /* 기본 크기 (경총, 인적자원개발위 5% 증가 반영: 28px -> 30px) */
  width: auto;
  max-width: 100%; /* 셀 가로폭 초과 방지 */
  object-fit: contain;
}

/* 고용노동부 (추가 5% 증가: 38px) */
.partner-logos-grid a:nth-child(1) .footer-partner-logo {
  height: 38px;
}

/* 인천광역시 (기존 36px 유지) */
.partner-logos-grid a:nth-child(2) .footer-partner-logo {
  height: 36px;
}

/* 동구청 (기존 34px 대비 12% 증가: 38px) */
.partner-logos-grid a:nth-child(3) .footer-partner-logo {
  height: 38px;
}

/* 인천상공회의소 (5% 감소: 27px) */
.partner-logos-grid a:nth-child(5) .footer-partner-logo {
  height: 27px;
}

/* ===== 푸터 ===== */


.site-footer {
  background: #F8F9FB; /* Cloud Mist */
}

/* ── 상단 (기존 다크 바에서 라이트 테마로 변경) ── */
.footer-top-bar {
  background: transparent;
}

.footer-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
  gap: 16px;
  position: relative;
}

.footer-top-inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--container-px);
  right: var(--container-px);
  height: 1px;
  background: var(--border-soft);
}

.footer-policy-links {
  display: flex;
  align-items: center;
  gap: 0;           /* gap 제거, divider 여백으로 간격 조절 */
  flex-wrap: wrap;
}

.footer-policy-links a {
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-midnight-indigo);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  padding: 0 4px;
}

.footer-policy-links a:hover {
  color: var(--color-action-blue);
}

.footer-top-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--border-default);
  margin: 0 12px;
}

/* 유관 기관 드롭다운 */
.footer-related-wrap {
  position: relative;
  flex-shrink: 0;
}

.footer-site-btn {
  width: 200px;
  justify-content: space-between; /* 텍스트와 화살표 양끝 정렬 */
}

.footer-related-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-related-icon.is-open {
  transform: rotate(180deg);
}

@keyframes dropdownFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-related-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: 200px; /* 버튼과 동일한 너비 */
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 8px 6px;
  list-style: none;
  z-index: 200;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  animation: dropdownFadeUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.footer-related-dropdown li a {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-pretendard);
  font-size: 16px; /* 14px → 16px 디자인 가이드 준수 */
  font-weight: 500;
  color: var(--color-midnight-indigo);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.footer-related-dropdown li a:hover {
  background: #F8F9FB; /* Cloud Mist */
  color: var(--color-action-blue);
}

/* ── 메인 푸터 영역 ── */
.footer-main {
  padding: 50px 0 68px; /* 상단 여백 10px 축소 */
  background: transparent;
}

.footer-main-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

/* 왼쪽~가운데: 연락처 정보 */
.footer-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}

.footer-contact-label {
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 600;
  color: #000000;
  letter-spacing: -0.01em;
}

.footer-contact-grid {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  flex: 1;
  background: #ffffff;
  border-radius: 10px;
  padding: 24px 28px;
  box-sizing: border-box;
}

.contact-target {
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-signal-blue);
  letter-spacing: -0.01em;
  margin-bottom: 8px; /* 기존 간격보다 2px 높임 */
}

.contact-org {
  font-family: var(--font-pretendard);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-steel, #6b7280);
  margin-bottom: 3px; /* 기존 간격보다 3px 줄임 (행간 좁힘) */
}

.contact-phone {
  font-family: var(--font-pretendard);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-midnight-indigo);
  letter-spacing: -0.02em;
}

.footer-contact-sep {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: var(--border-default);
  margin: 0 4px;
}

.footer-address {
  font-family: var(--font-pretendard);
  font-size: 15px;
  font-weight: 300;
  color: var(--color-slate-blue);
  line-height: 1.6;
  margin-bottom: 11px;
}

.footer-copyright {
  font-family: var(--font-pretendard);
  font-size: 15px;
  font-weight: 300;
  color: var(--color-steel-gray);
}

/* 관리자 페이지 숨김 링크 (© 기호) */
.footer-admin-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.footer-admin-link:hover {
  text-decoration: none;
}

/* 오른쪽: 파트너 기관 로고 */
.footer-org-logos-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.footer-org-logos {
  display: flex;
  align-items: center;
  gap: 30px; /* 기존 20px에서 50% 증가 */
  flex-shrink: 0;
}

.footer-partner-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: opacity 0.2s, filter 0.2s;
}

/* 두 번째 줄 로고 크기가 비대해 보이지 않도록 높이를 작게 조절 */
.footer-org-logos-wrap .footer-org-logos:nth-child(2) .footer-partner-logo {
  height: 28px;
}

.footer-partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===== 로그인 모달 (TODO: 현재 JSX에서 미사용 — 향후 모달 컴포넌트 추가 시 재활성) ===== */

/* ===== 모바일 드로어 ===== */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  animation: fadeIn 180ms ease-out;
  overflow-y: auto;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-midnight-indigo);
  text-decoration: none;
  border-bottom: 1px solid var(--border-soft);
  transition: background 160ms;
}

.mobile-drawer-link:hover {
  background: var(--bg-tinted);
  text-decoration: none;
}

.mobile-drawer-bottom {
  background: #F8F9FB;
  padding: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--color-midnight-indigo);
  border: 1px solid var(--border-soft);
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 160ms;
}

.mobile-drawer-btn-secondary:hover {
  background: var(--bg-tinted);
}

.mobile-drawer-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 6px;
  background: #0066FF; /* 브랜드 메인 파란색 */
  color: #fff;
  border: none;
  font-family: var(--font-pretendard);
  font-weight: 700; /* Bold 서체 */
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.15); /* 비례 축소된 그림자 */
  transition: background 0.2s, box-shadow 0.2s;
}

.mobile-drawer-btn-primary:hover {
  background: #0052cc; /* 호버 시 아주 살짝 더 짙은 파란색 */
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

/* ===== 반응형 ===== */
@media (max-width: 1080px) {
  :root {
    --container-px: 28px;
    --header-h: 60px;  /* 모바일 헤더 높이로 전환 */
  }
}

@media (max-width: 1080px) {
  /* PC 네비 숨김 → 햄버거 메뉴로 전환 */
  nav.site-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .site-header .row { gap: 16px; }

  /* 서브페이지 헤더/본문 패딩 조정 */
  .subpage-header {
    padding-top: 72px;
  }
  .subpage-header-inner {
    padding-bottom: 40px;
  }
  .subpage-body {
    padding-top: 40px;
    padding-bottom: 60px; /* 모바일 푸터 여백 축소 */
  }
  .subpage-divider {
    margin-top: 40px;
  }
  .subpage-title {
    font-size: 36px;
    margin-bottom: 14px;
  }
  .subpage-eyebrow {
    margin-bottom: 12px;
  }
}


@media (max-width: 900px) {
  .programs-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer-main-inner { flex-direction: column; align-items: flex-start; gap: 40px; }
}

@media (max-width: 768px) {
  :root {
    --container-px: 20px;
    --header-h: 60px;
  }

  .brand-logo { height: 20px; }
  
  .site-header.is-scrolled {
    width: calc(100% - 40px);
  }
  .site-header.is-scrolled .header-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero { padding-top: 64px; padding-bottom: 60px; }
  .hero-inner { gap: 24px; }
  .hero-stats { flex-wrap: wrap; border-radius: 16px; }
  .hero-stat-item { padding: 10px 20px; flex-direction: column; gap: 4px; }
  .hero-stat-divider { display: none; }
  
  .hero-blob-1 { width: 400px; height: 400px; top: -120px; left: -255px; }
  .hero-blob-2 { width: 380px; height: 380px; bottom: -120px; right: -175px; }
  .hero-sub-text { font-size: 16px; line-height: 1.5; }
  .hero-sub-br { display: inline; }
  .hero-slogan { gap: 4px; }
  .hero-slogan-line1 { font-size: 30px; line-height: 1.25; }
  .hero-slogan-line2 { font-size: 30px; white-space: normal; line-height: 1.25; }

  .programs-grid { max-width: 100%; }
  .program-card { min-height: 340px; aspect-ratio: auto; }
  .program-card-content { padding: 32px 24px 0 24px; }
  .program-card-title { font-size: 31px; letter-spacing: -0.04em; word-break: keep-all; margin-bottom: 16px; }
  .program-title-nowrap { font-size: 31px; letter-spacing: -0.08em; white-space: nowrap; }
  .program-card-footer { padding: 0 24px 28px 24px; }
  .program-apply-bar { padding: 12px 24px; width: 100% !important; margin: 0 !important; }
  .program-cta-wrap { padding: 0 24px 24px; }
  
  .card-blob-bg { width: 240px; height: 200px; bottom: -80px; left: -40px; }

  .footer-top-inner { flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .footer-policy-links { flex-wrap: wrap; gap: 12px 16px; }
  .footer-policy-links a { font-size: 15px; } /* 17px → 15px 모바일 최적화 */
  .footer-top-divider { display: none; }
  .footer-related-wrap { width: 100%; } /* 관련사이트 감싸는 영역 전체 너비 */
  .footer-site-btn { width: 100%; } /* 세로 쌓임 구조에서 전체 너비 활용 */
  .footer-related-dropdown { width: 100%; } /* 드롭다운 메뉴도 버튼과 일치하게 전체 너비 */

  .footer-main { padding: 30px 0 48px; } /* 상단 여백 10px 축소 */
  .footer-contact-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; width: 100%; }
  .footer-contact-label { font-size: 15px; }
  .footer-contact-grid { flex-direction: column; gap: 12px; width: 100%; padding: 0; }
  .footer-contact-item { gap: 0; padding: 18px 20px; }
  .footer-contact-item:not(:last-child)::after { display: none; }
  .contact-target { font-size: 16px; margin-bottom: 6px; }
  .contact-org { font-size: 14px; margin-bottom: 2px; }
  .contact-phone { font-size: 18px; }
  .footer-address { font-size: 14px; margin-bottom: 8px; line-height: 1.65; } /* 행간 추가 */
  .footer-copyright { font-size: 14px; }
  .partner-logos-section { padding: 32px 10px; box-sizing: border-box; } /* 상하 대칭 여백 32px 적용 */
  .partner-logos-grid { grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
  .partner-logos-grid .footer-partner-logo { height: 20px; } /* 기본 크기 (23px -> 20px 모바일 최적화) */
  .partner-logos-grid a:nth-child(1) .footer-partner-logo { height: 24px; } /* 고용노동부: 24px */
  .partner-logos-grid a:nth-child(2) .footer-partner-logo { height: 24px; } /* 인천광역시: 24px */
  .partner-logos-grid a:nth-child(3) .footer-partner-logo { height: 26px; } /* 동구청: 26px */
  .partner-logos-grid a:nth-child(5) .footer-partner-logo { height: 18px; } /* 상공회의소: 18px */


  .modal { padding: 32px 24px 28px; }
}

@media (max-width: 480px) {
  .brand { font-size: 15px; }
}

/* ===== 스크롤바 (Webkit) ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--color-hairline);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--fg-6); }

/* ===== 선택 영역 ===== */
::selection {
  background: rgba(20, 90, 255, 0.15);
  color: var(--fg-1);
}

/* ===== 탑버튼 ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 300;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #0066FF; /* 브랜드 메인 파란색 */
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 5px 20px rgba(0, 102, 255, 0.25); /* 비례 조정된 그림자 */

  /* 기본: 숨김 상태 */
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity    0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform  0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s,
    box-shadow 0.2s;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: #0052cc; /* 호버 시 아주 살짝 더 짙은 파란색 */
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
}

.scroll-top-btn:active {
  background: #000000; /* 클릭 시 더 진한 색으로 피드백 */
}

.scroll-top-label {
  font-family: var(--font-pretendard);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  margin-top: 0;
}

/* ===== 서브페이지 공통 헤더 ===== */
.subpage-header {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-snow-white);
  padding-top: 96px;
  padding-bottom: 0;
}

/* 배경 도형 컨테이너 */
.subpage-header-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 두 도형 공통 — 겹치는 곳은 두 색이 multiply로 혼합 */
.subpage-header-bg .shape {
  position: absolute;
  mix-blend-mode: multiply;
}

/* 도형 1 — 울툴불툴한 비규칙 원 (핑크-보라) */
.subpage-header-bg .shape-1 {
  width: 1200px;
  height: 1200px;
  background: var(--color-lavender-glow);
  top: -960px;
  right: -480px;
  border-radius: 38% 62% 71% 29% / 58% 37% 63% 42%;
  animation: subpage-wobble-1 22s ease-in-out infinite alternate; /* 더 느리고 스무스하게 */
}

/* 도형 2 — 불규칙한 유기적 원형태 (파랑) */
.subpage-header-bg .shape-2 {
  width: 1100px;
  height: 1100px;
  background: var(--color-skybound-blue);
  top: -950px; /* 훨씬 위로 올려서 보이는 양을 절반으로 줄임 */
  right: 100px;
  border-radius: 65% 35% 25% 75% / 55% 20% 80% 45%;
  animation: subpage-wobble-2 24s ease-in-out infinite alternate; /* 보라색(14s)보다 훨씬 느리게 */
}

/* 울퉁불퉁 비규칙 원 — 훨씬 스무스하게 변경 */
@keyframes subpage-wobble-1 {
  0%   { transform: translate(0px, 0px)    scale(1);    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%; }
  25%  { transform: translate(-8px, 6px)   scale(1.01); border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%; }
  50%  { transform: translate(6px, -8px)   scale(0.99); border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; }
  75%  { transform: translate(-6px, 10px)  scale(1.02); border-radius: 50% 50% 45% 55% / 40% 60% 50% 50%; }
  100% { transform: translate(-4px, 8px)   scale(1);    border-radius: 60% 40% 50% 50% / 45% 50% 55% 45%; }
}

/* 파란색 도형 — 조금 더 크게 꿀렁거리도록 곡률과 움직임 폭 확대 */
@keyframes subpage-wobble-2 {
  0%   { transform: translate(0px, 0px)     scale(1);    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%  { transform: translate(12px, -15px)  scale(1.02); border-radius: 30% 70% 70% 30% / 30% 60% 40% 70%; }
  50%  { transform: translate(-15px, 12px)  scale(0.97); border-radius: 70% 30% 40% 60% / 70% 40% 60% 30%; }
  75%  { transform: translate(16px, 18px)   scale(1.03); border-radius: 40% 60% 80% 20% / 40% 30% 70% 60%; }
  100% { transform: translate(-8px, -12px)  scale(1);    border-radius: 50% 50% 30% 70% / 30% 80% 20% 50%; }
}

/* 모바일 환경: 오른쪽 위 모서리에만 살짝 걸치도록 조정 */
@media (max-width: 768px) {
  .subpage-header-bg .shape-1 {
    width: 600px;
    height: 600px;
    top: -525px;
    right: -310px;
  }
  .subpage-header-bg .shape-2 {
    width: 500px;
    height: 500px;
    top: -435px;
    right: -200px;
  }
}

.subpage-header-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
}

/* 서브페이지 전체 레이아웃 래퍼 */
.subpage-layout {
  width: 100%;
  background: var(--color-snow-white);
  min-height: calc(100vh - var(--header-h));
}

/* 서브페이지 본문 영역 */
.subpage-body {
  padding-top: 72px;
  padding-bottom: 120px; /* 푸터와의 여백을 120px로 상향 */
}

.subpage-body-inner {
  /* 세부 페이지마다 채워질 영역 */
}


/* 영문 eyebrow — Inter 전용, 단어 첫 글자 대문자 */
.subpage-eyebrow {
  font-family: var(--font-english);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  color: var(--color-action-blue);
  margin-bottom: 18px;
  line-height: 1;
}

.subpage-title {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 48px; /* 32pt ≈ 43px + 2 + 3 */
  color: var(--color-midnight-indigo);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.subpage-desc {
  font-family: var(--font-pretendard);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-slate-blue);
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.subpage-divider {
  height: 3px;
  background: #EBF0F6;
  border-radius: 2px;
  margin-top: 80px;
}

/* 모바일 반응형 — 기본 스타일 이후에 위치해야 정상 적용됨 */
@media (max-width: 768px) {
  .subpage-header {
    padding-top: 72px; /* PC 96px → 모바일 네비게이션 직후 여백 조정 */
  }
  .subpage-header-inner {
    padding-bottom: 40px; /* PC 72px → 모바일 55% */
  }
  .subpage-divider {
    margin-top: 40px; /* PC 80px → 모바일 50% */
  }
  .subpage-body {
    padding-top: 40px; /* PC 72px → 모바일 55% */
    padding-bottom: 40px; /* 소형 모바일 푸터 여백 최적화 */
  }
  .subpage-eyebrow {
    margin-bottom: 12px; /* PC 18px → 모바일 66% */
  }
  .subpage-title {
    font-size: 36px; /* PC 48px → 모바일 적절한 플루 */
    margin-bottom: 14px;
  }
}

/* ===== 로그인 페이지 ===== */
.login-layout-normal {
  width: 100%;
  background: var(--color-snow-white);
  padding-bottom: 80px;
  min-height: calc(100vh - var(--header-h));
}

.login-page-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 0;
}

.login-card-wrapper {
  width: 100%;
  max-width: 480px;
}

.login-card {
  background: transparent;
  text-align: center;
}

.login-header {
  margin-bottom: 40px;
}

.login-title {
  font-family: var(--font-pretendard);
  font-weight: 800;
  font-size: 32px;
  color: var(--color-midnight-indigo);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.login-subtitle {
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 400;
  color: var(--color-slate-blue);
  line-height: 1.6;
}

.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 56px;
  border-radius: 8px;
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid #6b7280;
  background: var(--color-snow-white);
  color: var(--color-midnight-indigo);
  transition: all 0.2s;
}

.social-btn:hover {
  /* 위로 띄우는 액션 제거, 컬러 변경만 남김 */
}

.social-icon {
  position: absolute;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 개별 브랜드별 호버 반전 효과 */
/* 구글: 파란 배경, 흰 글씨, 흰 로고 */
.google-btn:hover {
  background: #4285F4;
  border-color: #4285F4;
  color: var(--color-snow-white);
}
.google-btn:hover .social-icon svg path {
  fill: #ffffff !important;
}

/* 네이버: 녹색 배경, 흰 글씨, 흰 로고 */
.naver-btn:hover {
  background: #03C75A;
  border-color: #03C75A;
  color: var(--color-snow-white);
}
.naver-btn:hover .social-icon svg path {
  fill: #ffffff !important;
}

/* 카카오: 노란 배경, 검은 글씨, 검은 로고 */
.kakao-btn:hover {
  background: #FEE500;
  border-color: #FEE500;
  color: #000000;
}
.kakao-btn:hover .social-icon svg path {
  fill: #181600 !important;
}

.login-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}

.login-footer-text {
  font-family: var(--font-pretendard);
  font-size: 17px;
  color: var(--color-slate-blue);
}

.signup-link-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--color-action-blue);
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.signup-link-btn:hover {
  opacity: 0.7;
}

/* 반응형 (모바일) */
@media (max-width: 600px) {
  .login-card {
    padding: 40px 24px;
  }
  .login-title {
    font-size: 28px;
  }
}

/* ─────────────────────────────────────────────
 * 현장 접수 (Onsite Page) 스타일
 * ───────────────────────────────────────────── */
.onsite-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px; /* 각 섹션 사이의 간격을 80px로 설정 */
}

.onsite-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .onsite-programs-grid {
    grid-template-columns: 1fr;
    max-width: 100% !important;
    gap: 10px;
  }
}

.onsite-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.onsite-section-title {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 32px; /* 기존 30px에서 2px 키움 */
  color: var(--color-midnight-ink);
  margin: 0 0 48px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.onsite-title-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: #E8F1FF; /* 연하고 부드러운 포인트 블루 배경색 */
  border-radius: 30px; /* 라운드 뱃지 스타일 */
  font-size: 18px; /* 타이틀(32px) 비례에 맞춰 18px로 조정 */
  font-weight: 500; /* 지나치게 튀지 않도록 Regular와 Bold 중간의 두께로 조절 */
  color: var(--color-action-blue);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-left: 0; /* flex gap(16px)만 사용하여 불필요한 이중 여백 제거 */
}

/* 현장접수 안내 상단 가이드 */
.onsite-guide-header {
  margin-bottom: 32px;
}

.onsite-guide-title {
  margin-bottom: 48px !important;
}

.onsite-guide-desc {
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-slate);
  letter-spacing: -0.01em;
  margin: 0;
  word-break: keep-all;
}

.onsite-divider {
  border: 0;
  height: 1px;
  background: var(--border-soft);
  margin: var(--spacing-16) 0;
}

/* 지도 카드 */
.onsite-map-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
}

.onsite-map-frame {
  position: relative;
  width: 100%;
  height: 480px;
  background: #f5f5f5;
  overflow: hidden;
}

.onsite-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.onsite-map-controls {
  position: absolute;
  right: var(--spacing-20);
  top: var(--spacing-20);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
}

.onsite-map-zoom-btn {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-badges);
  font-family: var(--font-pretendard);
  font-size: 18px;
  font-weight: var(--fw-semibold);
  color: var(--color-slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: background 0.15s;
}

.onsite-map-zoom-btn:hover {
  background: #f8f9fb;
}

.onsite-map-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-signal-blue);
  color: #ffffff;
  font-family: var(--font-pretendard);
  font-weight: var(--fw-bold);
  font-size: var(--text-body-sm);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(20, 90, 255, 0.3);
  pointer-events: none;
}

/* 주소 바 — 박스 없이 레퍼런스처럼 플랫 */
.onsite-address-bar {
  padding: 46px 0; /* 위아래 여백을 동일하게 기존 상단(40px) 기준 15% 키움 (46px) */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-32);
  border-bottom: 1px solid var(--border-soft); /* 맵 영역의 마무리 라인으로 배치 */
}

.onsite-address-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 48px;
}

.onsite-info-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.onsite-info-label {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 19px;
  color: var(--color-signal-blue);
  flex-shrink: 0;
}

.onsite-info-value {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 19px;
  color: var(--color-slate-blue);
}

/* 카카오맵 버튼 — 카카오 브랜드 옐로우 */
.onsite-map-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 16px;
  color: #3C1E1E;
  background: #FEE500;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, opacity 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}

.onsite-map-link-btn:hover {
  background: #F5DC00;
  text-decoration: none;
  color: #3C1E1E;
}



/* 문의처 그리드 — 2개의 카드 구성 */
.onsite-contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.onsite-contact-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 36px 40px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.onsite-contact-card:hover {
  border-color: rgba(0, 107, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.onsite-block-name {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-midnight-ink);
  margin: 0 0 24px 0;
  letter-spacing: -0.01em;
}

.onsite-block-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.onsite-block-details li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 400; /* 명시적 Regular 지정 */
  color: var(--color-slate-blue);
}

.onsite-detail-label {
  font-weight: 600; /* 포인트 성격의 라벨이므로 600(Semibold) 유지 */
  color: var(--color-action-blue); /* 라벨에 포인트 컬러 적용 */
  width: 70px;
  flex-shrink: 0;
}

.onsite-detail-val {
  font-weight: 400; /* 값은 일반 400(Regular)으로 설정 */
  color: var(--color-slate-blue); /* 기본 색상을 slate-blue(#555555)로 통일 */
  text-decoration: none;
  transition: color 0.15s;
}

.onsite-detail-val:hover {
  color: var(--color-action-blue);
  text-decoration: underline;
}

/* 대중교통 정보 */
.onsite-transit-table {
  border-top: 2px solid var(--color-midnight-ink);
  margin-bottom: 0;
}

.onsite-transit-row {
  display: flex;
  padding: 36px 60px; /* 기존 40px에서 60px로 좌우 여백을 더 넓힘 */
  border-bottom: 1px solid var(--border-soft);
}

.onsite-transit-label-col {
  width: 200px; /* 텍스트 크기 확대에 맞춰 180px에서 200px로 조정 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.onsite-transit-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; /* 기존 56px에서 64px로 확대 */
  height: 64px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.onsite-transit-label-txt {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 22px; /* 기존 20px에서 2px 더 키움 */
  color: var(--color-midnight-ink);
  text-align: center;
}

.onsite-transit-detail-col {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
  padding-left: 60px; /* 기존 40px에서 60px로 간격 넓힘 */
}

.onsite-transit-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.onsite-transit-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.onsite-transit-body {
  padding-left: 34px; /* badge width(24px) + gap(10px) = 34px 정렬 */
}

.onsite-transit-badge {
  width: 24px;
  height: 24px;
  color: #ffffff;
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.onsite-transit-badge.subway {
  background: #0052A4; /* 1호선 공식 남색 컬러 적용 */
}

.onsite-transit-badge.bus-red {
  background: #E11D48;
}

.onsite-transit-badge.bus-green {
  background: #16A34A;
}

.onsite-transit-place {
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 19px; /* 큼직큼직하게 확대 */
  color: var(--color-midnight-ink);
  line-height: 1.4;
}

.onsite-transit-desc {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 17px; /* 17px 이하 글자 배제 조치 */
  color: var(--color-slate-blue);
  line-height: 1.6;
}

/* 주차 참고사항 — 심플 텍스트 */
.onsite-parking-notice {
  padding: var(--spacing-32) 0 0;
  border-top: 1px solid var(--border-soft);
  margin-top: var(--spacing-8);
}
/* 참고사항 카드 및 리스트 스타일 */
.onsite-notice-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 30px; /* 위아래 여백과 동일하게 좌우 여백도 30px로 설정 */
}

.onsite-notice-list {
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px; /* 항목 간 간격을 12px에서 8px로 축소 */
  list-style: none; /* 브라우저 기본 블릿 제거 */
}

.onsite-notice-list li {
  position: relative;
  padding-left: 17px; /* 블릿 공간 확보 (기존 18px에서 1px 축소) */
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.5; /* 줄높이를 1.6에서 1.5로 줄임 */
}



.onsite-notice-list li strong {
  color: var(--color-midnight-ink); /* 디자인 가이드에서 조정한 진한 블랙 (#292929) 사용 */
  font-weight: 600;
}

/* 현장접수 반응형 */
@media (max-width: 900px) {
  .onsite-address-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-20);
  }
  .onsite-map-link-btn {
    align-self: stretch;
    justify-content: center;
  }
  .onsite-contacts-grid {
    grid-template-columns: 1fr;
  }
  .onsite-contact-card {
    padding: 24px 20px;
  }
}

@media (max-width: 768px) {
  .onsite-container {
    gap: 64px; /* 모바일 섹션 간격 조정 (숨통 트이게 48px -> 64px) */
  }
  .onsite-guide-header {
    margin-bottom: 20px;
  }
  .onsite-guide-title {
    margin-bottom: 36px !important;
  }
  .onsite-guide-desc {
    font-size: 15px;
    line-height: 1.6;
  }
  .onsite-section-title {
    font-size: 27px; /* 모바일 타이틀 크기 상향 (24px -> 27px) */
    margin-bottom: 36px; /* 모바일 큰 제목 아래 여백을 36px로 넉넉하게 넓혀 시각적 위계(계층)와 가독성 확보 */
    flex-wrap: wrap; /* 타이틀/뱃지 개별 행 래핑 허용 */
    gap: 8px 12px;
  }
  .onsite-title-badge {
    font-size: 16px; /* 타이틀 크기 확대에 비례하여 뱃지도 약간 상향 (15px -> 16px) */
    padding: 4px 10px;
  }
  .onsite-contacts-grid {
    gap: 16px; /* 모바일에서 두 카드 사이의 세로 간격을 24px에서 16px로 좁혀 불필요한 공백 제거 */
  }
  .onsite-map-frame {
    height: 280px;
  }
  .onsite-address-bar {
    padding: 36px 0; /* 위아래 여백을 36px로 충분히 넓히고 좌우 여백을 제거하여 지도/타이틀과 동일 선상에 정렬 */
    gap: 28px; /* 정보 텍스트와 카카오맵 버튼 간의 여백 확보 */
  }
  .onsite-address-info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px; /* 정보 항목 간 여백을 충분히 주어 쾌적하게 조정 */
    width: 100%;
  }
  .onsite-info-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px; /* 제목("주소")과 내용 사이의 간격을 넓혀 답답함 해소 */
  }
  .onsite-info-label {
    font-size: 16px; /* 모바일 가독성을 위해 19px -> 16px 축소 */
  }
  .onsite-info-value {
    font-size: 16px; /* 모바일 가독성을 위해 19px -> 16px 축소 */
    line-height: 1.6; /* 행간 완화 (1.45 → 1.6) */
  }
  .onsite-block-name {
    font-size: 19px; /* 모바일 카드 타이틀 축소 */
    margin-bottom: 16px;
  }
  .onsite-block-details li {
    font-size: 16px;
    line-height: 1.6; /* 줄바꿈 시 행간 완화 추가 */
  }
  .onsite-transit-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-24);
    padding: var(--spacing-28) 0;
  }
  .onsite-transit-label-col {
    flex-direction: column; /* 아이콘(위) → 텍스트(아래) 세로 스택 */
    align-items: flex-start;
    width: 100%;
    gap: 10px;
  }
  .onsite-transit-icon-wrapper {
    width: 64px; /* 모바일 아이콘 크기 상향 (52px -> 64px) */
    height: 64px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .onsite-transit-icon-wrapper svg {
    width: 52px !important; /* 모바일 SVG 크기 상향 (40px -> 52px) */
    height: 52px !important;
  }
  .onsite-transit-label-txt {
    font-size: 22px; /* 아이콘 아래 제목 — 좀 더 부각 */
    font-weight: 700;
  }
  .onsite-transit-detail-col {
    padding-left: 0; /* 제목이 위에서 전체 너비로 배치되므로 들여쓰기 불필요 */
    gap: var(--spacing-16);
  }
  .onsite-transit-place {
    font-size: 17px; /* 모바일 폰트 최적화 */
    line-height: 1.55; /* 줄바꿈 시 행간 완화 추가 */
  }
  .onsite-transit-desc {
    font-size: 16px; /* 모바일 폰트 최적화 */
    line-height: 1.65; /* 행간 명시적 고정 */
  }
  .onsite-parking-notice {
    padding: var(--spacing-20) 0; /* 모바일 주차 안내 좌우 여백 제거 — 지도/타이틀 좌측과 동일 선상 정렬 */
  }
  .onsite-notice-card {
    padding: 20px; /* 모바일 카드 내부 패딩 축소 (기존 30px -> 20px) */
  }
  .onsite-notice-list {
    gap: 12px; /* 항목 간격 완화 (8px → 12px) */
  }
  .onsite-notice-list li {
    line-height: 1.65; /* 줄바꿈 시 행간 완화 (1.5 → 1.65) */
  }
}

/* ─────────────────────────────────────────────
 * 퇴직근로자 재도약 지원사업 페이지 (RetirePage)
 * ───────────────────────────────────────────── */
.retire-container {
  max-width: var(--container-max);
  margin: 0 auto; /* 음수 마진을 제거하여 최하단 120px 여백 규칙을 정상 유지 */
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.retire-announcement-section {
  padding: 0 0 10px 0; /* 상단 패딩을 0으로 제거하여 서브페이지 상단 여백(72px)과 통일 */
  display: flex;
  justify-content: center;
}

.retire-announcement-box {
  width: 100%;
  text-align: center;
}

.announcement-badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: #E8F1FF; /* 연하고 부드러운 포인트 블루 배경색 */
  border-radius: 30px; /* 라운드 뱃지 스타일 */
  font-size: 17px; /* 텍스트 크기 1 줄여줌 */
  font-weight: 500;
  color: var(--color-action-blue);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.announcement-title {
  font-family: var(--font-pretendard);
  font-size: 40px; /* 기존 36px에서 4px 키움 */
  font-weight: 700; /* 800에서 한 단계 낮춰 700(Bold)으로 적용 */
  color: var(--color-midnight-ink);
  line-height: 1.4;
  margin-bottom: 30px;
  letter-spacing: -0.03em;
}

.announcement-title .highlight {
  color: var(--color-action-blue);
}

.announcement-desc-group {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.announcement-desc {
  font-family: var(--font-pretendard);
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-slate-blue);
  font-weight: 400;
  word-break: keep-all;
}

.announcement-desc strong {
  font-weight: 700;
  color: var(--color-midnight-ink);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .retire-container {
    gap: 48px; /* 모바일 섹션 간격 조정 (40px -> 48px, 약간 숨통 트이게) */
  }
  .announcement-badge {
    font-size: 15px;
    padding: 5px 12px;
  }
  .announcement-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .announcement-desc {
    font-size: 16px;
    line-height: 1.7;
  }

  /* 지원내용/지원대상 소제목 — PC(40px) 여백을 22px로 축소 */
  .retire-detail-subtitle {
    font-size: 22px;
    margin-bottom: 22px;
  }
  .retire-detail-subtitle.no-body {
    margin-bottom: 22px; /* 모바일: 본문 여부와 관계없이 약속된 하단 마진 22px 유지 */
  }
  .retire-detail-subtitle.no-body + .apply-sub-section {
    margin-top: 0;
  }
  /* 사업개요 정보 박스 하단 여백 — PC(60px) -> 28px 축소 */
  .retire-overview-info {
    margin-bottom: 32px;
  }
}

/* ─────────────────────────────────────────────
 * 퇴직근로자 재도약 지원사업 - 사업개요 컴포넌트 스타일
 * ───────────────────────────────────────────── */
.retire-section {
  display: flex;
  flex-direction: column;
  text-align: left; /* retire-announcement-box의 text-align:center 상속 차단 */
}

.retire-section-title {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-midnight-ink);
  margin: 0 0 48px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.retire-section-title .title-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--color-action-blue);
  color: var(--color-snow-white);
  border-radius: 8px; /* 모던 기하학 형태의 모서리 곡률 */
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-english);
  line-height: 1;
}

.title-num.annex-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 36px !important;
  background: #E8F1FF !important;
  color: var(--color-action-blue) !important;
  border: 1px solid var(--color-action-blue) !important;
  border-radius: 6px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  font-family: var(--font-pretendard) !important;
  line-height: 1 !important;
  padding: 0 12px !important;
  margin: 0 !important;
}

.retire-section-title .title-text {
  letter-spacing: -0.02em;
  word-break: keep-all; /* 모바일: 한국어 어절 단위 줄바꿈 — 음절 중간 잘림 방지 */
}

/* 세부사업명, 지원기간 요약 플랫 리스트 */
.retire-overview-info {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--color-midnight-ink);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 60px;
}

.retire-info-row {
  display: flex;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-soft);
  align-items: flex-start;
}

.retire-info-row:last-child {
  border-bottom: 0;
}

.retire-info-row .info-label {
  width: 180px;
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 17px;
  color: var(--color-midnight-ink);
  flex-shrink: 0;
}

.retire-info-row .info-value {
  font-family: var(--font-pretendard);
  font-size: 17px;
  color: var(--color-slate-blue);
  font-weight: 400;
  flex-grow: 1;
  min-width: 0;
  width: 100%;
}

.retire-info-row .info-value strong {
  font-weight: 600;
  color: var(--color-midnight-ink);
}

.retire-info-row .info-sub-bullet {
  font-size: 17px;
  color: var(--color-slate-blue);
  margin-top: 6px;
  font-weight: 400;
  line-height: 1.5;
}

/* 지원내용 플랫 영역 */
.retire-detail-content {
  display: flex;
  flex-direction: column;
}

.retire-detail-subtitle {
  font-family: var(--font-pretendard);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-midnight-ink);
  margin: 0 0 32px 0;
}

.retire-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.retire-bullet-list li {
  position: relative;
  padding-left: 17px; /* 블릿 공간 확보 (기존 20px에서 3px 축소) */
  font-family: var(--font-pretendard);
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.6;
  font-weight: 400;
  display: block;
}

.retire-bullet-list li strong {
  color: var(--color-midnight-ink);
  font-weight: 600;
}

.retire-bullet-list .bullet-header {
  display: flex;
  align-items: flex-start;
}

.retire-bullet-list .bullet-label {
  font-weight: 600;
  color: var(--color-midnight-ink);
  margin-right: 22px;
  min-width: 80px;
  flex-shrink: 0;
}

.retire-bullet-list .bullet-desc {
  font-weight: 400;
  flex: 1;
}

.retire-bullet-list .bullet-desc strong {
  font-weight: 600;
  color: var(--color-midnight-ink);
}

.retire-bullet-list .bullet-nested-content {
  margin-left: 102px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 퇴직근로자 페이지 내 모든 표 — 공통 래퍼 스크롤바 스타일 */
.retire-table-wrapper,
.retire-target-table-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  border-top: 2px solid var(--color-midnight-ink);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 0;
  /* 얇고 세련된 커스텀 스크롤바 (Firefox) */
  scrollbar-width: thin;
  scrollbar-color: #C8D8F0 transparent;
}

/* 커스텀 스크롤바 (Chrome, Safari) */
.retire-table-wrapper::-webkit-scrollbar,
.retire-target-table-wrapper::-webkit-scrollbar {
  height: 5px;
}
.retire-table-wrapper::-webkit-scrollbar-track,
.retire-target-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.retire-table-wrapper::-webkit-scrollbar-thumb,
.retire-target-table-wrapper::-webkit-scrollbar-thumb {
  background: #C8D8F0;
  border-radius: 99px;
}
.retire-table-wrapper::-webkit-scrollbar-thumb:hover,
.retire-target-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #A0BDE0;
}

.retire-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: var(--font-pretendard);
  min-width: 910px;
  table-layout: fixed;
}

.retire-table th, 
.retire-table td {
  padding: 18px 20px;
  font-size: 17px; /* 18px -> 17px로 본문 일치 */
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
}

.retire-table th:last-child, 
.retire-table td:last-child {
  border-right: 0;
}

.retire-table tbody tr:last-child th,
.retire-table tbody tr:last-child td {
  border-bottom: 0;
}

.retire-table thead th {
  background: #F0F6FF;
  font-weight: 600;
  color: var(--color-midnight-ink);
  font-size: 17px; /* 16.5px -> 17px로 일치 */
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap; /* 모바일 가로 스크롤 시 셀 텍스트 줄바꽔이 발생하지 않도록 강제 */
}


.retire-table .row-head {
  background: #F8FAFC;
  font-weight: 600;
  color: var(--color-midnight-ink);
  width: 180px;
}

.retire-table td {
  color: var(--color-slate-blue);
  font-weight: 400;
  font-size: 17px;
  background: var(--color-snow-white);
  word-break: keep-all;      /* 한글 단어 단위 줄바꿈 */
  word-wrap: break-word;     /* 긴 연속 문자열 강제 줄바꿈 */
  white-space: normal;       /* 줄바꿈 허용 (명시적 선언) */
}


.retire-table td a {
  color: var(--color-slate-blue);
  text-decoration: none;
  transition: color 150ms ease, text-decoration 150ms ease;
}

.retire-table td a:hover {
  color: var(--color-action-blue);
  text-decoration: underline;
}

.retire-table td.text-left {
  text-align: left;
}

.retire-table .table-sub-desc {
  display: block;
  font-size: 17px; /* 14px -> 17px 최소 폰트 크기 규칙 준수 */
  color: var(--color-slate-blue);
  margin-top: 8px;
  font-weight: 400;
  line-height: 1.5;
}

/* 별첨 표의 세로 구분선이 rowspan에 의해 깨지는 문제 해결 */
.annex-table-wrapper .retire-table td {
  border-right: 1px solid var(--border-soft) !important;
}
.annex-table-wrapper .retire-table th:last-child,
.annex-table-wrapper .retire-table td[rowspan] {
  border-right: 0 !important;
}
/* rowspan 셀은 마지막 tr에 없어서 border-bottom이 남음 → 명시적 제거 */
.annex-table-wrapper .retire-table td[rowspan] {
  border-bottom: 0 !important;
}
/* 4컬럼 표 (별첨1) 마지막 열 */
.annex-table-wrapper:not(.annex-table-3col) .retire-table td:nth-child(4) {
  border-right: 0 !important;
}
/* 3컬럼 표 (별첨2) 마지막 열 */
.annex-table-wrapper.annex-table-3col .retire-table td:nth-child(3) {
  border-right: 0 !important;
}

/* 별첨 표 내의 보충 설명 (인라인 및 1px 작은 폰트 적용) */
.retire-table td .annex-sub-desc {
  display: inline;
  font-size: 16px;
  color: var(--color-slate-blue);
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .retire-table td .annex-sub-desc {
    font-size: 15px !important;
  }
}

/* 별첨 중타이틀 텍스트 스타일 */
.annex-subtitle-text {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--color-midnight-ink) !important;
  line-height: 1.2 !important;
}
.annex-subtitle-date {
  font-weight: 400 !important;
  font-size: 20px !important;
  color: var(--color-slate-blue) !important;
  margin-left: 8px !important;
}
.annex-subtitle-date.mid {
  font-weight: 500 !important;
}
.annex-sub-title-detail {
  font-weight: 500 !important;
  font-size: 21px !important;
  color: var(--color-slate-blue) !important;
  margin-left: 6px !important;
  display: inline-block;
}

@media (max-width: 768px) {
  .annex-subtitle-text {
    font-size: 24px !important;
  }
  .annex-subtitle-date {
    font-size: 19px !important;
    display: block;
    margin-left: 0 !important;
    margin-top: 5px;
  }
}

/* 테이블 하단 흐린 회색 안내 박스 */
.table-footnote-box {
  background-color: #F8FAFC;
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: 28px; /* 16px -> 28px 여백 넓힘 */
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.table-footnote-item {
  position: relative;
  padding-left: 14px;
  font-size: 17px; /* 16px -> 17px로 조정 */
  color: var(--color-slate-blue);
  line-height: 1.5;
  text-align: left;
  word-break: keep-all;
  font-weight: 400;
}

.table-footnote-item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-action-blue); /* 슬레이트 블루 -> 포인트 블루로 수정 */
  font-weight: bold;
}

.table-footnote-item strong {
  color: var(--color-midnight-ink); /* 흐려 보이지 않도록 진한 블랙 적용 */
  font-weight: 600;
}

.external-link {
  color: var(--color-slate-blue);
  text-decoration: underline;
  transition: color 150ms ease;
}

.external-link:hover {
  color: var(--color-action-blue);
  text-decoration: underline;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  background-color: #E8F1FF;
  color: var(--color-action-blue);
  font-size: 15px;
  font-weight: 500;
  border-radius: 30px;
  line-height: 1.2;
  white-space: nowrap; /* 모바일에서 뱃지 내 줄바꿈 차단 */
}


/* 문서 분류 뱃지 스타일 */
.doc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}
.doc-badge.badge-online,
.doc-badge.badge-form {
  background-color: #E6F0FF;
  color: var(--color-action-blue);
}
.doc-badge.badge-evidence {
  background-color: #E6F0FF;
  color: var(--color-action-blue);
}

/* 서식 다운로드 버튼 */
.doc-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse; /* 아이콘 오른쪽 배치 */
  gap: 7px;
  height: 35px;
  padding: 0 15px;
  box-sizing: border-box;
  font-family: inherit !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1 !important;
  color: var(--color-action-blue) !important;
  background-color: #EEF4FF; /* 기본 상태 가시성 개선 (연한 블루 틴트) */
  border: 1px solid rgba(0, 107, 255, 0.2); /* 라인(테두리) 이전 컬러로 복원 */
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.retire-table td a.doc-download-btn:hover,
.doc-download-btn:hover {
  background-color: var(--color-action-blue) !important;
  border-color: var(--color-action-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 107, 255, 0.28);
  text-decoration: none !important;
}

.doc-download-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.doc-download-btn:hover svg {
  transform: translateY(2px); /* 호버 시 아이콘은 아래로 내려서 다운로드 느낌 강조 */
}

@media (max-width: 768px) {
  /* ── 모바일 표 기본 레이아웃 전략 ───────────────────────────────────
     표 종류에 따라 최소 너비를 개별 지정하여 짧은 표는 화면에 맞추고,
     열이 많은 표만 가로 스크롤하도록 분리 적용
  ─────────────────────────────────────────────────────────────────── */

  /* 기본: 모든 retire-table을 auto 레이아웃으로 전환 */
  .retire-table {
    table-layout: auto !important;
    min-width: unset !important; /* 초기화 후 아래에서 개별 지정 */
  }
  .retire-target-table {
    table-layout: auto !important;
    min-width: unset !important;
  }

  /* ── 표 종류별 모바일 min-width 개별 지정 ──────────────────────────
     클래스로 정확히 구분하여 각 표에 딱 맞는 너비 설정
  ─────────────────────────────────────────────────────────────────── */

  /* 제출서류 표 (6컬럼) — 820px: 서류명·다운로드 열 확보 */
  .retire-table-wrapper:not(.price-table-wrapper):not(.contact-table-wrapper) > .retire-table {
    min-width: 820px !important;
  }
  /* 서류 및 증빙목록 컬럼(2번째)만 넓게 */
  .retire-table-wrapper:not(.price-table-wrapper):not(.contact-table-wrapper) > .retire-table th:nth-child(2),
  .retire-table-wrapper:not(.price-table-wrapper):not(.contact-table-wrapper) > .retire-table td:nth-child(2) {
    min-width: 380px !important;
  }

  /* [별첨 1] 고용보험법 시행령 [별표 1] 표 — 680px */
  .annex-table-wrapper:not(.annex-table-3col) > .retire-table {
    min-width: 680px !important;
  }

  /* [별첨 2] 지원 업종 표 (3컬럼) — 540px */
  .annex-table-wrapper.annex-table-3col > .retire-table {
    min-width: 540px !important;
  }

  /* 단가 조건 표 (4컬럼: 요건·본인·+1명·+2명이상) — 헤더 한 줄 보장 */
  .price-table-wrapper > .retire-table {
    min-width: 640px !important;
  }
  .price-table-wrapper > .retire-table th {
    white-space: nowrap !important;
  }

  /* 문의처 표 (3컬럼) — 전화번호·이메일 한 줄 표시를 위해 440px 확보 */
  .contact-table-wrapper > .retire-table {
    min-width: 440px !important;
    width: auto !important;
  }
  /* 전화번호·이메일 한 줄 강제 (줄바꿈 방지) */
  .contact-table-wrapper > .retire-table td a {
    white-space: nowrap !important;
  }
  .contact-table-wrapper > .retire-table th:nth-child(2),
  .contact-table-wrapper > .retire-table td:nth-child(2) {
    min-width: 110px !important;
    white-space: nowrap !important;
  }

  /* 지원요건 상세내용 표 (2컬럼) + 비자발적 퇴사 표 (3컬럼) — 575px */
  .retire-target-table-wrapper > .retire-target-table {
    min-width: 575px !important;
  }

  /* 우선선발 기준 표 (2컬럼, 내용 짧음) — 화면 너비에 맞게, 별도 클래스로 분리 */
  .priority-table-wrapper > .retire-target-table {
    min-width: 360px !important;
  }

  /* 신청완료 요약 표 (2컬럼) — wrapper 없이 사용되므로 100% 너비 */
  .complete-summary-table {
    min-width: unset !important;
    width: 100% !important;
  }

  /* ── 폰트 크기 통일 ─────────────────────────────────────────────── */
  /* 블록 셀 — 패딩 + 폰트 */
  .retire-table th,
  .retire-table td {
    font-size: 16px !important;
    padding: 10px 12px !important;
  }
  .retire-table thead th {
    font-size: 16px !important;
  }
  /* 인라인 요소 — 폰트만 (padding 주면 레이아웃 깨짐) */
  .retire-table td span,
  .retire-table td a:not(.doc-download-btn) {
    font-size: 16px !important;
  }

  /* 지원대상 요건 표 — 블록 셀 (th, td)만 패딩 적용 */
  .retire-target-table th,
  .retire-target-table td {
    font-size: 16px !important;
    padding: 10px 12px !important;
  }
  .retire-target-table thead th {
    font-size: 16px !important;
  }
  /* li는 padding 건드리지 않음: padding-left: 17px (블릿 공간) 유지가 필수 */
  .retire-target-table td li {
    font-size: 16px !important;
  }
  /* 인라인 요소 — 폰트만, padding 없음 */
  .retire-target-table td span,
  .retire-target-table td strong,
  .retire-target-table td li strong {
    font-size: 16px !important;
  }

  /* 표 안 블릿: 16px + 1.45 line-height 기준으로 top 재계산 (7.5px → 5px)
     retire-target-table 및 retire-table 양쪽 모두 적용 */
  .retire-target-table td .target-desc-list li::before,
  .retire-table td .target-desc-list li::before {
    top: 5px !important;
  }
  /* 표 안 li padding-left 축소: 블릿↔텍스트 간격 타이트하게 */
  .retire-target-table td .target-desc-list li,
  .retire-table td .target-desc-list li {
    padding-left: 14px !important;
  }

  /* 인라인 fontSize 속성 전면 무력화 — 표 안 */
  .retire-table td [style*="fontSize"],
  .retire-table td [style*="font-size"] {
    font-size: 16px !important;
  }
  .retire-target-table td [style*="fontSize"],
  .retire-target-table td [style*="font-size"] {
    font-size: 16px !important;
  }

  /* ── 인라인 fontSize 전역 무력화 (표 밖 본문 포함) ─────────────────
     JSX 인라인 style={{ fontSize: '...' }}은 CSS보다 우선순위가 높아
     모바일 미디어쿼리가 무시됨 → !important로 강제 통일
  ─────────────────────────────────────────────────────────────────── */
  .retire-section [style*="fontSize"],
  .retire-section [style*="font-size"],
  .subpage-body [style*="fontSize"],
  .subpage-body [style*="font-size"] {
    font-size: 16px !important;
  }

  /* 단, 특수 목적 요소는 별도 크기 유지 (아이콘·뱃지·제목 등 예외) */
  .retire-section-title [style*="fontSize"],
  .retire-section-title [style*="font-size"],
  .title-num [style*="fontSize"],
  .doc-download-btn [style*="fontSize"],
  .doc-badge [style*="fontSize"],
  .contact-badge [style*="fontSize"] {
    font-size: inherit !important; /* 각 요소별 CSS가 별도 제어 */
  }

  /* 서식 다운로드 버튼 */
  .doc-download-btn {
    font-size: 15px !important;
    height: 31px !important;
    padding: 0 11px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    gap: 5px !important;
    white-space: nowrap !important;
  }
  .doc-download-btn svg {
    width: 13px !important;
    height: 13px !important;
  }

  /* 서류 종류 뱃지 (서식1, 서식2 등) — 모바일에서 콤팩트하게 */
  .doc-badge {
    font-size: 12px !important;
    padding: 2px 5px !important;
    margin-right: 5px !important;
    line-height: 1.2 !important;
  }

  /* 모바일 섹션 제목 — 줄바꿈 없이 가로 배치, 왼쪽 정렬 (PC 스타일 덮어쓰기 위해 하단에 배치) */
  .retire-section-title {
    font-size: 30px !important;
    margin-bottom: 28px;
    flex-direction: row !important;
    align-items: center !important;
    align-self: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .retire-section-title .title-num {
    width: 36px !important;
    height: 36px !important;
    font-size: 19px !important;
  }
  .title-num.annex-badge {
    width: auto !important;
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 16px !important;
  }
  .retire-section-title .title-text {
    line-height: 1.25 !important;
    text-align: left !important;
  }

  /* 비자발적 퇴사 인정범위 표 — '구분' 열 너비 확보 (모바일에서 텍스트 줄바꿈 방지) */
  .retire-target-table th[scope="col"]:first-child,
  .retire-target-table th.row-head {
    min-width: 72px !important;
    white-space: nowrap !important;
  }

  /* 별첨 소타이틀 모바일 폰트 크기 (기존 18px에서 10% 증가하여 20px 적용) */
  .annex-sub-title {
    font-size: 20px !important;
  }

  .annex-sub-title-detail {
    font-size: 17px !important;
    margin-left: 4px !important;
  }

  /* 모바일에서 별첨 뱃지와 오른쪽 제목 사이 간격 2px 증가 (12px -> 14px) */
  .retire-annex-subtitle-row {
    gap: 14px !important;
  }
}

/* 날짜 줄바꿈 브레이크 — PC에서는 숨기고 모바일에서만 표시 */
.date-break {
  display: none;
}
@media (max-width: 768px) {
  .date-break {
    display: block;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   태블릿 구간 제출서류 표 오버플로우 수정 (769px ~ 1072px)
   ─ 이 구간에서는 컨테이너가 910px(표 최소 너비)보다 좁아질 수 있어
     표가 컨테이너 밖으로 삐져나오는 문제 발생 → 래퍼 가로 스크롤로 해결
────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1072px) {

  /* 래퍼: overflow-x 스크롤을 명시적으로 강제 적용 */
  .retire-table-wrapper,
  .retire-target-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* 제출서류 표(6컬럼): min-width 유지 → 래퍼가 스크롤 처리 */
  .retire-table-wrapper:not(.price-table-wrapper):not(.contact-table-wrapper) > .retire-table {
    min-width: 820px;
    table-layout: fixed;
  }

  /* 단가 조건 표(4컬럼): 유연하게 축소 허용 */
  .price-table-wrapper > .retire-table {
    min-width: 560px;
    table-layout: auto;
  }

  /* 문의처 표(3컬럼): 유연하게 축소 */
  .contact-table-wrapper > .retire-table {
    min-width: 400px;
    table-layout: auto;
  }

  /* 지원요건 / 비자발적 퇴사 표 */
  .retire-target-table-wrapper > .retire-target-table {
    min-width: 540px;
    table-layout: auto;
  }

  /* 표 헤더 셀: 줄바꿈 방지 유지 */
  .retire-table thead th,
  .retire-target-table thead th {
    white-space: nowrap;
  }

  /* 셀 패딩 약간 줄여서 여백 확보 */
  .retire-table th,
  .retire-table td {
    padding: 14px 14px;
    font-size: 16px;
  }

  /* 서식 다운로드 버튼: 태블릿에서 한 줄 유지 */
  .doc-download-btn {
    white-space: nowrap;
    font-size: 15px;
    height: 35px;
    padding: 0 12px;
    box-sizing: border-box;
    line-height: 1 !important;
  }
}


.doc-name {
  color: var(--color-midnight-indigo);
  font-weight: 400;
}

.retire-table td .amount-val {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-slate-blue);
}

.retire-table td .amount-unit {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-slate-blue);
  margin-left: 2px;
}

/* 예산 소진 경고 콜아웃 */
.retire-warning-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  padding: 16px 20px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.retire-warning-callout .warning-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.retire-warning-callout .warning-text {
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 400;
  color: var(--color-action-blue);
  margin: 0;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   공통 동그란 블릿 (Round Bullet) 디자인 시스템 통합
   ========================================================================== */
.onsite-notice-list li::before,
.retire-bullet-list li::before,
.target-desc-list li::before,
.proof-sub-list li::before {
  content: "•" !important;
  position: absolute;
  left: 3px; /* 여백 축소에 따른 위치 보정 (기존 4px -> 3px) */
  top: 5px; /* 세로 중앙 정렬 미세 보정 (5px로 최적화) */
  color: var(--color-action-blue) !important;
  font-size: 14px !important; /* 17px 본문과 가장 조화로운 미세 사이즈 */
  font-weight: 700 !important;
  line-height: 1 !important; /* 브라우저별 글꼴 상하정렬 왜곡 방지 */
}

/* 모바일 반응형 스타일 */
@media (max-width: 768px) {
  .retire-info-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 16px;
    gap: 6px;
  }
  
  .retire-info-row .info-label {
    width: 100%;
    font-size: 17px;
  }

  .retire-info-row .info-value {
    font-size: 16px;
  }

  .retire-info-row .info-sub-bullet {
    font-size: 16px;
  }

  /* 테이블 하단 회색 안내 박스 모바일 보정 */
  .table-footnote-box {
    padding: 14px 16px;
    margin-top: 20px;
  }

  .table-footnote-item {
    font-size: 16px;
    padding-left: 12px;
  }
  
  .retire-bullet-list {
    gap: 14px; /* 항목 간격 완화 (10px → 14px) */
    margin-bottom: 0;
  }

  .retire-bullet-list li {
    font-size: 16px;
    padding-left: 14px; /* 모바일 블릿 여백 축소 (기존 16px -> 14px) */
    line-height: 1.65; /* 줄바꿈 시 행간 완화 추가 */
  }

    /* 모바일 공통 동그란 블릿 규칙 통합 (모바일 17px 본문 + 1.65 행간에 맞춰 top 수직 위치를 7.5px로 정밀 하향 조정) */
    .onsite-notice-list li::before,
    .retire-bullet-list li::before,
    .target-desc-list li::before,
    .proof-sub-list li::before {
      left: 2px !important;
      font-size: 13px !important;
      top: 7.5px !important; /* 모바일 세로 중앙 정렬 미세 보정 (기존 4.5px -> 7.5px) */
    }

  .retire-bullet-list .bullet-header {
    display: flex;
    flex-direction: column; /* 모바일에서 라벨과 내용을 세로로 줄바꿈 */
    align-items: flex-start;
    gap: 4px; /* 라벨과 내용 사이 소폭 여백 */
  }

  .retire-bullet-list .bullet-label {
    min-width: auto; /* 모바일 세로 배치 시 고정 너비 불필요 */
    margin-right: 0; /* 세로 배치이므로 우측 여백 제거 */
  }

  .retire-bullet-list .bullet-nested-content {
    margin-left: 0;
    margin-top: 12px;
    gap: 12px;
    width: 100%;
  }
  
  .retire-warning-callout {
    width: 100%;
    justify-content: center;
  }
  .retire-warning-callout .warning-text {
    font-size: 14px !important; /* 인라인 fontSize: 17px 강제 덮어쓰기 */
  }
  .retire-detail-desc {
    padding: 10px 16px;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 48px;
    width: 100%;
  }
}

/* ==========================================================================
   2. 사업대상 요건 표 및 상세 스타일
   ========================================================================== */
.retire-divider {
  border: 0;
  height: 1px;
  background: var(--border-soft);
  margin: 0; /* retire-container의 gap(80px)을 활용해 상하 80px 완벽 유지 */
}

.retire-detail-desc {
  font-family: var(--font-pretendard);
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.6;
  margin: 4px 0 32px 0;
  padding: 22px 24px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background-color: #ffffff;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}
.retire-detail-desc strong {
  color: var(--color-midnight-ink);
  font-weight: 600;
}

.retire-target-table-wrapper {
  /* 상단 래퍼 공통 스타일은 .retire-table-wrapper와 묶임 — 개별 오버라이드 없음 */
}

.retire-target-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--font-pretendard);
  min-width: 700px;
  table-layout: fixed; /* 가로 크기 비율 제어 */
}

.retire-target-table th,
.retire-target-table td {
  padding: 22px 24px;
  font-size: 17px; /* 16px -> 17px로 본문 일치 */
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
}

.retire-target-table th:last-child,
.retire-target-table td:last-child {
  border-right: 0;
}

.retire-target-table tbody tr:last-child th,
.retire-target-table tbody tr:last-child td {
  border-bottom: 0;
}

.retire-target-table thead th {
  background: #F0F6FF;
  font-weight: 600;
  color: var(--color-midnight-ink);
  font-size: 17px; /* 16.5px -> 17px로 일치 */
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
  padding: 18px 24px;
  white-space: nowrap; /* 모바일 가로 스크롤 시 헤더 셀 텍스트 줄바꿈 방지 — .retire-table thead th와 동일 처리 */
}


.retire-target-table .row-head {
  background: #F8FAFC;
  font-weight: 600;
  color: var(--color-midnight-ink);
  /* width는 colgroup 또는 thead th inline style로 제어 — 고정값 제거 */
  text-align: center;
  vertical-align: middle;
}

.retire-target-table td {
  background: var(--color-snow-white);
  color: var(--color-slate-blue);
  font-weight: 400;
}

.retire-target-table td strong {
  font-weight: 600;
  color: var(--color-midnight-ink);
}

/* 설명 리스트 스타일 */
.target-desc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.target-desc-list li {
  position: relative;
  padding-left: 17px; /* 블릿 공간 확보 (기존 20px에서 3px 축소) */
  font-family: var(--font-pretendard);
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.45; /* 줄바꿈 시 너무 넓지 않게 1.45로 줄임 */
}

.target-desc-list li.no-bullet {
  padding-left: 0 !important;
}

.target-desc-list li.no-bullet::before {
  content: none !important;
  display: none !important;
}



.target-desc-list li strong {
  font-weight: 600;
  color: var(--color-midnight-ink);
}

.target-desc-list .target-sub-desc {
  display: block;
  font-size: 17px;
  color: var(--color-slate-blue);
  margin-top: 4px;
  font-weight: 400;
  line-height: 1.4; /* 줄바꿈 시 세로 간격 좁힘 */
}

.target-desc-list .target-warning-text {
  display: block;
  font-size: 17px;
  color: var(--color-action-blue); /* 전체 문구를 파란색 포인트 컬러로 설정 */
  margin-top: 6px;
  font-weight: 400;
  line-height: 1.4; /* 줄바꿈 시 세로 간격 좁힘 */
}

.target-desc-list li.warning-li {
  padding-left: 0;
  color: var(--color-action-blue); /* 전체 문구를 파란색 포인트 컬러로 설정 */
  font-weight: 400;
  font-size: 17px;
  margin-top: 2px;
  line-height: 1.4; /* 줄바꿈 시 세로 간격 좁힘 */
}

.target-desc-list li.warning-li::before {
  display: none;
}

/* 포인트 컬러 클래스 (※ 기호 등 강조용) */
.point-star {
  color: var(--color-action-blue);
  font-weight: 700;
  margin-right: 4px;
}

/* 실직여부 증빙서류 목록형 박스 */
.target-desc-list .proof-li {
  padding-left: 0;
  margin-top: 16px;
  background: #F8FAFC;
  padding: 18px 20px;
  border-radius: 6px;
  border: 0; /* 외곽 라인 제거 */
  max-width: 100%; /* 표 가로 영역 끝까지 늘려줌 */
}

.target-desc-list .proof-li::before {
  display: none;
}

.proof-title {
  font-weight: 700;
  color: var(--color-midnight-ink);
  font-size: 17px;
  margin-bottom: 12px;
  font-family: var(--font-pretendard);
}

.proof-sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proof-sub-list li {
  position: relative;
  padding-left: 17px; /* 블릿 공간 확보 (기존 20px에서 3px 축소) */
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.4; /* 줄바꿈 시 세로 간격 좁힘 */
  font-family: var(--font-pretendard);
}



.proof-sub-list li strong {
  color: var(--color-midnight-ink);
  font-weight: 600;
  margin-right: 4px;
}

/* 모바일 반응형 추가 정의 (사업대상 관련) */
@media (max-width: 768px) {
  .retire-detail-desc {
    font-size: 17px; /* 최소 17px 기준 준수 */
    margin: 0 0 16px 0;
  }

  .retire-docs-desc {
    margin-bottom: 48px !important;
  }

  .target-desc-list {
    gap: 14px; /* 항목 간격 완화 (10px → 14px) */
  }

  .target-desc-list li {
    font-size: 17px; /* 최소 17px 기준 준수 */
    padding-left: 18px;
    line-height: 1.65; /* 줄바꿈 시 행간 완화 추가 */
  }

  .target-desc-list .target-sub-desc,
  .target-desc-list .target-warning-text,
  .target-desc-list li.warning-li {
    font-size: 17px;
    line-height: 1.65; /* 줄바꿈 시 행간 완화 추가 */
  }

  .target-desc-list .proof-li {
    padding: 14px 16px;
    margin-top: 12px;
  }

  .proof-title {
    font-size: 17px; /* 최소 17px 기준 준수 */
    margin-bottom: 8px;
  }

  .proof-sub-list {
    gap: 10px; /* 항목 간격 완화 (8px → 10px) */
  }

  .proof-sub-list li {
    font-size: 17px; /* 최소 17px 기준 준수 */
    padding-left: 18px;
    line-height: 1.65; /* 줄바꿈 시 행간 완화 추가 */
  }
}

/* ==========================================================================
   3. 우선지원 대상 및 제외대상 스타일
   ========================================================================== */

/* 세부 상세 콘텐츠 간 간격 (지원대상, 우선지원 대상 및 제외대상) */
.retire-detail-content + .retire-detail-content {
  margin-top: 60px;
}

.retire-priority-subtitle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.retire-priority-subtitle-row .retire-detail-subtitle {
  margin: 0;
}

.priority-must-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #E8F1FF;
  border-radius: 30px;
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-action-blue);
  line-height: 1.4;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.retire-priority-box {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 30px 24px;
  background-color: var(--color-snow-white);
}

.retire-priority-box.priority-table-box {
  padding: 0;
  overflow: hidden;
}

.priority-table-wrapper {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #C8D8F0 transparent;
}

.priority-table-wrapper::-webkit-scrollbar {
  height: 5px;
}
.priority-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.priority-table-wrapper::-webkit-scrollbar-thumb {
  background: #C8D8F0;
  border-radius: 99px;
}
.priority-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #A0BDE0;
}

.priority-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: var(--font-pretendard);
  min-width: 100%;
}

.priority-table th,
.priority-table td {
  padding: 18px 20px;
  font-size: 17px;
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
}

.priority-table th:last-child,
.priority-table td:last-child {
  border-right: 0;
}

.priority-table tbody tr:last-child td {
  border-bottom: 0;
}

.priority-table thead th {
  background: #F0F6FF;
  font-weight: 600;
  color: var(--color-midnight-ink);
  font-size: 17px;
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap;
}

.priority-table td {
  color: var(--color-slate-blue);
  font-weight: 400;
  font-size: 17px;
  background: var(--color-snow-white);
}

.priority-table td.text-left {
  text-align: left;
}

.priority-table .priority-rank {
  width: 120px;
}

.priority-table td.priority-rank {
  font-weight: 600;
  color: var(--color-midnight-ink);
  background: #F8FAFC;
}

@media (max-width: 768px) {
  .priority-table th,
  .priority-table td {
    padding: 14px 16px;
    font-size: 16px; /* 가독성 향상 (15px → 16px) */
  }
  .priority-table thead th {
    font-size: 16px;
  }
  .priority-table td {
    font-size: 16px;
  }
  .priority-table .priority-rank {
    width: 80px;
  }
}

.retire-priority-group {
  display: flex;
  flex-direction: column;
}

.retire-priority-group + .retire-priority-group {
  margin-top: 60px;
}

/* 우선지원 대상 및 제외대상 리스트 */
.retire-priority-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.retire-priority-list > li {
  position: relative;
  padding-left: 17px;
  font-family: var(--font-pretendard);
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.6;
  font-weight: 400;
  display: block; /* block으로 strong+텍스트가 한 줄로 흔러 */
}

.retire-priority-list > li::before {
  content: "\2022";
  position: absolute;
  left: 3px;
  top: 5px;
  color: var(--color-action-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.retire-priority-list > li strong {
  color: var(--color-midnight-ink);
  font-weight: 600;
}

/* 하위 대시(-) 리스트 */
.priority-sub-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.priority-sub-list li {
  font-size: 17px; /* 최소 폰트 17px 기준 준수 */
  color: var(--color-slate-blue);
  line-height: 1.5;
  padding-left: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .retire-detail-content + .retire-detail-content {
    margin-top: 48px; /* 섹션 간 여백 완화 (40px → 48px) */
  }
  .retire-priority-group + .retire-priority-group {
    margin-top: 40px;
  }
  .retire-priority-subtitle-row {
    margin-bottom: 28px;
    gap: 8px;
  }
  .retire-priority-subtitle-row .retire-detail-subtitle {
    font-size: 20px;
    margin: 0;
  }
  .priority-must-badge {
    font-size: 17px;
    padding: 2px 8px;
  }
  .retire-priority-box {
    padding: 22px 16px; /* 박스 내부 상하 패딩 완화 (20px → 22px) */
    border-radius: 8px;
  }
  .retire-priority-list {
    gap: 14px; /* 항목 간격 완화 (10px → 14px) */
  }
  .retire-priority-list > li {
    line-height: 1.7; /* 줄바꿈 시 행간 완화 추가 */
  }
  .priority-sub-list {
    gap: 6px; /* 하위 항목 간격 완화 (4px → 6px) */
  }
  .priority-sub-list li {
    line-height: 1.65; /* 줄바꿈 시 행간 완화 추가 */
  }
  /* 모바일 블릿 위치 조정 (::before 아이콘 크기는 디자인 의도에 따라 예외 허용) */
  .retire-numbered-list .target-sub-desc-list li::before {
    left: 1px;
    top: 3.5px !important;
  }
}

/* ─────────────────────────────────────────────
 * 퇴직근로자 재도약 - 3. 지원절차 프로세스 카드
 * ───────────────────────────────────────────── */
.retire-procedure-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

/* 프로세스 단계 카드 */
.retire-step-card {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 단계 카드 헤더 */
.step-card-header {
  background-color: #F0F6FF; /* 표 제목쪽 소프트 블루 컬러 사용 */
  padding: 22px 16px; /* 영역 확장 */
  text-align: center;
  border-bottom: none; /* 제목쪽 배경 아래 라인 제거 */
}
.step-num {
  display: block;
  font-size: 17px; /* 기존 20px -> 17px */
  font-weight: 500; /* 기존 600 -> 500(Medium)으로 완화 */
  color: var(--color-action-blue);
  margin-bottom: 1px; /* 기존 3px -> 1px로 단축 */
  font-family: var(--font-english); /* Inter로 통합 (Montserrat 제거) */
}
.step-title {
  font-size: 20px; /* 기존 22px -> 20px */
  font-weight: 700; /* 기존 600 -> 700으로 한단계 상향 */
  color: var(--color-midnight-ink);
  margin: 0;
}

/* 단계 카드 본문 */
.step-card-body {
  padding: 20px 16px; /* 내부 여백 균형있게 조정 */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center; /* 세로 중앙 정렬로 레이아웃 균형 확보 */
}
.step-date-badge {
  background-color: #E8F1FF; /* 연하고 부드러운 포인트 블루 배경색 */
  color: var(--color-action-blue); /* 포인트 블루 텍스트 */
  font-size: 16px;           /* 1px 축소: 16px */
  font-weight: 500;          /* 사용자 요청: mid (Medium) */
  padding: 5px 16px;
  border-radius: 30px;
  display: inline-block;
}
.step-card-body > .step-date-badge:first-child {
  margin-bottom: 14px; /* 첫 번째 자식일 때(상단 노출) 아래 여백 */
}
.step-card-body > .step-date-badge:last-child {
  margin-top: 14px;    /* 마지막 자식일 때(하단 노출) 위 여백 */
  margin-bottom: 0;
}

.step-desc {
  font-size: 17px;
  line-height: 1.6;
  color: #334155;            /* 기존 midnight-ink -> 차분한 슬레이트 그레이로 완화 */
  margin: 0 0 4px 0;
  font-weight: 400;          /* Regular 굵기로 변경 */
}
.step-sub-desc {
  font-size: 16px;
  color: #64748B;            /* 기존 slate-blue -> 한 톤 차분하게 조정 */
  margin-top: 12px; /* 여백 확보하여 줄바꿈 요소 구분 */
  line-height: 1.4;
  display: inline-block;
}
.step-sub-arrow {
  font-size: 14px;
  color: var(--color-slate-blue);
  opacity: 0.6;
  line-height: 1;
}
/* 3단계 서류검토 칩 흐름 */
.step-sub-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px; /* 행간을 좁게 수정 */
  width: 100%;
  background-color: #F1F5F9; /* 흐린 회색 배경 (Slate 100) */
  padding: 18px 12px; /* 상하 여백 늘려 안정감 확보 */
  border-radius: 16px; /* 모서리 둥글게 */
  box-sizing: border-box;
}
.step-sub-chip {
  display: inline-block;
  background: #FFFFFF; /* 흰색 배경 */
  color: #334155; /* 짙은 차분한 회색 */
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 18px; /* 알약 형태로 여백 조절 */
  border-radius: 30px; /* 완전한 알약형 라운드 */
  white-space: nowrap;
  letter-spacing: -0.02em;
  border: 1px solid #E2E8F0; /* 연한 테두리 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02); /* 부드러운 입체감 */
}
.step-sub-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 2px 0; /* 미세 간격 조정 */
}

/* 4단계 지원금 지급 기한 뱃지 */
.step-deadline-badge {
  background-color: #E8F1FF; /* 연하고 부드러운 블루 */
  color: var(--color-action-blue);
  font-size: 16px;           /* 16px로 줄임 */
  font-weight: 500;          /* 사용자 요청: mid (Medium) */
  padding: 5px 16px;
  border-radius: 30px;
  display: inline-block;
  margin-top: 14px;          /* step-date-badge:last-child 마진과 동일하게 조정 */
}
.step-link {
  color: var(--color-action-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 서류 검토 단계의 내부 세로 흐름선 */
.step-card-body.inner-steps {
  padding: 20px 16px;
  justify-content: center;
}
.inner-step-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.inner-step-item {
  font-size: 16px;
  font-weight: 400;          /* 기존 500 -> 400 (Regular) */
  color: #334155;            /* 본문 컬러와 통일 */
  background-color: #F8FAFC;
  padding: 8px 12px;
  border-radius: 6px;
  width: 100%;
  border: 1px solid #E2E8F0; /* 점선 -> 심플하고 깨끗한 실선 테두리 */
  box-sizing: border-box;
}
.inner-arrow-down {
  display: flex;
  justify-content: center;
  opacity: 0.6;
}

/* 퇴직근로자(Retire) 절차 카드의 3단계 내 세로 흐름선 간격 절반 단축 */
.retire-procedure-container .inner-step-flow {
  gap: 4px; /* 기존 8px -> 4px로 절반 단축 */
}
.retire-procedure-container .inner-arrow-down {
  margin-top: -2px;
  margin-bottom: -2px; /* 화살표 주변 여백 밀착 */
}

/* 단계 카드 하단 수행기관 등 (더욱 심플하고 깨끗하게 통합) */
.step-card-footer {
  border-top: none; /* 구분선 제거하여 심플하게 통합 */
  padding: 16px 16px 24px 16px; /* 위쪽 패딩 조절하여 점선과 간격 매칭 */
  background-color: #ffffff;  /* 본문과 동일 배경색으로 투명한 일체감 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;                   /* 기존 4px -> 2px로 단축 */
  position: relative;         /* 점선 위치 기준선 제공 */
}
.step-card-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;                 /* 좌우 여백을 주어 꽉 차지 않게 설정 */
  right: 24px;
  border-top: 1px dashed #E2E8F0; /* 본문과 살짝 구분되는 얇은 점선 */
}
.footer-label {
  font-size: 15px;
  font-weight: 400;           /* 기존 500 -> 400 (Regular) */
  color: #64748B; /* 한 톤 부드러운 라벨 색상 */
}
.footer-value {
  font-size: 16px;
  font-weight: 500;          /* 사용자 요청: mid (Medium) */
  color: #334155;            /* 기존 midnight-ink -> 차분한 슬레이트 그레이로 완화 */
  text-align: center;
  line-height: 1.4;
}

/* 카드와 카드 사이 연결 화살표 */
.step-arrow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 지원절차 프로세스 반응형 (모바일 뷰) */
@media (max-width: 768px) {
  .retire-procedure-container {
    flex-direction: column;
    gap: 16px;
  }
  .step-arrow-divider {
    transform: rotate(90deg); /* 모바일에서는 아래 화살표로 변환 */
    padding: 8px 0;
  }
}

/* ─────────────────────────────────────────────
 * 퇴직근로자 재도약 - 4. 신청방법 섹션 및 도식
 * ───────────────────────────────────────────── */
/* 신청기한·신청방법 본문 스타일 */
.apply-detail-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apply-detail-text {
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 400;
  color: var(--color-slate-blue);
  line-height: 1.6;
}

.apply-detail-notice {
  font-family: var(--font-pretendard);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-action-blue);
}


.apply-warning-text {
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-action-blue);
  margin-left: 12px;
}
/* 신청기한 날짜 박스 */
.apply-deadline-box {
  margin-top: 0;
  padding: 24px 32px;
  background: #ffffff;
  border: 1.5px solid var(--border-soft); /* 외곽 라인이 보이도록 정의된 border 변수로 교체 */
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.apply-deadline-date {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-fg-1);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0;
}
.apply-deadline-note {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-action-blue);
  margin: 0;
}

.apply-flow-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 24px;
}

.apply-flow-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}

.apply-flow-card {
  flex: 1;
  background-color: var(--color-snow-white);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 150px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  overflow: hidden;
}

.apply-flow-card.highlight {
  background-color: #E8F1FF;
  border-color: var(--color-action-blue);
  box-shadow: 0 2px 12px rgba(0, 107, 255, 0.06);
}

.apply-flow-card .card-header-wrapper {
  background-color: #F0F6FF;
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}

.apply-flow-card .card-step-num {
  display: block;
  font-family: var(--font-english);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-action-blue);
  margin-bottom: -2px;
}

.apply-flow-card .card-step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-midnight-ink);
  margin: 0;
  line-height: 1.3;
}

.apply-flow-card .card-body-wrapper {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-grow: 1;
}

.apply-flow-card .card-step-desc {
  font-size: 16px;
  color: #334155;
  line-height: 1.35;
  margin: 0;
  word-break: keep-all;
  font-weight: 400;
}

.apply-flow-card .card-step-desc + .card-step-desc {
  margin-top: 2px;
}

.apply-flow-card .card-step-note-box {
  background-color: #F4F6F8;
  border: none !important;
  box-shadow: none !important;
  border-radius: 6px;
  padding: 6px 10px;
  margin-top: 10px;
  font-size: 15px;
  color: var(--color-slate-blue);
  font-weight: 400;
  line-height: 1.3;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  word-break: keep-all;
}

.apply-flow-card.highlight .card-step-title {
  color: var(--color-action-blue);
}

.apply-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
}

.apply-flow-arrow.hidden-arrow {
  visibility: hidden;
}

.apply-flow-arrow svg,
.apply-flow-divider-mobile svg {
  fill: var(--color-midnight-ink);
}

.apply-flow-row-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  margin: 16px 0;
}

.apply-flow-row-arrow svg {
  fill: var(--color-midnight-ink);
}

.apply-flow-divider-mobile {
  display: none;
}

/* 현장지원 유의사항 박스 */
.apply-notice-box {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 30px 24px;
}

.apply-notice-list {
  list-style: none;
  counter-reset: notice-counter;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.apply-notice-list li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-pretendard);
  font-size: 17px; /* 본문과 동일한 가독성 확보 */
  line-height: 1.6;
  color: #475569;
}

.apply-notice-list li::before {
  counter-increment: notice-counter;
  content: counter(notice-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: var(--color-action-blue);
}

/* 신청방법 반응형 스타일 */
@media (max-width: 768px) {
  .apply-warning-text {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .apply-flow-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .apply-flow-card {
    width: 100%;
    min-height: auto;
    padding: 0;
  }
  .apply-flow-card .card-header-wrapper {
    padding: 12px;
  }
  .apply-flow-card .card-body-wrapper {
    padding: 12px 14px;
  }

  .apply-flow-arrow {
    width: auto;
    height: 24px;
    transform: rotate(90deg); /* 모바일에서는 하단 방향으로 회전 */
    padding: 4px 0;
  }

  .apply-flow-arrow.hidden-arrow {
    display: none;
  }

  .apply-flow-row-arrow {
    margin: 4px 0;
    height: 24px;
  }

  .apply-flow-divider-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 4px 0;
  }

  .apply-notice-box {
    padding: 20px 16px;
    border-radius: 8px;
  }

  .apply-notice-list li {
    font-size: 16px;
    line-height: 1.7; /* 줄바꿈 시 행간 완화 추가 */
  }
}

/* 신청기한 전용 테두리 박스 (하얀 배경 + 외곽라인 + 중앙정렬) */
.apply-period-box {
  background-color: var(--color-snow-white);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.apply-period-box .date-text {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-midnight-ink);
}

.apply-period-box .apply-detail-notice {
  margin-top: 0;
  display: block;
}

/* 단일 줄글용 블릿 텍스트 */
.bullet-text {
  position: relative;
  padding-left: 17px;
}

.bullet-text::before {
  content: "•" !important;
  position: absolute;
  left: 3px;
  top: 5px;
  color: var(--color-action-blue) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* 신청방법 하위 소섹션 및 소타이틀 */
.apply-sub-section {
  margin-top: 24px;
}

.retire-detail-subtitle.no-body {
  margin-bottom: 32px; /* PC: 본문 여부와 관계없이 약속된 하단 마진 32px 유지 */
}

.apply-sub-title {
  font-family: var(--font-pretendard);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-midnight-ink);
  margin-top: 40px; /* 소타이틀 위 여백 표준화 */
  margin-bottom: 24px; /* 아래 컨텐츠와의 여백 */
  line-height: 1.4;
}

/* 설명박스 바로 뒤에 오는 소타이틀의 경우 여백 병합 효과 (24px + 16px = 40px) */
.retire-detail-desc + .apply-sub-title {
  margin-top: 16px;
}

/* 중제목(h5) 바로 뒤 소타이틀 — 설명문 없이 직접 연결되는 경우 (FreightPage 등) */
.retire-detail-subtitle + .apply-sub-title {
  margin-top: 12px; /* h5 하단마진(32px) + 12px = 44px 시각 간격 */
}

/* 하위 소섹션 내부 소타이틀은 부모의 margin-top으로 제어되므로 중복 여백 제거 */
.apply-sub-section .apply-sub-title {
  margin-top: 0;
}

.apply-sub-section .apply-flow-container {
  margin-top: 0; /* sub-title의 margin-bottom으로 일괄 제어 */
}

/* ==========================================================================
   4. 퇴직근로자 재도약 (#retire) 카테고리 전용 스타일 및 모바일 행간 완화
   ========================================================================== */


/* 모바일/PC 공통 여유로운 줄간격 설정 */
.retire-only-page .apply-flow-card .card-step-title {
  line-height: 1.5;
}
.retire-only-page .target-desc-list li {
  line-height: 1.55;
}
.retire-only-page .target-desc-list .target-sub-desc,
.retire-only-page .target-desc-list .target-warning-text,
.retire-only-page .target-desc-list li.warning-li {
  line-height: 1.55;
}
.retire-only-page .proof-sub-list li {
  line-height: 1.55;
}
.retire-only-page .apply-sub-title {
  line-height: 1.5;
}
.retire-only-page .step-sub-desc {
  line-height: 1.55;
}
.retire-only-page .apply-deadline-date {
  line-height: 1.5;
}


/* ============================================================
 * 지원사업 신청 — 신청 기능 전용 스타일
 * ============================================================ */

/* ── RetirePage 하단 CTA ── */
.retire-cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0;
  text-align: center;
}
.retire-cta-desc {
  font-size: 16px;
  color: var(--color-slate-blue);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.retire-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 52px;
  background: #0066FF; /* 브랜드 메인 파란색 */
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-pretendard);
  font-size: 20px;
  font-weight: 700; /* Bold 서체 */
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15); /* 다음 단계로 버튼과 동일한 그림자 */
  transition: background 0.2s, box-shadow 0.2s;
}
.retire-cta-btn:hover {
  background: #0052cc; /* 호버 시 아주 살짝 더 짙은 파란색 */
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.25);
}
.retire-cta-btn svg { transition: transform 0.2s; }
.retire-cta-btn:hover svg { transform: translateX(4px); }

/* ── 스텝 인디케이터 ── */
.apply-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #f8f9fb; /* 라인없는 캔버스 크기 박스 */
  border-radius: 16px;
  padding: 38px 40px; /* 상하 패딩 20% 증가 (32px -> 38px) */
  margin: 0 auto 0;
  width: 100%;
}
.step-card {
  position: relative;
  width: 220px;
  height: 72px;
  background: #ffffff;
  border: 1.5px solid #EFEFEF; /* 대기 상태 테두리 가장 연한 회색 */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px; /* 원형 칩과 글자 사이 간격 조정 */
  padding: 0 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-card-label {
  font-family: var(--font-pretendard);
  font-size: 18px; /* 글씨 크기 18px */
  font-weight: 600;
  color: #94a3b8; /* 대기 상태 텍스트 */
  transition: color 0.25s, font-weight 0.25s;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
/* PC에서 br 숨김 — 모바일에서만 두 줄로 표시 */
.step-card-label br {
  display: none;
}
.step-card-num {
  width: 24px;
  height: 24px;
  border-radius: 50%; /* 정사각형 칩에서 정원으로 변경 */
  background: #e2e8f0; /* 대기 상태 원형 배경 (기존 #EFEFEF에서 #e2e8f0으로 변경) */
  color: #64748b; /* 대기 상태 숫자 (기존 #bbbbbb에서 #64748b로 변경) */
  font-family: var(--font-pretendard);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

/* 활성화 상태 (Active) */
.step-card.active {
  border-color: var(--color-action-blue);
  border-width: 2px;
  background: #ffffff; /* 배경 색상 채움 제거 (기본 흰색 유지) */
  box-shadow: 0 6px 20px rgba(0, 107, 255, 0.08);
}
.step-card.active .step-card-label {
  color: var(--color-action-blue);
  font-weight: 700;
}
.step-card.active .step-card-num {
  background: var(--color-action-blue); /* 선명한 파란색 원 */
  color: #fff; /* 흰색 숫자 */
}

/* 완료 상태 (Done) */
.step-card.done {
  border-color: #E0E0E0; /* 아주 연한 회색 테두리 */
  background: transparent; /* 배경 투명하게 */
}
.step-card.done .step-card-label {
  color: var(--color-midnight-ink);
  font-weight: 600;
}
.step-card.done .step-card-num {
  background: #eef0f3; /* 연한 회색 원 */
  color: var(--color-action-blue); /* 파란색 체크 아이콘 */
}

/* 화살표 (Arrow) */
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaaaaa; /* 화살표 색상 연한 중성 톤 회색 통일 */
  transition: color 0.25s;
  flex-shrink: 0;
}
.step-arrow.done {
  color: #aaaaaa; /* 화살표 색상 연한 중성 톤 회색 통일 */
}

/* ── Step 1: 자격 확인 블록 ── */
.qualify-block { margin-bottom: 0; }

/* 블록 헤더 (제목 + 뱃지 행) */
.qualify-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.qualify-block-arrow {
  font-size: 14px;
  color: var(--color-action-blue);
  flex-shrink: 0;
}
.qualify-block-arrow--red {
  color: #c62828;
}
.qualify-block-title {
  font-family: var(--font-pretendard);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-midnight-ink);
  margin: 0;
  letter-spacing: -0.02em;
}
.qualify-block-badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 20px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.qualify-block-badge--blue {
  background: #EEF5FF;
  color: var(--color-action-blue);
}
.qualify-block-badge--red {
  background: #FFF0F0;
  color: #E53935;
}

/* 자격확인 테이블 공통 */
.qualify-table-wrapper { overflow-x: auto; }
.qualify-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--color-midnight-ink);
}
.qualify-table thead tr { background: #F0F6FF; }
.qualify-table th,
.qualify-table td {
  padding: 18px 20px;
  font-family: var(--font-pretendard);
  font-size: 17px;
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  vertical-align: middle;
  line-height: 1.55;
}
.qualify-table th {
  font-weight: 600;
  color: var(--color-midnight-ink);
  text-align: center;
}
.qualify-table th:last-child,
.qualify-table td:last-child { border-right: 0; }
.qualify-table tbody tr { transition: background 0.15s; }
.qualify-table tbody tr:hover { background: rgba(0, 107, 255, 0.03); }
.qualify-table tbody tr.disqualified-row { background: rgba(229, 57, 53, 0.05); }
.qualify-table td {
  color: var(--color-midnight-ink);
  font-weight: 400;
}
.qualify-table td.q-num {
  text-align: center;
  font-weight: 600;
  vertical-align: middle;
  white-space: pre-line;
}
.qualify-table td.q-radio { text-align: center; }

/* 제외 대상 테이블: 헤더 레드 틴트 */
.qualify-block:nth-child(2) .qualify-table thead tr,
.qualify-table.exclude-table thead tr {
  background: #FFF5F5;
}

/* 세부 내용 셀 레이아웃 */
.qualify-cell-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qualify-main-text {
  font-size: 17px;
  font-weight: 400; /* regular */
  color: var(--color-midnight-ink);
  line-height: 1.6;
}

/* → 서브불릿 (흐린 그레이) */
.qualify-sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qualify-sub-list li {
  font-size: 16px;
  color: #64748B; /* 살짝 흐린 슬레이트 그레이 (기존 #9AA3B0에서 밝게 조정) */
  font-weight: 400;
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.qualify-sub-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #94A3B8; /* 블릿 컬러도 텍스트에 맞춰 조정 */
  font-size: 13px;
  line-height: 1.65;
}

.qualify-table td.q-radio {
  text-align: center;
  padding: 18px 28px; /* 좌우 여유 패딩 */
  vertical-align: middle;
  white-space: nowrap; /* 셀 자체도 줄바꿈 방지 */
}
.qualify-radio-group {
  display: flex;
  flex-direction: row; /* 가로 한 줄 배치 */
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 400;
  color: var(--color-midnight-ink);
  user-select: none;
  white-space: nowrap; /* 텍스트 줄바꿈 방지 */
}
.radio-option input[type="radio"] {
  accent-color: var(--color-action-blue);
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}
.qualify-disqualified-msg {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 56px; /* 아래쪽 여백(qualify-contact-block margin-top: 56px)과 동일 */
  padding: 16px 20px;
  background: #FFF5F5; /* 붉은 계열의 연한 배경색 */
  border: 1px solid rgba(229, 57, 53, 0.25); /* 붉은 톤의 흐린 외곽 라인 1px */
  border-radius: 8px;
  font-size: 17px; /* 본문 기준 크기 17px 일체화 */
  font-weight: 500;
  color: #C62828; /* 붉은 계열 포인트 컬러 */
  letter-spacing: -0.01em;
}
/* ── 문의처 ── */
.qualify-contact-block {
  margin-top: 56px;
  /* margin-bottom 없음 — 버튼 위 여백은 qualify-actions margin-top으로 단일 제어 */
}
.qualify-contact-table-wrapper {
  overflow-x: auto;
  /* border-bottom 제거 — table 마지막 td의 border-bottom과 이중라인 방지 */
  scrollbar-width: thin;
  scrollbar-color: #C8D8F0 transparent;
}
.qualify-contact-table-wrapper::-webkit-scrollbar {
  height: 5px;
}
.qualify-contact-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.qualify-contact-table-wrapper::-webkit-scrollbar-thumb {
  background: #C8D8F0;
  border-radius: 99px;
}
.qualify-contact-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #A0BDE0;
}
.qualify-contact-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--color-midnight-ink);
}
.qualify-contact-table th,
.qualify-contact-table td {
  padding: 16px 20px;
  font-family: var(--font-pretendard);
  font-size: 17px;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  line-height: 1.5;
}
.qualify-contact-table th:last-child,
.qualify-contact-table td:last-child { border-right: none; }
/* wrapper에 border-bottom 없음 — td의 border-bottom이 하단 라인 역할 */
.qualify-contact-table thead tr { background: #F0F6FF; }
.qualify-contact-table th {
  font-weight: 600;
  color: var(--color-midnight-ink);
}
.qualify-contact-table td {
  font-weight: 400;
  color: var(--color-midnight-ink);
}
.qualify-contact-table td a {
  color: var(--color-action-blue);
  text-decoration: none;
  transition: opacity 0.15s;
}
.qualify-contact-table td a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.qualify-actions {
  display: flex;
  justify-content: center;
  margin-top: 60px; /* 섹션 간격(apply-form-section margin-bottom: 60px)과 동일 */
}

/* ── Step 2: 테이블 폼 ── */
.apply-form-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px; /* 아래 테이블과의 여백 */
}
.apply-form-required-hint {
  font-size: 17px; /* 17px로 변경 */
  font-weight: 400; /* regular */
  color: var(--color-action-blue); /* 포인트 컬러 푸른색 통일 */
  letter-spacing: -0.01em;
  margin-bottom: 2px; /* 타이틀과의 높이 밸런스 조정 */
}
.apply-form-required-hint.file-warning-hint {
  font-size: 15px; /* 파일 제한 문구는 폰트 크기 살짝 축소 */
  color: #666666; /* 도드라지지 않게 옅은 회색으로 조절 */
}
.apply-form-section { margin-bottom: 60px; }
.apply-form-section-title {
  font-family: var(--font-pretendard);
  font-size: 28px; /* 본문 중타이틀 크기 */
  font-weight: 700;
  color: var(--color-midnight-ink);
  padding: 0;
  margin: 0;
  letter-spacing: -0.02em;
}
.apply-form-table {
  width: 100%;
  border-top: 2px solid var(--color-midnight-ink); /* 까만 2px 라인이 첫 시작선 */
  border-bottom: 1px solid var(--border-soft);
  border-left: none;
  border-right: none;
}
.form-row {
  display: flex;
  border-bottom: 1px solid var(--border-soft);
}
.form-row:last-child { border-bottom: none; }
.form-label-cell {
  width: 200px; /* 원래 220px에서 살짝 줄여줌 */
  flex-shrink: 0;
  background: #F8FAFC; /* 본문 표와 결을 일치화 */
  display: flex; /* flex로 수직 중앙정렬 (내부 콘텐츠는 span으로 감싸 하나의 flex item으로 처리) */
  align-items: center; /* 레이블 텍스트 수직 중앙정렬 */
  border-right: 1px solid var(--border-soft); /* 레이블과 입력 영역 구분 라인 */
  padding: 18px 24px; /* 좌우 여백을 24px로 설정하여 가독성 공간 확대 */
  font-family: var(--font-pretendard);
  font-size: 17px; /* 17px로 상향 */
  font-weight: 500; /* 이름쪽 텍스트 굵기는 mid (Medium 500) */
  color: var(--color-midnight-ink);
  text-align: left; /* 이름쪽 텍스트 왼쪽 정렬 */
  word-break: keep-all;
  line-height: 1.6;
}
.apply-form-table.wide-labels .form-label-cell {
  width: 290px; /* 증빙서류 첨부는 텍스트가 길어 영역을 더 넓게 지정하되, 기존 320px에서 살짝 줄임 */
}
.req-star {
  color: var(--color-action-blue); /* 포인트 컬러 푸른색 통일 */
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 2px; /* 별표가 텍스트에 밀착되도록 여백 살짝 부여 */
  display: inline-block; /* inline-block으로 처리하여 margin이 정상 작동하게 함 */
}
.form-input-cell {
  flex: 1;
  padding: 14px 20px;
  background: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.form-input-cell.col {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.form-input {
  height: 46px; /* 높이 40px -> 46px로 상향 */
  padding: 0 16px;
  border: 1px solid var(--color-outline-gray);
  border-radius: 6px;
  font-family: var(--font-pretendard);
  font-size: 16px; /* 폰트 16px로 변경 (양식 다운로드 버튼 크기에 맞춤) */
  font-weight: 400; /* 오른쪽 입력 필드 텍스트는 reg */
  color: #292929; /* 사용자가 타이핑하는 실제 글자 색상은 진한 검은색(#292929) */
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 2.5L6 6.5L10.5 2.5' stroke='%23999999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
  cursor: pointer;
  text-align: left !important; /* 연락처/지역번호 등 select 텍스트 왼쪽 정렬 */
}
select.form-input:focus {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 2.5L6 6.5L10.5 2.5' stroke='%23006BFF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.form-input:focus {
  border-color: var(--color-action-blue);
  box-shadow: 0 0 0 3px rgba(0, 107, 255, 0.1);
}
.form-input::placeholder {
  color: #cccccc !important; /* 아주 연한 회색으로 자릿수 가이드만 희미하게 표현 */
  opacity: 1 !important; /* 브라우저 기본 투명도 제어 우회 */
  font-size: 16px; /* 폰트 16px로 변경 */
  font-weight: 400; /* reg */
}
.form-input::-webkit-input-placeholder {
  color: #cccccc !important;
  opacity: 1 !important;
  font-size: 16px;
}
.form-input::-moz-placeholder {
  color: #cccccc !important;
  opacity: 1 !important;
  font-size: 16px;
}
.form-input:-ms-input-placeholder {
  color: #cccccc !important;
  opacity: 1 !important;
  font-size: 16px;
}
.form-input.short  { width: 130px; flex-shrink: 0; text-align: center; }
.form-input.medium { width: 200px; flex-shrink: 0; text-align: center; }
.form-input.rrn-back { width: 180px; letter-spacing: 0.12em; text-align: center; }
.form-input.rrn-back::placeholder { letter-spacing: normal !important; }
.form-input.rrn-back::-webkit-input-placeholder { letter-spacing: normal !important; }
.form-input.rrn-back::-moz-placeholder { letter-spacing: normal !important; }
.form-input.rrn-back:-ms-input-placeholder { letter-spacing: normal !important; }
.form-input.zipcode-input { text-align: left !important; }
.input-separator {
  font-size: 0; /* Hide the text "-" to draw a custom line */
  width: 8px; /* Custom length (approx. 2px longer than text hyphen) */
  height: 1px; /* 1px thickness */
  background-color: #999999; /* Light gray */
  flex-shrink: 0;
  margin: 0 5px; /* Decreased margins by 1px (from 6px to 5px) */
  display: inline-block;
  vertical-align: middle;
}
/* ── 모바일 반응형 ── */
@media (max-width: 768px) {

  /* ──────────────────────────────────────
   * 인디케이터 (단계 표시)
   * ────────────────────────────────────── */
  .apply-step-indicator {
    padding: 28px 16px 32px;
    gap: 8px;
    align-items: flex-start;
  }
  .step-card {
    width: auto;
    flex: 1;
    min-width: 0;
    height: auto;
    padding: 16px 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
  }
  .step-card-num {
    width: 28px;   /* 36px → 28px 축소 */
    height: 28px;
    font-size: 13px; /* 비율에 맞게 축소 */
    font-weight: 700;
    flex-shrink: 0;
    border-radius: 50%;
  }
  .step-card-label {
    font-size: 16px; /* 14px → 16px 확대 */
    letter-spacing: -0.02em;
    text-align: center;
    word-break: keep-all;
    line-height: 1.4;
    white-space: normal;
  }
  /* 모바일에서 br 표시 — PC에서 숨긴 것을 복원 */
  .step-card-label br {
    display: inline;
  }
  /* 화살표: 텍스트 높이 중간에 맞춤 */
  .step-arrow svg {
    width: 10px;
    height: 10px;
  }
  .step-arrow {
    align-self: center;
    margin-top: 0;
  }

  /* ──────────────────────────────────────
   * Step 1: 자격 확인 테이블
   * ────────────────────────────────────── */
  .qualify-section { padding-bottom: 40px; }
  .qualify-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* table-layout: fixed 로 JSX 인라인 width 무력화 */
  .qualify-table {
    table-layout: fixed !important;
  }
  .qualify-table th,
  .qualify-table td {
    padding: 12px 8px;
    font-size: 16px;     /* 전체 16px 통일 */
    line-height: 1.55;
  }
  /* 항목: 72px 고정 (60px × 1.2) */
  .qualify-table th:nth-child(1),
  .qualify-table td:nth-child(1) {
    width: 72px !important;
    padding: 12px 6px;
    font-size: 15px;
    word-break: keep-all;
    text-align: center;
  }
  /* 내용: 자동(나머지 공간 모두 차지) */
  .qualify-table th:nth-child(2),
  .qualify-table td:nth-child(2) {
    width: auto;
  }
  /* 확인: 69px 고정 (60px × 1.15) */
  .qualify-table th:nth-child(3),
  .qualify-table td:nth-child(3) {
    width: 69px !important;
    padding: 12px 6px;
  }
  /* 라디오: 세로 배치 */
  .qualify-radio-group {
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    align-items: center;
  }
  .qualify-table td.q-radio {
    padding: 14px 6px;
    vertical-align: middle;
  }
  .radio-option {
    font-size: 15px;
    gap: 4px;
    white-space: nowrap;
    width: auto;
  }
  .radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
  }
  /* 서브텍스트도 16px로 통일 */
  .qualify-sub-list li {
    font-size: 15px;
  }
  .qualify-main-text {
    font-size: 16px;
  }
  .qualify-disqualified-msg {
    margin-top: 48px;
    padding: 14px 16px;
    font-size: 17px;
    gap: 10px;
    border-radius: 8px;
  }
  .qualify-contact-block {
    margin-top: 48px;
  }
  .qualify-actions {
    margin-top: 48px;
  }
  .retire-cta-btn {
    font-size: 17px;
    padding: 16px 36px;
    width: 100%;
    justify-content: center;
  }

  /* ── 문의처 테이블 모바일: 가로 스크롤 ── */
  .qualify-contact-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .qualify-contact-table {
    min-width: 480px; /* 표 최소 너비 확보 → 가로 스크롤로 처리 */
    table-layout: auto;
  }
  .qualify-contact-table th,
  .qualify-contact-table td {
    font-size: 16px;
    padding: 14px 16px;
    white-space: nowrap;
  }

  /* ──────────────────────────────────────
   * Step 2: 신청 폼 전체 구조
   * ────────────────────────────────────── */
  .apply-form-section {
    margin-bottom: 48px; /* 섹션 간 여백 충분히 */
  }
  .apply-form-section-header,
  .terms-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 20px;
  }
  .apply-form-section-title {
    font-size: 22px; /* 모바일 타이틀 크기 */
  }
  .apply-form-required-hint {
    font-size: 14px;
    margin-bottom: 0;
  }

  /* 테이블 테두리: 상단만 유지 */
  .apply-form-table {
    border-bottom: none;
  }

  /* ── 폼 행: 세로 배치 (레이블 → 입력칸) ── */
  .form-row {
    flex-direction: column;
    border-bottom: 1px solid var(--border-soft);
    padding: 0;
  }
  .form-row:last-child {
    border-bottom: 1px solid var(--border-soft); /* 마지막 행도 유지 */
  }

  /* ── 레이블 셀: 상단 배너형 ── */
  .form-label-cell {
    width: 100% !important; /* wide-labels 포함 모두 전체 폭 */
    border-right: none !important; /* 세로 구분선 제거 */
    border-bottom: none; /* 레이블-입력 사이 선 없음 */
    background: #F4F7FB; /* 살짝 구분되는 배경 */
    padding: 14px 18px 10px; /* 레이블 상하 여백 */
    font-size: 15px; /* 모바일 레이블 폰트 */
    font-weight: 600;
    align-items: center;
    min-height: auto;
  }

  /* ── 입력 셀: 여유있는 패딩 ── */
  .form-input-cell {
    padding: 14px 18px 18px; /* 입력칸 상하 여백 */
    gap: 10px;
    background: #fff;
  }
  .form-input-cell.col {
    gap: 10px;
  }

  /* ── 폼 인풋 높이·폰트 ── */
  .form-input {
    height: 50px; /* 터치하기 편하게 50px */
    font-size: 16px;
    padding: 0 14px;
  }
  .form-input.short {
    width: 100px;
    text-align: center;
  }
  .form-input.medium {
    width: 140px;
    text-align: center;
  }
  .form-input.rrn-back {
    width: 140px;
  }

  /* ── 우편번호 행 ── */
  .zipcode-row {
    gap: 8px;
  }
  .zipcode-btn {
    height: 50px;
    font-size: 15px;
    padding: 0 16px;
    flex-shrink: 0;
  }

  /* ── 연락처 / 주민번호 하이픈 ── */
  .input-separator {
    width: 6px;
    margin: 0 3px;
  }

  /* ── 증빙서류 업로드 행 ── */
  .doc-upload-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .file-upload-field { width: 100%; }
  .file-upload-trigger { width: 100%; }
  .file-upload-btn {
    width: 100%;
    justify-content: center;
    height: 50px;
  }
  .file-upload-btn.has-file {
    width: auto; /* 파일 선택 후에는 원래 크기 */
  }
  .file-selected-info {
    margin-left: 0;
    margin-top: 6px;
  }
  .file-selected-name {
    max-width: 240px;
    font-size: 14px;
  }
  .doc-download-btn {
    width: 100%;
    justify-content: center;
    height: 50px;
    font-size: 15px;
  }

  /* ── 동의 섹션 ── */
  .terms-section {
    margin-bottom: 40px;
  }
  .terms-section-title {
    font-size: 20px;
  }
  .terms-box {
    font-size: 14px;
    padding: 16px;
    line-height: 1.7;
  }
  .terms-agree-row {
    padding: 14px 0;
    gap: 12px;
  }
  .terms-agree-row span.terms-agree-text {
    font-size: 15px;
  }

  /* ── 하단 액션 버튼 ── */
  .apply-form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 36px 0 20px;
  }
  .apply-btn-outline,
  .apply-btn-save,
  .apply-btn-primary {
    justify-content: center;
    width: 100%;
    padding: 18px 20px;
    font-size: 17px;
  }

  /* ──────────────────────────────────────
   * Step 3: 신청 완료
   * ────────────────────────────────────── */
  .complete-container {
    padding: 16px 0 60px;
    gap: 36px;
  }
  .complete-top {
    gap: 18px;
  }
  .complete-icon-wrap {
    width: 72px;
    height: 72px;
  }
  .complete-title {
    font-size: 24px;
    letter-spacing: -0.02em;
  }
  .complete-subtitle {
    font-size: 17px;
    line-height: 1.7;
    word-break: keep-all;
  }
  .complete-table-wrapper {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border-top: 2px solid var(--color-midnight-ink);
  }
  .complete-summary-table.retire-table th.row-head {
    width: 110px;
    font-size: 17px;
    padding: 16px 16px;
  }
  .complete-summary-table.retire-table td {
    font-size: 17px;
    padding: 16px 16px;
  }
  .complete-contact {
    max-width: 100%;
    font-size: 17px;
    padding: 20px 20px;
    text-align: left;
    line-height: 1.75;
    border-radius: 10px;
    word-break: keep-all;
  }
  .complete-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .complete-actions .apply-btn-outline,
  .complete-actions .apply-btn-primary {
    width: 100%;
    padding: 20px 24px;
    font-size: 17px;
    justify-content: center;
  }
}
.zipcode-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.zipcode-btn {
  height: 46px; /* 인풋 높이와 동일하게 46px */
  padding: 0 20px;
  background: #ffffff; /* 깨끗한 흰색 배경 */
  color: #0066FF; /* 파란색 글씨 */
  border: 1px solid #0066FF; /* 1px 두께의 메인 파란색 실선 */
  border-radius: 6px;
  font-family: var(--font-pretendard);
  font-size: 16px; /* 폰트 16px로 변경 (폼 입력칸 폰트 크기와 통일) */
  font-weight: 500; /* Medium 서체 */
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none; /* 그림자 제거 */
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.zipcode-btn:hover {
  background-color: rgba(0, 102, 255, 0.05); /* 아주 연한 파란색 틴트 */
}

/* 문서 업로드 행 (다운로드 + 업로드 나란히) */
.doc-upload-row {
  display: flex;
  align-items: center; /* 변경: 양식 다운로드와 파일 업로드 필드가 수직으로 가운데 정렬되도록 조정 */
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}
.file-upload-field {
  display: flex;
  align-items: center;
  flex: 1;
}
.file-upload-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.file-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid #0066FF; /* 1px 두께의 메인 파란색 실선 */
  border-radius: 6px;
  background: #ffffff; /* 깨끗한 흰색 배경 */
  color: #0066FF; /* 파란색 글자 및 아이콘 */
  font-family: var(--font-pretendard);
  font-size: 16px;
  font-weight: 500; /* Medium 서체 */
  cursor: pointer;
  box-shadow: none; /* 그림자 제거 */
  transition: all 0.2s ease;
  white-space: nowrap;
  box-sizing: border-box;
}
.file-upload-btn:hover {
  background-color: rgba(0, 102, 255, 0.05); /* 아주 연한 파란색 틴트 */
}
.file-upload-btn.has-file {
  background-color: var(--color-midnight-ink); /* 파일이 선택되었을 때는 기본 상태를 블랙으로 설정 */
  color: #ffffff;
  border: none;
  box-shadow: none;
}
.file-upload-btn.has-file:hover {
  background-color: #4b5563; /* 호버했을 때 살짝 흐린 다크그레이로 보이도록 설정 */
  color: #ffffff;
  border: none;
  box-shadow: none;
}
.file-upload-placeholder {
  font-size: 15px;
  color: #999999;
  font-weight: 400;
}
.file-selected-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none; /* 외곽 박스 칩 배경 제거 */
  border: none; /* 외곽 박스 칩 테두리 제거 */
  border-radius: 0;
  padding: 0; /* 패딩 제거 */
  height: auto;
  box-sizing: border-box;
  margin-left: 4px; /* 버튼과의 간격 설정 */
}
.file-selected-name {
  font-size: 15px;
  color: #111111; /* 어둡고 명확한 블랙톤 */
  font-weight: 500; /* 가독성을 위해 미디움 굵기 적용 */
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* 텍스트 중심의 깔끔한 밑줄 효과 추가 */
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #94a3b8; /* 조금 더 선명한 회색 밑줄 */
  order: 1; /* 배치 상 파일명을 왼쪽으로 */
}
.file-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #555555; /* X 아이콘도 조금 더 진한 블랙/그레이톤 */
  cursor: pointer;
  padding: 2px;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
  width: 20px;
  height: 20px;
  order: 2; /* 배치 상 X 버튼을 오른쪽으로 */
}
.file-remove-btn:hover {
  background-color: #e6f0ff; /* 연한 푸른색 배경 */
  color: var(--color-action-blue); /* 브랜드 파란색 X 아이콘 */
}
.file-remove-btn:hover + .file-selected-name {
  text-decoration-color: var(--color-action-blue) !important;
}
.doc-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 44px; /* 높이 38px -> 44px 상향 */
  padding: 0 18px;
  border: 1.5px solid var(--color-outline-gray);
  border-radius: 6px;
  background: #fff;
  color: var(--color-slate-blue);
  font-family: var(--font-pretendard);
  font-size: 16px; /* 16px 상향 */
  font-weight: 500; /* 버튼은 mid */
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.doc-download-btn:hover {
  border-color: var(--color-slate-blue);
  color: var(--color-midnight-ink);
}

/* 약관 박스 */
.terms-section { margin-bottom: 40px; }
.terms-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px; /* 다른 섹션과 동일한 24px 여백으로 보정 */
}
.terms-section-title {
  font-family: var(--font-pretendard);
  font-size: 28px; /* 28px로 상향 (apply-form-section-title과 동일) */
  font-weight: 700;
  color: var(--color-midnight-ink);
  margin-bottom: 0;
  letter-spacing: -0.01em;
}
.terms-box {
  height: 200px;
  overflow-y: auto;
  border: 1px solid var(--color-outline-gray);
  border-top: 2px solid var(--color-midnight-ink);
  border-radius: 0;
  background: #fff;
  padding: 20px 24px;
  font-size: 16px;
  line-height: 1.75;
  color: #333333;
  margin-bottom: 20px;
}
.terms-agree-row {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* 동의합니다 버튼 오른쪽 배치 */
  gap: 8px;
  cursor: pointer;
  user-select: none;
  width: 100%; /* 우측 끝 정렬을 위해 전체 가로폭 적용 */
}
.terms-checkbox-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.terms-checkbox-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; /* 크기 20px */
  height: 20px; /* 크기 20px */
  border: 1.5px solid var(--color-steel-gray);
  border-radius: 4px;
  background: #fff;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  box-sizing: border-box;
}
.terms-checkbox-hidden:checked + .terms-checkbox-custom {
  background-color: var(--color-action-blue);
  border-color: var(--color-action-blue);
}
.terms-checkbox-hidden:focus + .terms-checkbox-custom {
  box-shadow: 0 0 0 2px rgba(0, 107, 255, 0.2);
}
.terms-agree-row span.terms-agree-text {
  font-size: 17px;
  font-weight: 500; /* 600 -> 500 (medium) */
  color: var(--color-midnight-ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 하단 3버튼 행 */
.apply-form-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 48px 0 24px;
  flex-wrap: wrap;
}
.apply-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 48px; /* 메인 버튼과 동일한 크기로 패딩 확대 */
  border: 1px solid #E0E0E0; /* 아주 연한 회색 테두리 */
  border-radius: var(--radius-pill);
  background: #ffffff; /* 흰색 배경 */
  color: #666666; /* 차분한 회색 글씨 */
  font-family: var(--font-pretendard);
  font-size: 18px; /* 메인 버튼과 동일한 18px 글씨 크기 */
  font-weight: 500; /* Medium 서체 */
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  letter-spacing: -0.01em;
}
.apply-btn-outline:hover {
  background: #f8f9fa;
  border-color: #cccccc;
  color: #292929;
}
.apply-btn-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 48px; /* 메인 버튼과 동일한 크기로 패딩 확대 */
  border: none; /* 테두리선 제거 */
  border-radius: var(--radius-pill);
  background: #f1f3f5; /* 밝은 회색/연한 회청색 배경 */
  color: #292929; /* 짙은 회색 글씨 */
  font-family: var(--font-pretendard);
  font-size: 18px; /* 메인 버튼과 동일한 18px 글씨 크기 */
  font-weight: 500; /* Medium 서체 */
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: -0.01em;
}
.apply-btn-save:hover {
  background: #e2e8f0; /* 호버 시 약간 어두워지는 피드백 */
}
.apply-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 48px; /* 패딩을 시원하게 확대 */
  border: none;
  border-radius: var(--radius-pill);
  background: #0066FF; /* 브랜드 메인 컬러 선명한 파란색 */
  color: #FFFFFF; /* 흰색 */
  font-family: var(--font-pretendard);
  font-size: 18px; /* 글씨 크기 18px로 시원하게 확대 */
  font-weight: 700; /* Bold 서체 적용 */
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15); /* 부드러운 드롭 그림자 */
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: -0.01em;
}
.apply-btn-primary:hover:not(:disabled) {
  background: #0052cc; /* 마우스 오버 시 아주 살짝 더 짙은 파란색 */
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.25);
}
.apply-btn-primary:disabled {
  background: #E5E9F0; /* 옅은 회청색 계열 유지 */
  color: #767676;      /* 차분한 회색 */
  font-weight: 500;    /* Medium 서체 적용 */
  box-shadow: none;    /* 그림자 미적용 */
  cursor: not-allowed; /* 선택 불가 커서 */
}

/* ── Step 3: 신청 완료 ── */
.complete-container {
  padding: 0 0 80px; /* 상단 패딩 제거 (인디케이터 gap 80px과의 중복 제거) */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}
.complete-top {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.complete-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #006BFF 0%, #0099ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 107, 255, 0.3);
  animation: completeIconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes completeIconPop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.complete-title {
  font-family: var(--font-pretendard);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--color-midnight-ink);
  letter-spacing: -0.025em;
}
.complete-subtitle {
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.65;
  max-width: 780px; /* 넓게 확장하여 개행 방지 */
}
.complete-table-wrapper {
  width: 100%;
  max-width: 780px; /* 표 가로폭 20% 추가 확대 (650px -> 780px) */
  margin: 0 auto;
  border-top: 2px solid var(--color-midnight-ink);
  border-bottom: 1px solid var(--border-soft);
  overflow-x: auto;
}
.complete-summary-table.retire-table {
  min-width: 0 !important; /* 기존 retire-table의 700px min-width 비활성화 */
  width: 100%;
  border-collapse: collapse;
}
.complete-summary-table.retire-table th.row-head {
  width: 190px; /* 제목쪽 가로 폭 비율 증가 (160px -> 190px) */
  background: #F8FAFC;
  font-weight: 600; /* semi-bold */
  font-size: 17px; /* 17pt 급 */
  color: var(--color-midnight-ink);
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
}
.complete-summary-table.retire-table td {
  background: #ffffff;
  font-weight: 400; /* reg */
  font-size: 17px; /* 17pt 급 */
  color: var(--color-slate-blue);
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  border-right: 0;
}
.complete-summary-table.retire-table tr:last-child th.row-head,
.complete-summary-table.retire-table tr:last-child td {
  border-bottom: 0;
}
.complete-contact {
  width: 100%;
  max-width: 780px; /* 표 폭과 동일하게 780px로 변경 */
  margin: 0 auto; /* 중복 마진 제거 (gap과 더해지는 현상 수정) */
  padding: 24px 30px;
  background-color: #F8FAFC; /* 컴팩트한 흐린 배경 상자 */
  border-radius: 8px;
  font-size: 17px; /* 17pt 급 */
  font-weight: 400;
  color: var(--color-slate-blue);
  text-align: center;
  line-height: 1.7;
  box-sizing: border-box;
}
.complete-contact a {
  color: var(--color-action-blue); /* 파란색 유지 */
  font-weight: 600; /* semi-bold */
  text-decoration: underline;
}
.complete-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 개인정보 약관 내부 스타일 ===== */

/* 조항 블록 */
.terms-clause {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #333333;
}

/* 조항 제목 */
.terms-clause-title {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-midnight-ink);
  margin-top: 4px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

/* 조항 본문 */
.terms-clause-body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #333333;
  margin-bottom: 8px;
  word-break: keep-all;
}

/* 불릿 단락 (○ 제거 후 – 인디케이터) */
.terms-bullet-p {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 1.7;
  margin: 5px 0;
  padding-left: 12px;
  position: relative;
  word-break: keep-all;
}
.terms-bullet-p::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #777777;
  font-weight: 400;
}
.terms-bullet-p strong {
  font-weight: 600;
  color: var(--color-midnight-ink);
}

/* 테이블 래퍼 */
.terms-table-wrap {
  margin-top: 10px;
  overflow-x: auto;
  border-radius: 0;
  border: 1px solid var(--border-soft);
}

/* 내부 테이블 */
.terms-inner-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  color: var(--color-midnight-ink);
  background: var(--color-snow-white);
}

.terms-inner-table th {
  background: #F0F6FF;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-midnight-ink);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  text-align: center;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.terms-inner-table th:last-child {
  border-right: 0;
}

.terms-inner-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 1.65;
  vertical-align: middle;
  background: var(--color-snow-white);
  word-break: keep-all;
}

.terms-inner-table td:last-child {
  border-right: 0;
}

.terms-inner-table tbody tr:last-child td,
.terms-inner-table tbody tr:last-child th {
  border-bottom: 0;
}

.terms-td-center {
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  background: #F8FAFC !important;
  color: var(--color-midnight-ink) !important;
}



/* 하단 안내 문구 */
.terms-notice {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--color-cloud-mist);
  border-left: 3px solid var(--color-action-blue);
  border-radius: 0 6px 6px 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 1.7;
  word-break: keep-all;
}

/* ===== 부정수급 섹션 스타일 ===== */

/* 법령 참조 텍스트 */
.terms-law-ref {
  display: inline;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #777777;
  margin-left: 3px;
}

/* 제재 항목 단락 */
.terms-sanction-p {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 1.7;
  margin: 4px 0;
  padding-left: 12px;
  position: relative;
  word-break: keep-all;
}
.terms-sanction-p::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #777777;
}

/* 부정수급 사례 박스 */
.terms-fraud-case-box {
  margin-top: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  overflow: hidden;
}

/* 사례 제목 */
.terms-fraud-case-title {
  background: var(--color-cloud-mist);
  text-align: center;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-midnight-ink);
  padding: 7px 14px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--border-soft);
}

/* 사례 목록 div 래퍼 */
.terms-case-list-div {
  padding: 14px 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* 사례 본문 항목 */
.terms-case-item {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 1.65;
  margin: 0;
  word-break: keep-all;
}

/* 사례 하위 항목 */
.terms-case-sub-item {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 1.6;
  margin: 0;
  padding-left: 14px;
  word-break: keep-all;
}

/* 사례 예시 */
.terms-case-example {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #777777;
  margin: 2px 0 0 0;
  padding-left: 4px;
}

/* ==========================================================================
   마이페이지 (Mypage) 스타일 정의
   ========================================================================== */

/* 1. 신청 내역이 없는 경우 (Empty State - Full Canvas) */
.mypage-empty-box {
  background-color: #F8FAFC;
  border: none;
  border-radius: 16px;
  padding: 100px 24px;
  text-align: center;
  margin: 40px 0;
  box-shadow: none;
}

.mypage-empty-icon {
  margin-bottom: 24px;
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mypage-empty-title {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #0066FF; /* 포인트 메인 블루 */
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.final-result-title {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 32px 0;
  line-height: 1.4;
  letter-spacing: -0.5px;
}


.mypage-empty-desc {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #64748B; /* 차분한 그레이 */
  margin: 0;
  line-height: 1.6;
}

/* 2. 대시보드 및 기본 정보 배너 */
.mypage-dashboard-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px 32px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.mypage-info-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mypage-info-title {
  font-size: 22px;
  font-weight: 600;
  color: #0F172A;
  margin: 0;
}

.mypage-info-meta {
  display: flex;
  gap: 24px;
  font-size: 16px;
  color: #475569;
}

.mypage-meta-item strong {
  color: #0F172A;
  font-weight: 500;
  margin-right: 6px;
}

/* 3. 진행 상태 뱃지 (Status Badges) */
.mypage-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 20px;
  line-height: 1;
  text-align: center;
}

/* [접수완료]: 연한 그레이 배경 + 먹색 글자 */
.mypage-status-badge.badge-submitted {
  background-color: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

/* [심사중]: 메인 블루 배경 + 하얀 글자 */
.mypage-status-badge.badge-reviewing {
  background-color: #0066FF;
  color: #FFFFFF;
}

/* [보완요청]: 보라색 배경 + 하얀 글자 */
.mypage-status-badge.badge-redo {
  background-color: #8247F5;
  color: #FFFFFF;
}

/* [선정]: 골드/오렌지 배경 + 하얀 글자 */
.mypage-status-badge.badge-selected {
  background-color: #FFA600;
  color: #FFFFFF;
}

/* [미선정]: 연한 그레이 배경 + 진한 그레이 글자 */
.mypage-status-badge.badge-notselected {
  background-color: #E2E8F0;
  color: #64748B;
  border: 1px solid #CBD5E1;
}

/* 4. 타임라인 (Timeline) */
.mypage-timeline-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.mypage-timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 24px 0;
}

.mypage-timeline-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;  /* 노드+라벨 세트 기준 상단 정렬 */
  position: relative;
  margin: 16px 0;           /* 카드 padding과 합산해 상하 편시도로 법칙 */
  padding: 0 40px;
}


/* 연결선 */
.mypage-timeline-line {
  position: absolute;
  top: 27px;      /* 노드 원 절반(53px/2) */
  left: 84px;
  right: 84px;
  height: 4px;
  background-color: #E2E8F0;
  z-index: 1;
}

.mypage-timeline-line-active {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #0066FF;
  transition: width 0.35s ease;
}

/* 노드 */
.mypage-timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 12px;
}

.mypage-node-circle {
  width: 53px;              /* 48px × 1.1 */
  height: 53px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 4px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #94A3B8;
  transition: all 0.3s ease;
  position: relative;       /* 체크 안내 ::before 기준점 */
}

.mypage-timeline-node.active .mypage-node-circle {
  border-color: #0066FF;
  color: #0066FF;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15);
}

.mypage-timeline-node.passed .mypage-node-circle {
  background-color: #0066FF;
  border-color: #0066FF;
  color: transparent;       /* 숫자 숨김 */
}

/* 체크 아이콘 (지나간 단계) */
.mypage-timeline-node.passed .mypage-node-circle::before {
  content: "\2713";         /* ✓ */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.mypage-node-label {
  font-size: 17px;          /* 16→17px */
  font-weight: 500;
  color: #64748B;
  white-space: nowrap;
}

.mypage-timeline-node.active .mypage-node-label {
  color: #0066FF;
  font-weight: 600;
}

.mypage-timeline-node.passed .mypage-node-label {
  color: #0F172A;
}

/* 보완 기간 안내바 */
.mypage-redo-notice-bar {
  margin-top: 24px;
  background-color: #F0F6FF; /* 유의사항 연한 블루 */
  border: 1px solid #BFDBFE; /* 파란 보더 */
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #334155; /* 어두운 그레이 */
  font-size: 16px;
  font-weight: 500;
}

.mypage-redo-notice-bar svg {
  flex-shrink: 0;
  color: #0066FF; /* 포인트 블루 */
}

.mypage-redo-notice-bar strong {
  color: #0066FF; /* 강조 단어도 포인트 블루 */
  font-weight: 700;
  text-decoration: none;
}

/* 5. 제출 서류 테이블 */
.mypage-docs-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.mypage-docs-title {
  font-size: 28px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 24px 0;
}

/* 표 텍스트 17px 최적화 (파일쪽 제외한 헤더 및 셀 텍스트) */
.mypage-table thead th {
  font-size: 17px !important;
  font-weight: 600;
  color: #0F172A;
  background-color: #F0F6FF;
  height: 52px;
  vertical-align: middle;
}

.mypage-table tbody td {
  font-size: 17px !important;
  font-weight: 400;
  color: #475569;
  height: 64px;
  vertical-align: middle;
}

/* 보완 필요 행 하이라이트 */
.mypage-table tbody tr.redo-row {
  background-color: rgba(0, 102, 255, 0.03) !important; /* 연한 포인트 블루 틴트 */
  border-left: 4px solid #0066FF;
}

.mypage-table tbody tr.redo-row td {
  border-top: 1px solid #D0E2FF;
  border-bottom: 1px solid #D0E2FF;
}

.mypage-table .status-text-redo {
  color: #0066FF; /* 포인트 블루 */
  font-weight: 700;
}

/* 보완 서류 업로드 영역 */
.mypage-upload-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mypage-file-input-wrapper {
  position: relative;
}

.mypage-upload-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  background-color: #0066FF; /* 포인트 블루 */
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.mypage-upload-submit-btn:hover:not(:disabled) {
  background-color: #0052cc;
}

.mypage-upload-submit-btn:disabled {
  background-color: #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
}

.mypage-filename-text {
  font-size: 14px;
  color: #334155;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── 관리/비고 컬럼 리디자인 ── */

/* 재업로드 버튼: 보완필요 상태 메인 블루 */
.mypage-action-reupload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 35px;
  padding: 0 15px;
  box-sizing: border-box;
  background-color: #0066FF;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
  font-family: inherit !important;
  line-height: 1 !important;
  text-decoration: none;
}

.mypage-action-reupload-btn:hover {
  background-color: #0052CC;
}

/* ghost 다운로드 버튼: 제출완료/확인완료 상태 */
.mypage-action-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 35px;
  padding: 0 15px;
  box-sizing: border-box;
  background-color: transparent;
  color: #64748B;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit !important;
  line-height: 1 !important;
}

.mypage-action-download-btn:hover {
  border-color: #CBD5E1;
  background-color: #F8FAFC;
  color: #475569;
}

/* 재업로드 셀 v2 컨테이너 */
.mypage-upload-cell-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* 파일 선택 후 compact 파일인풋 컴포넌트 */
.mypage-file-input-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 220px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 4px 4px 4px 8px;
  box-sizing: border-box;
}

/* 파일명: 말줄임표 처리 */
.mypage-file-name-compact {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #475569;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 6. 신청 취소 컨펌 모달 (Confirm Modal) */
.mypage-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mypage-fade-in 0.25s ease-out;
}

.mypage-modal-container {
  background-color: #FFFFFF;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 32px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  text-align: center;
  animation: mypage-scale-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mypage-modal-warning-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #E6F0FF; /* 연한 포인트 블루 틴트 */
  color: #0066FF; /* 포인트 블루 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mypage-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px 0;
}

.mypage-modal-body {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 28px 0;
  word-break: keep-all;
}

.mypage-modal-actions {
  display: flex;
  gap: 12px;
}

.mypage-modal-btn-cancel {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background-color: #FFFFFF;
  border: 1.5px solid #CBD5E1; /* 차분한 그레이 테두리 */
  color: #475569; /* 그레이 글씨 */
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.mypage-modal-btn-cancel:hover {
  background-color: #F8FAFC;
}

.mypage-modal-btn-confirm-danger {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background-color: #0066FF; /* 포인트 블루 */
  color: #FFFFFF; /* 흰색 글씨 */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.mypage-modal-btn-confirm-danger:hover {
  background-color: #0052cc;
}

/* 7. 마이페이지 퀵 플로팅 버튼 */
.mypage-quick-btn {
  position: fixed;
  bottom: 36px; /* 기본 상태는 하단에 붙음 */
  right: 36px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background-color: var(--color-lavender-glow); /* #e55cff 라벤더 핑크 */
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 299;
  box-shadow: 0 5px 20px rgba(229, 92, 255, 0.3);
  
  /* 부드럽게 위로 밀려나도록 bottom 트랜지션 적용 */
  transition: 
    bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.2s,
    box-shadow 0.2s;

  /* 스크롤과 무관하게 상시 노출 */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 탑버튼이 활성화될 때 위로 밀려 올라가는 상태 */
.mypage-quick-btn.is-shifted {
  bottom: 128px; /* 탑버튼(36px) + 탑버튼크기(82px) + 마진(10px) = 128px */
}

.mypage-quick-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mypage-quick-btn:hover {
  background-color: #cc3bf2; /* 호버 시 살짝 어두운 핑크 보라 */
  box-shadow: 0 8px 24px rgba(229, 92, 255, 0.45);
}

.mypage-quick-btn:active {
  background-color: #a224c2;
}

.mypage-quick-label {
  font-family: var(--font-pretendard);
  font-size: 14px;
  font-weight: 400; /* Medium(500)에서 Regular(400)로 한 단계 더 얇게 */
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 0;
}

/* 키프레임 애니메이션 */
@keyframes mypage-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mypage-scale-in {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ── 신규 마이페이지 레이아웃 구조 개편 스타일 ── */

/* 1. 최상단 스태퍼 카드 */
.mypage-stepper-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 40px; /* 상하 균등 — REJECTED_REDO 시 JSX에서 paddingBottom:0 override */
  margin-bottom: 24px;
}


/* 마이페이지 상단 헤더 영역 (스태퍼 카드 밖) */
.mypage-header-area {
  text-align: center;
  margin-bottom: 32px;
}

.mypage-status-badge-wrapper {
  margin-bottom: 12px;
}

.mypage-main-title {
  font-size: 40px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
}

.mypage-stepper-wrapper {
  margin-bottom: 0;
}

/* 2. 중간 신청 정보 섹션 및 가로형 바 */
.mypage-info-section {
  margin-top: 40px;
}

.mypage-info-title {
  font-size: 28px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 24px 0;
  text-align: left;
}

.mypage-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #000000; /* 상단 2px 블랙 라인 */
  border-bottom: 1px solid #E2E8F0; /* 하단 1px 흐린 라인 */
  padding: 20px 12px;
  margin: 0 0 40px 0;
}

.mypage-info-bar-meta {
  display: flex;
  gap: 32px;
}

.mypage-info-bar-meta .mypage-meta-item {
  font-size: 17px;
  color: #475569;
}

.mypage-info-bar-meta .mypage-meta-item strong {
  color: #0F172A;
  margin-right: 8px;
}

.mypage-info-bar-cancel-btn {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #0F172A; /* 기본: 검정색 텍스트 */
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.mypage-info-bar-cancel-btn:hover:not(:disabled) {
  border-color: #0066FF; /* 호버 시: 블루톤 테두리 */
  background-color: #0066FF; /* 호버 시: 블루톤 배경 */
  color: #FFFFFF; /* 호버 시: 흰색 글씨 반전 */
}

.mypage-info-bar-cancel-btn:disabled {
  border-color: #E2E8F0;
  color: #94A3B8;
  background-color: #F8FAFC;
  cursor: not-allowed;
}

.mypage-bottom-btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  width: 100%;
}

.mypage-bottom-cancel-btn,
.mypage-bottom-logout-btn {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-align: center;
  box-sizing: border-box;
}

/* 신청 취소: 연한 회색 배경 + 진한 테두리 */
.mypage-bottom-cancel-btn {
  background-color: #F1F5F9;
  border: 1px solid #64748B;
  color: #0F172A;
}

.mypage-bottom-cancel-btn:hover:not(:disabled) {
  border-color: #475569;
  background-color: #E2E8F0;
}

.mypage-bottom-cancel-btn:disabled {
  border-color: #E2E8F0;
  color: #94A3B8;
  background-color: #F8FAFC;
  cursor: not-allowed;
}

/* 로그아웃: 흰색 배경 + 연한 테두리 */
.mypage-bottom-logout-btn {
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #0F172A;
}

.mypage-bottom-logout-btn:hover:not(:disabled) {
  border-color: #0066FF;
  background-color: #0066FF;
  color: #FFFFFF;
}

/* 3. 최하단 서류 테이블 섹션 */
.mypage-table-section {
  margin-top: 40px;
}

/* ==========================================================================
   마이페이지 반응형 미디어 쿼리
   ─ PC 기준 폰트/레이아웃 비율을 유지하며 태블릿→모바일 순으로 축소
   ========================================================================== */

/* ── 태블릿 (≤ 768px) ── */
@media (max-width: 768px) {

  /* 상단 헤더: 대제목 36→28px (20% 확대 적용) */
  .mypage-main-title {
    font-size: 34px;
    line-height: 1.35;
  }

  /* 상태 뱃지: 17→15px */
  .mypage-status-badge {
    font-size: 15px;
    padding: 5px 12px;
  }

  /* 스태퍼 카드 패딩 축소 */
  .mypage-stepper-card {
    padding: 24px 16px;
  }

  /* 타임라인: padding 좁히고 노드 간격 최적화 */
  .mypage-timeline-container {
    padding: 0 20px;
  }

  /* 연결선 양 끝 위치를 패딩에 맞게 조정 */
  .mypage-timeline-line {
    left: 50px;
    right: 50px;
  }

  /* 노드 원: 48→36px (15% 확대 적용) */
  .mypage-node-circle {
    width: 41px;
    height: 41px;
    font-size: 14px;
    border-width: 3px;
  }

  /* 연결선 top 위치: 노드 원 절반(20px) */
  .mypage-timeline-line {
    top: 20px;
  }

  /* 노드 라벨: 16→13px (1px 확대 적용) */
  .mypage-node-label {
    font-size: 14px;
  }

  /* 보완 안내 바: 텍스트 15px, 세로 패딩 축소 */
  .mypage-redo-notice-bar {
    font-size: 15px;
    padding: 14px 16px;
    gap: 10px;
  }

  /* 신청 정보 섹션 여백 */
  .mypage-info-section {
    margin-top: 28px;
  }

  /* 신청자 정보 타이틀 28→22px (15% 확대 적용) */
  .mypage-info-title {
    font-size: 25px;
    margin-bottom: 16px;
  }

  /* 신청 정보 바: 세로 스택 → 요소 줄 바꿈 허용 */
  .mypage-info-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 12px;
    margin-bottom: 28px;
  }

  /* 메타 아이템: 세로 스택 + 간격 축소 */
  .mypage-info-bar-meta {
    flex-direction: column;
    gap: 10px;
  }

  /* 메타 텍스트: 17→15px */
  .mypage-info-bar-meta .mypage-meta-item {
    font-size: 15px;
  }

  /* 취소 버튼: 자체 정렬 오른쪽 */
  .mypage-info-bar-cancel-btn {
    align-self: flex-end;
    width: 100%;
    text-align: center;
  }

  /* 제출 서류 타이틀 28→22px (15% 확대 적용) */
  .mypage-docs-title {
    font-size: 25px;
    margin-bottom: 16px;
  }

  /* 테이블: 가로 스크롤 허용 + min-width 강제 */
  .mypage-table-section .retire-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* 마이페이지 표: 가로 스크롤용 최소 너비 (5컬럼 합계 기준) */
  .retire-table.mypage-table {
    min-width: 780px !important;
    table-layout: auto !important;
  }

  /* 테이블 헤더: 줄바꿈 방지 */
  .mypage-table thead th {
    white-space: nowrap !important;
  }

  /* 테이블 헤더: 17→15px, 높이 축소 */
  .mypage-table thead th {
    font-size: 15px !important;
    height: 44px;
    padding: 0 10px;
  }

  /* 테이블 바디 셀: 17→15px, 높이 축소 */
  .mypage-table tbody td {
    font-size: 15px !important;
    height: 52px;
    padding: 8px 10px;
  }

  /* 서류명 열: 줄 바꿈 허용 */
  .mypage-table td.text-left {
    white-space: normal;
    word-break: break-all;
    min-width: 200px;
  }

  /* 업로드 영역: 세로 스택 */
  .mypage-upload-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* 파일명 텍스트: 최대 너비 제거하고 말줄임 */
  .mypage-filename-text {
    max-width: 160px;
    font-size: 13px;
  }

  /* Empty state 패딩 축소 */
  .mypage-empty-box {
    padding: 60px 16px;
  }

  .mypage-empty-icon svg {
    width: 56px !important;
    height: 56px !important;
  }

  /* Empty state 타이틀 32→24px */
  .mypage-empty-title {
    font-size: 24px;
  }

  /* Empty state 설명 17→15px */
  .mypage-empty-desc {
    font-size: 15px;
  }

  /* 모달: 좌우 여백 확보 */
  .mypage-modal-container {
    margin: 0 16px;
    padding: 24px 20px;
  }

  .mypage-modal-title {
    font-size: 20px;
  }

  .mypage-modal-body {
    font-size: 15px;
  }

  /* 헤더 영역 마진 축소 */
  .mypage-header-area {
    margin-bottom: 24px;
  }

  /* 테이블 섹션 상단 마진 축소 */
  .mypage-table-section {
    margin-top: 28px;
  }
}

/* ── 소형 태블릿 / 큰 모바일 (≤ 600px) ── */
@media (max-width: 600px) {

  /* 대제목 28→24px (20% 확대 적용) */
  .mypage-main-title {
    font-size: 29px;
  }

  /* 스태퍼 카드 패딩 더 축소 */
  .mypage-stepper-card {
    padding: 20px 12px;
  }

  /* 타임라인: 더 좁히기 */
  .mypage-timeline-container {
    padding: 0 12px;
  }

  .mypage-timeline-line {
    left: 36px;
    right: 36px;
    top: 18px;
  }

  /* 노드 라벨: 13→12px (1px 확대 적용) */
  .mypage-node-label {
    font-size: 13px;
  }

  /* 노드 간격 */
  .mypage-timeline-node {
    gap: 8px;
  }

  /* 보완 안내 바: 텍스트 14px */
  .mypage-redo-notice-bar {
    font-size: 14px;
    padding: 12px 14px;
  }

  /* 신청자 정보 타이틀 22→18px (15% 확대 적용) */
  .mypage-info-title {
    font-size: 21px;
  }

  .mypage-info-bar {
    padding: 14px 10px;
  }

  .mypage-info-bar-meta .mypage-meta-item {
    font-size: 14px;
  }

  /* 제출 서류 타이틀 22→18px (15% 확대 적용) */
  .mypage-docs-title {
    font-size: 21px;
  }

  /* 테이블 헤더/셀 14px */
  .mypage-table thead th {
    font-size: 14px !important;
    height: 40px;
    white-space: nowrap !important;
  }

  /* 마이페이지 표: 600px 구간 min-width */
  .retire-table.mypage-table {
    min-width: 720px !important;
    table-layout: auto !important;
  }

  .mypage-table tbody td {
    font-size: 14px !important;
    height: 48px;
  }

  /* Empty state */
  .mypage-empty-box {
    padding: 48px 12px;
  }

  .mypage-empty-title {
    font-size: 20px;
  }

  .mypage-empty-desc {
    font-size: 14px;
  }
}

/* ── 모바일 (≤ 480px) ── */
@media (max-width: 480px) {

  /* 대제목: 20→24px (20% 확대 적용) */
  .mypage-main-title {
    font-size: 29px;
    line-height: 1.35;
  }

  /* 뱃지 wrapper */
  .mypage-status-badge-wrapper {
    margin-bottom: 10px;
  }

  /* 상태 뱃지: 13→14px */
  .mypage-status-badge {
    font-size: 14px;
    padding: 5px 12px;
  }

  /* 헤더 영역 마진 */
  .mypage-header-area {
    margin-bottom: 20px;
  }

  /* 스태퍼 카드 패딩 */
  .mypage-stepper-card {
    padding: 20px 8px;
  }

  /* 타임라인: 좌우 padding 최소화, justify-content 균등 배분 */
  .mypage-timeline-container {
    padding: 0 8px;
    justify-content: space-around;
    align-items: flex-start; /* 노드+라벨 기준 상단 정렬 */
    margin: 16px 0;
  }

  /* 연결선 위치 */
  .mypage-timeline-line {
    left: 50px;
    right: 50px;
    top: 15px; /* 노드 원 절반 */
  }

  /* 노드 원: 26px (15% 확대 적용) */
  .mypage-node-circle {
    width: 30px;
    height: 30px;
    font-size: 12px;
    border-width: 2.5px;
  }

  /* ★ 노드 라벨 복원 — 14px 2줄 허용 (1px 확대 적용) */
  .mypage-node-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.02em;
    white-space: normal;      /* 줄바꿈 허용 */
    max-width: 48px;          /* 4자 기준 2줄 허용 */
    word-break: keep-all;
    color: inherit;
  }

  /* 노드 간격: 원↔라벨 */
  .mypage-timeline-node {
    gap: 5px;
  }

  /* ★ 보완 안내 바: 12→15px (중요 안내 문구) */
  .mypage-redo-notice-bar {
    font-size: 15px;
    padding: 14px 14px;
    gap: 10px;
    line-height: 1.55;
  }

  /* 안내 바 아이콘 크기 */
  .mypage-redo-notice-bar svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  /* 신청 정보 바 */
  .mypage-info-bar {
    padding: 16px 12px;
    gap: 14px;
  }

  /* 신청자 정보 타이틀: 16→18px (15% 확대 적용) */
  .mypage-info-title {
    font-size: 21px;
  }

  /* 메타 텍스트: 13→15px */
  .mypage-info-bar-meta .mypage-meta-item {
    font-size: 15px;
  }

  /* 제출 서류 타이틀: 16→18px (15% 확대 적용) */
  .mypage-docs-title {
    font-size: 21px;
    margin-bottom: 14px;
  }

  /* 테이블 래퍼: 모바일 가로 스크롤 강제 */
  .mypage-table-section .retire-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* 마이페이지 표: 5컬럼 비율 고정 (총 670px) */
  .retire-table.mypage-table {
    min-width: 670px !important;
    table-layout: fixed !important;
  }

  /* 제출 서류 컬럼 (1번): 160px, 줄바꿈 허용 */
  .mypage-table th:nth-child(1),
  .mypage-table td:nth-child(1) {
    width: 160px !important;
    min-width: 160px !important;
    white-space: normal !important;
    word-break: break-all;
    text-align: left;
  }

  /* 파일명 컬럼 (2번): 160px, 줄바꿈 허용 */
  .mypage-table th:nth-child(2),
  .mypage-table td:nth-child(2) {
    width: 160px !important;
    min-width: 160px !important;
    white-space: normal !important;
    word-break: break-all;
    text-align: left;
  }

  /* 제출일시 컬럼 (3번): 110px */
  .mypage-table th:nth-child(3),
  .mypage-table td:nth-child(3) {
    width: 110px !important;
    min-width: 110px !important;
    word-break: break-all;
    white-space: normal !important;
  }

  /* 확인상태 컬럼 (4번): 80px */
  .mypage-table th:nth-child(4),
  .mypage-table td:nth-child(4) {
    width: 80px !important;
    min-width: 80px !important;
  }

  /* 관리/비고 컬럼 (5번): 160px */
  .mypage-table th:nth-child(5),
  .mypage-table td:nth-child(5) {
    width: 160px !important;
    min-width: 160px !important;
  }

  /* 테이블 헤더: 13→15px */
  .mypage-table thead th {
    font-size: 15px !important;
    height: 42px;
    padding: 0 10px;
    white-space: nowrap;
  }

  /* 테이블 셀: 13→15px */
  .mypage-table tbody td {
    font-size: 15px !important;
    height: 48px;
    padding: 8px 10px;
  }

  /* 파일명 텍스트 */
  .mypage-filename-text {
    max-width: 120px;
    font-size: 13px;
  }

  /* 업로드 버튼 */
  .mypage-upload-submit-btn {
    padding: 6px 12px;
    font-size: 14px;
  }

  /* 신청 취소 버튼 */
  .mypage-info-bar-cancel-btn {
    font-size: 14px;
  }

  /* Empty state */
  .mypage-empty-box {
    padding: 48px 16px;
  }

  .mypage-empty-icon svg {
    width: 48px !important;
    height: 48px !important;
  }

  .mypage-empty-title {
    font-size: 20px;
  }

  .mypage-empty-desc {
    font-size: 15px;
  }

  /* 모달 */
  .mypage-modal-container {
    padding: 24px 18px;
  }

  .mypage-modal-title {
    font-size: 20px;
  }

  .mypage-modal-body {
    font-size: 15px;
  }

  .mypage-modal-btn-cancel,
  .mypage-modal-btn-confirm-danger {
    font-size: 15px;
    padding: 13px;
  }

  /* 플로팅 퀵 버튼 및 탑버튼 모바일 정렬 */
  .mypage-quick-btn {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  .mypage-quick-btn.is-shifted {
    bottom: 88px;
  }

  .mypage-quick-label {
    font-size: 11px;
  }

  .scroll-top-btn {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
    gap: 2px;
  }

  .scroll-top-btn svg {
    width: 18px;
    height: 18px;
  }

  .scroll-top-label {
    font-size: 11px;
  }
}

/* 모바일 헤더에서 마이페이지 및 로그아웃 버튼 숨기기 */
@media (max-width: 768px) {
  #header-mypage-btn,
  #header-logout-btn {
    display: none !important;
  }
  
  .mypage-bottom-btn-group {
    gap: 8px !important;
    justify-content: center !important;
  }
  .mypage-bottom-cancel-btn,
  .mypage-bottom-logout-btn {
    flex: none !important;
    width: auto !important;
    padding: 10px 24px !important;
    font-size: 15px !important;
    align-self: auto !important;
  }
}

/* 최종 심사 결과 발표 화면 반응형 대응 */
@media (max-width: 768px) {
  .final-result-box {
    padding: 40px 20px !important;
  }
  .final-result-icon svg {
    width: 56px !important;
    height: 56px !important;
  }
  .final-result-title {
    font-size: 22px !important;
    line-height: 1.4 !important;
    margin-bottom: 24px !important;
  }
  .final-result-card {
    padding: 20px 20px !important;
    margin-bottom: 24px !important;
  }
  .result-main-text {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }
  .result-sub-text {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
}

@media (max-width: 480px) {
  .final-result-box {
    padding: 32px 16px !important;
  }
  .final-result-title {
    font-size: 18px !important;
  }
  .final-result-card {
    padding: 16px 16px !important;
  }
  .result-main-text {
    font-size: 15px !important;
  }
  .result-sub-text {
    font-size: 13px !important;
  }
}

/* ===== 약관 및 정책 페이지 (Privacy, Terms, Antispam) 전용 스타일 ===== */
.policy-container {
  max-width: var(--container-max) !important;
  margin: 0 auto;
  padding: 0 var(--container-px) 0 var(--container-px);
  font-family: var(--font-pretendard);
}

.policy-welcome-box {
  display: flex;
  align-items: center;
  gap: 28px;
  background-color: var(--color-cloud-mist);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 70px;
  word-break: keep-all;
}

.policy-welcome-icon-wrap {
  width: 100px;
  height: 100px;
  min-width: 100px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-action-blue);
}

.policy-welcome-text {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-slate-blue);
}

@media (max-width: 768px) {
  .policy-welcome-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    margin-bottom: 40px;
  }
  .policy-welcome-icon-wrap {
    width: 80px;
    height: 80px;
    min-width: 80px;
  }
  .policy-welcome-text {
    font-size: 15px;
    line-height: 1.65;
  }
  .policy-section {
    margin-bottom: 40px !important;
  }
  .policy-section-title {
    font-size: 21px !important;
    margin-bottom: 14px !important;
  }
  .policy-text,
  .policy-list li,
  .policy-ordered-list li {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }
  .policy-list,
  .policy-ordered-list {
    padding: 16px 20px !important;
    margin: 12px 0 16px 0 !important;
    border-radius: 8px !important;
  }
}

.policy-section {
  margin-bottom: 70px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--fg-1);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.policy-text {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-slate-blue);
  margin-bottom: 16px;
  word-break: keep-all;
}

.policy-list,
.policy-ordered-list {
  list-style: none;
  padding: 24px 28px;
  margin: 16px 0 24px 0;
  background-color: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.policy-list li,
.policy-ordered-list li {
  position: relative;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-slate-blue);
  word-break: keep-all;
}

.policy-list li:last-child,
.policy-ordered-list li:last-child {
  margin-bottom: 0;
}

.policy-list li {
  padding-left: 20px;
}

.policy-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--color-action-blue);
  font-weight: bold;
}

/* 숫자/문자 혼합 목록 지원 */
.policy-ordered-list li {
  padding-left: 24px;
}

/* 중첩 목록 오버라이드 (이중 박스 방지) */
.policy-list .policy-list,
.policy-ordered-list .policy-list,
.policy-list .policy-ordered-list,
.policy-ordered-list .policy-ordered-list {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 8px 0 0 0;
}


.policy-ordered-list li .list-number {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: var(--color-action-blue);
}

/* 부칙 스타일 */
.policy-appendix {
  margin-top: 40px;
  padding: 24px;
  background-color: var(--color-cloud-mist);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-slate-blue);
}

.policy-meta-info {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-steel-gray);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-outline-gray);
  padding-top: 12px;
}

/* ─────────────────────────────────────────────
 * 로그인 유도 커스텀 모달 (Login Prompt Modal)
 * ───────────────────────────────────────────── */
.login-alert-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mypage-fade-in 0.25s ease-out;
}

.login-alert-container {
  background-color: #FFFFFF;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 40px 32px 36px 32px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  text-align: center;
  animation: mypage-scale-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: 0 16px;
}

.login-alert-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-midnight-indigo);
  margin: 0 0 18px 0;
  text-align: center;
  line-height: 1.3;
}

.login-alert-body {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-slate-blue); /* 본문컬러 */
  line-height: 1.6;
  margin: 0 0 32px 0;
  text-align: center;
  word-break: keep-all;
}

.login-alert-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.login-alert-btn-cancel {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-outline-gray); /* 흐린 라인만 있는 버튼 */
  color: var(--color-slate-blue);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.login-alert-btn-cancel:hover {
  background-color: var(--color-cloud-mist);
  border-color: var(--color-steel-gray);
}

.login-alert-btn-login {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background-color: var(--color-action-blue); /* 파란배경의 버튼 */
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: center;
}

.login-alert-btn-login:hover {
  background-color: var(--color-glacier-blue);
}

/* ─────────────────────────────────────────────
 * 서비스 점검 중 커스텀 모달 (Maintenance Modal)
 * ───────────────────────────────────────────── */
.maintenance-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(5px);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mypage-fade-in 0.2s ease-out;
}

.maintenance-modal-container {
  background-color: #FFFFFF;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 40px 32px 36px 32px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  text-align: center;
  animation: mypage-scale-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: 0 16px;
  border: 1px solid rgba(226, 185, 59, 0.2);
}

.maintenance-modal-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.maintenance-modal-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-midnight-indigo);
  margin: 0 0 16px 0;
  text-align: center;
  line-height: 1.3;
}

.maintenance-modal-body {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-slate-blue);
  line-height: 1.65;
  margin: 0 0 28px 0;
  text-align: center;
  word-break: keep-all;
}

.maintenance-modal-actions {
  display: flex;
  justify-content: center;
}

.maintenance-modal-btn-close {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background-color: var(--color-action-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 92, 230, 0.15);
}

.maintenance-modal-btn-close:hover {
  background-color: var(--color-glacier-blue);
}

.maintenance-modal-btn-close:active {
  transform: scale(0.98);
}

