﻿:root {
  --ink: #162433;
  --muted: #5f7082;
  --line: rgba(24, 45, 66, 0.12);
  --surface: rgba(255, 255, 255, 0.93);
  --surface-strong: #ffffff;
  --primary: #ff833a;
  --primary-deep: #ec6d22;
  --shadow-xl: 0 26px 64px rgba(14, 31, 49, 0.16);
  --shadow-lg: 0 14px 34px rgba(14, 31, 49, 0.12);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 213, 161, 0.56), transparent 28%),
    radial-gradient(circle at 94% 8%, rgba(166, 214, 255, 0.54), transparent 26%),
    linear-gradient(180deg, #fdf5ea 0%, #f6f9fd 34%, #ecf3fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.28) 0,
      rgba(255, 255, 255, 0.28) 1px,
      transparent 1px,
      transparent 18px
    );
}

.booking-page {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 28px));
  margin: 22px auto 60px;
}

.booking-page::before,
.booking-page::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(0.2px);
}

.booking-page::before {
  width: 320px;
  height: 320px;
  top: 120px;
  right: -80px;
  background: radial-gradient(circle, rgba(123, 191, 255, 0.28) 0%, rgba(123, 191, 255, 0) 70%);
}

.booking-page::after {
  width: 280px;
  height: 280px;
  bottom: 40px;
  left: -70px;
  background: radial-gradient(circle, rgba(255, 181, 106, 0.24) 0%, rgba(255, 181, 106, 0) 70%);
}

.booking-hero {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-xl);
  background-image: url("../images/korea/booking-hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 30, 46, 0.76) 0%, rgba(14, 30, 46, 0.34) 58%, rgba(14, 30, 46, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 28px 34px 40px;
  max-width: 760px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.2);
  color: #f5f9ff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-badge {
  margin: 14px 0 0;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.22);
  color: #f4fbff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.booking-hero h1 {
  margin: 14px 0 0;
  color: #fff;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.booking-hero p {
  margin: 12px 0 0;
  color: rgba(236, 245, 255, 0.95);
  line-height: 1.7;
}

.booking-shell {
  position: relative;
  margin-top: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 252, 255, 0.94) 100%);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  overflow: hidden;
}

.booking-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 213, 171, 0.24), transparent 25%),
    radial-gradient(circle at 0% 100%, rgba(170, 214, 255, 0.24), transparent 28%);
}

.booking-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(54, 94, 128, 0.06) 0,
      rgba(54, 94, 128, 0.06) 1px,
      transparent 1px,
      transparent 20px
    );
}

.booking-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.network-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22, 53, 78, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 248, 239, 0.96), rgba(241, 248, 255, 0.96)),
    radial-gradient(circle at top right, rgba(255, 165, 98, 0.18), transparent 28%);
  box-shadow: var(--shadow-lg);
}

.network-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f07a2f;
}

.network-copy h2 {
  margin: 0;
  font-size: clamp(1.32rem, 2vw, 1.75rem);
}

.network-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.network-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.network-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(22, 53, 78, 0.08);
  color: #314b61;
  font-size: 0.94rem;
}

.network-actions {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 53, 78, 0.08);
}

.network-switch {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #274058;
  font-weight: 700;
  line-height: 1.6;
}

.network-switch input {
  margin-top: 5px;
}

.network-buttons {
  display: grid;
  gap: 12px;
}

.secondary-submit,
.ghost-submit {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.secondary-submit {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #ff8a3d, #e7651a);
  box-shadow: 0 14px 26px rgba(231, 101, 26, 0.22);
}

.ghost-submit {
  border: 1px solid rgba(22, 53, 78, 0.14);
  color: #274058;
  background: #fff;
}

.secondary-submit:hover,
.ghost-submit:hover {
  transform: translateY(-1px);
}

.draft-hint {
  margin: 0;
  color: #64788d;
  line-height: 1.7;
  font-size: 0.94rem;
}

.section-head h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-family: "Noto Serif SC", serif;
}

.head-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1px solid rgba(26, 62, 90, 0.14);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(236, 247, 255, 0.9));
  box-shadow: 0 8px 16px rgba(20, 53, 79, 0.12);
}

.section-head-basic .head-icon {
  background: linear-gradient(140deg, rgba(255, 245, 233, 0.98), rgba(255, 225, 192, 0.86));
}

.section-head-docs .head-icon {
  background: linear-gradient(140deg, rgba(237, 247, 255, 0.98), rgba(203, 227, 255, 0.86));
}

.section-head-trip .head-icon {
  background: linear-gradient(140deg, rgba(242, 250, 240, 0.98), rgba(209, 239, 206, 0.86));
}

.section-head-contact .head-icon {
  background: linear-gradient(140deg, rgba(246, 242, 255, 0.98), rgba(221, 213, 255, 0.86));
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.field-grid {
  display: grid;
  gap: 14px;
}

.field-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid.full-row {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
}

.field.full-row {
  grid-column: 1 / -1;
}

.field > span {
  font-weight: 700;
  color: #21374a;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(25, 51, 74, 0.18);
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.field input[type="date"],
.field input[type="datetime-local"] {
  cursor: pointer;
}

.picker-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.picker-wrap input[type="datetime-local"] {
  flex: 1 1 auto;
}

.picker-btn {
  min-width: 102px;
  min-height: 44px;
  border: 1px solid rgba(25, 51, 74, 0.2);
  border-radius: 10px;
  background: linear-gradient(140deg, #f3f9ff 0%, #e5f0ff 100%);
  color: #1f4e80;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.picker-btn:hover {
  border-color: rgba(47, 102, 255, 0.4);
  background: linear-gradient(140deg, #eaf4ff 0%, #dceaff 100%);
}

.picker-btn:focus {
  outline: 2px solid rgba(79, 141, 215, 0.35);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(79, 141, 215, 0.35);
  border-color: rgba(79, 141, 215, 0.65);
}

.field input[readonly] {
  background: #f4f8fc;
  color: #46627d;
}

.field small {
  color: #667d93;
  font-size: 0.82rem;
}

.field small.warn {
  color: #b75119;
  font-weight: 700;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.option-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(22, 53, 78, 0.16);
  background: #f8fbff;
  color: #264058;
  font-weight: 600;
}

.option-row input {
  width: 16px;
  height: 16px;
  accent-color: #3b79be;
}

#companionFields {
  margin-top: -4px;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(49, 92, 131, 0.28);
  background: rgba(243, 250, 255, 0.84);
}

.is-hidden {
  display: none;
}

.submit-row {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

#submitButton {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: 0 12px 26px rgba(240, 111, 38, 0.36);
  cursor: pointer;
  transition: transform 140ms ease;
}

#submitButton:hover {
  transform: translateY(-1px);
}

#submitButton:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#submitHint {
  margin: 0;
  color: #5f7285;
}

.result-box {
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(22, 53, 78, 0.12);
  background: #f7fbff;
  color: #1d3850;
  line-height: 1.7;
}

.result-box.error {
  background: #fff7f3;
  border-color: rgba(198, 76, 18, 0.22);
  color: #8e3f15;
}

@media (max-width: 920px) {
  .booking-shell {
    padding: 18px;
  }

  .network-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .field-grid.two-col {
    grid-template-columns: 1fr;
  }

  .picker-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .picker-btn {
    width: 100%;
  }

  .hero-content {
    padding: 18px 18px 26px;
  }

  .booking-hero {
    min-height: 250px;
  }
}
