/* ===========================
   BASE STYLE (Form + Result)
   =========================== */

/* Container comune */
.planner-form,
.planner-result {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  padding: 32px;
}

/* ===========================
   FORM SECTION
   =========================== */

.planner-form h2 {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.2;
  color: #1d1d1f;
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  appearance: textfield;
}

/* Labels & inputs */
.planner-form label {
  display: block;
  font-weight: 600;
  color: #333;
  margin: 12px 0 6px;
}

.planner-form input[type="number"],
.planner-form select {
  width: 100%;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.planner-form input[type="number"]:focus,
.planner-form select:focus {
  outline: none;
  border-color: #c91c1c;
  box-shadow: 0 0 0 3px rgba(201, 28, 28, 0.15);
}

/* Interests */
.planner-form .interests {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 8px 0 6px;
}

.planner-form .interests label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  margin: 0;
  background: #f7f7f7;
  border: 1px solid #eee;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.planner-form .interests label:hover {
  background: #f0f0f0;
}

.planner-form .interests input[type="checkbox"] {
  transform: translateY(1px);
}

/* Submit button */
.planner-form button[type="submit"] {
  margin-top: 20px;
  background: #c91c1c;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.04s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 6px 18px rgba(201, 28, 28, 0.25);
  width: 100%;
}

.planner-form button[type="submit"]:hover {
  background: #a81414;
}

.planner-form button[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(201, 28, 28, 0.2);
}

/* ===========================
   RESULT PAGE (planner-result)
   =========================== */

.planner-header {
  text-align: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.planner-header h1 {
  font-size: 32px;
  margin-bottom: 8px;
  color: #c91c1c;
}

.planner-header p {
  font-size: 15px;
  color: #555;
}

.planner-summary h2,
.planner-ai h2,
.planner-map h2 {
  font-size: 22px;
  color: #222;
  margin-bottom: 12px;
  border-left: 4px solid #c91c1c;
  padding-left: 8px;
}

.planner-summary ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.planner-summary li {
  background: #f0f0f0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.planner-ai pre {
  background: #f7f7f7;
  padding: 16px;
  border-radius: 10px;
  white-space: pre-wrap;
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  color: #333;
  overflow-x: auto;
}

.planner-ai p {
  font-style: italic;
  color: #777;
}

/* Map */
.map-container {
  background: #f1f1f1;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* Actions (Facebook / Save buttons) */
.planner-actions {
  text-align: center;
  margin-top: 25px;
}

.planner-actions p {
  margin-bottom: 10px;
  color: #555;
}

.planner-actions button {
  background: #1877f2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.planner-actions button#save-itinerary {
  background: #28a745;
}

.planner-actions button:hover {
  opacity: 0.9;
}


section.simple-cta {
  background: linear-gradient(90deg, #ff6600 0%, #ff9500 100%);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  z-index: 1;
}

section.simple-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}

section.simple-cta .container {
  position: relative;
  z-index: 2;
}

section.simple-cta h4 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

section.simple-cta .buttons {
  display: flex;
  justify-content: center;
}

section.simple-cta .orange-button a {
  display: inline-block;
  background-color: #fff;
  color: #ff6600;
  font-size: 1.1em;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

section.simple-cta .orange-button a:hover {
  background-color: #111;
  color: #fff;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  section.simple-cta {
    padding: 70px 15px;
  }
  section.simple-cta h4 {
    font-size: 1.6rem;
  }
}


/* Responsive tweaks */
@media (max-width: 768px) {
  .planner-result {
    padding: 20px;
  }
  .planner-header h1 {
    font-size: 26px;
  }
  .planner-summary li {
    font-size: 13px;
  }
}

/* ═══════════════════════════════════════════════════════════
   WIZARD — start.php
═══════════════════════════════════════════════════════════ */

/* Hero section */
.wizard-hero {
  position: relative;
  min-height: 100vh;
  padding: 100px 16px 60px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: url('https://theroute66planner.com/images/route_66_slide.jpeg') center center / cover no-repeat;
}
.wizard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,8,6,0.82) 0%, rgba(30,15,0,0.75) 100%);
}

/* Card */
.wizard-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  background: #fff;
  border-radius: 20px;
  padding: 40px 44px 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}
.wizard-card.shake { animation: shake 0.45s ease; }

/* ── Progress bar ── */
.wp-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}
.wp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: default;
}
.wp-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid #ddd;
  transition: background 0.3s, border-color 0.3s;
  display: block;
}
.wp-step.active .wp-dot {
  background: #FF6600;
  border-color: #FF6600;
  box-shadow: 0 0 0 3px rgba(255,102,0,0.2);
}
.wp-step.done .wp-dot {
  background: #CC5500;
  border-color: #CC5500;
}
.wp-lbl {
  font-size: 10px;
  font-weight: 600;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.wp-step.active .wp-lbl { color: #FF6600; }
.wp-step.done .wp-lbl   { color: #CC5500; }
.wp-line {
  flex: 1;
  height: 2px;
  background: #e5e5e5;
  margin: 0 4px 16px;
  min-width: 30px;
}

/* ── Step panels ── */
.ws { display: none; }
.ws.active { display: block; }

.ws-header { text-align: center; margin-bottom: 28px; }
.ws-emoji  { font-size: 2.6rem; display: block; margin-bottom: 10px; line-height: 1; }
.ws-header h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.ws-header p  { color: #666; font-size: 0.95rem; margin: 0; }

/* ── Form inputs ── */
.wp-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 8px;
}
.opt-label { font-weight: 400; color: #999; font-size: 0.82rem; }
.wp-input {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 15px;
  background: #fff;
  color: #1a1a1a;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.wp-input:focus {
  outline: none;
  border-color: #FF6600;
  box-shadow: 0 0 0 3px rgba(255,102,0,0.15);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

/* ── Duration slider ── */
.wp-slider {
  width: 100%;
  accent-color: #FF6600;
  height: 4px;
  cursor: pointer;
  margin-bottom: 14px;
}
.dur-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.dur-btn {
  background: #f4f4f4;
  border: 1.5px solid #e0e0e0;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}
.dur-btn:hover, .dur-btn.active {
  background: #FF6600;
  border-color: #FF6600;
  color: #fff;
}

/* ── People counter ── */
.people-counter {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  width: fit-content;
  overflow: hidden;
  margin-bottom: 4px;
}
.pc-btn {
  width: 46px;
  height: 46px;
  background: #f7f7f7;
  border: none;
  font-size: 1.4rem;
  font-weight: 300;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1;
}
.pc-btn:hover { background: #FF6600; color: #fff; }
.pc-num {
  width: 56px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  border-left: 1.5px solid #ddd;
  border-right: 1.5px solid #ddd;
  padding: 8px 0;
}

/* ── Travel type cards ── */
.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.type-card { cursor: pointer; }
.type-card input { display: none; }
.tc-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  background: #fafafa;
}
.tc-emoji { font-size: 1.8rem; line-height: 1; }
.tc-name  { font-size: 13px; font-weight: 700; color: #222; }
.tc-sub   { font-size: 11px; color: #888; }
.type-card:hover .tc-inner,
.type-card.selected .tc-inner {
  border-color: #FF6600;
  background: #fff8f3;
}

/* ── Vehicle cards ── */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.vehicle-card { cursor: pointer; }
.vehicle-card input { display: none; }
.vc-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 2px solid #e5e5e5;
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.vc-emoji { font-size: 2.2rem; line-height: 1; }
.vc-name  { font-size: 14px; font-weight: 700; color: #222; }
.vc-pace  { font-size: 11px; color: #888; }
.vehicle-card:hover .vc-inner,
.vehicle-card.selected .vc-inner {
  border-color: #FF6600;
  background: #fff8f3;
  transform: translateY(-2px);
}

/* ── Interest pills ── */
.interests-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.interest-pill { cursor: pointer; }
.interest-pill input { display: none; }
.ip-inner {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 2px solid #e5e5e5;
  border-radius: 999px;
  padding: 9px 16px;
  background: #fafafa;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  transition: all 0.2s;
}
.ip-inner i { font-size: 14px; color: #FF6600; transition: color 0.2s; }
.interest-pill:hover .ip-inner,
.interest-pill.selected .ip-inner {
  border-color: #FF6600;
  background: #fff3ea;
  color: #CC5500;
}
.interest-pill:hover .ip-inner i,
.interest-pill.selected .ip-inner i { color: #CC5500; }

/* ── Direction toggle ── */
.dir-toggle {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.dir-btn {
  flex: 1;
  padding: 11px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: #fafafa;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.dir-btn:hover, .dir-btn.active {
  border-color: #FF6600;
  background: #fff3ea;
  color: #CC5500;
}

/* ── Hint box ── */
.ws-hint {
  background: #fff8f0;
  border-left: 3px solid #FF6600;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #664400;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ws-hint i { margin-top: 1px; color: #FF6600; flex-shrink: 0; }

/* ── Error message ── */
.wp-error {
  background: #fff0f0;
  border: 1.5px solid #f5a5a5;
  color: #c00;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ── Navigation ── */
.wp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  gap: 12px;
}
.wp-step-counter {
  font-size: 12px;
  color: #aaa;
  font-weight: 600;
  flex-shrink: 0;
}
.wp-btn {
  padding: 11px 26px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.wp-btn-back {
  background: #f0f0f0;
  color: #555;
}
.wp-btn-back:hover { background: #e0e0e0; }
.wp-btn-next {
  background: #FF6600;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,102,0,0.3);
}
.wp-btn-next:hover { background: #CC5500; }
.wp-btn-submit {
  background: #CC5500;
  color: #fff;
  font-size: 16px;
  padding: 13px 28px;
  box-shadow: 0 4px 18px rgba(204,85,0,0.35);
}
.wp-btn-submit:hover { background: #a34300; }

/* ── Loading overlay ── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,8,6,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .wizard-card { padding: 28px 20px 24px; }
  .type-grid   { grid-template-columns: repeat(2, 1fr); }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2      { grid-template-columns: 1fr; }
  .wp-btn-submit { font-size: 14px; padding: 11px 18px; }
  .dir-toggle  { flex-direction: column; }
}
@media (max-width: 480px) {
  .type-grid   { grid-template-columns: repeat(2, 1fr); }
  .wizard-hero { padding-top: 80px; }
}

/* ═══════════════════════════════════════════════════════════
   MY.PHP — Logged-in itinerary page
═══════════════════════════════════════════════════════════ */

.my-hero {
  position: relative;
  background: url('https://theroute66planner.com/images/route_66_slide.jpeg') center 55% / cover no-repeat;
  padding: 120px 0 80px;
  margin-top: 0 !important;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.my-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(8,5,2,0.88) 0%, rgba(25,12,0,0.80) 100%);
}
.my-hero-inner { max-width: 800px; }
.my-badge {
  display: inline-block;
  background: rgba(255,102,0,0.2);
  border: 1px solid rgba(255,102,0,0.5);
  color: #FF6600; border-radius: 999px;
  padding: 4px 14px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 14px;
}
.my-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800; color: #fff; margin-bottom: 10px;
}
.route-line {
  font-size: 1.1rem; font-weight: 700;
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.rl-city  { color: #FF6600; }
.rl-arrow { color: rgba(255,255,255,0.4); font-size: 1.3rem; }

/* Body */
.my-body { background: #f7f5f2; padding: 50px 0 60px; }

/* Generate CTA */
.generate-cta {
  max-width: 600px; margin: 0 auto;
  background: #fff; border-radius: 20px;
  padding: 48px 40px; text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.generate-icon { font-size: 3rem; margin-bottom: 16px; line-height: 1; }
.generate-cta h2 { font-size: 1.5rem; font-weight: 800; color: #1a1a1a; margin-bottom: 12px; }
.generate-cta p  { color: #666; font-size: 0.95rem; margin-bottom: 20px; }
.gen-interests { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.gen-tag {
  background: #fff3ea; color: #CC5500;
  border: 1px solid rgba(255,102,0,0.25);
  border-radius: 999px; padding: 5px 14px;
  font-size: 13px; font-weight: 600;
}
.gen-btn {
  background: #FF6600; color: #fff;
  border: none; border-radius: 12px;
  padding: 14px 32px; font-size: 17px; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  box-shadow: 0 6px 20px rgba(255,102,0,0.35); width: 100%;
}
.gen-btn:hover { background: #CC5500; transform: translateY(-2px); }
.gen-note { font-size: 12px; color: #aaa; margin-top: 12px; margin-bottom: 0; }

/* Itinerary header */
.itin-header {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 12px; margin-bottom: 28px;
}
.itin-title { font-size: 1.4rem; font-weight: 800; color: #1a1a1a; margin: 0; }
.itin-sub   { color: #888; font-size: 0.9rem; margin: 4px 0 0; }
.regen-btn {
  background: #fff; color: #CC5500;
  border: 2px solid #FF6600; border-radius: 10px;
  padding: 8px 18px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.regen-btn:hover { background: #FF6600; color: #fff; }

/* Days timeline */
.days-timeline { display: flex; flex-direction: column; gap: 24px; }
.day-card {
  background: #fff; border-radius: 16px;
  overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.day-card-header {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(90deg,#fff9f5 0%,#fff 100%);
}
.day-num-badge {
  background: #FF6600; color: #fff;
  border-radius: 10px; padding: 6px 14px;
  font-size: 13px; font-weight: 800;
  white-space: nowrap; flex-shrink: 0; align-self: center;
}
.day-route-info { flex: 1; min-width: 0; }
.day-route-cities {
  font-size: 1rem; font-weight: 700; color: #1a1a1a;
  display: block; margin-bottom: 6px;
}
.day-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: #888;
}
.day-meta span { display: flex; align-items: center; gap: 5px; }
.day-meta i { color: #FF6600; font-size: 11px; }
.day-summary {
  font-style: italic; color: #666; font-size: 0.9rem;
  padding: 12px 24px; margin: 0;
  border-bottom: 1px solid #f5f5f5; background: #fafafa;
}

/* Stops sections */
.stops-section { padding: 20px 24px; }
.stops-section + .stops-section { border-top: 1px solid #f5f5f5; }
.stops-heading {
  font-size: 13px; font-weight: 700; color: #555;
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.stops-heading i { color: #FF6600; }
.stops-heading.food  i { color: #e05a00; }
.stops-heading.hotel i { color: #2d74c4; }
.poi-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px,1fr));
  gap: 14px;
}

/* POI card */
.my-poi-card {
  background: #fff; border: 1.5px solid #ebebeb;
  border-radius: 12px; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.my-poi-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.1); transform: translateY(-2px); }
.my-poi-img {
  height: 130px; background-size: cover;
  background-position: center; background-color: #f0ece6;
}
.my-poi-body { padding: 12px 14px 14px; }
.my-poi-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 3px 10px; margin-bottom: 7px;
  text-transform: capitalize;
}
.poi-badge-visit { background: #fff3ea; color: #CC5500; }
.poi-badge-food  { background: #fff8e6; color: #a06000; }
.poi-badge-hotel { background: #e8f0fe; color: #1a56c4; }
.my-poi-name {
  font-size: 14px; font-weight: 700; color: #1a1a1a;
  margin: 0 0 5px; line-height: 1.3;
}
.my-poi-name a { color: inherit; text-decoration: none; }
.my-poi-name a:hover { color: #FF6600; }
.my-poi-loc {
  font-size: 11px; color: #888; margin: 0 0 8px;
  display: flex; align-items: center; gap: 4px;
}
.my-poi-loc i { color: #FF6600; font-size: 10px; }
.poi-book-btn {
  display: inline-block; background: #1a56c4; color: #fff;
  font-size: 12px; font-weight: 700; border-radius: 6px;
  padding: 4px 12px; text-decoration: none; transition: background 0.2s;
}
.poi-book-btn:hover { background: #0e3d99; color: #fff; }

/* Route 66 Loader */
#loadingOverlay {
  position: fixed; inset: 0;
  background: rgba(10,8,4,0.95);
  z-index: 9999; display: none;
  align-items: center; justify-content: center;
}
.r66-loader {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  color: #f5f5f5; font-family: system-ui, sans-serif;
}
.r66-card {
  width: min(520px,92vw);
  background: linear-gradient(180deg,rgba(255,255,255,0.05),rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
  padding: 32px 24px 24px; box-shadow: 0 16px 60px rgba(0,0,0,0.5); text-align: center;
}
.r66-shield {
  width: 90px; height: 95px; margin: 0 auto 20px;
  border-radius: 22% 22% 38% 38% / 28% 28% 50% 50%;
  background: linear-gradient(180deg,#2a2d32,#1b1d21);
  border: 2px solid rgba(255,255,255,0.15);
  display: grid; place-items: center;
  animation: shieldFloat 3.5s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.r66-shield span { font-size: 32px; font-weight: 800; }
.r66-road {
  height: 50px; border-radius: 10px; background: #2b2d30;
  overflow: hidden; position: relative; margin-bottom: 16px;
  box-shadow: inset 0 8px 16px rgba(0,0,0,0.35);
}
.r66-road::before {
  content: ''; position: absolute; left:0; right:0; top:50%;
  height: 4px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg,#eaeaea 0 36px,transparent 36px 72px);
  animation: roadMove 1s linear infinite;
}
.r66-text strong { font-size: 1.05rem; }
.r66-text .sub   { font-size: 0.88rem; color: #9aa0a6; margin-top: 6px; display: block; }
@keyframes roadMove   { to { background-position: -72px 0; } }
@keyframes shieldFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* Responsive my.php */
@media (max-width: 768px) {
  .generate-cta      { padding: 32px 20px; }
  .day-card-header   { flex-direction: column; gap: 10px; }
  .poi-row           { grid-template-columns: 1fr 1fr; }
  .itin-header       { flex-direction: column; align-items: flex-start; }
  .stops-section     { padding: 16px; }
}
@media (max-width: 480px) {
  .poi-row { grid-template-columns: 1fr; }
}

/* ── View toggle (List / Map) ── */
.view-toggle {
  display: flex;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}
.view-btn {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  background: #fff;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.view-btn + .view-btn { border-left: 1.5px solid #e0e0e0; }
.view-btn.active { background: #FF6600; color: #fff; }
.view-btn:hover:not(.active) { background: #f5f5f5; }

/* ── Glance pills (shared: planner.php + my.php) ── */
.glance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.glance-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 8px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.glance-pill .pill-emoji { font-size: 1.1rem; line-height: 1; }
@media (max-width: 480px) {
  .glance-pill { font-size: 12px; padding: 6px 12px; }
}
