/* =========================================================
   파일: booking_common.css (전체 지점 공용 예약 신청서 스타일시트)
   - 최적화: 다중 지점(세부, 보홀, 다낭, 나트랑, 베트남) 중복 제거 및 경량화
   - 적용 범위: *_application.php 시리즈
   ========================================================= */

:root {
  --bg: #f6f7fb;
  --card: rgba(255, 255, 255, 0.92);
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.10);
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
  --shadow2: 0 8px 22px rgba(15, 23, 42, 0.08);
  --blue: #2563eb;
  --blue2: #3b82f6;
  --blueSoft: rgba(37, 99, 235, 0.10);
  --green: #16a34a;
  --greenSoft: rgba(22, 163, 74, 0.10);
  --red: #ef4444;
  --redSoft: rgba(239, 68, 68, 0.10);
  --radius: 18px;
  --radiusSm: 14px;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(246, 247, 251, 0.94), rgba(246, 247, 251, 0.84));
  pointer-events: none;
  z-index: 0;
}

/* (1) 기본 레이아웃 셸 */
.wrap {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 22px 14px 110px;
  box-sizing: border-box;
}

.logo-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 18px;
}

.logo-box img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.15));
  opacity: 0.95;
}

/* (2) 스텝 및 프로그레스 */
.ga-step-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(10px);
}

#stepLabel {
  font-weight: 900;
  letter-spacing: -0.02em;
}

#stepHint {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 68%;
}

.ga-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin: 12px 2px 18px;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

/* (3) 카드 및 행 요소 */
.ga-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(10px);
  padding: 16px 16px;
  margin-bottom: 14px;
}

.ga-section-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ga-title {
  margin: 0;
  font-weight: 1000;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.ga-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.75);
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.ga-sub {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.ga-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.ga-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.ga-row-left {
  flex: 1 1 auto;
  min-width: 0;
}

.ga-row-name {
  font-weight: 1000;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ga-row-meta {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  word-break: break-word;
}

.ga-row > .d-flex.align-items-center.gap-2 {
  flex-direction: column;
  align-items: flex-end !important;
  gap: 8px !important;
}

/* (4) 미니 버튼 및 배지 */
.ga-mini {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.90);
  color: rgba(15, 23, 42, 0.80);
  font-weight: 900;
  font-size: 12px;
  border-radius: 999px;
  padding: 7px 11px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  cursor: pointer;
}

.ga-mini:hover {
  filter: brightness(0.98);
}

.ga-mini-primary {
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  border-color: rgba(37, 99, 235, 0.55);
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.ga-mini-primary:hover {
  color: #fff;
}

.ga-mini-link {
  background: var(--blueSoft);
  border-color: rgba(37, 99, 235, 0.22);
  color: rgba(37, 99, 235, 0.95);
  text-decoration: none;
}

/* (5) 표준 폼 보정 */
.form-label {
  font-weight: 900;
  color: var(--text);
}

.form-control, .form-select {
  border-radius: var(--radiusSm) !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  box-shadow: none !important;
  padding: 12px 12px;
}

.form-control:focus, .form-select:focus {
  border-color: rgba(37, 99, 235, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14) !important;
}

textarea.form-control {
  resize: none;
}

.form-check-input {
  width: 20px;
  height: 20px;
  border-radius: 7px !important;
  border: 1px solid rgba(15, 23, 42, 0.25) !important;
  cursor: pointer;
  margin: 0;
}

.form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14) !important;
}

.help-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.95);
  background: var(--blueSoft);
  border: 1px solid var(--blueSoft);
  cursor: pointer;
  user-select: none;
}

/* (6) 하단 고정 네비게이션 */
.sticky-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  padding: 10px 12px 14px;
  background: linear-gradient(to top, rgba(246, 247, 251, 0.98), rgba(246, 247, 251, 0.70));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.sticky-inner {
  width: min(820px, 100%);
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.btn-wide {
  width: 100%;
}

.btn {
  border-radius: 14px !important;
  font-weight: 900 !important;
  padding: 12px 12px;
}

.btn-light {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--blue2)) !important;
  border-color: rgba(37, 99, 235, 0.55) !important;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.btn-success {
  background: linear-gradient(90deg, #16a34a, #22c55e) !important;
  border-color: rgba(34, 197, 94, 0.55) !important;
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.16);
}

/* (7) 동적 투어 아이템 렌더링 */
.ga-item {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.ga-item-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ga-item-title {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.ga-state-chip {
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  line-height: 1;
}

.ga-state-chip.bad {
  background: rgba(239, 68, 68, 0.10);
  border-color: rgba(239, 68, 68, 0.18);
  color: #b91c1c;
}

.ga-state-chip.ok {
  background: rgba(34, 197, 94, 0.10);
  border-color: rgba(34, 197, 94, 0.18);
  color: #15803d;
}

.ga-item-meta {
  margin-top: 6px;
  color: rgba(15, 23, 42, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.ga-item-meta .ga-dot {
  margin: 0 6px;
  opacity: 0.55;
}

.ga-item-route {
  margin-top: 4px;
  color: rgba(15, 23, 42, 0.65);
  font-size: 12px;
  line-height: 1.35;
  word-break: break-word;
}

.ga-item-action {
  border-radius: 999px !important;
  padding: 10px 14px !important;
  font-weight: 900 !important;
  min-width: 86px;
}

/* (8) 모달 및 바텀 시트 */
.modal-content {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.modal-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.modal-body {
  color: rgba(15, 23, 42, 0.90);
}

#contentModalBody img {
  width: 100% !important;
  height: auto !important;
  border-radius: 14px;
}

.offcanvas-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.offcanvas-title {
  font-weight: 1000;
  letter-spacing: -0.02em;
}

.offcanvas.offcanvas-bottom {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  overflow: hidden;
  height: 68vh;
  width: min(820px, 100%);
  margin: auto;
  box-shadow: 0 -18px 50px rgba(15, 23, 42, 0.18);
}

.ga-sheet {
  padding: 10px 16px 16px;
  background: rgba(246, 247, 251, 0.92);
}

.ga-sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.14);
  margin: 2px auto 10px;
}

.ga-sheet-sub {
  margin-bottom: 12px;
  color: rgba(15, 23, 42, 0.70);
}

.ga-field {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  margin-bottom: 12px;
}

.ga-label {
  display: block;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 8px;
  color: rgba(15, 23, 42, 0.92);
}

.ga-help {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.60);
}

.ga-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ga-loc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ga-chipset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ga-chip {
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.78);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
}

.ga-chip:hover {
  background: rgba(15, 23, 42, 0.06);
}

.ga-chip-primary {
  border-color: rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.10);
  color: rgba(37, 99, 235, 0.95);
}

.ga-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  margin-bottom: 12px;
}

.ga-toggle-title {
  font-weight: 1000;
  color: rgba(15, 23, 42, 0.92);
  margin-bottom: 4px;
}

.ga-toggle-desc {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
}

.ga-toggle-right .form-check-input {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  margin: 0;
}

.ga-sheet-actions {
  position: sticky;
  bottom: 0;
  background: rgba(246, 247, 251, 0.92);
  padding-top: 10px;
  padding-bottom: 6px;
  display: flex;
  gap: 10px;
}

.ga-sheet-actions .btn-wide {
  flex: 1;
}

.ga-row-name .form-check-input {
  margin: 0 !important;
  width: 20px;
  height: 20px;
  border-radius: 7px;
}

.ga-check-label {
  cursor: pointer;
  font-weight: 900;
  line-height: 1.2;
}

#selectedToursList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* (9) Flatpickr 및 외부 라이브러리 UI */
.ui-datepicker {
  border-radius: 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08) !important;
  z-index: 10001 !important;
}

.excluded-date a {
  background: rgba(239, 68, 68, 0.95) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

/* (10) 카카오 채널 플로팅 버튼 */
.kakao-chat {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 1010;
}

.kakao-chat img {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

@media (min-width: 992px) {
  .kakao-chat {
    right: 22px;
    bottom: 24px;
  }
}

/* =========================================================
   미디어 쿼리 및 디바이스 보정 (768px 이하)
   ========================================================= */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }
  .wrap {
    padding: 22px 14px 96px;
  }
  .ga-row {
    gap: 10px;
    padding: 12px 12px;
  }
  #stepHint {
    max-width: 58%;
  }
  .ga-grid2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .ga-grid2 {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   보홀 / 다낭 / 나트랑 지점 전용 3단계 스텝 레이아웃 및 컴포넌트
   ========================================================= */

/* ===========================
   0. 기본 토스 느낌 토큰 / 레이아웃
   =========================== */

:root {
  --app-bg: #f3f4f6;
  --app-bg-soft: linear-gradient(180deg, #eef2ff 0%, #f9fafb 40%, #ffffff 100%);
  --card-bg: #ffffff;
  --accent: #2563eb;
  --accent-soft: rgba(37,99,235,0.08);
  --accent-strong: #1d4ed8;
  --text-main: #111827;
  --text-sub: #6b7280;
  --border-soft: rgba(203,213,225,1);
  --shadow-soft: 0 18px 40px rgba(15,23,42,0.06);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--app-bg-soft) !important;
  font-family: -apple-system, BlinkMacSystemFont, system-ui,
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--text-main);
}

body:before {
  display: none !important;
}

.app-shell {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px 96px; /* 하단 네비 여유 */
}

@media (min-width: 992px) {
  .app-shell {
    padding-top: 32px;
    padding-bottom: 48px;
  }
}

.container.app-container {
  background: #ffffff;
  border-radius: 32px;
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

@media (min-width: 768px) {
  .container.app-container {
    padding: 28px 28px 24px;
  }
}

/* 상단 헤더 (로고 + 안내문) */
.app-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.app-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: radial-gradient(circle at 20% 0, #f6f7f7 0, #c7c7c7 45%, #787e89 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

.app-logo-wrap img {
  width: 32px;
  height: auto;
}

.app-header-text {
  color: var(--text-main);
}

.app-header-subtitle {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 4px;
}

.app-header-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.app-header-desc {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .app-header-title {
    font-size: 20px;
  }
  .app-header-desc {
    font-size: 13px;
  }
}

/* ===========================
   3. 스텝 인디케이터
   =========================== */

.step-indicator {
  display: flex;
  gap: 6px;
  margin: 14px 0 10px;
}

.step-pill {
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text-sub);
  background: #f9fafb;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.step-pill span.num {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #4b5563;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.step-pill.is-active,
.step-pill.active {
  background: linear-gradient(135deg, #2563eb, #60a5fa) !important;
  border-color: transparent !important;
  color: #eff6ff !important;
}

.step-pill.is-active span.num,
.step-pill.active span.num {
  background: rgba(15, 23, 42, 0.18) !important;
  color: #eff6ff !important;
}

/* ===========================
   4. 카드 스타일
   =========================== */

.card {
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  color: var(--text-main);
  overflow: hidden;
}

.card-header {
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--text-main);
  padding: 12px 16px;
}

.card-body {
  padding: 14px 16px 16px;
}

.card + .card {
  margin-top: 12px;
}

/* ===========================
   5. 폼 요소 공통
   =========================== */

.age-note {
  color: #ef4444;
  font-size: 0.85rem;
  margin-left: 10px;
}

.font-red {
  color: #ef4444;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 6px;
}

.checkbox-error {
  font-size: 0.9rem;
}

.summary-fields.small p {
  font-size: 0.9rem;
}

.summary-fields {
  margin-top: 10px;
}

#summary_section > p:nth-child(2) {
  font-size: 0.7em;
}

/* 구글 장소 자동완성 z-index */
.pac-container {
  z-index: 9999 !important;
  position: absolute;
}

/* ===========================
   6. 인원/나이 카드
   =========================== */

.room-section {
  display: none;
}

.room-details,
.age-details {
  margin-top: 10px;
}

.age-input {
  max-width: 70px;
  display: inline-block;
}

.age-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background-color: #f9fafb;
}

.age-card label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

#age_section_children,
#age_section_infants {
  color: var(--text-main);
}

/* ===========================
   7. 스텝 섹션 / 네비게이션
   =========================== */

.step-section {
  display: none; /* 기본 숨김 */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.step-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: stepFadeUp 0.28s ease-out;
}

@keyframes stepFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-navigation {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: 16px;
}

.step-navigation .btn {
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

#prev_step {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #4b5563;
}

#next_step,
#submit_form {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  border: none;
  color: #eff6ff;
}

/* ===========================
   8. 출발 공항/항공 추천 블록
   =========================== */

.departure-field {
  margin-bottom: 20px;
}

.dynamic-fields .border {
  margin-bottom: 15px;
}

/* ===========================
   9. 투어 안내 모달
   =========================== */

#tourInfoContent img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

.modal-content {
  border-radius: 20px;
}

.modal-header {
  border-bottom: 1px solid #e5e7eb;
}

/* ===========================
   10. 반응형 조정
   =========================== */

@media (max-width: 768px) {
  body {
    padding-bottom: 80px; /* 하단 네비 자리 */
  }

  .app-shell {
    padding: 12px 12px 96px;
  }

  .container.app-container {
    border-radius: 28px;
    padding: 18px 14px 18px;
  }

  .app-header {
    align-items: flex-start;
  }

  .app-header-title {
    font-size: 17px;
  }

  .step-navigation {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 8px 14px calc(10px + env(safe-area-inset-bottom));
    background: #ffffff;
    backdrop-filter: blur(18px);
    border-top: 1px solid #e5e7eb;
    z-index: 1000;
  }

  .step-navigation .btn {
    flex: 1;
    padding: 10px;
    justify-content: space-around;
  }
}

.passenger-flight-row.has-error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.airport-error {
  font-size: 0.8rem;
}

/* =========================================================
   11. 인라인 스타일 제거용 유틸/컴포넌트
   ========================================================= */

/* 공통 숨김 유틸 */
.is-hidden{
  display: none !important;
}

/* Step2 OFF 강제 숨김 */
.step-section--disabled{
  display: none !important;
}

/* 라벨 아래 보조문구(기존 p style 대체) */
.label-subnote{
  font-size: 0.7em;
  letter-spacing: -1px;
  margin: 0;
  color: #6b7280;
  line-height: 1.1;
}
.label-subnote--empty{
  visibility: hidden; /* 높이만 유지 */
}

/* 요약 섹션(기존 inline style 대체) */
.summary-section{
  font-weight: 700;
  font-size: 1.1rem;
  display: none; /* JS에서 필요 시 display 변경 */
}

/* 동적 카드(기존 style="display:none" 대체) */
.dynamic-card{
  display: none; /* JS에서 필요 시 display 변경 */
}

/* 제출 버튼 기본 숨김(기존 style="display:none" 대체) */
.btn-submit{
  display: none; /* JS에서 필요 시 display 변경 */
}

/* 지도 영역(기존 inline style 대체) */
.map-preview{
  height: 300px;
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

/* 토스트 z-index(기존 inline style 대체) */
.toast-container{
  z-index: 1055;
}

/* =========================================================
   12. 투어 리스트 (왼쪽: 투어명 / 오른쪽: 일정보기 버튼)
   ========================================================= */

.tour-check-row{
    display: flex;
    gap: 10px;
    background: #ffffff;
    margin-bottom: 8px;
}

.tour-check-left{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  margin: 0;
  flex: 1;
  align-items: center;
}

.tour-check-left .form-check-input{
  margin-top: 3px; /* 라벨 첫 줄과 정렬 */
}

.tour-name{
  margin: 0;
  line-height: 1.35;
  word-break: keep-all;
}

/* 오른쪽 "일정보기" 버튼 */
.tour-info-btn{
  flex-shrink: 0;
  border: 1px solid rgba(37,99,235,0.25);
  background: rgba(37,99,235,0.08);
  color: #1d4ed8;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}

.tour-info-btn:hover{
  background: rgba(37,99,235,0.12);
  border-color: rgba(37,99,235,0.35);
}

.tour-info-btn:active{
  transform: translateY(1px);
}

.categoryName{
    font-size: 17px;
    font-weight: bold;
    color: #666
}
/* 항공 토스터 UI */
.flight-toast{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
  border-radius: 14px;
  padding: 14px 14px;
  margin-bottom: 12px;
}

.flight-toast-title{
  font-weight: 700;
  margin-bottom: 4px;
}

.flight-toast-desc{
  color: rgba(0,0,0,.65);
  font-size: 0.95rem;
}

.flight-toast-actions{
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.flight-toast-btn{
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}

.flight-toast-btn.is-primary{
  background: #111;
  color: #fff;
  border-color: #111;
}

.flight-same-picker{
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.flight-switch-mode{
  border: 0;
  background: transparent;
  color: rgba(0,0,0,.65);
  text-decoration: underline;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

@media (max-width: 480px){
  .tour-info-btn{
    padding: 7px 10px;
  }
}
