/* ===== 컴포넌트 =====
   공유하기 · 프로필 카드 · 프로젝트 카드/모달 · 수원 배너 · 타임라인 */

/* ===== [SHARE] 공유하기 — 버튼 · 드롭다운 · 안내 문구 ===== */
.share-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 8px 16px;
  border: 1px solid var(--accent-green);
  border-radius: 999px;
  background: var(--accent-green);
  color: #fff;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.share-btn:hover {
  background: var(--accent-green-dark);
  box-shadow: var(--shadow-glow);
}

.share-btn:focus-visible {
  outline: 2px solid var(--accent-green-dark);
  outline-offset: 2px;
}

.share-caret {
  font-size: var(--fs-xs);
}

.share-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  padding: var(--space-xs);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
}

.share-menu[hidden] {
  display: none;
}

.share-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-sm);
  border: none;
  border-radius: var(--radius-sm);
  background: none;
  font: inherit;
  text-align: left;
  color: var(--text-primary);
  cursor: pointer;
}

.share-item:hover,
.share-item:focus-visible {
  background: var(--bg-tint);
  outline: none;
}

.share-item strong {
  font-size: var(--fs-sm);
  font-weight: 600;
}

.share-item span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* 복사 완료 등 짧은 안내 (몇 초 뒤 사라짐) */
.share-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  max-width: min(460px, calc(100% - 40px));
  padding: var(--space-sm) var(--space-md);
  border-radius: 999px;
  background: var(--text-primary);
  color: #fff;
  font-size: var(--fs-sm);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.share-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ===== [PDF] 인쇄용 구조화 문서 — 화면에서는 보이지 않는다 ===== */
.pdf-doc {
  display: none;
}

/* ===== PROFILE CARDS ===== */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-emerald), var(--accent-lime));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 125, 50, 0.3);
  box-shadow: var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.card-icon.blue { background: rgba(46, 125, 50, 0.12); }
.card-icon.purple { background: rgba(0, 137, 123, 0.12); }
.card-icon.orange { background: rgba(124, 179, 66, 0.15); }
.card-icon.green { background: rgba(46, 125, 50, 0.12); }

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.card-value {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-green-dark), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== [P03~P06] PROJECTS — 카드 + 상세 모달 ===== */
/* 프로젝트 추가 방법: HTML에서 <article class="card project-card"> 블록 하나를 복사해 내용만 바꾸면 된다. */
.section-desc {
  margin-top: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.project-number {
  font-family: var(--font-accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-green);
}

.project-title {
  font-size: var(--fs-lg);
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-primary);
}

.project-summary {
  flex-grow: 1;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-secondary);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  list-style: none;
}

.tag-list li {
  padding: 2px var(--space-sm);
  border-radius: 999px;
  background: var(--bg-tint);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--accent-green-dark);
}

.project-open {
  align-self: flex-start;
  margin-top: var(--space-xs);
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent-green);
  cursor: pointer;
}

/* 카드 어디를 눌러도 열리도록 버튼 클릭 영역을 카드 전체로 넓힌다 */
.project-open::after {
  content: '';
  position: absolute;
  inset: 0;
}

.project-open:focus-visible {
  outline: none;
}

.project-card:focus-within {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

.project-card:hover .project-open {
  color: var(--accent-green-dark);
}

/* --- 상세 내용 (카드 안에 숨겨두고, 모달·인쇄에서 보여줌) --- */
.detail-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--space-xs) var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--bg-tint);
  font-size: var(--fs-sm);
}

.detail-meta dt {
  font-weight: 700;
  color: var(--accent-green-dark);
}

.detail-meta dd {
  color: var(--text-primary);
}

.detail-block {
  margin-bottom: var(--space-lg);
}

.detail-block h4 {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-sm);
  border-left: 3px solid var(--accent-green);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-primary);
}

.detail-block p,
.detail-block li {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--text-secondary);
}

.detail-block ul {
  padding-left: var(--space-md);
}

.detail-block strong {
  color: var(--text-primary);
}

.detail-note {
  margin-top: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--accent-orange);
}

.table-wrap {
  overflow-x: auto;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.detail-table th,
.detail-table td {
  padding: var(--space-xs) var(--space-sm);
  border-bottom: 1px solid var(--border-glass);
  text-align: left;
  vertical-align: top;
  color: var(--text-secondary);
}

.detail-table th {
  background: var(--bg-tint);
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent-green-dark);
}

.detail-source {
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-glass);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* --- 상세 모달 --- */
.project-modal {
  width: min(760px, calc(100% - 2 * var(--space-md)));
  max-height: 88vh;
  margin: auto;
  padding: 0;
  overflow-y: auto;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

.project-modal::backdrop {
  background: var(--overlay-backdrop);
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-glass);
  background: var(--bg-white);
}

.modal-title {
  font-size: var(--fs-lg);
  font-weight: 800;
  line-height: 1.4;
}

.modal-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--bg-tint);
  font-size: var(--fs-lg);
  line-height: 1;
  color: var(--text-primary);
  cursor: pointer;
}

.modal-close:hover {
  background: var(--border-glass);
}

.modal-close:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

.modal-body {
  padding: var(--space-lg);
}

body.modal-open {
  overflow: hidden;
}

/* ===== SUWON BANNER SECTION ===== */
.suwon-banner-section {
  position: relative;
  z-index: 1;
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.suwon-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-glass);
}

.suwon-banner-hero {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.suwon-banner-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.suwon-banner:hover .suwon-banner-hero img {
  transform: scale(1.03);
}

.suwon-banner-hero .suwon-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 94, 32, 0.1) 0%, rgba(27, 94, 32, 0.6) 100%);
}

.suwon-banner-hero .suwon-title-overlay {
  position: absolute;
  bottom: 28px;
  left: 36px;
  color: #fff;
  z-index: 2;
}

.suwon-banner-hero .suwon-title-overlay h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.suwon-banner-hero .suwon-title-overlay p {
  font-size: 1rem;
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.suwon-banner-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.suwon-info-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s ease;
}

.suwon-info-card:first-child {
  border-right: 1px solid var(--border-glass);
}

.suwon-info-card:hover {
  background: rgba(46, 125, 50, 0.04);
}

.suwon-info-card .suwon-card-icon {
  font-size: 2.4rem;
  margin-bottom: 4px;
}

.suwon-info-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-green-dark);
}

.suwon-info-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.suwon-frog-section {
  padding: 28px 36px 36px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(200, 230, 201, 0.15);
}

.suwon-frog-img {
  width: 180px;
  height: 120px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(46, 125, 50, 0.2);
  transition: transform 0.3s ease;
}

.suwon-frog-img:hover {
  transform: scale(1.05);
}

.suwon-frog-text h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-green-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.suwon-frog-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.suwon-frog-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(46, 125, 50, 0.12);
  color: var(--accent-green);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-green), var(--accent-emerald), var(--accent-lime));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.25s; }
.timeline-item:nth-child(3) { animation-delay: 0.4s; }
.timeline-item:nth-child(4) { animation-delay: 0.55s; }
.timeline-item:nth-child(5) { animation-delay: 0.7s; }

@keyframes slideInLeft {
  to { opacity: 1; transform: translateX(0); }
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-green);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.3);
}

.timeline-item:nth-child(2) .timeline-dot { background: var(--accent-emerald); box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.3); }
.timeline-item:nth-child(3) .timeline-dot { background: var(--accent-lime); box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.3); }
.timeline-item:nth-child(4) .timeline-dot { background: var(--accent-teal); box-shadow: 0 0 0 3px rgba(0, 121, 107, 0.3); }
.timeline-item:nth-child(5) .timeline-dot { background: var(--accent-green-light); box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.3); }

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.timeline-content:hover {
  border-color: rgba(46, 125, 50, 0.3);
  box-shadow: var(--shadow-glow);
}

.timeline-year {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}


/* ===== 데이터를 불러오지 못했을 때 안내 ===== */
.load-error {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-lg);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  text-align: center;
}

.load-error h1 {
  font-size: var(--fs-lg);
  color: var(--text-primary);
}

.load-error p {
  margin-top: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.load-error-detail {
  font-family: var(--font-accent);
  color: var(--text-muted) !important;
  word-break: break-all;
}

/* ===== [VISIT] 찾아오는 길 — 지도 · 주소 · 날씨 · 출처 ===== */
.visit-section {
  padding-top: 140px;
}

.visit-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-md);
}

.visit-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.visit-card {
  padding: var(--space-md);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.visit-card-title {
  margin-bottom: var(--space-xs);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
}

.visit-map {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-sm);
}

.visit-map-frame {
  width: 100%;
  height: 420px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}

.visit-map-link {
  align-self: flex-end;
  font-size: var(--fs-xs);
  color: var(--accent-green);
  text-decoration: none;
}

.visit-map-link:hover {
  text-decoration: underline;
}

.visit-place-name {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.visit-address {
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.visit-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.visit-stat-label {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.visit-stat-value {
  font-family: var(--font-accent);
  font-size: var(--fs-stat);
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent-green-dark);
}

.visit-stat-unit {
  margin-left: 2px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-secondary);
}

.visit-weather-note {
  margin-top: var(--space-xs);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* '방문 예약하기' 버튼 — 정보 아래 가운데 */
.visit-booking {
  margin-top: var(--space-lg);
  text-align: center;
}

/* 외부 서비스 출처 — 작게 */
.visit-sources {
  margin-top: var(--space-sm);
  text-align: right;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.visit-sources a {
  color: inherit;
}

a.nav-logo {
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--accent-green-dark);
}
/* ===== [VISIT] 끝 ===== */

/* ===== [BOOKING] 방문 예약 — 캘린더 · 입력 칸 · 동의 · 확인 팝업 ===== */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

.booking-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.booking-note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.booking-note a {
  color: inherit;
}

/* --- 캘린더 --- */
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.calendar-title {
  font-family: var(--font-accent);
  font-size: var(--fs-lg);
  font-weight: 700;
}

.calendar-nav {
  width: var(--calendar-cell);
  height: var(--calendar-cell);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  background: var(--bg-white);
  font-size: var(--fs-lg);
  line-height: 1;
  color: var(--accent-green-dark);
  cursor: pointer;
}

.calendar-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-xs);
  justify-items: center;
}

.calendar-weekday {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
}

.calendar-day {
  width: var(--calendar-cell);
  height: var(--calendar-cell);
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--bg-tint);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.calendar-day:hover:not(:disabled) {
  border-color: var(--accent-green);
}

.calendar-day:focus-visible,
.calendar-nav:focus-visible {
  outline: 2px solid var(--accent-green-dark);
  outline-offset: 2px;
}

/* 고를 수 없는 날 (지난 날 · 주말 · 공휴일 · 예약 가능 기간 밖) */
.calendar-day:disabled {
  background: none;
  font-weight: 400;
  color: var(--text-muted);
  opacity: 0.55;
  cursor: not-allowed;
}

.calendar-day.is-holiday {
  color: var(--accent-red);
  opacity: 0.75;
}

.calendar-day.is-today {
  border-color: var(--border-input);
}

.calendar-day.is-selected {
  background: var(--accent-green);
  color: var(--bg-white);
}

/* --- 입력 칸 --- */
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.form-required {
  margin-left: 2px;
  color: var(--accent-red);
}

.form-input {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  font: inherit;
  font-size: var(--fs-md);
  color: var(--text-primary);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 1px;
}

/* 잘못 입력한 칸 — 빨간 테두리 + 칸 아래 안내 */
.form-input.is-invalid {
  border-color: var(--accent-red);
  background: var(--bg-error);
}

.form-input.is-invalid:focus-visible {
  outline-color: var(--accent-red);
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--accent-red);
}

.form-error[hidden] {
  display: none;
}

.booking-date-box {
  display: block;
  font-weight: 600;
}

.booking-date-box.is-empty {
  font-weight: 400;
  color: var(--text-muted);
}

/* 방문 목적 — 긴 글을 쓸 수 있게 다른 칸보다 크게 */
.booking-purpose {
  min-height: var(--purpose-height);
  line-height: 1.6;
  resize: vertical;
}

/* --- 동의 + 예약하기 --- */
.booking-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.booking-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  cursor: pointer;
}

.booking-consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent-green);
}

.booking-submit {
  font-family: inherit;
}

/* 필수 칸과 동의가 모두 채워지기 전에는 눌리지 않는다 */
.booking-submit:disabled {
  opacity: 0.4;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* --- 확인 팝업 --- */
.booking-modal {
  width: min(520px, calc(100% - 2 * var(--space-md)));
}

.booking-modal-desc {
  margin-bottom: var(--space-md);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.booking-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xs) var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
}

.booking-summary dt {
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.booking-summary dd {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.booking-modal-status {
  min-height: 1.7em;
  margin-top: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.booking-modal-status.is-error {
  color: var(--accent-red);
}

.booking-modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.booking-button-plain {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border-input);
  border-radius: 999px;
  background: var(--bg-white);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.booking-button-plain:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
/* ===== [BOOKING] 끝 ===== */
