@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Anuphan:wght@100..700&display=swap");
/* Variables and Reset */
* {
  box-sizing: border-box;
}

body {
  font-family: "Anuphan", sans-serif !important;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  color: #333333;
}

body::-webkit-scrollbar {
  display: none;
}

/* Navbar (Standardized) */
.navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  background: transparent;
  /* Override default if needed */
}

/* Logo */
.logo {
  height: 50px;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.logo:hover {
  transform: scale(1.05);
}

/* Center Group: Create Trip + Links */
.nav-center-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Create New Trip Button */
.btn-create-trip {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 15px 25px;
  border-radius: 30px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.btn-create-trip:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #fff;
}
.btn-create-trip {
  /* Active state: user is on this page */
}
.btn-create-trip.current-page {
  background: rgba(0, 0, 0, 0.15);
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Nav Links Container (Long Pill) */
.nav-links-container {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  padding: 5px 10px;
  transition: all 0.3s ease;
}
.nav-links-container:hover {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.nav-links-container ul {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav-links-container li {
  display: flex;
}
.nav-links-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 30px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}
.nav-links-container a:hover, .nav-links-container a.active {
  background: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Right side buttons */
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.icon-btn img {
  width: 22px;
  height: 22px;
  filter: brightness(0);
  transition: transform 0.4s ease;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.icon-btn:hover img {
  transform: rotate(10deg);
}

.nav-links-container a:hover,
.nav-links-container a.active {
  background: rgba(0, 0, 0, 0.15);
  font-weight: 700;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Page Container */
.page-container {
  max-width: 900px;
  margin: 120px auto 40px;
  /* Increased top margin to 120px */
  text-align: center;
  padding: 0 20px;
}

/* Hero Section */
.wizard-header {
  margin-bottom: 50px;
}

.wizard-header .hero-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  height: 160px;
}

.wizard-header .hero-images .hero-img-pill {
  width: 80px;
  height: 120px;
  background-color: #e0e0e0;
  border-radius: 50px;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  transition: all 0.3s;
}

.wizard-header .hero-images .hero-img-pill.center {
  width: 100px;
  height: 140px;
  opacity: 1;
  z-index: 2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: scale(1.1);
}

.wizard-header .hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000;
}

.wizard-header .hero-subtitle {
  color: #777;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 300;
}

/* Stepper */
.stepper-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-bottom: 60px;
  padding: 0 20px;
}

.stepper-wrapper .stepper-track {
  position: absolute;
  top: 20px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.stepper-wrapper .step-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
}

.stepper-wrapper .step-item .step-circle {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.3s;
  position: relative;
}

.stepper-wrapper .step-item .step-circle .inner-circle {
  width: 12px;
  height: 12px;
  background: #007bff;
  border-radius: 50%;
  position: absolute;
}

.stepper-wrapper .step-item .step-label {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 4px;
  font-weight: 500;
}

.stepper-wrapper .step-item .step-status {
  font-size: 0.7rem;
  color: #aaa;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
}

/* Active State */
.stepper-wrapper .step-item.active .step-circle {
  border-color: #007bff;
}

.stepper-wrapper .step-item.active .step-status {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
  border-color: rgba(0, 123, 255, 0.2);
}

/* Completed State (NEW) */
.stepper-wrapper .step-item.completed .step-circle {
  background: #20C997;
  /* Green */
  border-color: #20C997;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  /* Checkmark size */
}

.stepper-wrapper .step-item.completed .step-status {
  background: rgba(32, 201, 151, 0.1);
  color: #20C997;
  border-color: rgba(32, 201, 151, 0.2);
}

/* Icons within Circle */
.step-circle i {
  z-index: 1;
}

/* Icons */
.icon-calendar {
  display: block;
  width: 20px;
  height: 20px;
  background: url("../images/icon_date_outline.png") no-repeat center/contain;
  opacity: 0.4;
}

.icon-hotel {
  display: block;
  width: 20px;
  height: 20px;
  background: url("../images/icon_hotel_outline.png") no-repeat center/contain;
  opacity: 0.4;
}

.icon-food {
  display: block;
  width: 20px;
  height: 20px;
  background: url("../images/icon_rest_outline.png") no-repeat center/contain;
  opacity: 0.4;
}

.icon-activity {
  display: block;
  width: 20px;
  height: 20px;
  background: url("../images/icon_activity_outline.png") no-repeat center/contain;
  opacity: 0.4;
}

/* Active Icons Logic (Handling opacity) */
.step-item.active .icon-calendar,
.step-item.active .icon-hotel,
.step-item.active .icon-food,
.step-item.active .icon-activity {
  opacity: 1;
  filter: invert(36%) sepia(87%) saturate(2465%) hue-rotate(203deg) brightness(98%) contrast(106%);
  /* roughly blue */
}

/* Wizard Content */
.wizard-content {
  margin-bottom: 60px;
  min-height: 150px;
}

.wizard-content .step-pane {
  display: none;
}

.wizard-content .step-pane.active {
  display: block;
  animation: fadeIn 0.5s;
}

.wizard-content .form-group.center-input {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

/* NEW Form Grid for 2 cols */
.wizard-content .form-row-grid {
  display: flex;
  gap: 20px;
  margin: 0 auto;
}

.wizard-content .form-row-grid .form-group {
  flex: 1;
  text-align: left;
}

.wizard-content .form-label {
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
  color: #333;
  font-size: 1rem;
}

.wizard-content .form-label .required {
  color: #ff4d4f;
  margin-left: 4px;
}

.wizard-content .form-input-lg {
  width: 100%;
  padding: 18px 25px;
  font-size: 1.1rem;
  border: none;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  color: #333;
  transition: all 0.3s;
}

.wizard-content .form-input-lg:focus {
  outline: none;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
  transform: translateY(-2px);
}

/* 
   ========================================================================== 
   Flatpickr Customization - MINIMALIST YELLOW THEME 
   Target: Soft Gray BG, Yellow Selection, Clean Text
   ========================================================================== 
*/
.flatpickr-calendar {
  font-family: "Anuphan", sans-serif !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
  border: none !important;
  background: #f0f0f0 !important;
  /* Soft Gray BG */
  padding: 15px !important;
  width: 340px !important;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
  border-bottom-color: #f0f0f0 !important;
}

/* Header */
.flatpickr-months {
  background: transparent !important;
  color: #333 !important;
  fill: #333 !important;
  margin-bottom: 20px !important;
  align-items: center !important;
}

.flatpickr-month {
  background: transparent !important;
  color: #333 !important;
  fill: #333 !important;
  height: 40px !important;
}

.flatpickr-current-month {
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  color: #333 !important;
  padding-top: 5px !important;
}

.flatpickr-current-month span.cur-month {
  font-weight: 600 !important;
  margin-right: 5px !important;
}

.flatpickr-current-month span.cur-month:hover {
  background: transparent !important;
}

.flatpickr-current-month input.cur-year {
  font-weight: 400 !important;
}

/* Navigation Arrow Icons */
.flatpickr-prev-month,
.flatpickr-next-month {
  color: #888 !important;
  fill: #888 !important;
  height: 35px !important;
  width: 35px !important;
  padding: 10px !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  color: #333 !important;
  fill: #333 !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  width: 14px !important;
  height: 14px !important;
}

/* Weekdays */
.flatpickr-weekdays {
  background: transparent !important;
  margin-bottom: 10px !important;
}

span.flatpickr-weekday {
  color: #888 !important;
  /* Muted gray for English/Thai days */
  font-weight: 400 !important;
  font-size: 0.9rem !important;
  background: transparent !important;
}

/* Day Container */
.flatpickr-innerContainer {
  padding: 0 !important;
}

.flatpickr-rContainer {
  margin: 0 !important;
}

/* Days */
.flatpickr-day {
  color: #555 !important;
  border-radius: 8px !important;
  /* Rounded square */
  border: none !important;
  font-weight: 400 !important;
  height: 40px !important;
  line-height: 40px !important;
  margin: 2px 0 !important;
  width: 14.28% !important;
  /* 7 days */
  max-width: none !important;
}

.flatpickr-day:hover {
  background: #e0e0e0 !important;
  /* Light gray hover */
  color: #333 !important;
}

.flatpickr-day.today {
  border: 1px solid #ccc !important;
  color: #333 !important;
}

.flatpickr-day.today:hover {
  background: #e0e0e0 !important;
}

/* Selection State - YELLOW/GOLD */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange {
  background: #FFC107 !important;
  /* Amber 500 */
  color: #000 !important;
  /* Black Text */
  border-color: #FFC107 !important;
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3) !important;
  font-weight: 600 !important;
}

.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: #FFB300 !important;
  /* Slightly darker amber */
  border-color: #FFB300 !important;
}

/* Input Field Icon Update for the new theme */
.wizard-content input[type=text].form-input-lg#startDateInput {
  /* Use simpler styling for the input itself */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3e%3c/rect%3e%3cline x1='16' y1='2' x2='16' y2='6'%3e%3c/line%3e%3cline x1='8' y1='2' x2='8' y2='6'%3e%3c/line%3e%3cline x1='3' y1='10' x2='21' y2='10'%3e%3c/line%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 20px;
  padding-right: 50px;
}

/* NEW Custom Dropdown Styles (Include from previous) */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select-trigger {
  position: relative;
  width: 100%;
  padding: 18px 25px;
  font-size: 1.1rem;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  color: #333;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-select-trigger:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  /* Slight lift */
}

.custom-select-wrapper.open .custom-select-trigger {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.custom-select-trigger .arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  transition: transform 0.3s;
  margin-top: -6px;
  /* center visually */
  margin-right: 5px;
}

.custom-select-wrapper.open .custom-select-trigger .arrow {
  transform: rotate(225deg);
  margin-top: 4px;
}

.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  overflow: hidden;
}

.custom-options .option-search {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}

.custom-options .option-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
}

.custom-options .option-search input:focus {
  border-color: #007bff;
}

.custom-options .options-list {
  max-height: 250px;
  overflow-y: auto;
}

.custom-options .option-item {
  padding: 12px 25px;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #f9f9f9;
}

.custom-options .option-item:last-child {
  border-bottom: none;
}

.custom-options .option-item:hover {
  background: #f0f8ff;
  color: #007bff;
  padding-left: 30px;
  /* Slight movement effect */
}

.custom-options .option-item.selected {
  background: #e6f2ff;
  color: #007bff;
  font-weight: 600;
}

.custom-select-wrapper.open .custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Scrollbar for options */
.options-list::-webkit-scrollbar {
  width: 6px;
}

.options-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.options-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.options-list::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* Footer & Intro */
.intro-text-bottom {
  text-align: center;
  margin-top: 40px;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.intro-text-bottom u {
  cursor: pointer;
  color: #333;
  text-decoration-color: #007bff;
  text-decoration-thickness: 2px;
}

.intro-text-bottom u:hover {
  color: #007bff;
}

/* Footer Buttons */
.action-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.action-footer button {
  padding: 15px 50px;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Cancel / Back Button */
.action-footer .btn-cancel {
  background: #d1d1d1;
  color: #fff;
}

.action-footer .btn-cancel:hover {
  background: #bbb;
}

.action-footer .btn-back {
  background: #d1d1d1;
  color: #fff;
}

.action-footer .btn-back:hover {
  background: #bbb;
}

.action-footer .btn-next {
  background: #007bff;
  color: white;
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.25);
}

.action-footer .btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive */
@media (max-width: 768px) {
  .wizard-header .hero-title {
    font-size: 2rem;
  }
  .stepper-wrapper {
    padding: 0 10px;
  }
  .step-item {
    width: 60px;
  }
  .stepper-wrapper .step-item .step-label,
  .stepper-wrapper .step-item .step-status {
    display: none;
  }
  .wizard-content .form-row-grid {
    flex-direction: column;
    gap: 15px;
  }
  .info-cards-grid {
    flex-wrap: wrap;
    /* Allow wrapping on mobile */
  }
}
/* 
   ==========================================================================
   STEP 3: Hotel Selection Styles
   ==========================================================================
*/
.step-header-group {
  text-align: center;
  margin-bottom: 30px;
}

.step-main-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000;
}

.step-sub-title {
  color: #aeaeae;
  font-size: 1rem;
  font-weight: 300;
}

/* Info Cards (Static Display) */
.info-cards-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: nowrap;
  /* Force single row */
  overflow-x: auto;
  /* Allow scroll on very small screens if needed, though responsive query handles stacking */
}

.info-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  /* Wider cards */
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* User requested NO hover or active effects */
}

.info-card .icon-wrapper {
  width: 60px;
  height: 60px;
  /* Circle */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* Icon Colors (using similar logic to others but specific) */
.info-card .icon-wrapper.blue {
  background: #E6F2FF;
  color: #007bff;
}

.info-card .icon-wrapper.green {
  background: #E6FFFA;
  color: #00bfa5;
  border: 2px solid #00bfa5;
  color: #00bfa5;
  background: transparent;
}

/* Outlined style for Skip per image maybe? Or just consistent */
.info-card .icon-wrapper.yellow {
  background: #FFF9E6;
  color: #FFC107;
  border: 2px solid #FFC107;
  background: transparent;
}

/* Let's stick to consistent filled or transparent based on image interpretation.
   Image showed filled blue, outlined green/yellow.
   Let's try to match that specific look.
*/
/* Icon Colors - Transparent */
.info-card .icon-wrapper.blue,
.info-card .icon-wrapper.green,
.info-card .icon-wrapper.yellow {
  background: transparent;
  border: none;
}

/* Yellow Key outline */
.info-card .tiny-label {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #d9534f;
  /* Default color if text remains */
}

.info-card .tiny-label img {
  height: 18px;
  width: auto;
}

.info-card .icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.info-card h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #B64400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #333;
}

.info-card p {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.5;
  margin: 0;
}

/* Option Cards (Quick Grid) */
.quick-options-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
}

.option-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  width: 250px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}

.option-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: #007bff;
}

.option-card.selected {
  border-color: #007bff;
  background: #f0f7ff;
}

.option-card .icon-box {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 700;
}

.option-card .icon-box.blue {
  background: #E6F2FF;
  color: #007bff;
}

.option-card .icon-box.green {
  background: #E6FFFA;
  color: #00bfa5;
}

.option-card .icon-box.gold {
  background: #FFF9E6;
  color: #FFC107;
}

.option-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
}

.option-card p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.5;
}

/* Explore Section */
.explore-section {
  text-align: center;
  background: #f8f9fa;
  padding: 40px;
  border-radius: 24px;
  margin-bottom: 60px;
}

.explore-section h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.explore-section p {
  color: #666;
  margin-bottom: 25px;
}

.explore-section .btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-secondary-outline {
  background: #e0e0e0;
  border: none;
  padding: 12px 35px;
  border-radius: 30px;
  color: #555;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-secondary-outline:hover {
  background: #d0d0d0;
}

.btn-primary-solid {
  background: #007bff;
  border: none;
  padding: 12px 40px;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
  transition: all 0.2s;
}

.btn-primary-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* Manual Form */
.manual-form-section {
  margin-bottom: 60px;
  text-align: left;
  max-width: 800px;
  /* Slight constrain for better readability */
  margin-left: auto;
  margin-right: auto;
}

.manual-form-section h3 {
  text-align: center;
  margin-bottom: 5px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #000;
}

.manual-form-section .section-subtitle {
  text-align: center;
  color: #888;
  margin-bottom: 30px;
  font-size: 1rem;
}

.manual-form-container {
  background: #fff;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.manual-form-container .form-group {
  margin-bottom: 25px;
}

.manual-form-container .form-label {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}

.manual-form-container .form-label .required {
  color: #ff4d4f;
  margin-left: 3px;
}

.form-input-gray {
  width: 100%;
  background: #f0f0f0;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 1rem;
  color: #333;
  transition: all 0.2s;
}

.form-input-gray:focus {
  background: #fff;
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-input-gray::placeholder {
  color: #aaa;
}

/* Date Input Wrapper for Icon */
.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
}

/* Add Period Button Area */
.add-period-container {
  background: #fff;
  border-radius: 50px;
  /* Fully rounded pill */
  padding: 15px;
  /* Padding around button */
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.btn-add-period {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 15px 60px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  width: 60%;
  /* Or auto with min-width */
  min-width: 200px;
}

.btn-add-period:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* AI Selection Group (New Layout) */
.ai-selection-group {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  margin-bottom: 60px;
  border: 1px solid #f0f0f0;
  text-align: center;
}

.ai-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  gap: 20px;
}

.ai-header-row .mascot img {
  height: 180px;
}

.ai-header-row .ai-text {
  text-align: left;
}

.ai-header-row .ai-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.ai-header-row .ai-text p {
  color: #666;
  margin: 0;
}

/* Re-style quick options to fit inside */
.ai-selection-group .quick-options-grid {
  justify-content: center;
  margin-bottom: 30px;
}

.ai-action-row {
  display: flex;
  justify-content: center;
}

.btn-ai-action {
  background: #007bff;
  color: white;
  border: none;
  padding: 15px 60px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
  transition: all 0.2s;
}

.btn-ai-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 123, 255, 0.35);
}

/* Partners */
.partners-section {
  text-align: center;
  margin-bottom: 60px;
}

.partners-section h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: left;
  padding-left: 10px;
}

.partners-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.partner-item {
  background: #fff;
  padding: 20px 30px;
  border-radius: 40px;
  /* Pill shape */
  border: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  text-decoration: none;
  color: #333;
}

.partner-item:hover {
  border-color: #007bff;
  transform: translateX(5px);
}

.partner-item span {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.partner-item .arrow-right {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-top: 2px solid #333;
  transform: rotate(45deg);
}

/* Step 3 Footer Intro (New Design) */
.step3-footer-intro {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

.step3-footer-intro h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #000;
  letter-spacing: -0.5px;
}

.step3-footer-intro p {
  font-size: 1.1rem;
  color: #555;
  font-weight: 300;
}

.step3-footer-intro p u {
  font-weight: 600;
  color: #000;
  cursor: pointer;
  text-decoration-thickness: 2px;
}

.step3-footer-intro p u:hover {
  color: #007bff;
}

/* Cloned Form Spacing */
.cloned-form {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px dashed #e0e0e0;
  position: relative;
}

/* 
   ========================================================================== 
   Step 4: Restaurant Selection Styles
   ========================================================================== 
*/
/* Pane Visibility Utility */
.step-pane {
  display: none;
  /* Hidden by default */
  animation: fadeIn 0.5s ease;
}

.step-pane.active {
  display: block !important;
  /* Override inline style if any */
}

/* 
   ========================================================================== 
   Step 3: Hotel Hero Card Styles 
   ========================================================================== 
*/
/* 
   ========================================================================== 
   Shared Hero Card Styles (Hotel & Food)
   ========================================================================== 
*/
.hero-card-section {
  background: #fff;
  border-radius: 30px;
  display: flex;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  min-height: 250px;
}

.hero-card-section .hero-content {
  flex: 1;
  /* Left side */
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card-section .hero-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-card-section .hero-content p {
  font-size: 1.1rem;
  color: #777;
  font-weight: 300;
  margin: 0;
}

.hero-card-section .hero-image-container {
  flex: 1.5;
  /* Right side - wider */
  position: relative;
  background-color: rgba(252, 236, 235, 0.9215686275);
  /* Fallback color matching the image vibe */
}

.hero-card-section .hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .hero-card-section {
    flex-direction: column;
  }
}
/* Hero Section */
.step-hero {
  text-align: center;
  margin-bottom: 40px;
}

.step-hero .hero-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #000;
}

.step-hero .hero-text p {
  font-size: 1.1rem;
  color: #777;
  font-weight: 300;
}

.step-hero .hero-image {
  margin-top: 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Search & Filter Controls */
.rec-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 20px;
}

.search-bar-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.search-bar-wrapper i {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #aaa;
  pointer-events: none;
}

.search-bar-wrapper input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border-radius: 50px;
  border: 1px solid #eee;
  background: #fff;
  /* Updated to White */
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.search-bar-wrapper input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

/* ===========================
     Step 6: Completion / Finished
     =========================== */
#pane-6 {
  text-align: center;
  padding-top: 40px;
  animation: fadeIn 0.8s ease;
}

.completion-images {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.completion-img {
  width: 60px;
  height: 90px;
  border-radius: 30px;
  /* Oval/Pill shape */
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #fff;
}

/* Center image slightly larger/elevated */
.completion-img:nth-child(2) {
  transform: translateY(-10px) scale(1.1);
  z-index: 2;
}

.completion-title {
  font-size: 3rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.completion-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
}

/* Custom Timeline for Step 6 */
.completion-timeline {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

/* The Line */
.completion-timeline::before {
  content: "";
  position: absolute;
  top: 15px;
  /* Half of circle (30px) */
  left: 40px;
  right: 40px;
  height: 2px;
  background: #00b98e;
  /* Green completed */
  z-index: 0;
}

.c-step {
  position: relative;
  z-index: 1;
  background: #fff;
  /* to hide line behind if needed, but here dots sit on top */
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.c-step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #00b98e;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 0 0 4px #e0f7fa;
  /* Glow effect */
}

.c-step-label {
  font-size: 0.8rem;
  color: #333;
  font-weight: 500;
}

/* Badge indicator for "Completed" */
.c-step.completed .c-step-label {
  color: #00b98e;
}

/* Footer Hint (Step 5 & 6) */
.footer-hint {
  text-align: center;
  margin-bottom: 20px;
}

.footer-hint h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 5px;
  color: #000;
}

.footer-hint p {
  font-size: 1rem;
  color: #555;
}

.footer-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Step 1 Typography */
.intro-text-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.food-categories h4 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #000;
}

/* ==========================================================================
   CAROUSEL & CARDS SCROLL (Copy ทับส่วนนี้ในไฟล์ CSS/SCSS)
   ========================================================================== */
.rec-category-section {
  position: relative !important;
  /* สำคัญมากเพื่อให้ปุ่มลูกศรลอยอยู่ด้านข้างพอดี */
  margin-bottom: 40px;
}

.scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  padding-left: 5px;
  padding-right: 5px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* ซ่อน Scrollbar บน Firefox */
}

.scroll-container::-webkit-scrollbar {
  display: none;
  /* ซ่อน Scrollbar บน Chrome/Safari/Edge */
}

/* ปุ่มเลื่อนซ้าย-ขวา */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: #333;
}

.nav-btn:hover {
  background: #f0f7ff;
  color: #007bff;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.2);
}

.nav-btn.prev {
  left: -20px;
}

.nav-btn.next {
  right: -20px;
}

/* เมื่อปุ่มต้องซ่อน (อยู่ซ้ายสุดหรือขวาสุด) */
.nav-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.8);
}

/* สไตล์ Card ที่ 6 (See More) */
.card-see-more {
  min-width: 280px;
  /* กว้างเท่า Restaurant Card */
  max-width: 280px;
  height: 340px;
  /* สูงเท่า Restaurant Card */
  border-radius: 20px;
  border: 2px dashed #ccc;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  /* ป้องกันไม่ให้โดนบีบขนาด */
  color: #777;
}

.card-see-more:hover {
  border-color: #007bff;
  color: #007bff;
  background: #f0f7ff;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
  transform: translateY(-5px);
}

.card-see-more i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.card-see-more span {
  font-weight: 700;
  font-size: 1.1rem;
}

/* รองรับจอขนาดใหญ่ขึ้นตามที่คุณเคยตั้งค่าไว้ */
@media (min-width: 769px) {
  .restaurant-card,
  .card-see-more {
    min-width: 300px;
    max-width: 300px;
    height: 380px;
  }
}
/* Horizontal Scroll Container for Cards */
.food-categories > div {
  padding-bottom: 20px;
  /* Space for scrollbar or shadow */
  scrollbar-width: none;
  /* Firefox */
}

.food-categories > div::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

/* Food Card Placeholder Styling */
.food-categories > div > div {
  min-width: 200px;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.food-categories > div > div:hover {
  transform: translateY(-5px);
}

/* 
   ========================================================================== 
   Step 4: Restaurant Recommendations 
   ========================================================================== 
*/
.recommendations-container {
  margin-top: 40px;
  padding: 20px 0;
}

.rec-main-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000;
}

.rec-sub-title {
  text-align: center;
  color: #777;
  margin-bottom: 30px;
}

/* Controls: Search & Filter */
.rec-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}

.search-bar-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.search-bar-wrapper i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

.search-bar-wrapper input {
  width: 100%;
  padding: 12px 20px 12px 50px;
  border-radius: 30px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-bar-wrapper input:focus {
  background: #fff;
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.filter-tab:hover {
  background: #f0f0f0;
}

.filter-tab.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Category Sections */
/* .rec-category-section removed (use patch) */
.cat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* Align top for multi-line description */
  margin-bottom: 20px;
  padding: 0 5px;
}

.cat-header .header-text {
  flex: 1;
  margin-right: 20px;
}

.cat-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: #000;
}

.cat-header .cat-desc {
  font-size: 0.9rem;
  color: #777;
  margin: 0;
  line-height: 1.4;
  font-weight: 300;
}

.cat-header .see-all {
  color: #007bff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
}

.cat-header .see-all:hover {
  text-decoration: underline;
}

/* Horizontal Scroll Container */
.has-horizontal-scroll {
  width: 100%;
  overflow: hidden;
  /* Hide outer scrollbar */
}

/* .scroll-container removed (use patch) */
/* Restaurant Card */
.restaurant-card {
  min-width: 300px;
  max-width: 300px;
  height: 380px;
  /* Increased height */
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  border: 1px solid #eee;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.restaurant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.res-img-container {
  height: 180px;
  width: 100%;
  position: relative;
}

.res-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #28a745;
  /* Open */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-badge.closed {
  color: #dc3545;
}

.res-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 180px);
}

.res-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  /* Explicitly align left */
}

.res-location {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.res-action-btn {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-radius: 50px;
  background: #007bff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.res-action-btn:hover {
  background: #0056b3;
}

.res-action-btn.selected {
  background: #28a745;
  /* pointer-events: none; - Removed to allow deselection */
}

/* Modal for "See All" */
.rec-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.rec-modal-overlay.active {
  display: flex;
}

.rec-modal-content {
  background: #fff;
  width: 90%;
  max-width: 90%;
  max-width: 1000px;
  height: 80vh;
  border-radius: 20px;
  /* padding: 30px; */
  /* Removed global padding */
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Hide overflow */
}

/* New Header */
.rec-modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  flex-shrink: 0;
}

.rec-modal-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

/* New Body */
.rec-modal-body {
  padding: 30px;
  overflow-y: auto;
  /* Scrollable area */
  flex-grow: 1;
}

.close-modal-btn {
  /* Position static now inside flex header */
  background: none;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  color: #555;
  padding: 0 10px;
  transition: color 0.2s;
}

.close-modal-btn:hover {
  color: #000;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* ==========================================================================
   CAROUSEL & CARDS SCROLL (Copy ทับส่วนนี้ในไฟล์ CSS/SCSS)
   ========================================================================== */
.rec-category-section {
  position: relative !important;
  /* สำคัญมากเพื่อให้ปุ่มลูกศรลอยอยู่ด้านข้างพอดี */
  margin-bottom: 40px;
}

.scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  padding-left: 5px;
  padding-right: 5px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* ซ่อน Scrollbar บน Firefox */
}

.scroll-container::-webkit-scrollbar {
  display: none;
  /* ซ่อน Scrollbar บน Chrome/Safari/Edge */
}

/* ปุ่มเลื่อนซ้าย-ขวา */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: #333;
}

.nav-btn:hover {
  background: #f0f7ff;
  color: #007bff;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.2);
}

.nav-btn.prev {
  left: -20px;
}

.nav-btn.next {
  right: -20px;
}

/* เมื่อปุ่มต้องซ่อน (อยู่ซ้ายสุดหรือขวาสุด) */
.nav-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.8);
}

/* สไตล์ Card ที่ 6 (See More) */
.card-see-more {
  min-width: 280px;
  /* กว้างเท่า Restaurant Card */
  max-width: 280px;
  height: 340px;
  /* สูงเท่า Restaurant Card */
  border-radius: 20px;
  border: 2px dashed #ccc;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  /* ป้องกันไม่ให้โดนบีบขนาด */
  color: #777;
}

.card-see-more:hover {
  border-color: #007bff;
  color: #007bff;
  background: #f0f7ff;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
  transform: translateY(-5px);
}

.card-see-more i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.card-see-more span {
  font-weight: 700;
  font-size: 1.1rem;
}

/* รองรับจอขนาดใหญ่ขึ้นตามที่คุณเคยตั้งค่าไว้ */
@media (min-width: 769px) {
  .restaurant-card,
  .card-see-more {
    min-width: 300px;
    max-width: 300px;
    height: 380px;
  }
}
/* =======================================================
   CAROUSEL SCROLL & CARD ที่ 6 (ดูเพิ่มเติม)
======================================================= */
.rec-category-section {
  position: relative !important;
  margin-bottom: 40px;
}

.scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 5px 20px 5px;
  /* เผื่อพื้นที่ให้ shadow */
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

/* ปุ่มลูกศร ซ้าย-ขวา */
.nav-btn {
  position: absolute;
  top: 55%;
  /* ให้อยู่กึ่งกลางของกล่องเนื้อหา */
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: #333;
}

.nav-btn:hover {
  background: #f0f7ff;
  color: #007bff;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.25);
}

.nav-btn.prev {
  left: -20px;
}

.nav-btn.next {
  right: -20px;
}

/* การซ่อนปุ่มเมื่อสุดขอบจอ */
.nav-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.8);
}

/* ⭐️ Card ที่ 6: รูปแบบ Card เปล่า */
.card-see-more {
  min-width: 280px;
  /* กว้างเท่ากับ Card ปกติ */
  max-width: 280px;
  height: 340px;
  /* สูงเท่ากับ Card ปกติ */
  border-radius: 20px;
  border: 2px dashed #ccc;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  color: #888;
}

.card-see-more i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #ccc;
  transition: all 0.3s ease;
}

.card-see-more span {
  font-weight: 700;
  font-size: 1.2rem;
}

.card-see-more:hover {
  background: #f0f7ff;
  border-color: #007bff;
  color: #007bff;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.card-see-more:hover i {
  color: #007bff;
}

@media (min-width: 769px) {
  .restaurant-card,
  .card-see-more {
    min-width: 300px;
    max-width: 300px;
    height: 380px;
  }
}
/* =======================================================
   CAROUSEL SCROLL & CARD ที่ 6
======================================================= */
.rec-category-section {
  position: relative !important;
  margin-bottom: 40px;
}

.scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 5px 20px 5px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

/* จัดการปุ่มลูกศร */
.nav-btn {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  /* ตัด opacity ออกเพราะ JS บังคับให้แล้ว */
  color: #333;
}

.nav-btn:hover {
  background: #f0f7ff;
  color: #007bff;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.25);
}

.nav-btn.prev {
  left: -20px;
}

.nav-btn.next {
  right: -20px;
}

/* ⭐️ Card ที่ 6 (Card ดูเพิ่มเติม) */
.card-see-more {
  min-width: 280px;
  /* บังคับกว้างเท่า Card ปกติ */
  max-width: 280px;
  height: 340px;
  /* บังคับสูงเท่า Card ปกติ */
  border-radius: 20px;
  border: 2px dashed #ccc;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  /* ⭐️ สำคัญมาก: ป้องกันไม่ให้ Card โดนบีบเมื่อเลื่อน */
  color: #888;
}

.card-see-more i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #ccc;
  transition: all 0.3s ease;
}

.card-see-more span {
  font-weight: 700;
  font-size: 1.2rem;
}

.card-see-more:hover {
  background: #f0f7ff;
  border-color: #007bff;
  color: #007bff;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.card-see-more:hover i {
  color: #007bff;
}

@media (min-width: 769px) {
  .restaurant-card,
  .card-see-more {
    min-width: 300px;
    max-width: 300px;
    height: 380px;
  }
}
/* Responsive Mobile Overrides */
@media (max-width: 768px) {
  .quick-options-grid {
    flex-direction: column;
    align-items: center;
  }
  .ai-header-row {
    flex-direction: column;
    text-align: center;
  }
  .ai-header-row .ai-text {
    text-align: center;
  }
  .btn-add-period {
    width: 100%;
  }
  .completion-timeline {
    flex-direction: column;
    gap: 20px;
  }
  .completion-timeline::before {
    display: none;
  }
  .info-cards-grid {
    flex-direction: column;
    align-items: center;
  }
}
/* === RESPONSIVE NAVBAR & MOBILE MENU OVERLAY === */
/* Mobile View adjustments */
@media (max-width: 900px) {
  /* Hide Desktop Nav Links */
  .navbar {
    padding: 15px 20px;
    flex-wrap: wrap;
  }
  .nav-center-group,
  .nav-links-container,
  .btn-create-trip {
    display: none !important;
    /* Force hide on mobile across all pages */
  }
  /* Hamburger Menu Toggle Icon */
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10005;
    /* Must be higher than the overlay */
    position: relative;
    margin-left: 15px;
  }
  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Bouncy smooth transition */
    transform-origin: left center;
    pointer-events: none;
    /* Allow clicks to pass through to the parent div */
  }
  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, -2px);
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    width: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 2px);
  }
  /* Inverse color for dark hero backgrounds (if needed) */
  .navbar.dark-theme .hamburger-menu span {
    background: #fff;
  }
  /* Mobile Menu Overlay - Top Down Frosted Glass */
  .mobile-menu-overlay {
    position: fixed;
    top: -100vh;
    /* Start hidden above */
    left: 0;
    width: 100%;
    height: 100vh;
    /* Full screen */
    background: rgba(255, 255, 255, 0.85);
    /* Transparent white */
    backdrop-filter: blur(15px);
    /* Frosted glass effect */
    -webkit-backdrop-filter: blur(15px);
    z-index: 10010;
    /* Cover everything including the hamburger icon */
    transition: top 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* Extremely smooth easing */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center items vertically */
    align-items: center;
    /* Center items horizontally */
    pointer-events: none;
    /* Prevent blocking clicks when hidden */
  }
  .mobile-menu-overlay.active {
    top: 0;
    /* Slide down to cover screen */
    pointer-events: all;
    /* Enable clicks when visible */
  }
  .mobile-menu-overlay .mobile-menu-content {
    padding: 20px;
    position: relative;
    width: 100%;
    max-width: 400px;
    text-align: center;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.5s ease 0.3s;
    /* Fade in and slide down after main menu slide */
  }
  .mobile-menu-overlay .mobile-menu-content .close-menu {
    position: fixed;
    top: 25px;
    right: 25px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #333;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  .mobile-menu-overlay .mobile-menu-content .close-menu:hover {
    background: #fff;
    color: #F0BB1F;
    transform: scale(1.1) rotate(90deg);
  }
  .mobile-menu-overlay .mobile-menu-content .btn-create-trip-mobile {
    background: #000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .mobile-menu-overlay .mobile-menu-content .btn-create-trip-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  }
  .mobile-menu-overlay .mobile-menu-content ul {
    list-style: none;
    padding: 0;
  }
  .mobile-menu-overlay .mobile-menu-content ul li {
    margin-bottom: 30px;
  }
  .mobile-menu-overlay .mobile-menu-content ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    /* Larger font for full screen menu */
    font-weight: 600;
    display: block;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  .mobile-menu-overlay .mobile-menu-content ul li a:hover, .mobile-menu-overlay .mobile-menu-content ul li a.active {
    color: #F0BB1F;
    /* Brand yellow color */
    transform: scale(1.05);
  }
  .mobile-menu-overlay.active .mobile-menu-content {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Desktop View adjustments */
@media (min-width: 901px) {
  /* Hide Hamburger and Overlay on Desktop */
  .hamburger-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}
/* === RESPONSIVE FOOTER === */
@media (max-width: 768px) {
  .footer-curve-img {
    display: none !important;
    /* Hide the large curve image on mobile */
  }
  .footer {
    padding-top: 160px !important;
    /* Reduce the huge whitespace since curve is gone */
  }
}
body::-webkit-scrollbar {
  display: none;
}


/* === LUNA 3-BUTTON ACTION & STEP 6 SUMMARY STYLES === */
.action-footer .btn-luna {
  background: linear-gradient(135deg, #6c5ce7, #8e44ad);
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(108, 92, 231, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.action-footer .btn-luna:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(108, 92, 231, 0.4);
}

.mode-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.mode-badge.badge-selected-only {
  background: #e3f2fd;
  color: #1976d2;
}

.mode-badge.badge-ai-assist {
  background: #f3e5f5;
  color: #7b1fa2;
}

.mode-badge.badge-skipped {
  background: #f5f5f5;
  color: #757575;
}

@media (max-width: 600px) {
  .footer-buttons {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  .action-footer button {
    padding: 12px 24px !important;
    font-size: 0.95rem !important;
  }
}

/* AR navbar button now lives in css/navbar.css (.nav-ar-btn) */

/* Clear calendar contrast without changing date restrictions. */
.flatpickr-calendar .flatpickr-current-month,
.flatpickr-calendar .flatpickr-monthDropdown-months,
.flatpickr-calendar .flatpickr-current-month input.cur-year,
.flatpickr-calendar span.flatpickr-weekday,
.flatpickr-calendar .flatpickr-day { color: #080808 !important; }
.flatpickr-calendar .flatpickr-day.flatpickr-disabled,
.flatpickr-calendar .flatpickr-day.flatpickr-disabled:hover { color: #999 !important; background: transparent !important; cursor: not-allowed; }
.flatpickr-calendar .flatpickr-day.today { border: 2px solid #F2B900 !important; font-weight: 700 !important; }
.flatpickr-calendar .flatpickr-day.today:not(.selected) { background: #fff8dc !important; }
.hotel-carousel .nav-btn { width: 44px; height: 44px; }
