/* Shared enhancement layer for the Japan Travel demo (loaded after each page's own CSS) */

/* ---- Ken Burns slow-zoom on destination / circle images ---- */
.destination img,
.info-circles .circle img {
  transition: transform 8s ease-in-out;
  will-change: transform;
}
.destination:hover img,
.info-circles .circle:hover img {
  transform: scale(1.12);
}
@media (prefers-reduced-motion: reduce) {
  .destination img,
  .info-circles .circle img { transition: none; }
  .destination:hover img,
  .info-circles .circle:hover img { transform: none; }
}

/* ---- Back-to-CV link: in a bar at the top of every page, not floating over content (F31) ---- */
.cv-back-bar { padding: 8px 16px; }
.cv-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff6b6b, #d64545);
  border-radius: 24px;
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cv-back:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34); }

/* ---- Auth form validation message + password toggle ---- */
.form-msg {
  display: none;
  margin: 0 0 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.form-msg.ok { display: block; background: rgba(16, 185, 129, 0.16); color: #065f46; border: 1px solid rgba(16, 185, 129, 0.5); }
.form-msg.err { display: block; background: rgba(220, 38, 38, 0.14); color: #991b1b; border: 1px solid rgba(220, 38, 38, 0.45); }
.input-group { position: relative; }
.pw-toggle {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 0.78rem;
  cursor: pointer;
  color: #334155;
}
.pw-toggle:hover { background: rgba(0, 0, 0, 0.12); }

/* ---- Booking flow ---- */
.booking-card {
  max-width: 860px;
  margin: 2rem auto;
  padding: 1.6rem 1.8rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.booking-card h2 {
  margin-bottom: 1.1rem;
  font-size: 1.6rem;
  color: #b23a48;
}
.booking-form .bk-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.booking-form label {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  color: #334155;
  font-size: 0.92rem;
}
.booking-form select,
.booking-form input {
  padding: 0.6rem 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.booking-form select:focus,
.booking-form input:focus { outline: none; border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2); }
.bk-btn {
  background: linear-gradient(135deg, #ff6b6b, #d64545);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.bk-btn:hover { filter: brightness(1.08); }
.bk-result {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.bk-result.err { background: rgba(220, 38, 38, 0.1); border-color: rgba(220, 38, 38, 0.4); color: #991b1b; }
.bk-line { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px dashed #e2e8f0; }
.bk-line span { color: #64748b; }
.bk-total { font-size: 1.15rem; border-bottom: none; padding-top: 0.7rem; }
.bk-total b { color: #b23a48; }
.bk-result .bk-confirm { margin-top: 1rem; }
.bk-confirmed { font-size: 1.25rem; font-weight: 700; color: #059669; margin-bottom: 0.6rem; }
.bk-note { margin-top: 0.7rem; color: #64748b; font-size: 0.85rem; }

@media (max-width: 600px) {
  .cv-back { font-size: 0.8rem; padding: 0.45rem 0.85rem; }
  .booking-card { margin: 1.2rem 0.8rem; padding: 1.1rem; }
}

/* ---- Demo label under every form (F06) ---- */
.demo-note { margin: 0.5rem 0 0; font-size: 0.85rem; color: #475569; }
