/* ============================================
   디자인 시안 v2 - HubHR 8.4 리디자인
   redesign_draft/index_v2.html 기반
   레거시 CSS와 충돌 방지를 위해 .v2-wrap 스코핑 사용
   ============================================ */

:root {
  --v2-primary: #1B6B3A;
  --v2-primary-dark: #0F4D28;
  --v2-primary-light: #E8F5EC;
  --v2-primary-hover: #15572F;

  --v2-accent: #D4A017;
  --v2-accent-light: #FFF8E1;

  --v2-navy: #1A2A4A;
  --v2-navy-light: #2C3E6B;

  --v2-blue: #2563EB;
  --v2-blue-light: #EFF6FF;
  --v2-blue-dark: #1D4ED8;

  --v2-text-primary: #1A1A1A;
  --v2-text-secondary: #4A4A4A;
  --v2-text-tertiary: #787878;
  --v2-text-inverse: #FFFFFF;

  --v2-bg-page: #F3F5F8;
  --v2-bg-white: #FFFFFF;
  --v2-bg-light: #F0F2F5;
  --v2-bg-card: #FFFFFF;

  --v2-border: #E0E3E8;
  --v2-border-light: #ECEEF2;

  --v2-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --v2-shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --v2-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --v2-shadow-hover: 0 8px 25px rgba(0,0,0,0.14);
  --v2-shadow-card: 0 2px 12px rgba(27,107,58,0.08);

  --v2-radius-sm: 8px;
  --v2-radius-md: 12px;
  --v2-radius-lg: 16px;
  --v2-radius-xl: 20px;

  --v2-max-width: 1240px;
  --v2-header-height: 52px;
}

/* ═══════════════════════════════════════
   v2-wrap 스코프 기본 리셋
   ═══════════════════════════════════════ */
.v2-wrap {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--v2-text-primary);
  background: var(--v2-bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.2px;
  margin: 0;
  padding: 0;
  min-width: 360px;
  overflow-x: hidden;
}

/* 모바일 중앙정렬 보정 */
html, body {
  overflow-x: hidden;
  width: 100%;
}

.v2-wrap *, .v2-wrap *::before, .v2-wrap *::after {
  box-sizing: border-box;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.2px;
}

.v2-wrap a { text-decoration: none; color: inherit; }
.v2-wrap a[class*="v2-"] { color: inherit; } /* v2 클래스가 있는 a는 자체 color 우선 */
.v2-wrap ul, .v2-wrap ol, .v2-wrap li { list-style: none; margin: 0; padding: 0; }
.v2-wrap img { max-width: 100%; display: block; }
.v2-wrap h1, .v2-wrap h2, .v2-wrap h3, .v2-wrap h4, .v2-wrap p { margin: 0; }

/* ═══════════════════════════════════════
   헤더
   ═══════════════════════════════════════ */
.v2-header {
  background: var(--v2-bg-white);
  border-bottom: 1px solid var(--v2-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.v2-header-inner {
  max-width: var(--v2-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--v2-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v2-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.v2-logo-text {
  font-size: 16px;
  font-weight: 800;
  color: var(--v2-text-primary);
  letter-spacing: -0.5px;
}

.v2-logo-text em { font-style: normal; color: var(--v2-primary); }

.v2-header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.v2-wrap .v2-header-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--v2-text-secondary);
  transition: color 0.2s;
}

.v2-header-nav a:hover { color: var(--v2-primary); }

.v2-wrap a.v2-header-phone-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--v2-primary);
  color: var(--v2-text-inverse);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.v2-wrap a.v2-header-phone-badge {
  pointer-events: none;
  cursor: default;
}
.v2-header-phone-badge svg { width: 14px; height: 14px; stroke: white; flex-shrink: 0; }

.v2-mobile-nav-phone {
  color: var(--v2-primary) !important;
  font-weight: 700 !important;
}

/* ═══════════════════════════════════════
   히어로 배너
   ═══════════════════════════════════════ */
.v2-hero-banner {
  background: linear-gradient(135deg, #0F1B2D 0%, #1A2A4A 30%, #243B5E 60%, #1A2A4A 100%);
  position: relative;
  overflow: hidden;
}

.v2-hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.v2-hero-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.v2-hero-inner {
  max-width: var(--v2-max-width);
  margin: 0 auto;
  padding: 26px 24px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.v2-hero-left {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  gap: 24px;
}
.v2-hero-left-text { flex-shrink: 0; }

.v2-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

.v2-hero-badge .pulse-dot {
  width: 7px;
  height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  animation: v2-pulse 2s ease-in-out infinite;
}

@keyframes v2-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.v2-hero-title {
  font-size: 25px;
  font-weight: 800;
  color: var(--v2-text-inverse);
  line-height: 1.3;
  letter-spacing: -0.8px;
  margin-bottom: 6px;
}

.v2-hero-title em {
  font-style: normal;
  color: var(--v2-accent);
}

.v2-hero-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 0;
}

.v2-hero-stats {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.15);
}

.v2-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v2-hero-stat .stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--v2-text-inverse);
}

.v2-hero-stat .stat-value em {
  font-style: normal;
  color: var(--v2-accent);
  font-size: 14px;
  font-weight: 600;
}

.v2-hero-stat .stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* 히어로 우측 일러스트 */
.v2-hero-right {
  position: relative;
  width: 340px;
  flex-shrink: 0;
}

.v2-hero-illustration {
  position: relative;
  width: 360px;
  height: 180px;
  margin: 0 auto;
}

.v2-hero-card-float {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--v2-radius-md);
  padding: 14px 18px;
  backdrop-filter: blur(8px);
  color: var(--v2-text-inverse);
  min-width: 120px;
}

.v2-hero-card-float.card-1 { top: 0; left: 0; animation: v2-floatUp 3s ease-in-out infinite; }
.v2-hero-card-float.card-2 { top: 8px; right: 0; animation: v2-floatUp 3s ease-in-out infinite 0.5s; }
.v2-hero-card-float.card-3 { bottom: 0; left: 80px; animation: v2-floatUp 3s ease-in-out infinite 1s; }

@keyframes v2-floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.v2-hero-card-float .hcf-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.v2-hero-card-float .hcf-icon svg { width: 20px; height: 20px; }
.v2-hero-card-float .hcf-title { font-size: 13px; font-weight: 700; line-height: 1.3; }
.v2-hero-card-float .hcf-sub { font-size: 11px; opacity: 0.7; margin-top: 2px; }
.v2-wrap a.v2-hero-card-float { text-decoration: none; color: var(--v2-text-inverse); display: block; }
.v2-wrap a.v2-hero-card-float:hover { background: rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════
   대원 정보 박스 (로그인 후)
   ═══════════════════════════════════════ */
.v2-member-info-wrap {
  max-width: var(--v2-max-width);
  margin: -20px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.v2-member-info {
  background: var(--v2-bg-white);
  border-radius: var(--v2-radius-lg);
  box-shadow: var(--v2-shadow-lg);
  padding: 20px 24px;
  border: 1px solid rgba(27,107,58,0.1);
}

.v2-member-info .v2-edu-guide {
  font-size: 15px;
  font-weight: 600;
  color: var(--v2-primary-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.v2-member-info .v2-edu-guide-sub {
  font-size: 13px;
  color: var(--v2-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.v2-member-grid {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.v2-member-grid .v2-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.v2-member-grid .v2-info-label {
  color: var(--v2-text-tertiary);
  font-weight: 500;
}

.v2-member-grid .v2-info-value {
  color: var(--v2-text-primary);
  font-weight: 700;
}

.v2-btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--v2-bg-light);
  border: 1px solid var(--v2-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-text-secondary);
  transition: all 0.2s;
  margin-left: auto;
  text-decoration: none;
}

.v2-btn-logout:hover {
  background: var(--v2-primary-light);
  color: var(--v2-primary);
  border-color: var(--v2-primary);
}

/* ═══════════════════════════════════════
   메인 컨텐츠
   ═══════════════════════════════════════ */
.v2-main-content {
  max-width: var(--v2-max-width);
  margin: -28px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
}

.v2-main-content.has-member {
  margin-top: 20px;
}

/* ═══════════════════════════════════════
   핵심 콘텐츠 카드 (교육 시작하기)
   ═══════════════════════════════════════ */
.v2-region-card {
  background: var(--v2-bg-white);
  border-radius: var(--v2-radius-xl);
  box-shadow: var(--v2-shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(27,107,58,0.1);
  position: relative;
}

.v2-region-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--v2-primary), var(--v2-accent), var(--v2-primary));
  background-size: 200% 100%;
  animation: v2-gradientSlide 4s ease infinite;
}

@keyframes v2-gradientSlide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.v2-region-card-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--v2-border-light);
  background: var(--v2-bg-white);
}

.v2-region-card-header .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.v2-region-card-header .step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v2-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s;
}

.v2-step-dot.active {
  background: var(--v2-primary);
  color: var(--v2-text-inverse);
  box-shadow: 0 2px 8px rgba(27,107,58,0.3);
}

.v2-step-dot.inactive {
  background: var(--v2-border);
  color: var(--v2-text-tertiary);
}

.v2-step-line { width: 32px; height: 2px; background: var(--v2-border); }

.v2-step-label {
  font-size: 12px;
  color: var(--v2-text-tertiary);
  margin-left: 4px;
  font-weight: 500;
}

.v2-region-card-header h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--v2-primary-dark);
  letter-spacing: -0.5px;
  margin-top: 6px;
}

.v2-region-card-header .desc {
  font-size: 13px;
  color: var(--v2-text-secondary);
  margin-top: 4px;
}

/* 검색 바 */
.v2-region-search { padding: 14px 24px 0; }

.v2-search-input-wrap { position: relative; }

.v2-search-input-wrap input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  border: 1.5px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  font-size: 15px;
  font-family: inherit;
  color: var(--v2-text-primary);
  background: var(--v2-bg-white);
  outline: none;
  transition: all 0.2s;
}

.v2-search-input-wrap input:focus {
  border-color: var(--v2-primary);
  background: var(--v2-bg-white);
  box-shadow: 0 0 0 4px rgba(27,107,58,0.08);
}

.v2-search-input-wrap input::placeholder { color: var(--v2-text-tertiary); }

.v2-search-input-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--v2-text-tertiary);
  pointer-events: none;
}

/* 탭 기반 지역 선택 */
.v2-cascade-wrap {
  display: flex;
  flex-direction: column;
  margin: 12px 24px 20px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  overflow: hidden;
  position: relative;
}

/* 탭 바 */
.v2-cascade-tabs {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--v2-border);
  background: #FAFBFC;
}

.v2-cascade-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--v2-text-tertiary);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.v2-cascade-tab:hover:not(.disabled) {
  color: var(--v2-primary);
  background: var(--v2-bg-white);
}

.v2-cascade-tab.active {
  color: var(--v2-primary);
  font-weight: 700;
  background: var(--v2-bg-white);
  border-bottom-color: var(--v2-primary);
}

.v2-cascade-tab.disabled {
  color: var(--v2-text-tertiary);
  opacity: 0.5;
  cursor: default;
}

.v2-cascade-tab-divider {
  width: 1px;
  background: var(--v2-border);
  align-self: stretch;
  margin: 8px 0;
}

/* 지역 칩/버튼 그리드 */
.v2-cascade-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-content: start;
  max-height: none;
  overflow-y: auto;
}

/* 시/도 칩 버튼 */
.v2-region-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 10px;
  background: var(--v2-bg-light);
  border-radius: var(--v2-radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--v2-text-primary);
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  word-break: keep-all;
  border: 1.5px solid transparent;
  text-decoration: none;
}

.v2-region-chip:hover {
  background: var(--v2-primary-light);
  border-color: var(--v2-primary);
  color: var(--v2-primary);
}

/* 색깔 통일: has-edu 구분 제거 — 모든 시/도 동일 스타일 */
.v2-region-chip.has-edu {
  /* 기본 칩과 동일 */
}

/* 시/도 교육 지역 수 배지 */
.v2-sido-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--v2-primary);
  border-radius: 10px;
  margin-left: 4px;
  line-height: 1;
}

/* 구/군 아이템 */
.v2-gugun-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  background: var(--v2-bg-light);
  border-radius: var(--v2-radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--v2-text-primary);
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  word-break: keep-all;
  border: 1.5px solid transparent;
  text-decoration: none;
}

.v2-gugun-item:hover {
  background: var(--v2-primary-light);
  border-color: var(--v2-primary);
  color: var(--v2-primary);
}

/* 색깔 통일: 승인/진행 구분 제거 — 모든 구/군 동일 스타일 */
.v2-gugun-item.approved {
  position: relative;
}

.v2-gugun-item.edu-active {
  /* 기본 구/군과 동일 */
}

/* 교육 진행 중 배지 */
.v2-edu-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--v2-primary);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
  line-height: 1.6;
  letter-spacing: -0.3px;
  white-space: nowrap;
  vertical-align: middle;
}

/* 크로스 검색 결과 아이템 */
.v2-gugun-item .v2-search-result-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--v2-text-primary);
  line-height: 1.3;
}

.v2-gugun-item .v2-search-result-sd {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--v2-text-tertiary);
  margin-top: 2px;
}

.v2-cascade-grid .region-divider {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--v2-text-tertiary);
  padding: 8px 6px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--v2-border);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.v2-cascade-grid .region-divider:first-child {
  padding-top: 2px;
}

/* ── 타 기관 안내 오버레이 ── */
.v2-other-org-overlay {
  display: none;
  flex: 1;
  background: linear-gradient(135deg, #FFF8E1 0%, #FAFBFC 100%);
  border-radius: var(--v2-radius-md);
  border: 1.5px dashed #D4A017;
  padding: 40px 24px 32px;
  text-align: center;
  animation: v2-fadeInUp 0.3s ease;
  align-self: stretch;
  align-items: center;
  justify-content: flex-start;
}
.v2-other-org-overlay.active { display: flex; flex-direction: column; }

.v2-other-org-icon {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFE082 100%) !important;
}
.v2-other-org-icon svg {
  stroke: #D4A017 !important;
}

/* ── 스크롤 그라데이션 힌트 ── */
.v2-scroll-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}
.v2-scroll-fade.hidden {
  opacity: 0;
}

/* ── 교육 준비중 안내 오버레이 ── */
.v2-no-education-overlay {
  display: none;
  flex: 1;
  background: linear-gradient(135deg, #FAFBFC 0%, #F0F2F5 100%);
  border-radius: var(--v2-radius-md);
  border: 1.5px dashed var(--v2-border);
  padding: 40px 24px 32px;
  text-align: center;
  animation: v2-fadeInUp 0.3s ease;
  align-self: stretch;
  align-items: center;
  justify-content: flex-start;
}
.v2-no-education-overlay.active { display: flex; flex-direction: column; }

@keyframes v2-fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.v2-no-edu-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #E8F5EC 0%, #D4EDDA 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v2-no-edu-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--v2-primary);
}
.v2-no-edu-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--v2-text-primary);
  margin-bottom: 6px;
}
.v2-no-edu-region {
  font-size: 13px;
  color: var(--v2-primary);
  font-weight: 700;
  margin-bottom: 12px;
}
.v2-no-edu-desc {
  font-size: 13px;
  color: var(--v2-text-tertiary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.v2-no-edu-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.v2-no-edu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  font-family: inherit;
}
.v2-no-edu-btn.primary,
.v2-wrap a.v2-no-edu-btn.primary {
  background: var(--v2-primary);
  color: var(--v2-text-inverse);
}
.v2-no-edu-btn.primary:hover { background: var(--v2-primary-dark); transform: translateY(-1px); }
.v2-no-edu-btn.secondary {
  background: var(--v2-bg-white);
  color: var(--v2-text-secondary);
  border: 1.5px solid var(--v2-border);
}
.v2-no-edu-btn.secondary:hover { border-color: var(--v2-primary); color: var(--v2-primary); }
.v2-no-edu-btn svg { width: 14px; height: 14px; }

/* 준비중 배지 */
.v2-edu-badge.preparing {
  background: var(--v2-accent);
  color: #1A1A1A;
}

/* 색깔 통일: 비활성 지역도 동일 스타일 */
.v2-gugun-item.inactive-region {
  cursor: pointer;
  position: relative;
}
.v2-gugun-item.inactive-region:hover {
  background: var(--v2-primary-light);
  border-color: var(--v2-primary);
  color: var(--v2-primary);
  color: var(--v2-text-primary);
}

/* 색깔 통일: 타 기관도 동일 스타일 */
.v2-gugun-item.other-org-region {
  cursor: pointer;
}
.v2-gugun-item.other-org-region:hover {
  background: var(--v2-primary-light);
  border-color: var(--v2-primary);
  color: var(--v2-primary);
  color: var(--v2-text-primary);
}

/* 교육 미진행 시/도 */
.v2-sido-item.no-active {
  opacity: 0.45;
}

/* 교육 안내 메시지 */
.v2-edu-comment {
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--v2-navy) 0%, var(--v2-navy-light) 100%);
  color: var(--v2-text-inverse);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  font-weight: 500;
}

.v2-edu-comment span { color: #FFD54F; font-weight: 700; }

/* ── 로그인 화면 (Step 2) ── */
.v2-login-view { display: block; }

.v2-login-header {
  padding: 22px 24px 20px;
  text-align: center;
  border-bottom: 1px solid var(--v2-border-light);
  background: linear-gradient(180deg, var(--v2-primary-light) 0%, var(--v2-bg-white) 100%);
}

.v2-login-header .step-indicator {
  margin-bottom: 16px;
}

.v2-login-header .selected-region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--v2-primary);
  color: var(--v2-text-inverse);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(27,107,58,0.2);
}

.v2-login-header .selected-region .change-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  padding: 0;
  color: var(--v2-text-inverse);
  text-decoration: none;
}

.v2-login-header .selected-region .change-btn:hover { background: rgba(255,255,255,0.4); }
.v2-login-header .selected-region .change-btn svg { width: 10px; height: 10px; }

.v2-login-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--v2-primary-dark);
  letter-spacing: -0.3px;
}

.v2-login-header p {
  font-size: 13px;
  color: var(--v2-text-tertiary);
  margin-top: 4px;
}

.v2-login-body { padding: 24px; }

.v2-login-body .form-group {
  max-width: 380px;
  margin: 0 auto;
}

.v2-form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v2-form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  font-size: 15px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--v2-text-primary);
  background: var(--v2-bg-white);
  transition: all 0.2s;
  outline: none;
}

.v2-form-input:focus {
  border-color: var(--v2-primary);
  box-shadow: 0 0 0 4px rgba(27,107,58,0.08);
}

.v2-form-input::placeholder { color: var(--v2-text-tertiary); }

.v2-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.v2-checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--v2-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.v2-checkbox-wrap label {
  font-size: 14px;
  color: var(--v2-text-secondary);
  line-height: 1.5;
}

.v2-checkbox-wrap label strong { color: var(--v2-primary-dark); }

.v2-checkbox-wrap label a {
  color: var(--v2-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.v2-btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--v2-primary) 0%, var(--v2-primary-dark) 100%);
  color: var(--v2-text-inverse);
  border: none;
  border-radius: var(--v2-radius-sm);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: -0.2px;
  box-shadow: 0 4px 14px rgba(27,107,58,0.25);
  margin-top: 4px;
}

.v2-wrap a.v2-btn-login,
.v2-btn-login {
  color: var(--v2-text-inverse);
}

.v2-btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,107,58,0.35);
}

.v2-btn-login svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════
   우측 사이드바
   ═══════════════════════════════════════ */
.v2-sidebar { display: flex; flex-direction: column; gap: 16px; min-width: 0; overflow: hidden; }

/* 공지사항 카드 */
.v2-notice-card {
  background: var(--v2-bg-white);
  border-radius: var(--v2-radius-lg);
  box-shadow: var(--v2-shadow-md);
  padding: 20px;
  border: 1px solid var(--v2-border-light);
  overflow: hidden;
  min-width: 0;
}

.v2-card-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.v2-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--v2-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.v2-card-title .indicator {
  width: 4px;
  height: 20px;
  background: var(--v2-primary);
  border-radius: 2px;
}

.v2-btn-more {
  font-size: 13px;
  color: var(--v2-text-tertiary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.v2-btn-more:hover { color: var(--v2-primary); }
.v2-btn-more svg { width: 14px; height: 14px; }

.v2-notice-list { display: flex; flex-direction: column; overflow: hidden; min-width: 0; }

.v2-notice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--v2-border-light);
  transition: all 0.15s;
  cursor: pointer;
  min-width: 0;
}

.v2-notice-item:last-child { border-bottom: none; padding-bottom: 0; }
.v2-notice-item:first-child { padding-top: 0; }
.v2-notice-item:hover { color: var(--v2-primary); }

.v2-notice-item .dot {
  width: 5px;
  height: 5px;
  background: var(--v2-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.v2-notice-item .text {
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

/* ═══════════════════════════════════════
   배너 카드
   ═══════════════════════════════════════ */
.v2-banner-section { display: flex; flex-direction: column; gap: 10px; }

.v2-wrap a.v2-banner-card-large,
.v2-banner-card-large {
  border-radius: var(--v2-radius-lg);
  padding: 22px 24px;
  color: var(--v2-text-inverse);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.v2-banner-card-large:hover {
  transform: translateY(-3px);
  box-shadow: var(--v2-shadow-hover);
}

.v2-banner-card-large.banner-cert { background: linear-gradient(135deg, #8D6E2C 0%, #A07D3A 40%, #B08E4A 100%); }
.v2-banner-card-large.banner-notice-center { background: linear-gradient(135deg, #2C3E6B 0%, #1A2A4A 40%, #243B5E 100%); }
.v2-banner-card-large.banner-center { background: linear-gradient(135deg, #1565C0 0%, #0D47A1 40%, #0A3680 100%); }

/* 안내형 배너 — 링크 배너와 시각적 차별화 */
.v2-banner-card-large.banner-info-only {
  cursor: default;
  background: var(--v2-surface);
  color: var(--v2-text-primary);
  border: 1.5px solid var(--v2-border);
  padding: 18px 24px;
}
.v2-banner-card-large.banner-info-only::before,
.v2-banner-card-large.banner-info-only::after { display: none; }
.v2-banner-card-large.banner-info-only:hover {
  transform: none;
  box-shadow: none;
}
.v2-banner-card-large.banner-info-only .v2-banner-icon-wrap {
  background: linear-gradient(135deg, #455A64, #37474F);
}
.v2-banner-card-large.banner-info-only .b-desc {
  opacity: 0.6;
  color: var(--v2-text-secondary);
}

.v2-banner-card-large::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.v2-banner-card-large::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: 40px;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.v2-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.v2-banner-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}

.v2-banner-icon-wrap svg { width: 24px; height: 24px; }
.v2-banner-text-group { flex: 1; }
.v2-banner-text-group .b-title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.v2-banner-text-group .b-desc { font-size: 13px; opacity: 0.8; margin-top: 4px; line-height: 1.4; }

.v2-banner-arrow-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.v2-banner-card-large:hover .v2-banner-arrow-btn { background: rgba(255,255,255,0.35); }
.v2-banner-arrow-btn svg { width: 16px; height: 16px; }

/* 미니 배너 */
.v2-banner-mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.v2-banner-mini {
  border-radius: var(--v2-radius-md);
  padding: 16px 16px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-banner-mini:hover { transform: translateY(-2px); box-shadow: var(--v2-shadow-md); }

.v2-banner-mini.green { background: var(--v2-bg-white); color: var(--v2-text-primary); border: 1px solid var(--v2-border); }
.v2-banner-mini.purple { background: var(--v2-bg-white); color: var(--v2-text-primary); border: 1px solid var(--v2-border); }

.v2-banner-mini .mini-icon {
  width: 40px;
  height: 40px;
  background: var(--v2-bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--v2-text-secondary);
}

.v2-banner-mini .mini-icon svg { width: 20px; height: 20px; }
.v2-banner-mini .mini-text { font-size: 13px; font-weight: 700; line-height: 1.3; }
.v2-banner-mini .mini-sub { font-size: 11px; opacity: 0.7; margin-top: 2px; }

/* ═══════════════════════════════════════
   바로가기 카드
   ═══════════════════════════════════════ */
.v2-quick-links-card {
  background: var(--v2-bg-white);
  border-radius: var(--v2-radius-lg);
  box-shadow: var(--v2-shadow-md);
  padding: 18px;
  border: 1px solid var(--v2-border-light);
}

.v2-quick-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }

.v2-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  background: var(--v2-bg-light);
  border-radius: var(--v2-radius-sm);
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.v2-quick-link:hover {
  background: var(--v2-bg-white);
  border-color: var(--v2-border);
  box-shadow: var(--v2-shadow-sm);
  transform: translateY(-2px);
}

.v2-quick-link .ql-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v2-quick-link .ql-icon.green { background: #F0F4F1; color: #5A7D65; }
.v2-quick-link .ql-icon.blue { background: #EFF2F7; color: #5A6B80; }
.v2-quick-link .ql-icon.orange { background: #F5F1EC; color: #8D7A60; }
.v2-quick-link .ql-icon.purple { background: #F2F0F5; color: #6E6080; }

.v2-quick-link .ql-icon svg { width: 20px; height: 20px; }
.v2-quick-link .ql-text { font-size: 13px; font-weight: 600; color: var(--v2-text-primary); }
.v2-quick-link .ql-sub { font-size: 11px; color: var(--v2-text-tertiary); margin-top: 1px; }

/* ═══════════════════════════════════════
   하단 링크
   ═══════════════════════════════════════ */
.v2-bottom-links {
  max-width: var(--v2-max-width);
  margin: 24px auto 0;
  padding: 0 24px;
}

.v2-bottom-links-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

.v2-bottom-link-item {
  background: var(--v2-bg-white);
  border-radius: var(--v2-radius-md);
  padding: 16px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--v2-shadow-sm);
  border: 1px solid var(--v2-border-light);
  transition: all 0.25s;
  cursor: pointer;
}

.v2-bottom-link-item:hover {
  box-shadow: var(--v2-shadow-hover);
  transform: translateY(-3px);
  border-color: var(--v2-primary);
}

.v2-bottom-link-item .bli-icon {
  width: 42px;
  height: 42px;
  background: var(--v2-primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v2-bottom-link-item .bli-icon svg { width: 20px; height: 20px; color: var(--v2-primary); }
.v2-bottom-link-item .bli-text .title { font-size: 14px; font-weight: 700; color: var(--v2-text-primary); }
.v2-bottom-link-item .bli-text .sub { font-size: 12px; color: var(--v2-text-tertiary); margin-top: 2px; }

/* ═══════════════════════════════════════
   푸터
   ═══════════════════════════════════════ */
.v2-footer {
  margin-top: 28px;
  background: var(--v2-navy);
  padding: 28px 24px;
}

.v2-footer-inner { max-width: var(--v2-max-width); margin: 0 auto; }

.v2-footer-links { display: flex; gap: 24px; margin-bottom: 16px; }

.v2-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.v2-footer-links a:hover { color: var(--v2-text-inverse); }
.v2-footer-links a.highlight { color: rgba(255,255,255,0.9); font-weight: 600; }

.v2-footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.8; }

/* ═══════════════════════════════════════
   카카오 문의 버튼
   ═══════════════════════════════════════ */
.v2-kakao-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #FEE500;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 100;
}

.v2-kakao-btn:hover { transform: scale(1.08); }
.v2-kakao-btn svg { width: 30px; height: 30px; }

/* ═══════════════════════════════════════
   레거시 팝업 호환 (layerpopup, pop_wrap2)
   ═══════════════════════════════════════ */
.v2-wrap .layerpopup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
}

.v2-wrap .layerpopup .popupbox {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--v2-bg-white);
  border-radius: var(--v2-radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  width: 90%;
  max-width: 440px;
  max-height: 80vh;
  overflow: hidden;
  z-index: 100001;
  display: flex;
  flex-direction: column;
}

.v2-wrap .layerpopup .lptitle {
  padding: 20px 24px;
  padding-right: 50px;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--v2-border);
  flex-shrink: 0;
  position: relative;
}

.v2-wrap .layerpopup .lptitle .lp-close-btn {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.v2-wrap .layerpopup .lptitle .lp-close-btn:hover {
  background: var(--v2-bg-light);
}
.v2-wrap .layerpopup .lptitle .lp-close-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--v2-text-secondary);
}

.v2-wrap .layerpopup .lpbody {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.v2-wrap .layerpopup .lpbot {
  padding: 16px 24px;
  border-top: 1px solid var(--v2-border);
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.v2-wrap .layerpopup .popupshade {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 100000;
}

.v2-wrap .inp_phone_group {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.v2-wrap .inp_phone_group li { flex: 1; }
.v2-wrap .inp_phone_group li.dash { flex: 0; font-size: 16px; color: var(--v2-text-tertiary); }

.v2-wrap .inp_phone_group input {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  font-size: 16px;
  text-align: center;
  outline: none;
  font-family: inherit;
}

.v2-wrap .inp_phone_group input:focus { border-color: var(--v2-primary); }

.v2-wrap .btngroup {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.v2-wrap .btngroup li { flex: 1; }

.v2-wrap .btn50 {
  display: block;
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  background: var(--v2-bg-white);
  color: var(--v2-text-primary);
}

.v2-wrap .btn50.black {
  background: var(--v2-primary);
  color: var(--v2-text-inverse);
  border-color: var(--v2-primary);
}

.v2-wrap .btn50.black:hover { background: var(--v2-primary-dark); }
.v2-wrap .btn50.noBg:hover { background: var(--v2-bg-light); }

.v2-wrap .mt20 { margin-top: 20px; }

/* 로딩 오버레이 */
.v2-wrap .pop_wrap2 {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
}

.v2-wrap .pop_wrap2 .pop_mask {
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .5;
  position: fixed;
}

/* 개인정보 팝업 스타일 */
.v2-wrap .txt_common { font-size: 14px; color: var(--v2-text-secondary); line-height: 1.7; }
.v2-wrap .txttitle { font-size: 15px; font-weight: 700; color: var(--v2-text-primary); margin-top: 20px; }
.v2-wrap .list_style { font-size: 13px; color: var(--v2-text-secondary); line-height: 1.8; margin-top: 8px; }
.v2-wrap .mt30 { margin-top: 30px; }
.v2-wrap .mt40 { margin-top: 40px; }
.v2-wrap .pop_termbox { max-height: 300px; overflow-y: auto; margin-top: 12px; padding: 16px; background: var(--v2-bg-light); border-radius: var(--v2-radius-sm); }

/* ═══════════════════════════════════════
   모바일 햄버거 메뉴
   ═══════════════════════════════════════ */
.v2-hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--v2-text-primary);
}
.v2-hamburger-btn svg { width: 26px; height: 26px; }

.v2-mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--v2-bg-white);
  border-bottom: 1px solid var(--v2-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 999;
  padding: 8px 0;
}
.v2-mobile-nav.open { display: block; }
.v2-mobile-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--v2-text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--v2-bg-light);
}
.v2-mobile-nav a:last-child { border-bottom: none; }
.v2-mobile-nav a:hover { background: var(--v2-bg-light); color: var(--v2-primary); }

/* ═══════════════════════════════════════
   서브페이지 공통 (공지/FAQ/문의/상세)
   ═══════════════════════════════════════ */
.v2-sub-page {
  max-width: var(--v2-max-width);
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.v2-sub-container {
  max-width: 900px;
  margin: 0 auto;
}

/* 페이지 헤더 */
.v2-page-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--v2-primary);
}

.v2-page-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--v2-text-primary);
  letter-spacing: -0.5px;
}

.v2-page-desc {
  font-size: 15px;
  color: var(--v2-text-tertiary);
  margin-top: 6px;
}

/* 검색 영역 */
.v2-board-search {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--v2-bg-white);
  padding: 16px;
  border-radius: var(--v2-radius-lg);
  box-shadow: var(--v2-shadow-sm);
  border: 1px solid var(--v2-border-light);
}

.v2-search-select {
  padding: 10px 14px;
  border: 1.5px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--v2-text-primary);
  background-color: var(--v2-bg-white);
  outline: none;
  cursor: pointer;
  min-width: 100px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23787878' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.v2-search-select:focus {
  border-color: var(--v2-primary);
}

.v2-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.v2-search-input-wrap:focus-within .v2-search-input {
  border-color: var(--v2-primary);
}

.v2-search-input-wrap.v2-search-full {
  max-width: 100%;
}

.v2-board-search .v2-search-input-wrap input.v2-search-input {
  flex: 1;
  width: auto;
  padding: 10px 14px;
  border: 1px solid var(--v2-border);
  border-right: none;
  border-radius: var(--v2-radius-sm) 0 0 var(--v2-radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--v2-text-primary);
  background: var(--v2-bg-white);
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s;
}

.v2-board-search .v2-search-input-wrap input.v2-search-input:focus {
  border-color: var(--v2-primary);
  background: var(--v2-bg-white);
  box-shadow: none;
}

.v2-board-search .v2-search-input::placeholder {
  color: var(--v2-text-tertiary);
}

.v2-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  background: var(--v2-primary);
  border: none;
  border-radius: 0 var(--v2-radius-sm) var(--v2-radius-sm) 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.v2-search-btn:hover {
  background: var(--v2-primary-dark);
}

.v2-search-btn svg {
  width: 18px;
  height: 18px;
  color: var(--v2-text-inverse);
}

/* 게시판 카드 */
.v2-board-card {
  background: var(--v2-bg-white);
  border-radius: var(--v2-radius-lg);
  box-shadow: var(--v2-shadow-md);
  border: 1px solid var(--v2-border);
  overflow: hidden;
}

.v2-board-table {
  width: 100%;
  border-collapse: collapse;
}

.v2-board-table thead th {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--v2-text-tertiary);
  text-align: center;
  background: var(--v2-bg-light);
  border-bottom: 1px solid var(--v2-border);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.v2-board-table tbody td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--v2-border-light);
  text-align: center;
  color: var(--v2-text-secondary);
}

.v2-board-table tbody tr:last-child td {
  border-bottom: none;
}

/* PC 행 호버 */
.v2-board-row:hover {
  background: var(--v2-bg-light);
}

.v2-board-no {
  color: var(--v2-text-tertiary);
  font-size: 13px;
  font-weight: 500;
}

.v2-board-category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--v2-primary-light);
  color: var(--v2-primary-dark);
}

.v2-board-title-cell {
  text-align: left !important;
}

.v2-board-title-cell a {
  font-weight: 500;
  color: var(--v2-text-primary);
  transition: color 0.2s;
}

.v2-board-title-cell a:hover {
  color: var(--v2-primary);
}

.v2-board-writer {
  font-size: 13px;
}

.v2-board-date {
  font-size: 13px;
  color: var(--v2-text-tertiary);
}

.v2-board-empty {
  text-align: center !important;
  padding: 48px 16px !important;
  color: var(--v2-text-tertiary);
  font-size: 14px;
}

/* 모바일 행 */
.v2-board-row-mobile {
  display: none;
}

.v2-board-mobile-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 4px 0;
}

.v2-board-mobile-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--v2-text-primary);
  line-height: 1.5;
}

.v2-board-mobile-date {
  font-size: 12px;
  color: var(--v2-text-tertiary);
}

.v2-board-mobile-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--v2-text-tertiary);
}

/* 페이저 */
.v2-board-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 0; /* &nbsp; 텍스트 노드 무력화 */
}

.v2-board-pager a,
.v2-board-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--v2-text-secondary);
  text-decoration: none;
  border: none;
  background: transparent;
  transition: background 0.15s, color 0.15s;
}

.v2-board-pager a:hover {
  background: var(--v2-primary-light);
  color: var(--v2-primary);
}

/* active 페이지 — page4() 출력: a.btn_page.active / .now / strong / b */
.v2-board-pager .active,
.v2-board-pager .now,
.v2-board-pager strong,
.v2-board-pager b {
  background: var(--v2-primary) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(27,107,58,0.28);
}

/* 이전/다음 화살표 버튼 — 숫자 버튼과 동일 스타일 */
.v2-board-pager a[class*="prev"],
.v2-board-pager a[class*="next"],
.v2-board-pager a[class*="first"],
.v2-board-pager a[class*="last"] {
  color: var(--v2-text-secondary);
  font-weight: 600;
}

.v2-board-pager .first span::before { content: '«'; font-size: 12px; }
.v2-board-pager .prev span::before  { content: '‹'; font-size: 20px; line-height: 1; }
.v2-board-pager .next span::before  { content: '›'; font-size: 20px; line-height: 1; }
.v2-board-pager .last span::before  { content: '»'; font-size: 12px; }

/* 목록 상단 툴바 (글쓰기 버튼 등) */
.v2-board-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 12px;
}

/* 하단 버튼 */
.v2-board-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.v2-btn-list,
.v2-btn-edit,
.v2-btn-write {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--v2-radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.v2-btn-list {
  background: var(--v2-bg-white);
  color: var(--v2-text-secondary);
  border: 1.5px solid var(--v2-border);
}

.v2-btn-list:hover {
  background: var(--v2-bg-light);
  border-color: var(--v2-text-tertiary);
}

.v2-btn-edit {
  background: var(--v2-bg-white);
  color: var(--v2-primary);
  border: 1.5px solid var(--v2-primary);
}

.v2-btn-edit:hover {
  background: var(--v2-primary-light);
}

.v2-wrap a.v2-btn-write,
.v2-btn-write {
  background: var(--v2-primary);
  color: var(--v2-text-inverse);
  border: 1.5px solid var(--v2-primary);
}

.v2-btn-write:hover {
  background: var(--v2-primary-dark);
  border-color: var(--v2-primary-dark);
}

/* 나의 글 확인하기 */
.v2-mypost-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: -12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.v2-btn-mypost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--v2-radius-sm);
  font-size: 13px;
  font-weight: 600;
  background: var(--v2-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(27,107,58,0.22);
}
.v2-btn-mypost:hover {
  background: var(--v2-primary-dark);
  box-shadow: 0 4px 12px rgba(27,107,58,0.32);
}
.v2-mypost-active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--v2-radius-sm);
  background: var(--v2-primary-light);
  color: var(--v2-primary);
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid rgba(27,107,58,0.2);
}
.v2-mypost-clear {
  background: none;
  border: none;
  color: var(--v2-primary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 0 2px;
  line-height: 1;
  font-family: inherit;
}
.v2-mypost-clear:hover {
  color: var(--v2-primary-dark);
}

/* 글쓰기 폼 */
.v2-form-notice {
  background: var(--v2-primary-light);
  border-left: 4px solid var(--v2-primary);
  padding: 14px 18px;
  margin-bottom: 24px;
  border-radius: 0 var(--v2-radius-sm) var(--v2-radius-sm) 0;
}

.v2-form-notice p {
  font-size: 13px;
  color: var(--v2-text-secondary);
  line-height: 1.8;
}

.v2-form-card {
  background: var(--v2-bg-white);
  border-radius: var(--v2-radius-lg);
  box-shadow: var(--v2-shadow-md);
  border: 1px solid var(--v2-border);
  padding: 0;
  overflow: hidden;
}

.v2-form-card-header {
  background: var(--v2-primary);
  color: var(--v2-text-inverse);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
}

.v2-form-card-body {
  padding: 28px;
}

.v2-form-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--v2-border-light);
}

.v2-form-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.v2-form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--v2-text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.v2-form-label.v2-required::after {
  content: ' *';
  color: #E53E3E;
  font-weight: 700;
}

.v2-form-input,
.v2-form-select,
.v2-form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--v2-text-primary);
  background: #FAFBFC;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.v2-form-input:focus,
.v2-form-select:focus,
.v2-form-textarea:focus {
  background: var(--v2-bg-white);
  border-color: var(--v2-primary);
}

.v2-form-input::placeholder,
.v2-form-textarea::placeholder {
  color: var(--v2-text-tertiary);
}

.v2-form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23787878' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.v2-form-textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.6;
}

.v2-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--v2-border-light);
}

.v2-form-row .v2-form-group {
  flex: 1;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.v2-form-area-selects {
  display: flex;
  gap: 8px;
}

.v2-form-area-selects .v2-form-select {
  flex: 1;
}

.v2-form-help {
  font-size: 12px;
  color: var(--v2-text-tertiary);
  margin-top: 6px;
  line-height: 1.6;
}

.v2-form-sms {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 13px;
}

.v2-form-sms-label {
  color: var(--v2-text-secondary);
  font-weight: 500;
}

.v2-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--v2-text-secondary);
  cursor: pointer;
  font-size: 13px;
}

.v2-radio-label input[type="radio"] {
  margin: 0;
  accent-color: var(--v2-primary);
}

.v2-form-privacy {
  margin-top: 20px;
  padding: 16px;
  background: var(--v2-bg-light);
  border-radius: var(--v2-radius-sm);
  border: 1px solid var(--v2-border);
}

.v2-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--v2-text-secondary);
  cursor: pointer;
}

.v2-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--v2-primary);
  flex-shrink: 0;
}

.v2-checkbox-label strong {
  color: var(--v2-primary);
}

.v2-form-privacy-link {
  color: var(--v2-text-tertiary);
  font-size: 13px;
  margin-left: 4px;
}

/* 약관 동의 영역 */
.v2-consent-wrap {
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  overflow: hidden;
}
.v2-consent-all {
  background: #F3F4F6;
  color: #374151;
  padding: 14px 20px;
  border-bottom: 1px solid #D1D5DB;
}
.v2-consent-all .v2-checkbox-label {
  color: #374151;
}
.v2-consent-all .v2-checkbox-label strong {
  color: #374151;
  font-size: 15px;
}
.v2-consent-items {
  background: var(--v2-bg-white);
}
.v2-consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--v2-border);
}
.v2-consent-row:last-child {
  border-bottom: none;
}
.v2-wrap a.v2-consent-detail,
button.v2-consent-detail,
.v2-consent-detail {
  flex-shrink: 0;
  padding: 6px 14px;
  background: #3b5998;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.v2-wrap a.v2-consent-detail:hover,
.v2-consent-detail:hover {
  background: #2d4373;
  color: #fff;
}
.v2-consent-row .v2-checkbox-label strong {
  color: inherit;
}

/* 로그인 카드 */
.v2-login-card {
  background: var(--v2-bg-white);
  border-radius: var(--v2-radius-lg);
  box-shadow: var(--v2-shadow-md);
  border: 1px solid var(--v2-border-light);
  padding: 40px 36px;
  text-align: center;
}

.v2-login-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--v2-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-login-icon svg {
  width: 28px;
  height: 28px;
  color: var(--v2-primary);
}

.v2-login-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--v2-text-primary);
  margin-bottom: 8px;
}

.v2-login-desc {
  font-size: 14px;
  color: var(--v2-text-tertiary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.v2-login-pw-rule {
  font-size: 13px;
  color: #d14;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: left;
}

.v2-login-card .v2-form-group {
  text-align: left;
}

.v2-btn-login-sub {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--v2-bg-white);
  color: var(--v2-text-secondary);
  border: 1.5px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.v2-btn-login-sub:hover {
  background: var(--v2-bg-light);
  border-color: var(--v2-primary);
  color: var(--v2-primary);
}

.v2-login-auth-btns {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 게시글 상세 카드 */
.v2-board-detail-card {
  background: var(--v2-bg-white);
  border-radius: var(--v2-radius-lg);
  box-shadow: var(--v2-shadow-sm);
  border: 1px solid var(--v2-border-light);
  overflow: hidden;
}

.v2-detail-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--v2-border-light);
}

.v2-detail-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--v2-text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.v2-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.v2-detail-writer {
  font-size: 14px;
  font-weight: 600;
  color: var(--v2-text-secondary);
}

.v2-detail-date {
  font-size: 13px;
  color: var(--v2-text-tertiary);
}

.v2-detail-body {
  padding: 28px;
}

.v2-detail-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--v2-text-secondary);
  word-break: break-all;
}

.v2-detail-content img {
  max-width: 100%;
  height: auto;
}

/* 문의 상세 - 문의/답변 구분 */
.v2-detail-section {
  margin-bottom: 24px;
}

.v2-detail-section:last-child {
  margin-bottom: 0;
}

.v2-detail-section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--v2-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--v2-primary-light);
}

.v2-detail-section-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--v2-text-secondary);
  word-break: break-all;
}

.v2-detail-answer .v2-detail-section-label {
  color: var(--v2-blue);
  border-bottom-color: var(--v2-blue-light);
}

/* ═══════════════════════════════════════
   반응형
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .v2-main-content { grid-template-columns: 1fr; }
  .v2-hero-right { display: none; }
  .v2-bottom-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .v2-header-nav { display: none; }
  .v2-wrap a.v2-header-phone-badge { display: none; }
  .v2-hamburger-btn { display: block; }
  .v2-hero-inner { flex-direction: column; text-align: center; padding: 24px 16px 32px; }
  .v2-hero-left { flex-direction: column; align-items: center; }
  .v2-hero-left-text { text-align: center; }
  .v2-hero-stats { border-left: none; padding-left: 0; justify-content: center; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.15); }
  .v2-hero-title { font-size: 24px; }
  .v2-hero-stat .stat-value { font-size: 18px; }
  /* 메인 컨텐츠 모바일 중앙정렬 */
  .v2-main-content { padding: 0 16px; max-width: 100%; }
  .v2-banner-mini-row { grid-template-columns: 1fr; }
  .v2-quick-links-grid { grid-template-columns: 1fr; }
  .v2-bottom-links-grid { grid-template-columns: 1fr; }
  .v2-footer-links { flex-wrap: wrap; gap: 12px; }
  /* 서브페이지 모바일 */
  .v2-sub-page { padding: 20px 16px 36px; }
  .v2-page-title { font-size: 22px; }
  .v2-board-search { flex-direction: column; }
  .v2-search-select { min-width: 100%; }
  .v2-board-row { display: none; }
  .v2-board-row-mobile { display: table-row; }
  .v2-board-table thead { display: none; }
  .v2-board-mobile-item { padding: 8px 0; }
  .v2-detail-header { padding: 20px 16px; }
  .v2-detail-title { font-size: 18px; }
  .v2-detail-body { padding: 20px 16px; }
  .v2-board-actions { justify-content: center; }
  .v2-form-card { padding: 0; }
  .v2-form-card-body { padding: 20px 16px; }
  .v2-form-row { flex-direction: column; gap: 0; }
  .v2-form-area-selects { flex-direction: column; }
  /* 지역 선택 모바일 대응 */
  .v2-cascade-grid { grid-template-columns: repeat(3, 1fr); }
  .v2-cascade-tab { font-size: 13px; padding: 10px 12px; }
  .v2-member-grid { flex-direction: column; align-items: flex-start; }
  .v2-btn-logout { margin-left: 0; margin-top: 8px; }
  .v2-region-card-header { padding: 20px 16px 12px; }
  .v2-search-wrap { margin: 0 16px 12px; }
  .v2-cascade-wrap { margin: 12px 16px 16px; }
  /* 사이드바 모바일 중앙정렬 */
  .v2-sidebar { max-width: 100%; }
}

@media (max-width: 480px) {
  .v2-cascade-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-hero-title { font-size: 20px; }
  .v2-hero-desc { font-size: 13px; }
}

/* ============================================
   교육 플로우 페이지 v2 스타일 오버라이드
   body/complete/*_v2.html 에서 사용
   ============================================ */

/* 교육 콘텐츠 래퍼 */
.v2-edu-content-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* 영상 학습 영역 — 레거시 #container .sub_wrap .sub_layout 없이도 동작하도록 flex 레이아웃 재정의 */
.v2-wrap .study_box {
  display: flex;
  border: 1px solid var(--v2-border-light, #e5e7eb);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-top: 20px;
}
.v2-wrap .study_box .stb_left {
  width: 65%;
}
.v2-wrap .study_box .stb_left .stb_clip_wrarp {
  position: relative;
  height: 0;
  width: 100%;
  padding-bottom: 56.41%;
}
.v2-wrap .study_box .stb_left .stb_clip_wrarp_inner {
  position: absolute;
  background: #000;
  width: 100%;
  height: 100%;
}
.v2-wrap .study_box .stb_left .stb_clip_wrarp .clip_certi {
  background: #fff;
  height: 100%;
  text-align: center;
}
.v2-wrap .study_box .stb_left .stb_clip_wrarp .clip_certi .clip_certi_inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.v2-wrap .study_box .stb_left .stb_clip_wrarp .clip_certi iframe {
  width: 100% !important;
  height: 100% !important;
}
.v2-wrap .study_box .stb_left.left_add {
  width: 65%;
  height: auto;
  overflow-y: auto;
}
.v2-wrap .study_box .stb_right {
  flex: none;
  width: 35%;
  border-left: 1px solid var(--v2-border-light, #e5e7eb);
  display: flex;
  flex-direction: column;
}
.v2-wrap .study_box .stb_right iframe {
  width: 100%;
  flex: 1;
}
.v2-wrap .study_box_add {
  height: unset !important;
}

/* 안내 박스 v2 스타일 */
.v2-wrap .infobox {
  background: var(--v2-primary-light, #E8F5EC);
  border: 1px solid rgba(27,107,58,0.15);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.v2-wrap .infobox p {
  font-size: 13px;
  line-height: 1.6;
  color: #374151;
}

.v2-wrap .infobox .c_green {
  color: var(--v2-primary, #1B6B3A);
}

/* 이수증 발급 버튼 v2 */
.v2-wrap .btn_certi_big a {
  background: var(--v2-primary, #1B6B3A);
  color: #fff;
  border-radius: 8px;
  padding: 14px 32px;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.v2-wrap .btn_certi_big a:hover {
  background: var(--v2-primary-dark, #0F4D28);
}

/* 이수증 발급 하단 바 */
.v2-wrap .study_bot_wrap {
  text-align: center;
  margin-top: 20px;
}

.v2-wrap .study_bot_wrap .btn_go_certi {
  background: var(--v2-primary, #1B6B3A);
  color: #fff;
  border-radius: 8px;
  padding: 14px 32px;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.v2-wrap .study_bot_wrap .btn_go_certi:hover {
  background: var(--v2-primary-dark, #0F4D28);
}

.v2-wrap .study_bot_wrap .btn_go_certi i {
  display: none;
}

/* 설문/평가 제목 */
.v2-wrap .h3tit {
  color: var(--v2-gray-600, #4b5563);
  font-size: 14px;
  margin-bottom: 4px;
}

.v2-wrap .h2tit {
  color: var(--v2-gray-900, #111827);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* 설문/평가 버튼 v2 — .stb_left 추가로 레거시 3-class 셀렉터 확실히 오버라이드 (0,4,0 > 0,3,0) */
.v2-wrap .study_box .stb_left .btn {
  background: var(--v2-primary, #1B6B3A);
  color: #fff;
  border-radius: 6px;
  padding: 8px 20px;
  width: auto;
  height: auto;
  line-height: 1.4;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s;
}

.v2-wrap .study_box .stb_left .btn:hover {
  background: var(--v2-primary-dark, #0F4D28);
}

.v2-wrap .study_box .stb_left .btn2 {
  background: #9ca3af;
  color: #fff;
  border-radius: 6px;
  padding: 8px 20px;
  width: auto;
  height: auto;
  line-height: 1.4;
  display: inline-block;
  font-size: 14px;
  cursor: default;
}

.v2-wrap .study_box .stb_left .btn3 {
  background: #dc2626;
  color: #fff;
  border-radius: 6px;
  padding: 8px 20px;
  width: auto;
  height: auto;
  line-height: 1.4;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.v2-wrap .study_box .stb_left .btn3:hover {
  background: #b91c1c;
}

.v2-wrap .study_box .stb_left .btn4 {
  background: #f59e0b;
  color: #fff;
  border-radius: 6px;
  padding: 4px 12px;
  width: auto;
  height: auto;
  line-height: 1.4;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.v2-wrap .study_box .stb_left .btn5 {
  background: var(--v2-primary, #1B6B3A);
  color: #fff;
  border-radius: 8px;
  padding: 12px 40px;
  width: auto;
  height: auto;
  line-height: 1.4;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.v2-wrap .study_box .stb_left .btn5:hover {
  background: var(--v2-primary-dark, #0F4D28);
}

/* 설문/평가 테이블 v2 */
.v2-wrap .tbl_search_data {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--v2-border-light, #e5e7eb);
}

.v2-wrap .tbl_search_data thead th {
  background: var(--v2-primary-light, #E8F5EC);
  color: #374151;
  font-size: 13px;
  padding: 12px 16px;
}

.v2-wrap .tbl_search_data tbody td {
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.6;
}

/* 전자통지서 v2 */
.v2-wrap .tongji_wrap {
  margin-top: 20px;
}

.v2-wrap .tongji_box {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--v2-border-light, #e5e7eb);
}

/* 팝업 v2 스타일 */
.v2-wrap .popup_round {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

/* 교육 페이지 모바일 반응형 */
@media (max-width: 768px) {
  .v2-edu-content-wrap {
    padding: 0 12px 24px;
  }
  .v2-wrap .study_box {
    display: block;
    margin-top: 12px;
  }
  .v2-wrap .study_box .stb_left,
  .v2-wrap .study_box .stb_left.left_add {
    width: 100%;
    height: auto;
  }
  .v2-wrap .study_box .stb_right {
    width: 100%;
    height: auto;
    border-left: none;
    border-top: 1px solid var(--v2-border-light, #e5e7eb);
  }
  .v2-wrap .study_box .stb_right iframe {
    flex: none;
    min-height: 400px;
  }
  .v2-wrap .h2tit {
    font-size: 18px;
  }
  .v2-wrap .h3tit {
    font-size: 13px;
  }
  /* 버튼 모바일 — .stb_left로 레거시 오버라이드 (0,4,0) */
  .v2-wrap .study_box .stb_left .btn,
  .v2-wrap .study_box .stb_left .btn2,
  .v2-wrap .study_box .stb_left .btn3,
  .v2-wrap .study_box .stb_left .btn4,
  .v2-wrap .study_box .stb_left .btn5 {
    white-space: nowrap;
    min-width: auto;
    width: auto;
    height: auto;
    display: inline-block;
    padding: 8px 14px;
    font-size: 13px;
    line-height: 1.4;
  }
  /* 설문/시험 테이블 모바일 */
  .v2-wrap .tbl_search_data {
    font-size: 14px;
  }
  .v2-wrap .tbl_search_data td {
    padding: 10px 8px;
  }
  /* 인포박스 모바일 여백 */
  .v2-wrap .infobox {
    padding: 12px;
    margin-bottom: 8px;
  }
  .v2-wrap .infobox p {
    font-size: 12.5px;
  }
  /* 성명/소속/제출 행 모바일 스택 — .mHalfsize(버튼)는 가로 유지 */
  .v2-wrap .cert_infogroup_row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .v2-wrap .cert_infogroup_row li:not(.mHalfsize) {
    flex: 1 1 100%;
  }
  .v2-wrap .cert_infogroup_row li.mHalfsize {
    flex: 0 0 auto;
    width: auto;
  }
  /* 통지서 테이블 모바일 */
  .v2-wrap .tongji_wrap table {
    font-size: 14px;
  }
  .v2-wrap .tongji_wrap table th,
  .v2-wrap .tongji_wrap table td {
    padding: 8px 10px;
  }
}

/* 교육 페이지 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
  .v2-wrap .study_box .stb_right iframe {
    min-height: 300px;
  }
  .v2-wrap .h2tit {
    font-size: 16px;
  }
  .v2-wrap .study_box .stb_left .btn,
  .v2-wrap .study_box .stb_left .btn2 {
    padding: 6px 12px;
    font-size: 12px;
  }
  .v2-wrap .tbl_search_data td {
    padding: 8px 6px;
    font-size: 13px;
  }
}


/* ═══════════════════════════════════════════
   전자통지 / 이수증확인 - 인증 버튼
   ═══════════════════════════════════════════ */
.v2-auth-buttons {
  display: flex;
  gap: 12px;
}

.v2-auth-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: var(--v2-radius-sm);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.v2-auth-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.v2-auth-btn.v2-auth-phone {
  background: #1B6B3A;
  color: #fff;
}
.v2-auth-btn.v2-auth-phone:hover {
  background: #155A30;
}

.v2-auth-btn.v2-auth-easy {
  background: #2563EB;
  color: #fff;
}
.v2-auth-btn.v2-auth-easy:hover {
  background: #1D4ED8;
}

.v2-auth-btn.v2-auth-ipin {
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #D1D5DB;
}
.v2-auth-btn.v2-auth-ipin:hover {
  background: #E5E7EB;
}


/* ═══════════════════════════════════════════
   전자통지 - 절차 안내 스텝
   ═══════════════════════════════════════════ */
.v2-docu-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
  padding: 32px 20px;
  background: var(--v2-bg-white);
  border-radius: var(--v2-radius-lg);
  box-shadow: var(--v2-shadow-sm);
  border: 1px solid var(--v2-border-light);
}

.v2-docu-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 180px;
}

.v2-docu-step-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--v2-primary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.v2-docu-step-icon {
  width: 52px;
  height: 52px;
  background: var(--v2-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.v2-docu-step-icon svg {
  width: 24px;
  height: 24px;
  color: var(--v2-primary);
}

.v2-docu-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--v2-text-primary);
  margin-bottom: 4px;
}

.v2-docu-step-desc {
  font-size: 12px;
  color: var(--v2-text-tertiary);
  line-height: 1.4;
}

.v2-docu-step-arrow {
  flex-shrink: 0;
  padding: 0 8px;
}

.v2-docu-step-arrow svg {
  width: 20px;
  height: 20px;
  color: var(--v2-border);
}


/* ═══════════════════════════════════════════
   v2 모달 (팝업) 공통
   ═══════════════════════════════════════════ */
.v2-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-modal {
  position: relative;
  width: 440px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 60px);
  background: #fff;
  border-radius: var(--v2-radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.v2-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--v2-border-light);
}

.v2-modal-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--v2-text-primary);
  margin: 0;
}

.v2-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--v2-text-tertiary);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.v2-modal-close:hover {
  color: var(--v2-text-primary);
}

.v2-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.v2-modal-message {
  font-size: 15px;
  color: var(--v2-text-secondary);
  margin-bottom: 20px;
}

.v2-modal-text-bold {
  font-size: 15px;
  font-weight: 700;
  color: var(--v2-text-primary);
  margin-bottom: 12px;
}

.v2-modal-text {
  font-size: 14px;
  color: var(--v2-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.v2-modal-term-box {
  background: var(--v2-bg-light);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  padding: 16px;
  font-size: 13px;
  color: var(--v2-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.v2-modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.v2-modal-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--v2-radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
}

.v2-modal-btn-primary {
  background: var(--v2-primary);
  color: #fff;
}
.v2-modal-btn-primary:hover {
  background: var(--v2-primary-dark);
}

.v2-modal-btn-cancel {
  background: #F3F4F6;
  color: #374151;
}
.v2-modal-btn-cancel:hover {
  background: #E5E7EB;
}


/* ═══════════════════════════════════════════
   전화번호 입력 그룹
   ═══════════════════════════════════════════ */
.v2-phone-input-group {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.v2-phone-input-group .v2-form-input {
  flex: 1;
  text-align: center;
}

.v2-phone-dash {
  color: var(--v2-text-tertiary);
  font-size: 16px;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════
   전자통지/이수증 모바일 반응형
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .v2-auth-buttons {
    flex-direction: column;
    gap: 8px;
  }
  .v2-auth-btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .v2-docu-steps {
    flex-direction: column;
    gap: 0;
    padding: 20px 16px;
  }
  .v2-docu-step-item {
    display: grid;
    grid-template-columns: 28px 44px 1fr;
    grid-template-rows: auto auto;
    gap: 0 12px;
    align-items: center;
    text-align: left;
    max-width: 100%;
    padding: 12px 0;
  }
  .v2-docu-step-num {
    grid-row: 1 / 3;
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--v2-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: 0;
    line-height: 1;
  }
  .v2-docu-step-icon {
    grid-row: 1 / 3;
    grid-column: 2;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .v2-docu-step-icon svg {
    width: 20px;
    height: 20px;
  }
  .v2-docu-step-title {
    grid-row: 1;
    grid-column: 3;
    align-self: end;
  }
  .v2-docu-step-desc {
    grid-row: 2;
    grid-column: 3;
    align-self: start;
  }
  .v2-docu-step-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
  .v2-docu-step-arrow svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .v2-modal {
    max-width: calc(100vw - 24px);
  }
  .v2-modal-body {
    padding: 16px;
  }
}


/* ═══════════════════════════════════════════
   전자통지센터 전용 테마 (민방위 로고: 오렌지 + 블루)
   ═══════════════════════════════════════════ */
.v2-theme-docu {
  --docu-orange: #F58220;
  --docu-orange-dark: #E06F10;
  --docu-orange-light: #FFF3E6;
  --docu-blue: #0078BE;
  --docu-blue-dark: #005F99;
  --docu-blue-light: #E8F4FD;
}

/* 페이지 헤더 하단 라인 오렌지 */
.v2-theme-docu .v2-page-header {
  border-bottom-color: var(--docu-orange);
}
.v2-theme-docu .v2-page-header::after {
  background: linear-gradient(90deg, var(--docu-orange), var(--docu-blue));
}

/* 폼 카드 헤더 → 오렌지 */
.v2-theme-docu .v2-form-card-header {
  background: linear-gradient(135deg, var(--docu-orange), var(--docu-orange-dark));
}

/* 안내 메시지 → 블루 */
.v2-theme-docu .v2-form-notice {
  background: var(--docu-blue-light);
  border-left-color: var(--docu-blue);
}

/* 폼 포커스 */
.v2-theme-docu .v2-form-input:focus,
.v2-theme-docu .v2-form-select:focus {
  border-color: var(--docu-blue);
}

/* 필수 라벨 */
.v2-theme-docu .v2-form-label.v2-required::after {
  color: var(--docu-orange);
}

/* 체크박스 */
.v2-theme-docu .v2-checkbox-label input[type="checkbox"] {
  accent-color: var(--docu-blue);
}
.v2-theme-docu .v2-checkbox-label strong {
  color: var(--docu-orange);
}

/* 자세히보기 링크 */
.v2-theme-docu .v2-form-privacy-link {
  color: var(--docu-blue);
}
/* 전문보기 버튼 */
.v2-theme-docu .v2-consent-detail {
  background: #3b5998;
  color: #fff !important;
}

/* 절차 스텝 — 아이콘 오렌지+블루 교차 */
.v2-theme-docu .v2-docu-step-num {
  color: var(--docu-orange);
}
.v2-theme-docu .v2-docu-step-item:nth-child(1) .v2-docu-step-icon {
  background: var(--docu-blue-light);
}
.v2-theme-docu .v2-docu-step-item:nth-child(1) .v2-docu-step-icon svg {
  color: var(--docu-blue);
}
.v2-theme-docu .v2-docu-step-item:nth-child(3) .v2-docu-step-icon {
  background: var(--docu-orange-light);
}
.v2-theme-docu .v2-docu-step-item:nth-child(3) .v2-docu-step-icon svg {
  color: var(--docu-orange);
}
.v2-theme-docu .v2-docu-step-item:nth-child(5) .v2-docu-step-icon {
  background: var(--docu-blue-light);
}
.v2-theme-docu .v2-docu-step-item:nth-child(5) .v2-docu-step-icon svg {
  color: var(--docu-blue);
}

/* 인증 버튼 → 오렌지/블루 */
.v2-theme-docu .v2-auth-btn.v2-auth-phone {
  background: var(--docu-orange);
  color: #fff;
}
.v2-theme-docu .v2-auth-btn.v2-auth-phone:hover {
  background: var(--docu-orange-dark);
}
.v2-theme-docu .v2-auth-btn.v2-auth-easy {
  background: var(--docu-blue);
  color: #fff;
}
.v2-theme-docu .v2-auth-btn.v2-auth-easy:hover {
  background: var(--docu-blue-dark);
}

/* 모달 primary 버튼 → 블루 */
.v2-theme-docu .v2-modal-btn-primary {
  background: var(--docu-blue);
}
.v2-theme-docu .v2-modal-btn-primary:hover {
  background: var(--docu-blue-dark);
}

/* 모바일: 스텝 번호 원형 배지 — 아이콘과 동일한 블루/오렌지 교차 */
@media (max-width: 768px) {
  .v2-theme-docu .v2-docu-step-num {
    color: #fff;
  }
  .v2-theme-docu .v2-docu-step-item:nth-child(1) .v2-docu-step-num {
    background: var(--docu-blue);
  }
  .v2-theme-docu .v2-docu-step-item:nth-child(3) .v2-docu-step-num {
    background: var(--docu-orange);
  }
  .v2-theme-docu .v2-docu-step-item:nth-child(5) .v2-docu-step-num {
    background: var(--docu-blue);
  }
}


/* ═══════════════════════════════════════════
   v2 본인확인 (view_confirm_v2)
   ═══════════════════════════════════════════ */
.v2-confirm-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px;
  gap: 16px;
}
.v2-confirm-icon {
  width: 56px;
  height: 56px;
  background: var(--v2-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.v2-confirm-icon svg {
  width: 28px;
  height: 28px;
  color: var(--v2-primary);
}
.v2-confirm-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--v2-text-primary);
}
.v2-confirm-input {
  width: 100%;
  max-width: 320px;
  padding: 12px 16px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  font-size: 15px;
  font-family: inherit;
  text-align: center;
  letter-spacing: 1px;
  transition: border-color 0.2s;
}
.v2-confirm-input:focus {
  outline: none;
  border-color: var(--v2-primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}
.v2-confirm-btn {
  width: 100%;
  max-width: 320px;
  padding: 12px;
  background: var(--v2-primary);
  color: var(--v2-text-inverse);
  border: none;
  border-radius: var(--v2-radius-sm);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.v2-confirm-btn:hover {
  background: var(--v2-primary-dark);
}

@media (max-width: 768px) {
  .v2-confirm-box {
    padding: 36px 16px;
  }
  .v2-confirm-input,
  .v2-confirm-btn {
    max-width: 100%;
  }
}


/* ═══════════════════════════════════════════
   v2 이메일 분리 입력 (write_qna_v2)
   ═══════════════════════════════════════════ */
.v2-email-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.v2-email-group .v2-form-input {
  flex: 1;
  min-width: 100px;
}
.v2-email-group .v2-form-select {
  flex: 0 0 auto;
  width: auto;
  min-width: 110px;
}
.v2-email-at {
  font-size: 15px;
  font-weight: 700;
  color: var(--v2-text-secondary);
  flex-shrink: 0;
  padding: 0 2px;
}

@media (max-width: 768px) {
  .v2-email-group {
    gap: 4px;
  }
  .v2-email-group .v2-form-input {
    min-width: 70px;
  }
  .v2-email-group .v2-form-select {
    width: 100%;
    margin-top: 4px;
  }
}

/* ═══ 약관/정책 페이지 콘텐츠 ═══ */
.v2-terms-content {
  padding: 24px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--v2-text-secondary);
  word-break: keep-all;
}
.v2-terms-content .pagetit {
  display: none; /* v2-page-title과 중복되므로 숨김 */
}
.v2-terms-content .txttitle {
  font-size: 16px;
  font-weight: 700;
  color: var(--v2-text-primary);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--v2-border);
}
.v2-terms-content .txttitle:first-child,
.v2-terms-content .txttitle:first-of-type {
  margin-top: 0;
}
.v2-terms-content .txt_common {
  font-size: 14px;
  color: var(--v2-text-secondary);
  line-height: 1.8;
  margin: 8px 0;
}
.v2-terms-content .list_style {
  font-size: 13px;
  color: var(--v2-text-secondary);
  line-height: 1.9;
  margin: 8px 0 8px 8px;
}
.v2-terms-content .list_style li {
  margin-bottom: 2px;
}
.v2-terms-content table,
.v2-terms-content .tbl_type02 {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 13px;
}
.v2-terms-content table th,
.v2-terms-content .tbl_type02 th {
  background: #E8EBF0;
  padding: 10px 12px;
  border: 1px solid var(--v2-border);
  font-weight: 600;
  color: var(--v2-text-primary);
  text-align: center;
}
.v2-terms-content th .th-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 4px;
  object-fit: contain;
}
.v2-terms-content table td,
.v2-terms-content .tbl_type02 td {
  background: #fff;
  padding: 10px 12px;
  border: 1px solid var(--v2-border);
  color: var(--v2-text-secondary);
  vertical-align: top;
}
.v2-terms-content .mt40 {
  margin-top: 32px;
}
@media (max-width: 768px) {
  .v2-terms-content {
    padding: 16px 0;
    font-size: 13px;
  }
  .v2-terms-content .txttitle {
    font-size: 15px;
    margin: 24px 0 8px;
  }
  .v2-terms-content table,
  .v2-terms-content .tbl_type02 {
    font-size: 12px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ═══ 개인정보 라벨링 카드 ═══ */
.privacy-label-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 32px;
}
a.privacy-label-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.privacy-label-card {
  background: #fff;
  border: 1px solid var(--v2-border);
  border-radius: 12px;
  padding: 24px 16px 20px;
  text-align: center;
  transition: box-shadow 0.2s;
  cursor: pointer;
}
.privacy-label-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.privacy-label-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  color: #3574b0;
}
.privacy-label-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.privacy-label-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--v2-text-primary);
  margin-bottom: 6px;
}
.privacy-label-desc {
  font-size: 13px;
  color: var(--v2-text-secondary);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .privacy-label-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .privacy-label-card {
    padding: 16px 10px 14px;
  }
  .privacy-label-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
  }
  .privacy-label-title {
    font-size: 13px;
  }
  .privacy-label-desc {
    font-size: 11px;
  }
}
/* 섹션 제목 내 인라인 아이콘 */
.privacy-section-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
  color: #3574b0;
}
.privacy-section-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 768px) {
  .privacy-section-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
  }
}

/* ── 교육안내 고정 영역 ── */
.v2-edu-info-fixed {
  background: #fef9ee;
  border: 1px solid #f0e0b8;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.v2-edu-info-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--v2-text-primary);
  margin: 0 0 4px;
  line-height: 1.5;
}
.v2-edu-info-sub {
  font-size: 12px;
  color: var(--v2-text-secondary);
  margin: 0 0 8px;
}
.v2-edu-info-list {
  margin: 0;
  padding: 0 0 0 16px;
  list-style: disc;
}
.v2-edu-info-list li {
  font-size: 12px;
  color: var(--v2-text-secondary);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .v2-edu-info-fixed {
    padding: 14px 14px;
  }
  .v2-edu-info-title {
    font-size: 12px;
  }
  .v2-edu-info-list li {
    font-size: 11px;
  }
}

/* ── 검색바 인라인 배치 (설명 옆 우측) ── */
.v2-region-desc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.v2-region-desc-row .desc {
  margin: 0;
  flex-shrink: 0;
}
.v2-region-search-inline {
  flex: 1;
  max-width: 280px;
  margin: 0;
  padding: 0;
}
.v2-region-search-inline .v2-search-input-wrap {
  height: 38px;
}
.v2-region-search-inline .v2-search-input-wrap input {
  font-size: 13px;
  padding: 6px 12px 6px 34px;
}
.v2-region-search-inline .v2-search-input-wrap .search-icon {
  width: 16px;
  height: 16px;
  left: 10px;
}
@media (max-width: 768px) {
  .v2-region-desc-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .v2-region-search-inline {
    max-width: 100%;
  }
}
