.cl-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.cl-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  transition:
    background 0.2s,
    border-color 0.2s;
  border: 1px solid transparent;
}

/* ── 완료 상태 ── */
.cl-item.cl-done {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.cl-item.cl-done .cl-icon {
  background: #22c55e;
  color: #fff;
  border-color: #16a34a;
}
.cl-item.cl-done .cl-text {
  color: #15803d;
  font-weight: 500;
}
.cl-item.cl-done .cl-hint {
  color: #4ade80;
}

/* ── 미완료 상태 ── */
.cl-item.cl-fail {
  background: var(--gray-50, #f9fafb);
}
.cl-item.cl-fail .cl-icon {
  background: #fff;
  color: var(--gray-400, #9ca3af);
  border-color: var(--gray-300, #d1d5db);
}
.cl-item.cl-fail .cl-text {
  color: var(--gray-600, #4b5563);
}
.cl-item.cl-fail .cl-hint {
  color: var(--gray-400, #9ca3af);
}

/* ── 경고 상태 (입력됐지만 범위 초과 등) ── */
.cl-item.cl-warn {
  background: #fffbeb;
  border-color: #fde68a;
}
.cl-item.cl-warn .cl-icon {
  background: #f59e0b;
  color: #fff;
  border-color: #d97706;
}
.cl-item.cl-warn .cl-text {
  color: #92400e;
  font-weight: 500;
}
.cl-item.cl-warn .cl-hint {
  color: #d97706;
}

/* ── 아이콘 공통 ── */
.cl-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  transition: all 0.2s;
  margin-top: 1px;
}

/* ── 텍스트 ── */
.cl-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.cl-text {
  font-size: 0.82rem;
  line-height: 1.3;
  transition: color 0.2s;
}
.cl-hint {
  font-size: 0.73rem;
  line-height: 1.3;
  transition: color 0.2s;
}

/* ── 진행률 바 ── */
.cl-progress-track {
  height: 4px;
  background: var(--gray-100, #f3f4f6);
  border-radius: 2px;
  overflow: hidden;
  margin: 10px 0 4px;
}
.cl-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: #22c55e;
  transition:
    width 0.35s ease,
    background 0.35s ease;
}

/* ── Alert box (제출 불가 알림) ── */
.cl-alert-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 0.83rem;
  color: #991b1b;
}
.cl-alert-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.cl-alert-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
}
.cl-alert-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cl-alert-list li::before {
  content: "· ";
  font-weight: 700;
}

/* ── 흔들기 애니메이션 ── */
@keyframes cl-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
.cl-shake {
  animation: cl-shake 0.35s ease;
}

:root {
  --primary: #2563eb;
  --pri: #85a2e1;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --secondary: #0ea5e9;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --font-sans: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.2s ease;
}

/* ── 리셋 & 기본 ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input,
select,
textarea {
  font-family: inherit;
}

/* ── 레이아웃 ── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-xs {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-header .container {
  max-width: 1840px;
}
/* ── 헤더 ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  /* border-bottom: 1px solid var(--gray-200); */
  /* box-shadow: var(--shadow-sm); */
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* height: 64px; */
  padding: 21px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  /* width: 130px; */
}
/* 상단 로고: 관리자 설정 로고(SVG 포함) 대응 — 고정 높이로 SVG 정상 렌더 + 기존 대비 확대 */
.site-header .logo img {
  height: 42px;
  width: auto;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* ── 데스크탑 내비게이션 ── */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-desktop.login-nav {
  display: flex;
  align-items: center;
  /* gap: 4px; */
}
.nav-desktop a {
  /* padding: 8px 14px; */
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition:
    background var(--transition),
    color var(--transition);
}
.nav-desktop a:hover {
  /* background: var(--gray-100); */
  color: var(--gray-900);
}
.nav-desktop a.active {
  color: var(--primary);
  font-weight: 600;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-actions .menu_bar {
  margin-left: 7px;
}
/* ── Drawer ── */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  backdrop-filter: blur(2px);
}
.drawer-overlay.open {
  display: block;
}

.drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 320px;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #f0f0f0;
}
/* 드로어(햄버거) 로고 — 설정 SVG가 크게 렌더되지 않도록 소형 고정 크기 */
.drawer-header img {
  height: 28px;
  width: auto;
}
.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.drawer-close:hover {
  background: #ebebeb;
}

/* User */
.drawer-user {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 20px;
  background: #f0f6ff;
  margin: 16px;
  border-radius: 12px;
  justify-content: center;
}
.drawer-user .btn-login {
  margin-left: 15px;
  padding: 6px 10px;
}
.drawer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #267dff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.drawer-user-name {
  font-size: 15px;
  font-weight: 700;
  color: #222;
}
.drawer-user-sub {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

/* Login box */
.drawer-login-box {
  margin: 16px;
  padding: 18px;
  background: #f0f6ff;
  border-radius: 12px;
}
.drawer-login-box p {
  font-size: 13px;
  color: #555;
  margin-bottom: 12px;
}
.drawer-login-btns {
  display: flex;
  gap: 8px;
}
.drawer-btn-login {
  flex: 1;
  text-align: center;
  padding: 9px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #267dff;
  border: 1.5px solid #267dff;
}
.drawer-btn-start {
  flex: 1;
  text-align: center;
  padding: 9px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #267dff;
}

/* Nav */
.drawer-nav {
  flex: 1;
  padding: 8px 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.drawer-nav-group {
  margin-bottom: 8px;
}
.drawer-nav-label {
  font-size: 11px;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 10px 8px 4px;
}
.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: background 0.15s;
  position: relative;
}
.drawer-nav-item:hover {
  background: #f5f8ff;
  color: #267dff;
}
/* .drawer-nav-locked { color: #bbb; } */
.drawer-nav-locked:hover {
  background: #f9f9f9;
  color: #bbb;
}
.lock-icon {
  margin-left: auto;
}

/* Footer */
.drawer-footer {
  display: flex;
  gap: 8px;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid #f0f0f0;
  background: #fff;
}
.drawer-footer-btn {
  flex: 1;
  text-align: center;
  padding: 11px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: #267dff;
  color: #fff;
  transition: background 0.2s;
}
.drawer-footer-btn:hover {
  background: #1a6fe0;
}
.drawer-footer-btn-outline {
  background: #fff;
  color: #267dff;
  border: 1.5px solid #267dff;
}
.drawer-footer-btn-outline:hover {
  background: #f0f6ff;
}
.btn-login {
  padding: 8px 25px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  transition: all var(--transition);
}
.btn-login:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-start {
  padding: 8px 17px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-start:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ── 모바일 햄버거 ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── 푸터 ── */
.site-footer {
  background: #1c1c1e;
  color: #b9bcc2;
  padding: 44px 0 40px;
  margin-top: auto;
}

.site-footer .container {
  max-width: 1840px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* 1. 로고 */
.footer-brand .logo {
  display: inline-block;
  width: 77px;
  max-width: 77px;
  font-size: 0;
  opacity: 0.95;
}

.footer-brand .logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* 2. 회사 정보 */
.footer-body {
  min-width: 0;
  padding-top: 4px;
}

.footer-policy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 24px;
}

.footer-policy a {
  color: #e8eaed;
  font-size: 15px;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-policy a:first-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-policy a.is-strong {
  font-weight: 600;
  color: #ffffff;
}

.footer-policy a:hover {
  color: #ffffff;
}

.footer-company {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.fc-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 28px;
}

.fc-line span,
.fc-line .fc-mail {
  color: #c7cace;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.fc-line .fc-mail {
  text-decoration: none;
  transition: color 0.2s ease;
}

.fc-line .fc-mail:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  color: #7c7f85;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* 3. 카카오톡 · 바로가기 · SNS */
.footer-aside {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
}

.fa-kakao {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fa-label {
  color: #9a9da3;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.fa-kakao-id {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fa-kakao-id:hover {
  color: #ffe600;
}

.fa-hours {
  margin: 0;
  color: #9a9da3;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.fa-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.fa-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #e8eaed;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.fa-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.fa-social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.fa-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #cfd2d6;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.fa-social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
/* ── 버튼 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary-light);
}
.btn-success {
  background: var(--success);
  color: var(--white);
}
.btn-success:hover {
  background: #059669;
  transform: translateY(-1px);
}
.btn-danger {
  background: var(--danger);
  color: var(--white);
}
.btn-danger:hover {
  background: #dc2626;
}
.btn-gray {
  background: var(--gray-100);
  color: var(--gray-700);
}
.btn-gray:hover {
  background: var(--gray-200);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}
.btn-sm {
  padding: 8px 15px;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}
.btn-full {
  width: 100%;
}
.btn-kakao {
  background: #fee500;
  color: #3c1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  width: 100%;
  transition: all var(--transition);
}
.btn-kakao:hover {
  background: #f0d800;
  transform: translateY(-1px);
}

/* ── 카드 ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-body {
  padding: 24px;
}
.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
}
.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

/* ── 배지 ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
}
.badge-success {
  background: #d1fae5;
  color: #065f46;
}
.badge-warning {
  background: #fef3c7;
  color: #92400e;
}
.badge-danger {
  background: #fee2e2;
  color: #991b1b;
}
.badge-gray {
  background: var(--gray-100);
  color: var(--gray-600);
}
.badge-info {
  background: #e0f2fe;
  color: #0369a1;
}

/* ── 폼 ── */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-label .required {
  color: var(--danger);
  margin-left: 2px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-control::placeholder {
  color: var(--gray-400);
}
.form-control:disabled {
  background: var(--gray-100);
  color: var(--gray-500);
}
.form-hint {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 4px;
}
.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.input-group {
  display: flex;
  gap: 8px;
}
.input-group .form-control {
  flex: 1;
}

/* ── 섹션 ── */
.section {
  padding: 80px 0;
}
.section-sm {
  padding: 48px 0;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 48px;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.login_sect {
  padding: 26px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background-color: #ecf0fa;
  border-radius: 12px;
  margin: -40px 0 100px;
}

.login_sect p {
  font-size: 20px;
  letter-spacing: -1px;
  color: #000000;
  font-weight: 500;
}

.login_sect a {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 18px;
  letter-spacing: -1px;
  color: #fff;
  font-weight: 500;
  background-color: #445dd6;
}

/* ── 페이지 히어로 ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 52px 0;
  color: var(--white);
}
.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 16px;
}
.page-hero .breadcrumb a {
  color: var(--white);
}
.page-hero .breadcrumb span {
  opacity: 0.6;
}

/* 배경 비주얼 없는 타이틀 (inc/_page_title.php) — 서비스 신청 화면과 같은 규칙.
   .page-hero 의 그라데이션 배경을 걷어내고 중앙정렬 + 파란 제목으로 쓴다. */
.page-hero--plain {
  background: none;
  color: var(--gray-800);
  padding: 32px 0 22px;
}
.centered-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.centered-hero .page-title__back {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
}
.centered-hero .page-title-content {
  text-align: center;
}
.centered-hero .page-title {
  justify-content: center;
  color: var(--primary);
  font-weight: 800;
}
.centered-hero .page-title-content p {
  color: var(--gray-500);
  opacity: 1;
}

@media (max-width: 768px) {
  .page-hero--plain {
    padding: 18px 0 12px;
  }
  .centered-hero .page-title {
    font-size: 1.35rem;
  }
  .centered-hero .page-title-content p {
    font-size: 0.85rem;
  }
}

/* ── 스텝 인디케이터 ── */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  overflow-x: auto;
  padding: 4px 0;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 80px;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.step-item.done:not(:last-child)::after {
  background: var(--primary);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--gray-200);
  color: var(--gray-500);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.step-item.active .step-num {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}
.step-item.done .step-num {
  background: var(--success);
  color: var(--white);
}
.step-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
  text-align: center;
  white-space: nowrap;
}
.step-item.active .step-label {
  color: var(--primary);
  font-weight: 700;
}
.step-item.done .step-label {
  color: var(--success);
}

/* ── 테이블 ── */
.table-wrap {
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.table th {
  background: var(--gray-50);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}
.table tr:last-child td {
  border-bottom: none;
}
.table tr:hover td {
  background: var(--gray-50);
}

/* ── 알림 박스 ── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-info {
  background: #eff6ff;
  color: #1d4ed8;
  border-left: 4px solid var(--primary);
}
.alert-success {
  background: #d1fae5;
  color: #065f46;
  border-left: 4px solid var(--success);
}
.alert-warning {
  background: #fef3c7;
  color: #92400e;
  border-left: 4px solid var(--warning);
}
.alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid var(--danger);
}

/* ── 탭 ── */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 24px;
  overflow-x: auto;
}
.tab-btn {
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn:hover {
  color: var(--gray-800);
}
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* ── 아코디언 ── */
.accordion {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}
.accordion-item:last-child {
  border-bottom: none;
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  background: var(--white);
  transition: background var(--transition);
  gap: 12px;
}
/* 헤더는 hover 시에도 흰색 유지 */
.accordion-header:hover {
  background: var(--white);
}
.accordion-header.open {
  color: var(--primary);
}
.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.accordion-header.open .accordion-icon {
  transform: rotate(180deg);
}
.accordion-body {
  display: none;
  padding: 16px 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
  background: var(--white);
  border-top: 1px solid var(--gray-100); /* 제목과 내용 구분선 */
  transition: background var(--transition);
}
.accordion-body.open {
  display: block;
}
/* item 에 hover 시 본문(accordion-body)만 색상 변경 */
.accordion-item:hover .accordion-body {
  background: var(--gray-50);
}
.accordion-q-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── 상태 카드 ── */
.status-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.status-card.pending {
  background: #fef3c7;
  border: 1px solid #fde68a;
}
.status-card.approved {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
}
.status-card.rejected {
  background: #fee2e2;
  border: 1px solid #fecaca;
}
.status-card.processing {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.status-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.status-card.pending .status-icon {
  background: #fde68a;
}
.status-card.approved .status-icon {
  background: #a7f3d0;
}
.status-card.rejected .status-icon {
  background: #fecaca;
}
.status-card.processing .status-icon {
  background: #bfdbfe;
}

/* ── 그리드 ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── 유틸리티 ── */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-primary {
  color: var(--primary);
}
.text-success {
  color: var(--success);
}
.text-danger {
  color: var(--danger);
}
.text-warning {
  color: var(--warning);
}
.text-gray {
  color: var(--gray-500);
}
.text-sm {
  font-size: 0.875rem;
}
.text-xs {
  font-size: 0.8rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.mt-4 {
  margin-top: 4px;
}
.mt-8 {
  margin-top: 8px;
}
.mt-12 {
  margin-top: 12px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.mt-40 {
  margin-top: 40px;
}
.mb-4 {
  margin-bottom: 4px;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-12 {
  margin-bottom: 12px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-32 {
  margin-bottom: 32px;
}
.mb-40 {
  margin-bottom: 40px;
}
.gap-8 {
  gap: 8px;
}
.gap-12 {
  gap: 12px;
}
.gap-16 {
  gap: 16px;
}
.gap-24 {
  gap: 24px;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.flex-wrap {
  flex-wrap: wrap;
}
.w-full {
  width: 100%;
}
.hidden {
  display: none !important;
}
.divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 24px 0;
}

/* ── 금액 표시 ── */
.amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.5px;
}
.amount-sm {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-800);
}
.amount-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.price-row:last-child {
  border-bottom: none;
}
.price-row.total {
  padding-top: 14px;
  border-bottom: none;
}
.price-row.total .price-label {
  font-weight: 700;
  color: var(--gray-800);
}
.price-row.total .price-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

/* ── 휴대폰 메시지 UI ── */
.sms-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 340px;
}
.sms-header {
  background: var(--gray-800);
  color: var(--white);
  padding: 10px 16px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sms-body {
  padding: 16px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--gray-700);
}
.sms-time {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-align: right;
  padding: 0 16px 12px;
}

/* ── 대시보드 통계 카드 ── */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px;
  box-shadow: var(--shadow);
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -1px;
}
.stat-change {
  font-size: 0.8rem;
  margin-top: 6px;
}
.stat-change.up {
  color: var(--success);
}
.stat-change.down {
  color: var(--danger);
}
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ── 체크박스 / 라디오 ── */
.check-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.check-group input[type="checkbox"],
.check-group input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.check-group label {
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
  line-height: 1.5;
}
.check-group label a {
  color: var(--primary);
  text-decoration: underline;
}

/* ── 파일 업로드 ── */
.file-upload {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.file-upload:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.file-upload-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.file-upload p {
  font-size: 0.9rem;
  color: var(--gray-500);
}
.file-upload strong {
  color: var(--primary);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  cursor: pointer;
}

.page-title-wrap {
  display: flex;
}

.page-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-title__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 29px;
  height: 29px;

  padding: 0;
  border: none;
  background: none;

  cursor: pointer;
  line-height: 0;
  color: #fff;
  margin-top: 12px;
}

.text-note {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}

.br-mo {
  display: none;
}

.br-450 {
  display: none;
}

.br-400 {
  display: none;
}

.br-375 {
  display: none;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .br-mo {
    display: block;
  }

  .page-title__back {
    margin-top: 7px;
  }
}

/* ── 반응형 ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-desktop {
    display: none;
  }
  .nav-desktop.login-nav {
    display: none;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    right: 30px;
  }
  /* 모바일 헤더: 로그인 시 통 원형 아이콘·로그아웃 숨김(햄버거 메뉴로 대체) */
  .header-actions .user-avatar-1 { display: none; }
  .header-actions .header-logout { display: none; }
  .nav-toggle {
    display: flex;
    opacity: 0;
  }

  .process2_visual {
    flex: unset !important;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 86px 0;
  }
  .section-title {
    font-size: 1.625rem;
  }
  .footer-inner {
    /* display: flex !important;
      grid-template-columns: 4.5fr 1fr 1fr 1fr;
      flex-wrap: wrap;
      gap: 2rem !important; */
    display: flex;
    flex-direction: column;
  }

  .btn-login {
    padding: 8px 16px;
    font-size: 12px;
  }

  .header-actions {
    gap: 10px;
    position: absolute;
    right: 20px;
  }

  .header-actions .menu_bar {
    /* display: none; */
  }

  .fc-line {
    gap: 4px 20px;
  }
  .fc-line span,
  .fc-line .fc-mail {
    white-space: normal;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .steps {
    justify-content: flex-start;
  }
  .page-hero {
    padding: 40px 0;
  }
  .page-hero h1 {
    font-size: 1.625rem;
  }

  .header-inner {
    padding: 24px 0;
  }

  /* .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    width: 10.125rem;
  }

    .header-inner {
        padding: 1.5rem 0;
    } */

  .drawer.open {
    right: 0;
    width: 100%;
  }

  .drawer-user {
    justify-content: space-between;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .footer-policy {
    width: 100%;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 12px 24px;
  }

  .footer-brand .logo {
    width: 88px;
    max-width: 88px;
  }

  .footer-aside {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 0;
    padding-top: 20px;
    margin-top: 20px;
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
  }
  .card-body {
    padding: 16px;
  }
  .section-title {
    font-size: 1.5rem;
  }

  .logo {
    width: 116px;
  }
}

@media (min-width: 400px) and (max-width: 768px) {
  .drawer-user .btn-login {
    padding: 6px 50px;
  }
}

@media (max-width: 450px) and (min-width: 401px) {
  .br-450 {
    display: block;
  }
}

@media (max-width: 400px) and (min-width: 376px) {
  .br-400 {
    display: block;
  }
}

@media (max-width: 375px) and (min-width: 310px) {
  .br-375 {
    display: block;
  }
}

@media (max-width: 350px) {
  .page-hero p {
    font-size: 0.9rem;
  }
}

@media (max-width: 325px) {
  .text-note {
    font-size: 10.5px;
  }
}
