/* 기본 설정 */
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans KR",
    sans-serif;
  color: #222;
  background-color: #f5f6f8;
  font-size: 1.1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
  button,
  a,
  input[type="button"],
  input[type="submit"],
  .btn {
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  margin: 0;
}

/* 색상 토큰 */
:root {
  --main-green: #41a67e;
  --deep-blue: #05339c;
  --mid-blue: #1055c9;
  --accent-gold: #e5c95f;
  --bg-light: #f5f6f8;
  --border-soft: #d9dde5;
  --text-main: #1f2933;
  --text-muted: #6b7280;
}

/* 레이아웃 공통 */
.section-header {
  max-width: 1120px;
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
}

.section-header p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(90deg, #05339C, #0A47CC);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* 헤더 */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
  max-width: 30%;
}

.logo-mark {
  min-width: 64px;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--main-green);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep-blue);
}

.mobile-menu-btn {
  display: none;
  position: relative;
  z-index: 1001;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.gnb {
  display: flex !important;
  gap: 3.5rem;
  font-size: 1.1rem;
  flex-shrink: 1;
  min-width: 0;
}


.gnb a {
  color: #374151;
  position: relative;
}

.gnb a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--main-green);
  transition: width 0.16s ease-out;
}

.gnb a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  /* background: linear-gradient(90deg, #3ab972 0%, #3ab972 80%, #008259 20%, #008259 100%); */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      210deg,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px
    );
  background-size: 80px 80px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 294px;
}

.hero-text {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  max-width: 530px;
  padding: 0.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  border-radius: 1rem;
  border: 4px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.hero-text * {
  pointer-events: auto;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg,
        rgba(65,166,126,0.95) 0%,
        rgba(65,166,126,0.80) 100%
    );
    pointer-events: none;
  }
  
.hero-image {
    position: relative;
    background-color: #008259;
    background-image: url('img/main.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0 0 0 0;
    flex: 1 1 auto;
    display: block;
    height: 294px;
    overflow: hidden;
    width: calc(100% + 1.5rem);
  }

.hero-image img {
    width: 100%;
    height: 294px;
    object-fit: cover;
    object-position: center right;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

/* PC에서 히어로 이미지가 잘리지 않도록 추가 조정 */
@media (min-width: 961px) {
  .hero-image {
    height: 294px;
  }
  
  .hero-image img {
    width: 100%;
    height: 294px;
    object-fit: cover;
  }
  
  .hero-text {
    max-width: 530px;
  }
}

.hero-kicker {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  opacity: 0.85;
  color: #F8FAFC;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  color: #F8FAFC;
}

.hero-desc {
  margin: 0 0 1.4rem;
  font-size: 1.04rem;
  line-height: 1.6;
  opacity: 0.92;
  color: #F8FAFC;
}

.hero-desc strong {
  font-size: 1.2rem;
  color: #000000;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* 프로세스 섹션 */
.process {
  max-width: 1120px;
  margin: 2.5rem auto 2.75rem;
  padding: 0 1.5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-card-highlight {
  border-color: var(--main-green);
  box-shadow: 0 10px 26px rgba(15, 118, 110, 0.15);
}

.step-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--main-green);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-align: center;
  align-self: center;
  margin-bottom: 4px;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin: 0;
  flex: 1;
}

.step-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  flex: 1;
}

/* 공지사항 */
.notice {
  max-width: 1120px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.link-more {
  font-size: 0.95rem;
  color: var(--mid-blue);
}

.notice-card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  padding: 0.5rem 0.25rem;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notice-list li + li {
  border-top: 1px solid #eef0f4;
}

.notice-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  font-size: 1rem;
}

.notice-list a:hover {
  background-color: #f9fafb;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background-color: #e5f6f0;
  color: #0f766e;
}

.badge + .notice-title {
  flex: 1;
}

.notice-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 푸터 */
.site-footer {
  background-color: #F2F5F0;
  border-top: 1px solid var(--border-soft);
  margin-top: 1.5rem;
}

body:has(.apply-guide) .site-footer,
body:has(.apply-page) .site-footer {
  padding-bottom: 80px;
  margin-bottom: 0;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  font-size: 0.92rem;
  color: #4b5563;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0;
  height: 100%;
  flex-shrink: 0;
}

.footer-logo img {
  max-width: 200px;
  max-height: 80px;
  display: block;
  object-fit: contain;
  width: auto;
  height: auto;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-text {
  margin: 0;
}

.badge-footer {
  font-weight: 700;
  background-color: #008059;
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
}

.footer-right {
  text-align: right;
}

/* 반응형 대응 */
/* 데스크톱에서는 메뉴가 항상 보이도록 */
@media (min-width: 961px) {
  .gnb {
    display: flex !important;
  }
  
  .mobile-menu-btn {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }

  .logo-area {
    max-width: 40%;
    gap: 0.5rem;
  }

  .logo-area img {
    max-height: 50px;
  }

  .logo-mark {
    min-width: 50px;
    padding: 0.25rem 0.6rem;
    font-size: 0.85rem;
  }

  .logo-text {
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: #374151;
    transition: all 0.3s ease;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .gnb {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border-soft);
    z-index: 1000;
  }

  .gnb.active {
    display: flex !important;
  }

  .gnb a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
  }

  .gnb a::after {
    display: none;
  }

  .gnb a:hover {
    background-color: #f9fafb;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .notice-list a {
    grid-template-columns: auto 1fr;
  }

  .notice-date {
    justify-self: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-inner {
    padding: 0;
  }

  .hero-image {
    min-height: 345px;
    flex-direction: column;
    padding: 0;
    background-size: cover;
    background-position: center;
    justify-content: center;
  }

  .hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .hero-text {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    padding: 2rem 1.5rem;
    margin: 0;
    z-index: 1;
    background: rgba(65, 166, 126, 0.9);
    border: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 태블릿 크기 (600px ~ 900px) */
@media (min-width: 601px) and (max-width: 959px) {
  .hero-text {
    padding: 0.5rem 1.25rem 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.5rem 1rem;
  }

  .logo-area {
    max-width: 50%;
    gap: 0.4rem;
  }

  .logo-area img {
    max-height: 40px;
  }

  .logo-mark {
    min-width: 45px;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
  }

  .logo-text {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .hero-inner {
    padding: 0;
  }

  .hero-image {
    min-height: 350px;
  }

  .hero-text {
    padding: 1.5rem 1rem;
    margin: 0;
    background: rgba(65, 166, 126, 0.95);
  }

  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }

  .hero-desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .hero-desc strong {
    font-size: 0.95rem;
  }

  .hero-kicker {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }

  .hero-actions {
    gap: 0.5rem;
  }

  .hero-actions .btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .step-card {
    padding: 1.25rem;
  }

  .step-label {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }

  .step-title {
    font-size: 0.95rem;
  }

  .step-desc {
    font-size: 0.85rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  .notice-card {
    border-radius: 0.75rem;
  }

  .notice-list a {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .badge {
    min-width: 36px;
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
  }

  .footer-inner {
    padding: 1rem;
  }

  .footer-logo img {
    max-width: 150px;
    max-height: 60px;
  }

  .footer-text {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

/* =========================
   점용신청01 - 이용안내 화면
========================= */

.apply-guide {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
    background-color: #f9fafb;
  }
  
  /* 상단 배너 */
  .apply-guide-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #4eab86;
    color: #ffffff;
    padding: 1.1rem 1.75rem;
    border-radius: 4px;
    margin-bottom: 2rem;
  }
  
  .apply-guide-banner__title {
    font-size: 1.4rem;
    font-weight: 700;
  }
  
  .apply-guide-banner__btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
  }
  
  .apply-guide-banner__btn:hover {
    background: rgba(255, 255, 255, 0.18);
  }
  
  /* 공통 섹션 */
  .guide-section {
    margin-bottom: 2.5rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    padding: 1.5rem 1.75rem 1.75rem;
  }
  
  .guide-section--last {
    margin-bottom: 0;
  }
  
  .guide-section__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.6rem;
  }
  
  .guide-section__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background-color: var(--main-green);
  }
  
  .guide-section__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
  }
  
  .guide-section__body {
    margin-top: 0.25rem;
  }
  
  /* 메타 행 (근거 법률 등) */
  .guide-meta-row {
    display: grid;
    grid-template-columns: 127px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.9rem;
    border-radius: 0.25rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 0.92rem;
  }
  
  .guide-meta-row__label {
    font-weight: 600;
    color: #374151;
  }
  
  .guide-meta-row__value {
    color: var(--text-muted);
  }
  
  /* 목록 스타일 */
  .guide-list {
    margin: 0;
    padding-left: 1.4rem;
    font-size: 0.95rem;
    color: var(--text-main);
  }
  
  .guide-list li + li {
    margin-top: 0.35rem;
  }
  
  /* 처리기간 테이블 */
  .guide-table-wrapper {
    margin-top: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .guide-table {
    width: 100%;
    min-width: 800px; /* 최소 너비 설정 */
    border-collapse: collapse;
    font-size: 0.88rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
  }
  
  .guide-table th,
  .guide-table td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    white-space: nowrap;
  }
  
  .guide-table th:last-child,
  .guide-table td:last-child {
    border-right: none;
  }
  
  .guide-table thead {
    background-color: #f3f4f6;
    font-weight: 600;
    color: #4b5563;
  }
  
  .guide-table__row--highlight {
    background-color: #f0fdf4;
    outline: 2px solid rgba(34, 197, 94, 0.5);
    outline-offset: -2px;
  }
  
  .guide-table-note {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
  }
  
  /* 신청안내 메타 테이블 */
  .guide-meta-table {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
  }
  
  .guide-meta-table__row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    border-bottom: 1px solid #e5e7eb;
  }
  
  .guide-meta-table__row:last-child {
    border-bottom: none;
  }
  
  .guide-meta-table__th {
    padding: 0.7rem 0.9rem;
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
  }
  
  .guide-meta-table__td {
    padding: 0.7rem 0.9rem;
    color: var(--text-muted);
  }
  
  /* 처리절차 플로우 */
  .guide-flow {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #d1d5db;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
  }
  
  .guide-flow-step {
    min-width: 140px;
    padding: 0.7rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    text-align: center;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06);
  }
  
  .guide-flow-step__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-main);
  }
  
  .guide-flow-step__sub {
    font-size: 0.8rem;
    color: var(--text-muted);
  }
  
  .guide-flow-separator {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--main-green);
  }
  
  /* 하단 고정 버튼 바 */
  .apply-guide-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #e5e7eb;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(4px);
    z-index: 50;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  }
  
  .apply-guide-bottom-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    color: #4b5563;
  }
  
  .apply-guide-bottom-actions {
    display: flex;
    gap: 0.5rem;
  }
  
  .apply-guide-btn-primary,
  .apply-guide-btn-secondary {
    min-width: 110px;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
  }
  
  .apply-guide-btn-primary {
    background: linear-gradient(90deg, #05339c, #0a47cc);
    color: #ffffff;
  }
  
  .apply-guide-btn-primary:hover {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
  }
  
  .apply-guide-btn-secondary {
    background-color: #ffffff;
    border-color: #d1d5db;
    color: #4b5563;
  }
  
  .apply-guide-btn-secondary:hover {
    background-color: #f3f4f6;
  }
  
  /* 반응형 */
  @media (max-width: 768px) {
    .apply-guide {
      padding: 1.5rem 1rem 6rem;
    }

    .apply-guide-banner {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.75rem;
      padding: 1rem 1.25rem;
    }

    .apply-guide-banner__title {
      font-size: 1.2rem;
    }

    .apply-guide-banner__btn {
      width: 100%;
      padding: 0.6rem 1rem;
      font-size: 0.85rem;
    }

    .guide-section {
      padding: 1.25rem 1.25rem 1.5rem;
      margin-bottom: 1.5rem;
    }

    .guide-section__title {
      font-size: 1rem;
    }

    .guide-meta-row,
    .guide-meta-table__row {
      grid-template-columns: minmax(0, 1fr);
      gap: 0.5rem;
      padding: 0.75rem;
    }

    .guide-meta-row__label,
    .guide-meta-table__th {
      font-weight: 700;
      margin-bottom: 0.25rem;
    }

    .guide-list {
      font-size: 0.9rem;
      padding-left: 1.2rem;
    }

    .guide-table-wrapper {
      margin-left: -1.25rem;
      margin-right: -1.25rem;
      padding: 0 1.25rem;
    }

    .guide-table {
      font-size: 0.75rem;
    }

    .guide-table th,
    .guide-table td {
      font-size: 0.75rem;
      padding: 0.4rem 0.5rem;
    }

    .guide-flow {
      flex-direction: column;
      gap: 0.5rem;
    }

    .guide-flow-separator {
      transform: rotate(90deg);
      margin: 0.25rem 0;
    }

    .guide-flow-step {
      width: 100%;
      min-width: auto;
    }

    .apply-guide-bottom-bar {
      padding-bottom: env(safe-area-inset-bottom);
    }

    .apply-guide-bottom-inner {
      flex-direction: column;
      align-items: stretch;
      gap: 0.75rem;
      padding: 1rem;
    }

    .apply-guide-bottom-info {
      font-size: 0.85rem;
      text-align: center;
    }

    .apply-guide-bottom-actions {
      display: flex;
      gap: 0.5rem;
      width: 100%;
    }

    .apply-guide-btn-primary,
    .apply-guide-btn-secondary {
      flex: 1;
      min-width: 0;
      padding: 0.75rem 1rem;
      font-size: 0.9rem;
    }
  }

  @media (max-width: 480px) {
    .apply-guide {
      padding: 1rem 0.75rem 6rem;
    }

    .guide-section {
      padding: 1rem;
      border-radius: 0.5rem;
    }

    .guide-table th,
    .guide-table td {
      font-size: 0.7rem;
      padding: 0.35rem 0.4rem;
    }
  }
  
  /* =========================
   점용신청02 - 신청서 작성 화면
========================= */

.apply-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
  }
  
  /* 상단 단계 헤더 */
  .apply-step-header {
    margin-bottom: 2rem;
  }
  
  .apply-step-header__title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.2rem;
    background: #0a7249;
    color: #ffffff;
    border-radius: 0.4rem;
    font-size: 0.95rem;
  }
  
  .apply-step-header__title {
    font-weight: 600;
  }
  
  .apply-step-header__status {
    opacity: 0.9;
  }
  
  /* 단계 플로우 */
  .apply-steps {
    margin-top: 1.25rem;
    padding: 1.2rem 1.4rem;
    background: #f3f4f6;
    border-radius: 0.6rem;
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  
  .apply-step {
    flex: 1;
    text-align: center;
    position: relative;
  }
  
  .apply-step + .apply-step::before {
    content: "";
    position: absolute;
    left: -50%;
    top: 50%;
    width: 100%;
    height: 2px;
    background: #d1d5db;
    z-index: 0;
  }
  
  .apply-step__circle {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    border: 3px solid #cbd5f5;
    background: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4b5563;
    flex-direction: column;
    gap: 0.2rem;
  }

  .apply-step__number {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
  }

  .apply-step__text {
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1;
  }

  .apply-step__label-full {
    display: block;
  }

  .apply-step__label-short {
    display: none;
  }
  
  .apply-step__label {
    margin-top: 0.35rem;
    font-size: 0.86rem;
    color: #4b5563;
  }
  
  .apply-step--done .apply-step__circle {
    border-color: #41a67e;
    background: #ecfdf3;
    color: #047857;
  }
  
  .apply-step--current .apply-step__circle {
    border-color: #1055c9;
    background: #e0edff;
    color: #05339c;
  }
  
  /* 폼 섹션 공통 */
  .form-section {
    margin-bottom: 2.2rem;
    border: 1px solid var(--border-soft);
    border-radius: 0.75rem;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
  }
  
  .form-section--last {
    margin-bottom: 0;
  }
  
  .form-section__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.4rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .form-section__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #41a67e;
  }
  
  .form-section__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
  }
  
  .form-section__body {
    padding: 1.1rem 1.4rem 1.4rem;
  }
  
  /* 인라인 행 (라디오 등) */
  .form-inline-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  
  .form-inline-row__label {
    width: 140px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    padding-top: 0.4rem;
  }
  
  .form-inline-row__fields {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }
  
  .form-radio {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    color: #374151;
  }
  
  .form-radio input {
    width: 14px;
    height: 14px;
  }
  
  /* 그리드 */
  .form-grid {
    display: grid;
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
  }
  
  .form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .form-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .form-grid--bottom {
    margin-top: 1.1rem;
  }
  
  /* 주소 필드 */
  .field--address {
    margin-top: 0.5rem;
  }
  
  .field-address-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  /* 주소검색 버튼 스타일 강화 */
  .field-address-row .btn--outline {
    background-color: var(--color-primary-mid);
    color: #ffffff;
    border-color: var(--color-primary-mid);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 85, 201, 0.2);
    transition: all 0.2s ease;
  }
  
  .field-address-row .btn--outline:hover {
    background-color: #0d3fa0;
    border-color: #0d3fa0;
    box-shadow: 0 4px 12px rgba(16, 85, 201, 0.3);
    transform: translateY(-1px);
  }
  
  .field-address-row .btn--outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(16, 85, 201, 0.25);
  }
  
  .input--sm {
    max-width: 320px;
  }
  
  /* 인라인 입력 필드 (여러 input을 한 줄에 배치) */
  .input-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .input-inline .input {
    flex: 1;
  }
  
  .input-inline span {
    white-space: nowrap;
    color: #374151;
    font-size: 0.9rem;
  }
  
  /* 연락처 입력 필드 사이즈 조절 */
  .input-inline select.select {
    min-width: 80px;
    max-width: 100px;
    flex-shrink: 0;
  }
  
  .input-inline input.input[maxlength="4"] {
    min-width: 70px;
    max-width: 90px;
    flex-shrink: 0;
  }
  
  /* 이메일 도메인 select box 사이즈 조절 */
  .input-inline #SelectEmailDomain {
    min-width: 120px;
    max-width: 150px;
    flex-shrink: 0;
  }
  
  /* 인증요청 버튼 스타일 강화 */
  .input-inline #BtnPhoneAuth,
  .input-inline button.btn--outline.btn--sm {
    background-color: var(--color-primary-mid);
    color: #ffffff;
    border-color: var(--color-primary-mid);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 85, 201, 0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 1rem;
  }
  
  .input-inline #BtnPhoneAuth:hover,
  .input-inline button.btn--outline.btn--sm:hover {
    background-color: #0d3fa0;
    border-color: #0d3fa0;
    box-shadow: 0 4px 12px rgba(16, 85, 201, 0.3);
    transform: translateY(-1px);
  }
  
  .input-inline #BtnPhoneAuth:active,
  .input-inline button.btn--outline.btn--sm:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(16, 85, 201, 0.25);
  }
  
  /* 파일찾기 버튼 스타일 강화 */
  .upload-input .btn--outline.btn--sm {
    background-color: var(--color-primary-mid);
    color: #ffffff;
    border-color: var(--color-primary-mid);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 85, 201, 0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 1rem;
  }
  
  .upload-input .btn--outline.btn--sm:hover {
    background-color: #0d3fa0;
    border-color: #0d3fa0;
    box-shadow: 0 4px 12px rgba(16, 85, 201, 0.3);
    transform: translateY(-1px);
  }
  
  .upload-input .btn--outline.btn--sm:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(16, 85, 201, 0.25);
  }
  
  /* 사전확인 박스 */
  .precheck-box {
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 0.88rem;
    color: #4b5563;
  }

  .precheck-box p {
    line-height: 1.8;
    margin: 0.5rem 0;
  }

  .precheck-box p:first-child {
    margin-top: 0;
  }

  .precheck-box p:last-child {
    margin-bottom: 0;
  }

  /* 각 항목 줄바꿈 시 들여쓰기 적용 */
  .precheck-item {
    padding-left: 1.5em;
    text-indent: -1.5em;
    word-wrap: break-word;
  }

  /* 주석 항목(※) 들여쓰기 */
  .precheck-item--note {
    padding-left: 4em;
    text-indent: -1.5em;
  }
  
  /* 지도 영역 */
  .map-placeholder {
    margin-top: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    background: repeating-linear-gradient(
      45deg,
      #f3f4f6,
      #f3f4f6 6px,
      #e5e7eb 6px,
      #e5e7eb 12px
    );
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
  }
  
  .map-placeholder__label {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.75);
    color: #ffffff;
  }
  
  /* 필요서류 테이블 & 프리뷰 */
  .doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
  }
  
  .doc-table th,
  .doc-table td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
  }
  
  .doc-table th:last-child,
  .doc-table td:last-child {
    border-right: none;
  }
  
  .doc-table thead {
    background: #f3f4f6;
    font-weight: 600;
    color: #374151;
  }
  
  /* 표 안의 이미지 행 */
  .doc-table .doc-preview-row {
    border-top: 2px solid #e5e7eb;
  }
  
  .doc-table .doc-preview-cell {
    padding: 1rem;
    border-right: none !important;
  }
  
  .doc-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  
  .doc-preview {
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.86rem;
    color: #4b5563;
    overflow: hidden;
  }
  
  .doc-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* 안전조치 안내 문구 */
  .doc-safety-notice {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background-color: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 0.5rem;
  }
  
  .doc-safety-notice__text {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #92400e;
    line-height: 1.6;
  }
  
  .doc-safety-notice__text:first-child {
    margin-top: 0;
  }
  
  .doc-safety-notice__text:last-child {
    margin-bottom: 0;
  }
  
  .doc-safety-notice__text--warning {
    color: #dc2626;
    font-weight: 700;
    font-size: 1rem;
  }
  
  .doc-preview__label {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
  }
  
  /* 첨부서류 */
  .upload-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.4rem;
  }
  
  .upload-row__label {
    width: 140px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    padding-top: 0.4rem;
  }
  
  .upload-row__fields {
    flex: 1;
  }
  
  .upload-input {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.4rem;
  }
  
  .upload-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
  }
  
  /* 서약문 & 버튼 */
  .apply-confirm-box {
    margin-top: 0.5rem;
    padding: 0.9rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 0.88rem;
    color: #4b5563;
    text-align: center;
  }
  
  .apply-confirm-box__date {
    margin: 0.6rem 0 0.15rem;
    font-weight: 600;
  }
  
  .apply-confirm-box__sign {
    margin: 0;
  }
  
  .apply-actions {
    margin-top: 1.4rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
  }
  
  /* 반응형 */
  @media (max-width: 900px) {
    .apply-page {
      padding: 1.5rem 1rem 5rem;
    }

    .apply-guide-banner {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.75rem;
      padding: 1rem 1.25rem;
    }

    .apply-guide-banner__title {
      font-size: 1.2rem;
    }

    .apply-guide-banner__btn {
      width: 100%;
      padding: 0.6rem 1rem;
    }

    .apply-steps {
      flex-direction: row;
      gap: 0.5rem;
      padding: 0.75rem;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .apply-steps::-webkit-scrollbar {
      display: none;
    }
  
    .apply-step + .apply-step::before {
      display: none;
    }

    .apply-step {
      flex: 0 0 auto;
      min-width: 70px;
    }

    .apply-step__circle {
      width: 50px;
      height: 50px;
      font-size: 0.65rem;
      border-width: 2px;
      padding: 0.25rem;
    }

    .apply-step__number {
      font-size: 0.9rem;
      line-height: 1;
    }

    .apply-step__text {
      display: none;
    }

    .apply-step__label-full {
      display: none;
    }

    .apply-step__label-short {
      display: block;
    }

    .apply-step__label {
      font-size: 0.65rem;
      margin-top: 0.3rem;
      line-height: 1.2;
      word-break: keep-all;
    }
  
    .form-grid--2,
    .form-grid--3 {
      grid-template-columns: minmax(0, 1fr);
      gap: 1rem;
    }
  
    .form-inline-row,
    .upload-row {
      flex-direction: column;
      gap: 0.75rem;
    }
  
    .form-inline-row__label,
    .upload-row__label {
      width: auto;
      padding-top: 0;
      font-size: 0.95rem;
    }

    .form-inline-row__fields {
      width: 100%;
    }

    .form-radio {
      min-height: 44px;
      padding: 0.5rem;
      font-size: 0.9rem;
    }

    .form-radio input {
      width: 18px;
      height: 18px;
    }
    
    /* 표 안의 이미지 반응형 */
    .doc-preview-grid {
      grid-template-columns: minmax(0, 1fr);
    }

    .input-inline {
      flex-wrap: wrap;
    }

    .input-inline .btn--outline.btn--sm {
      width: 100%;
      margin-top: 0.5rem;
    }

    .field-address-row {
      flex-direction: column;
    }

    .field-address-row .btn--outline {
      width: 100%;
    }
  }
  
  @media (max-width: 640px) {
    .apply-page {
      padding: 1rem 0.75rem 5rem;
    }

    .apply-guide-banner {
      padding: 0.875rem 1rem;
    }

    .apply-guide-banner__title {
      font-size: 1.1rem;
    }

    .apply-steps {
      padding: 0.625rem;
      gap: 0.4rem;
    }

    .apply-step {
      min-width: 60px;
    }

    .apply-step__circle {
      width: 44px;
      height: 44px;
      font-size: 0.6rem;
      border-width: 2px;
      padding: 0.2rem;
    }

    .apply-step__number {
      font-size: 0.85rem;
    }

    .apply-step__text {
      display: none;
    }

    .apply-step__label-full {
      display: none;
    }

    .apply-step__label-short {
      display: block;
    }

    .apply-step__label {
      font-size: 0.6rem;
      margin-top: 0.25rem;
    }
  
    .apply-step-header__title-bar {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.2rem;
      padding: 0.75rem 1rem;
    }

    .form-section {
      margin-bottom: 1.5rem;
      border-radius: 0.5rem;
    }

    .form-section__header {
      padding: 0.875rem 1rem 0.625rem;
    }

    .form-section__title {
      font-size: 0.95rem;
    }

    .form-section__body {
      padding: 1rem;
    }

    .field__label {
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
    }

    .input,
    .select,
    textarea {
      font-size: 16px; /* iOS 줌 방지 */
      min-height: 44px; /* 터치 영역 확보 */
      padding: 0.75rem 1rem;
    }

    .input-inline {
      gap: 0.5rem;
    }

    .input-inline select.select {
      min-width: 90px;
      font-size: 16px;
    }

    .input-inline input.input[maxlength="4"] {
      min-width: 80px;
      font-size: 16px;
    }

    .input-inline #SelectEmailDomain {
      min-width: 130px;
      font-size: 16px;
    }

    .map-placeholder {
      height: 200px;
    }

    .doc-table {
      font-size: 0.8rem;
    }

    .doc-table th,
    .doc-table td {
      padding: 0.5rem 0.625rem;
    }

    .upload-input {
      flex-direction: column;
      align-items: stretch;
    }

    .upload-input .input {
      width: 100%;
    }

    .upload-input .btn--outline {
      width: 100%;
      margin-top: 0.5rem;
    }

    .apply-confirm-box {
      padding: 0.75rem;
      font-size: 0.8rem;
    }

    .apply-guide-bottom-bar {
      padding-bottom: env(safe-area-inset-bottom);
    }

    .apply-guide-bottom-inner {
      flex-direction: column;
      align-items: stretch;
      gap: 0.75rem;
      padding: 1rem;
    }

    .apply-guide-bottom-info {
      font-size: 0.85rem;
      text-align: center;
    }

    .apply-guide-bottom-actions {
      display: flex;
      gap: 0.5rem;
      width: 100%;
    }

    .apply-guide-btn-primary,
    .apply-guide-btn-secondary {
      flex: 1;
      min-width: 0;
      padding: 0.75rem 1rem;
      font-size: 0.9rem;
      min-height: 44px;
    }
  }

  @media (max-width: 480px) {
    .apply-page {
      padding: 0.75rem 0.5rem 5rem;
    }

    .form-section__body {
      padding: 0.875rem;
    }

    .input,
    .select,
    textarea {
      padding: 0.625rem 0.875rem;
    }
  }
  
  /* =========================
   약관동의 / 개인정보 안내 화면
========================= */

/* textarea 약관 */
.terms-textarea {
    width: 100%;
    min-height: 260px;
    padding: 0.9rem 1rem;
    border-radius: 0.4rem;
    border: 1px solid #d1d5db;
    font-size: 0.86rem;
    line-height: 1.5;
    resize: vertical;
    color: #374151;
    background-color: #fafafa;
    box-sizing: border-box;
  }
  
  .terms-textarea:focus {
    outline: 2px solid #1055c9;
    outline-offset: 1px;
  }
  
  /* 동의 / 비동의 라디오 */
  .consent-radio-group {
    margin-top: 0.7rem;
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
  }
  
  .consent-radio-group--bottom {
    margin-top: 0.9rem;
  }
  
  /* 개인정보 안내 테이블 */
  .privacy-table-wrapper {
    margin-top: 0.3rem;
  }
  
  .info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
    border: 1px solid #e5e7eb;
  }
  
  .info-table th,
  .info-table td {
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    vertical-align: middle;
  }
  
  .info-table th:last-child,
  .info-table td:last-child {
    border-right: none;
  }
  
  .info-table thead {
    background-color: #f3f4f6;
    font-weight: 600;
    color: #374151;
  }
  
  /* 14세 이상 체크 */
  .age-check {
    margin-top: 1.2rem;
    font-size: 0.9rem;
  }
  
  .age-check__label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #111827;
  }
  
  .age-check__label input[type="checkbox"] {
    width: 14px;
    height: 14px;
  }
  
  /* 반응형 */
  @media (max-width: 768px) {
    .consent-radio-group {
      flex-direction: column;
      gap: 0.75rem;
    }

    .consent-radio-group .form-radio {
      min-height: 44px;
      padding: 0.5rem;
    }

    .terms-textarea {
      min-height: 200px;
      font-size: 0.85rem;
      padding: 0.75rem;
    }

    .privacy-table-wrapper {
      overflow-x: auto;
      margin-left: -1.4rem;
      margin-right: -1.4rem;
      padding: 0 1.4rem;
      -webkit-overflow-scrolling: touch;
    }

    .info-table {
      min-width: 600px;
      font-size: 0.8rem;
    }
  
    .info-table th,
    .info-table td {
      font-size: 0.75rem;
      padding: 0.5rem 0.625rem;
    }

    .age-check {
      margin-top: 1rem;
    }

    .age-check__label {
      min-height: 44px;
      padding: 0.5rem;
      font-size: 0.85rem;
    }

    .age-check__label input[type="checkbox"] {
      width: 18px;
      height: 18px;
    }
  }

  @media (max-width: 480px) {
    .terms-textarea {
      min-height: 180px;
      font-size: 0.8rem;
    }

    .info-table {
      min-width: 500px;
      font-size: 0.75rem;
    }

    .info-table th,
    .info-table td {
      font-size: 0.7rem;
      padding: 0.4rem 0.5rem;
    }
  }
  
  /* ============================================
     step2.jsp, step3.jsp용 추가 스타일
     ============================================ */
  
  /* 정보 확인 테이블 (div 기반) */
  .info-table__row {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .info-table__row:last-child {
    border-bottom: none;
  }
  
  .info-table__label {
    min-width: 200px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
    flex-shrink: 0;
  }
  
  .info-table__value {
    flex: 1;
    color: #1f2933;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* step2.jsp info-table 좌우 여백 추가 (다른 페이지에 영향 없음) */
  .apply-page .info-table__label {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .apply-page .info-table__value {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* 수수료 납부 안내 */
  .payment-notice {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  .payment-notice__text {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
  }
  
  .payment-notice__text--highlight {
    font-weight: 600;
    color: #1f2933;
  }
  
  .text-red {
    color: #dc2626;
    font-weight: 600;
  }
  
  /* 버튼 영역 */
  .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
  }
  
  .btn-secondary {
    background-color: #6b7280;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .btn-secondary:hover {
    background-color: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  }
  
  /* 완료 페이지 */
  .complete-section {
    text-align: center;
    padding: 3rem 1.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
  }
  
  .complete-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
  }
  
  .complete-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2933;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }
  
  .complete-message {
    margin-bottom: 2rem;
    color: #374151;
    line-height: 1.8;
  }
  
  .complete-message p {
    margin: 0.75rem 0;
    font-size: 1rem;
  }
  
  .complete-contact {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  .complete-contact__title {
    font-weight: 600;
    color: #1f2933;
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }
  
  .complete-contact__phone {
    color: #4b5563;
    font-size: 1.1rem;
    margin: 0;
  }
  
  .complete-actions {
    margin-top: 2rem;
  }
  
  /* 반응형 */
  @media (max-width: 768px) {
    .info-table__row {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .info-table__label {
      min-width: auto;
      font-size: 0.9rem;
    }
    
    .info-table__value {
      font-size: 0.9rem;
    }
    
    .form-actions {
      flex-direction: column;
    }
    
    .form-actions .btn {
      width: 100%;
    }
    
    .complete-section {
      padding: 2rem 1rem;
    }
    
    .complete-title {
      font-size: 1.3rem;
    }
  }

/* Datepicker 버튼 스타일 (아이콘) */
.ui-datepicker-trigger {
  margin-left: 0.5rem;
  padding: 0.5rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.ui-datepicker-trigger img {
  width: 20px;
  height: 20px;
  display: block;
}

.ui-datepicker-trigger:hover {
  background-color: rgba(16, 85, 201, 0.1);
}

.ui-datepicker-trigger:active {
  transform: translateY(1px);
  background-color: rgba(16, 85, 201, 0.2);
}

/* Datepicker 입력 필드와 버튼을 함께 배치 */
.form-grid .field {
  position: relative;
}

.form-grid .field .datepicker {
  width: 100%;
  padding-right: 42px; /* 버튼 공간 확보 */
  box-sizing: border-box;
}

.form-grid .field .ui-datepicker-trigger {
  position: absolute;
  right: 0.5rem;
  top: calc(0.5rem + 1.2rem + 2rem); /* label 높이(약 1.2rem) + gap(0.5rem) + input 중앙(2rem) */
  transform: translateY(-50%);
  margin: 0;
}

/* 날짜 박스 스타일 - input 박스처럼 보이도록 */
.date-box {
  min-height: 4rem;
  padding: 1.5rem 1rem;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  margin-top: 0;
  box-sizing: border-box;
  width: 100%;
  max-height: 20rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.date-box:empty {
  min-height: 4rem;
  justify-content: center;
  align-items: center;
}

.date-box .dateItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: white;
  /* border: 1px solid #e5e7eb;
  border-radius: 0.375rem; */
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
}

.date-box .dateItem .dateItem__content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  height: 10px;
}

.date-box .dateItem .date-range-input {
  min-height: 2.5rem !important;
  padding-top: 0.6rem !important;
  padding-bottom: 0.6rem !important;
  width: 8.5rem;
}

.date-box .dateItem .date-separator,
.date-box .dateItem .date-days {
  white-space: nowrap;
}

.date-box .dateItem:last-child {
  margin-bottom: 0;
}

.date-box .dateItem .button-delete {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

/* 모든 input 박스  */
.apply-page input:not([type="checkbox"]):not([type="radio"]),
.apply-page .input,
.apply-page select,
.apply-page .select,
.apply-page textarea,
.apply-page .terms-textarea {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  padding-left: 1rem !important;
  /* min-height: 4rem !important; */
  /* height: auto !important; */
  line-height: 1.6 !important;
}
  

/* ============================================
   팝업 스타일 (.pop 관련)
   ============================================ */
   .box-opacity {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    overflow-y: hidden;
  }
  
  .pop {
    position: fixed;
    left: 50px;
    top: 50px;
    width: 95%;
    min-width: 300px;
    max-width: 800px;
    min-height: 100px;
    z-index: 1001;
    background-color: #fff;
    box-shadow: 0 0 5px #666;
    display: none;
  }
  
  .pop header {
    position: relative;
    border-bottom: 1px solid #d7d7d7;
    background: #f0f0f0;
  }
  
  .pop header h1 {
    margin-right: 40px;
    padding: 0 10px;
    line-height: 40px;
    color: #333;
    font-size: 12pt;
    font-weight: bold;
  }
  
  .pop header h1.txt-center {
    padding: 0;
    text-align: center;
  }
  
  .pop header a.btn-close {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 10px;
    height: 10px;
    display: block;
    transform: translateY(-50%);
  }
  
  .pop .content {
    position: relative;
    padding: 10px;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .pop footer {
    position: relative;
    border-top: 1px solid #d7d7d7;
    padding: 5px;
    font-size: 0;
    text-align: center;
    background: #eee;
  }
  
  .pop footer a.btn {
    margin: 0 0 0 5px;
    padding: 0 10px;
    line-height: 30px;
    height: 30px;
    font-size: 10pt;
  }
  
  .pop footer a.btn:first-child {
    margin: 0;
  }
  
    /* .pop .checks label {
      float: right;
    } */
    
    .pop .checks {
      position: relative;
  }

  .pop .checks label {
      position: relative;
      padding-left: 30px;
      font-weight: normal;
      display: inline-block;
      vertical-align: middle;
      cursor: pointer;
  }

  .pop .checks input {
      position: absolute;
      width: 0 !important;
      height: 0 !important;
      opacity: 0 !important;
  }

  .pop .checks input[type="checkbox"] + .marker {
      position: absolute;
      top: 50%;
      left: 0;
      width: 20px;
      height: 20px;
      border: 1px solid #ddd;
      background-color: #f4f4f4;
      border-radius: 3px;
      transform: translateY(-50%);
      transition: .3s;
  }

  .pop .checks input[type="checkbox"] + .marker::after {
      position: absolute;
      content: "";
      top: 50%;
      left: 50%;
      margin-top: -1px;
      width: 7px;
      height: 10px;
      border: solid #fff;
      border-width: 0 3px 3px 0;
      opacity: 0;
      transform: translate(-50%, -50%) rotate(45deg) scale(1.5);
      transition: .3s;
  }

  .pop .checks input[type="checkbox"]:checked + .marker {
      background-color: #888;
      opacity: 1;
  }

  .pop .checks input[type="checkbox"]:checked + .marker::after {
      transform: translate(-50%, -50%) rotate(45deg) scale(1);
      opacity: 1;
  }

  .pop .checks label .txt {
      line-height: 30px;
      font-size: 12px;
      vertical-align: middle;
      display: inline-block;
  }

  /* .pop .checks label .txt {
    line-height: 30px;
    font-size: 12px;
  }
   */
  .pop-companion {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    min-width: 300px;
    max-width: 720px;
    min-height: 100px;
    z-index: 1001;
    background-color: #fff;
    box-shadow: 0 0 5px #666;
    display: none;
    transform: translate(-50%, -50%);
  }
  
  .pop-main {
    font-size: 0.9rem;
    padding: 10px;
    line-height: 1.4;
    color: #666;
  }
  
  .pop-main .survey-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
  }
  
  .pop-main .survey-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
  }
  
  .pop-main .survey-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
  }
  
  .pop-main .txt-title {
    position: relative;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: bold;
    color: #000;
  }
  
  .pop-main .txt-title::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
  }
  
  .pop-main .txt-title:first-child {
    margin-top: 0px;
  }
  
  .pop-main .score-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 30px 0;
    font-size: 15px;
  }
  
  @media (max-width: 768px) {
    .pop {
      left: 50%;
      transform: translateX(-50%);
    }
  }

/* ============================================
   게시판 스타일
   ============================================ */

/* 게시판 페이지 컨테이너 */
.board-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background-color: #fff;
}

/* 게시판 페이지 헤더 */
.board-page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-soft);
}

/* 게시판 탭 메뉴 */
.board-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-soft);
}

.board-tab {
  padding: 1rem 2rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  bottom: -2px;
}

.board-tab:hover {
  color: var(--text-main);
}

.board-tab.active {
  color: var(--main-green);
  border-bottom-color: var(--main-green);
}

/* 게시판 탭 컨텐츠 */
.board-tab-content {
  display: none;
}

.board-tab-content.active {
  display: block;
}

.board-page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.board-page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.board-page-breadcrumb span:not(:last-child) {
  margin-right: 0.25rem;
}

/* 게시판 섹션 헤더 (사용 안 함 - 탭으로 대체) */
.board-section-header {
  margin-bottom: 1.5rem;
}

.board-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.board-section-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--main-green);
  border-radius: 50%;
}

/* 파일 아이콘 */
.board-file-icon {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1rem;
}

/* 검색 영역 */
.board-search-section {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: 8px;
}

.board-search-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.board-search-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
  color: var(--text-main);
  cursor: pointer;
}

.board-search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
  color: var(--text-main);
}

.board-search-input:focus {
  outline: none;
  border-color: var(--main-green);
  box-shadow: 0 0 0 3px rgba(65, 166, 126, 0.1);
}

.board-search-btn {
  padding: 0.75rem 2rem;
  background: linear-gradient(90deg, #05339C, #0A47CC);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.board-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 51, 156, 0.3);
}

/* 게시판 테이블 래퍼 */
.board-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
}

/* 게시판 테이블 */
.board-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  font-size: 1rem;
}

.board-table thead {
  background-color: var(--bg-light);
}

.board-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 2px solid var(--border-soft);
  font-size: 0.95rem;
}

.board-table th:first-child {
  text-align: center;
}

.board-table th:last-child {
  text-align: center;
}

.board-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-main);
  vertical-align: middle;
}

.board-table tbody tr:hover {
  background-color: #fafbfc;
}

.board-table tbody tr:last-child td {
  border-bottom: none;
}

.board-table td:first-child {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.board-table td:last-child {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 게시판 제목 */
.board-table-title {
  text-align: left !important;
}

.board-link-title {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}

.board-link-title:hover {
  color: var(--main-green);
  text-decoration: underline;
}

/* 페이징 */
.board-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.board-pagination-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.board-pagination-prev,
.board-pagination-next {
  padding: 0.5rem 1rem;
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.board-pagination-prev:hover,
.board-pagination-next:hover {
  background-color: var(--bg-light);
  border-color: var(--main-green);
  color: var(--main-green);
}

.board-pagination-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.board-pagination-num:hover {
  background-color: var(--bg-light);
  border-color: var(--main-green);
  color: var(--main-green);
}

.board-pagination-num.active {
  background: linear-gradient(90deg, #05339C, #0A47CC);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
}

.board-pagination-num.active:hover {
  background: linear-gradient(90deg, #05339C, #0A47CC);
  color: #fff;
}

/* 반응형 */
@media (max-width: 768px) {
  .board-page {
    padding: 1rem 0.75rem;
  }

  .board-page-title {
    font-size: 1.3rem;
    padding: 0 0.75rem;
  }

  .board-page-breadcrumb {
    font-size: 0.85rem;
    padding: 0 0.75rem;
  }

  .board-tabs {
    gap: 0.25rem;
    padding: 0 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .board-tabs::-webkit-scrollbar {
    display: none;
  }

  .board-tab {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .board-search-section {
    padding: 1rem;
    margin: 0 0.75rem 1rem;
  }

  .board-search-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .board-search-select,
  .board-search-input,
  .board-search-btn {
    width: 100%;
    min-height: 44px;
    font-size: 16px; /* iOS 줌 방지 */
  }

  .board-table-wrapper {
    margin: 0 -0.75rem;
    padding: 0 0.75rem;
  }

  .board-table {
    font-size: 0.85rem;
    min-width: 600px;
  }

  .board-table th,
  .board-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }

  .board-table-title {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .board-pagination {
    padding: 0 0.75rem;
  }

  .board-pagination-list {
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: center;
  }

  .board-pagination-prev,
  .board-pagination-next {
    min-height: 44px;
    padding: 0.5rem 0.875rem;
    font-size: 0.85rem;
  }

  .board-pagination-num {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.85rem;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .board-page {
    padding: 0.75rem 0.5rem;
  }

  .board-page-title {
    font-size: 1.2rem;
    padding: 0 0.5rem;
  }

  .board-tab {
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
  }

  .board-search-section {
    padding: 0.875rem;
    margin: 0 0.5rem 1rem;
  }

  .board-table {
    font-size: 0.8rem;
    min-width: 550px;
  }

  .board-table th,
  .board-table td {
    padding: 0.625rem 0.4rem;
    font-size: 0.75rem;
  }

  .board-pagination-num {
    width: 2rem;
    height: 2rem;
    font-size: 0.8rem;
  }
}

/* ============================================
   게시물 상세보기 스타일
   ============================================ */

.board-view-section {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.board-view-header {
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-soft);
  margin-bottom: 2rem;
}

.board-view-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.board-view-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.board-view-label {
  font-weight: 600;
}

.board-view-value {
  color: var(--text-main);
}

.board-view-date {
  color: var(--text-muted);
}

.board-view-views {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
}

.board-view-views i {
  font-size: 0.9rem;
}

.board-view-content {
  min-height: 200px;
  padding: 1.5rem 0;
  line-height: 1.8;
  color: var(--text-main);
  white-space: pre-wrap;
  word-wrap: break-word;
}

.board-view-files {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}

.board-view-files-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.board-view-files-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.board-view-files-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.board-view-files-list li:last-child {
  border-bottom: none;
}

.board-view-files-list li i {
  color: var(--text-muted);
  font-size: 1rem;
}

.board-view-files-list li a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.board-view-files-list li a:hover {
  color: var(--main-green);
  text-decoration: underline;
}

.board-view-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}

/* ============================================
   게시글 작성 스타일
   ============================================ */

.board-write-section {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.board-write-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
}

.board-write-table th {
  padding: 1.5rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--bg-light);
  border: 1px solid var(--border-soft);
  vertical-align: top;
  padding-top: 1.5rem;
}

.board-write-table th i {
  margin-right: 0.5rem;
  color: var(--main-green);
}

.board-write-table td {
  padding: 1.5rem 1rem;
  border: 1px solid var(--border-soft);
  background-color: #fff;
}

.board-write-table .input,
.board-write-table .textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  font-size: 1rem;
  color: var(--text-main);
  font-family: inherit;
}

.board-write-table .input:focus,
.board-write-table .textarea:focus {
  outline: none;
  border-color: var(--main-green);
  box-shadow: 0 0 0 3px rgba(65, 166, 126, 0.1);
}

.board-write-table .textarea {
  resize: vertical;
  min-height: 200px;
}

.form-radio-group {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.form-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-radio span {
  font-size: 1rem;
  color: var(--text-main);
}

.file-upload-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-upload-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.file-upload-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
  color: var(--text-main);
  cursor: default;
}

.file-upload-btn {
  padding: 0.75rem 2rem;
  background: linear-gradient(90deg, #05339C, #0A47CC);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
  display: inline-block;
}

.file-upload-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 51, 156, 0.3);
}

.file-upload-btn input[type="file"] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.board-write-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}

.board-write-btn-section {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

/* 버튼 스타일 */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(90deg, #05339C, #0A47CC);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 51, 156, 0.3);
}

.btn-danger {
  background: linear-gradient(90deg, #dc3545, #c82333);
  color: #fff;
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-secondary {
  background-color: var(--bg-light);
  color: var(--text-main);
  border: 1px solid var(--border-soft);
}

.btn-secondary:hover {
  background-color: #e9ecef;
  border-color: var(--main-green);
  color: var(--main-green);
}

/* 반응형 */
@media (max-width: 768px) {
  .board-view-section,
  .board-write-section {
    padding: 1rem 0.75rem;
    margin: 0 0.75rem 1rem;
  }

  .board-view-title {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .board-view-meta {
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .board-view-content {
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 1rem 0;
  }

  .board-view-files {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .board-view-files-list li {
    padding: 0.625rem 0;
    font-size: 0.85rem;
  }

  .board-view-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .board-view-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .board-write-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .board-write-table th,
  .board-write-table td {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
  }

  .board-write-table th {
    min-width: 100px;
    font-size: 0.85rem;
  }

  .board-write-table .input,
  .board-write-table .textarea {
    font-size: 16px; /* iOS 줌 방지 */
    min-height: 44px;
  }

  .board-write-table .textarea {
    min-height: 150px;
  }

  .form-radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .form-radio {
    min-height: 44px;
    padding: 0.5rem;
  }

  .form-radio input[type="radio"] {
    width: 20px;
    height: 20px;
  }

  .file-upload-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .file-upload-input {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
  }

  .file-upload-btn {
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 1.5rem;
  }

  .board-write-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .board-write-actions .btn {
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .board-view-section,
  .board-write-section {
    padding: 0.875rem 0.5rem;
    margin: 0 0.5rem 1rem;
  }

  .board-view-title {
    font-size: 1.1rem;
  }

  .board-write-table th,
  .board-write-table td {
    padding: 0.875rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* ============================================
   민원 관리 페이지 스타일
   ============================================ */

/* 진행 현황 스텝 */
.minwon-step {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 0;
}

.minwon-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 1.5rem 1rem;
  background-color: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.minwon-step-item.state-complete {
  background-color: #d1fae5;
  border-color: var(--main-green);
  color: var(--main-green);
}

.minwon-step-item.state-ing {
  background-color: #dbeafe;
  border-color: #3b82f6;
  color: #3b82f6;
  font-weight: 600;
  animation: pulse 2s infinite;
}

.minwon-step-item.state-ready {
  background-color: #f3f4f6;
  border-color: #d1d5db;
  color: #6b7280;
}

.minwon-step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.minwon-step-state {
  font-size: 0.9rem;
}

.minwon-step-arrow {
  font-size: 1.5rem;
  color: #9ca3af;
  margin: 0 0.5rem;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* 다운로드 섹션 */
.download-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
}

.download-section .btn {
  min-width: 150px;
}

/* 문의 섹션 */
.inquiry-section {
  padding: 1.5rem 0;
}

.inquiry-input-section {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.inquiry-input-section .textarea {
  flex: 1;
  min-height: 120px;
  resize: vertical;
}

.inquiry-input-section .btn {
  min-width: 120px;
  white-space: nowrap;
}

.inquiry-list-section {
  margin-top: 2rem;
}

/* 답변 섹션 */
.answer-section {
  padding: 1.5rem;
  background-color: #f9fafb;
  border-left: 4px solid var(--main-green);
  border-radius: 6px;
  margin-top: 1rem;
}

.answer-title {
  display: block;
  font-weight: 600;
  color: var(--main-green);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.answer-content {
  color: var(--text-main);
  line-height: 1.8;
  white-space: pre-wrap;
}

/* 상태 배지 */
.txt-state {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.txt-state.state-0 {
  background-color: #fef3c7;
  color: #92400e;
}

.txt-state.state-1 {
  background-color: #dbeafe;
  color: #1e40af;
}

.txt-state.state-2 {
  background-color: #d1fae5;
  color: #065f46;
}

.txt-state.state-3 {
  background-color: #fee2e2;
  color: #991b1b;
}

.txt-state.state-4 {
  background-color: #e5e7eb;
  color: #374151;
}

.txt-state.state-5 {
  background-color: #fef3c7;
  color: #92400e;
}

/* 액션 버튼 */
.btn-action {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  margin: 0.125rem;
  background-color: #f3f4f6;
  color: var(--text-main);
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-action:hover {
  background-color: var(--main-green);
  color: #fff;
  border-color: var(--main-green);
}

/* 반응형 */
@media (max-width: 768px) {
  .minwon-step {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem 0;
  }

  .minwon-step-arrow {
    transform: rotate(90deg);
    margin: 0.25rem 0;
    font-size: 1.2rem;
  }

  .minwon-step-item {
    width: 100%;
    min-width: auto;
    padding: 1.25rem 1rem;
  }

  .minwon-step-title {
    font-size: 0.95rem;
  }

  .minwon-step-state {
    font-size: 0.85rem;
  }

  .download-section {
    flex-direction: column;
    gap: 0.75rem;
  }

  .download-section .btn {
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 1.5rem;
  }

  .inquiry-section {
    padding: 1rem 0;
  }

  .inquiry-input-section {
    flex-direction: column;
    gap: 0.75rem;
  }

  .inquiry-input-section .textarea {
    width: 100%;
    min-height: 120px;
    font-size: 16px; /* iOS 줌 방지 */
    padding: 0.75rem;
  }

  .inquiry-input-section .btn {
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 1.5rem;
  }

  .answer-section {
    padding: 1.25rem;
    margin-top: 0.75rem;
  }

  .answer-title {
    font-size: 0.95rem;
  }

  .answer-content {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .txt-state {
    font-size: 0.8rem;
    padding: 0.3rem 0.625rem;
  }

  .btn-action {
    min-height: 36px;
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .minwon-step-item {
    padding: 1rem 0.875rem;
  }

  .minwon-step-title {
    font-size: 0.9rem;
  }

  .minwon-step-state {
    font-size: 0.8rem;
  }
}
  
  