/* ================================
   Prepared Travel – Onboarding UI
   ================================ */

/* --- Intro.js theme overrides --- */
.introjs-overlay { background: rgba(17, 24, 39, 0.55); }

.introjs-tooltip {
  border-radius: 14px;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.introjs-tooltip-title { font-weight: 700; color: #111827; }

.introjs-tooltiptext {
  color: #374151;
  font-size: 14px;
  line-height: 1.45;
}

.introjs-button { border-radius: 999px; font-weight: 600; }

.introjs-nextbutton,
.introjs-donebutton {
  background: #babbff;
  border: none;
  color: #111827;
}

.introjs-prevbutton {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
}

.introjs-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(186, 187, 255, 0.55);
}

/* --- Floating Help Button --- */
#helpFab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #babbff;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  z-index: 70;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

#helpFab:hover { transform: translateY(-1px); }
#helpFab:active { transform: translateY(0px); }
#helpFab:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(186, 187, 255, 0.55), 0 10px 30px rgba(15, 23, 42, 0.25);
}

/* --- Help Menu --- */
#helpMenu {
  position: fixed;
  right: 16px;
  bottom: calc(70px + env(safe-area-inset-bottom));
  background: #ffffff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
  z-index: 70;
  display: none;
  min-width: 230px;
}

#helpMenu[aria-hidden="false"] { display: block; }

#helpMenu button {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  padding: 10px 12px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
  color: #111827;
}

#helpMenu button:hover { background: #f3f4f6; }

#helpMenu button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(186, 187, 255, 0.55);
}

/* --- Contact Modal (success.html-inspired) --- */
.pt-contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  display: flex;              /* toggled by JS */
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 90;                /* above help/menu and intro overlays */
}

.pt-contact-modal {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  box-shadow: 0 22px 70px rgba(0,0,0,.25);
  padding: 16px;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.pt-contact-modal h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  color: #111827;
}

.pt-contact-sub {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.pt-contact-box {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(186, 187, 255, 0.18);
  border: 1px solid rgba(186, 187, 255, 0.55);
  font-size: 14px;
  line-height: 1.7;
}

.pt-contact-box a {
  color: #111827;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 24, 39, 0.20);
}

.pt-contact-box a:hover {
  border-bottom-color: rgba(17, 24, 39, 0.45);
}

.pt-contact-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.pt-contact-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: #fff;
  color: #111827;
}

.pt-contact-close-btn:hover { background: #fafafa; }
