/* ============================================================
   Young Tour · 예약문의 / 단체견적요청 공용 모달
   (auth.css의 yt-auth-* 톤앤매너를 재사용, 클래스만 yt-inq-*)
   ============================================================ */
.yt-inq-modal[hidden] { display: none !important; }
.yt-inq-modal {
  position: fixed; inset: 0; z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  animation: ytFade .18s ease;
}
.yt-inq-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.yt-inq-dialog {
  position: relative;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fdfbf6;
  border: 1px solid rgba(30,58,95,0.15);
  box-shadow: 0 40px 80px rgba(10,22,40,0.35);
  padding: 36px 36px 30px;
  animation: ytLift .28s cubic-bezier(.2,.7,.2,1);
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e3a5f;
  border-radius: 4px;
}
.yt-inq-dialog::before {
  content: '';
  position: absolute; top: 0; left: 36px; right: 36px;
  height: 4px; background: #28d5a7;
}
.yt-inq-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: 0; background: transparent;
  font-size: 26px; line-height: 1;
  color: #8a9baa; cursor: pointer;
  border-radius: 50%;
  transition: all .15s;
}
.yt-inq-close:hover { background: rgba(30,58,95,0.08); color: #1e3a5f; }

.yt-inq-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: #28d5a7; margin-bottom: 8px; text-transform: uppercase;
}
.yt-inq-title {
  font-family: 'Playfair Display', 'Noto Sans KR', serif;
  font-size: 22px; font-weight: 700; line-height: 1.35;
  margin-bottom: 6px; color: #1e3a5f;
}
.yt-inq-sub { font-size: 13px; color: #5a6c7d; line-height: 1.6; margin-bottom: 22px; }
.yt-inq-product {
  display: inline-block; margin-bottom: 18px;
  padding: 8px 14px; background: rgba(40,213,167,0.1);
  color: #0d8a63; font-size: 12.5px; font-weight: 600;
  border-radius: 4px; border-left: 3px solid #28d5a7;
}

.yt-inq-field { display: block; margin-bottom: 14px; }
.yt-inq-field > span {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: #5a6c7d; margin-bottom: 6px;
}
.yt-inq-field > span em { font-style: normal; color: #8a9baa; text-transform: none; }
.yt-inq-field input, .yt-inq-field select, .yt-inq-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(30,58,95,0.2);
  background: #fff; font-family: inherit; font-size: 14px;
  color: #1e3a5f; border-radius: 2px;
  transition: border-color .15s, box-shadow .15s;
}
.yt-inq-field textarea { resize: vertical; min-height: 76px; }
.yt-inq-field input:focus, .yt-inq-field select:focus, .yt-inq-field textarea:focus {
  outline: 0; border-color: #1e3a5f; box-shadow: 0 0 0 3px rgba(30,58,95,0.08);
}
.yt-inq-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.yt-inq-check {
  display: flex; align-items: flex-start; gap: 8px;
  color: #5a6c7d; cursor: pointer; font-size: 12px;
  margin: 6px 0 18px;
}
.yt-inq-check input[type=checkbox] { width: 15px; height: 15px; accent-color: #1e3a5f; margin-top: 2px; cursor: pointer; }

.yt-inq-msg {
  min-height: 20px; margin: 0 0 10px; font-size: 12px; color: transparent;
}
.yt-inq-msg.is-error {
  color: #d94f4f; padding: 8px 12px;
  background: rgba(217,79,79,0.08); border-left: 2px solid #d94f4f;
}

.yt-inq-actions { display: flex; gap: 10px; }
.yt-inq-submit {
  flex: 1; padding: 14px; background: #1e3a5f; color: #fff;
  border: 0; font-family: inherit; font-size: 13px; font-weight: 700;
  letter-spacing: 1px; cursor: pointer; border-radius: 2px; transition: background .15s;
}
.yt-inq-submit:hover { background: #0f2340; }
.yt-inq-submit:disabled { opacity: .6; cursor: default; }

.yt-inq-done {
  text-align: center; padding: 20px 0 6px;
}
.yt-inq-done .ico {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%; background: rgba(40,213,167,0.15); color: #0d8a63;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.yt-inq-done h3 { font-size: 18px; color: #1e3a5f; margin-bottom: 8px; font-weight: 700; }
.yt-inq-done p { font-size: 13px; color: #5a6c7d; line-height: 1.7; margin-bottom: 18px; }
.yt-inq-done .yt-inq-done-actions { display: flex; gap: 10px; justify-content: center; }
.yt-inq-done .yt-inq-done-actions a,
.yt-inq-done .yt-inq-done-actions button {
  padding: 10px 18px; border-radius: 3px; font-size: 13px; font-weight: 600; text-decoration: none;
  border: 1px solid rgba(30,58,95,0.2); color: #1e3a5f; background: #fff; cursor: pointer;
}
.yt-inq-done .yt-inq-done-actions .primary { background: #1e3a5f; color: #fff; border-color: #1e3a5f; }

@media (max-width: 520px) {
  .yt-inq-dialog { padding: 28px 22px 22px; }
  .yt-inq-row2 { grid-template-columns: 1fr; }
}
