/* General Style */
.hidden {
  display: none !important;
}
.opacity-low {
  opacity: 0.5;
}
.select-none {
  user-select: none;
}
.loader {
  width: 15px;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: l5 1s infinite linear alternate;
}
@keyframes l5 {
  0% {
    box-shadow: 20px 0 #000, -20px 0 #0002;
    background: #000;
  }
  33% {
    box-shadow: 20px 0 #000, -20px 0 #0002;
    background: #0002;
  }
  66% {
    box-shadow: 20px 0 #0002, -20px 0 #000;
    background: #0002;
  }
  100% {
    box-shadow: 20px 0 #0002, -20px 0 #000;
    background: #000;
  }
}
@keyframes flicking {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.maia-bot.flicking {
  animation: flicking 1s infinite ease-in-out;
}

/* End General Style */

/* Chatbot General */
.chatbot-button {
  cursor: pointer;
  position: fixed;
  bottom: 3.5rem;
  right: 3.5rem;
  width: fit-content;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 9999px;
  background-color: #151515;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  z-index: 999;
}
.chatbot-text {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 2rem;
  color: #ffffff;
  margin-bottom: 0;
  user-select: none;
}
/* End Chatbot General */

/* Itinerary */
.itinerary-result {
  width: 100%;
  min-height: 100vh;
  height: 100%;
}
.itinres-container {
  width: 100%;
  max-width: 1280px; /* Tailwind container default (xl breakpoint) */
  margin-left: auto; /* mx-auto */
  margin-right: auto;
  padding-left: 1rem; /* px-4 */
  padding-right: 1rem;
  background-color: white; /* bg-white */
  display: flex; /* flex */
  justify-content: space-between; /* justify-between */
  gap: 1rem; /* gap-4 (16px) */
  margin-bottom: 2.5rem; /* mb-10 */
  margin-top: 7.5rem; /* mt-30 (120px → asumsi custom scale) */
  flex-direction: column; /* flex-col */
  background-color: #f5f5f5;
}
#content-main {
  width: 100%; /* w-full */
  display: flex; /* flex */
  flex-direction: column; /* flex-col */
  gap: 2.5rem; /* gap-10 = 40px */
}
.itin-banner {
  position: relative;
  height: 300px; /* h-[300px] */
  border-radius: 0.75rem; /* rounded-xl */
  overflow: hidden;
}

.itin-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.itin-banner-overlay {
  position: absolute;
  inset: 0;
  background-color: black;
  opacity: 0.5;
  border-radius: 0.5rem;
}

.itin-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  color: white;
}

.itin-banner-text {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.25rem;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .itin-banner-text {
    padding: 2.5rem;
  }
}

.itin-banner-title {
  font-size: 1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  width: 100%;
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .itin-banner-title {
    font-size: 2rem;
    padding-left: 0;
    padding-right: 0;
    width: 83.3333%;
  }
}

.itin-banner-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 1024px) {
  .itin-banner-info {
    flex-direction: row;
    gap: 2.5rem;
  }
}

.itin-banner-info-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.itin-banner-date,
.itin-banner-location {
  font-size: 0.875rem;
  color: white;
}

.itin-icon-calendar {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url("/asset/icon/calendar.svg") no-repeat center/contain;
}

.itin-icon-location {
  width: 1rem;
  height: 1rem;
}

.itinerary-result p,
.itinerary-result h2,
.itinerary-result h1 {
  margin-bottom: 0;
}

.itinerary-result a {
  text-decoration: none;
}

.itin-highlights {
  width: 100%; /* w-full */
  padding-bottom: 2.5rem; /* pb-10 = 40px */
  border-bottom: 1px solid #9e9e9e; /* border-b border-[#9E9E9E] */
}

.itin-highlights-title {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600; /* titillium-web-semibold */
  font-size: 1.5rem; /* text-2xl */
  margin-bottom: 0.5rem; /* mb-2 */
}

.itin-highlights-desc {
  color: #1d1d1b; /* text-[#1D1D1B] */
}
.itin-tips {
  display: flex; /* flex */
  flex-direction: column; /* flex-col */
  gap: 0.75rem; /* gap-3 (12px) */
}

.itin-tips-title {
  font-size: 1.25rem; /* text-xl */
  font-family: "Titillium Web", sans-serif;
  font-weight: 600; /* titillium-web-semibold */
}

.itin-places-title {
  font-size: 1.25rem;
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  margin-bottom: 2rem !important;
}

.itin-tips-list {
  list-style-type: disc; /* list-disc */
  padding-left: 1.25rem; /* pl-5 (20px) */
}
.itin-places {
  width: 100%;
  height: auto;
}
.itin-article-card {
  display: block;
  width: 100%; /* w-full */
  height: fit-content; /* h-fit */
  background-color: #fff; /* bg-white */
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-xl */
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.itin-article-img-wrapper {
  width: 100%;
  aspect-ratio: 3 / 2; /* aspect-[3/2] */
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
}

.itin-article-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* object-cover */
  border-radius: 0.5rem;
}

.itin-article-content {
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.itin-article-title {
  font-size: 1.125rem; /* text-lg */
  font-family: "Titillium Web", sans-serif;
  font-weight: 600; /* titillium-web-semibold */
  display: -webkit-box; /* line-clamp-3 */
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
}
.swiper {
  padding-bottom: 1rem !important;
}
.itin-cta {
  width: 100%;
  aspect-ratio: auto; /* aspect-auto */
  border-radius: 0.75rem; /* rounded-xl */
  background: linear-gradient(
    to right,
    #7bc435,
    #cfff30
  ); /* bg-gradient-to-r */
  display: flex;
  flex-direction: column; /* flex-col */
  padding: 1.25rem; /* py-5 px-5 */
  gap: 1.25rem; /* gap-5 */
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .itin-cta {
    flex-direction: row; /* lg:flex-row */
    gap: 0; /* lg:gap-0 */
    aspect-ratio: 16 / 2; /* lg:aspect-[16/2] */
  }
}

.itin-cta-text {
  font-size: 1.25rem; /* text-xl */
  font-family: "Titillium Web", sans-serif;
  font-weight: 600; /* titillium-web-semibold */
  color: black;
}

.itin-cta-actions {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 1.25rem; /* gap-5 */
}

/* Download button */
.itin-btn-download {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
  border: 1px solid #061c53;
  border-radius: 9999px; /* rounded-full */
  padding: 0.75rem 1.25rem; /* py-3 px-5 */
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  background: transparent;
}

/* Book button */
.itin-btn-book {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.25rem;
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  background-color: #061c53;
  color: #fff;
}

/* placeholder untuk ikon */
.itin-btn-icon {
  width: 1.25rem; /* w-5 */
  height: 1.25rem; /* h-5 */
  display: inline-block;
}

#itin-side-content {
  width: 100%; /* md:w-full */
  height: 85vh; /* h-[85vh] */
  position: static; /* static */
}

.new-itin-tips-list {
  overflow: hidden;
}
/* End Itinerary */

/* Form AI */
#form-step-0 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.formai {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99999;
  background-color: white;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.form-maia-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chatbot-text-form {
  font-weight: 600;
  font-size: 2rem;
  line-height: 2rem;
  margin-bottom: 0;
}
.upper-section {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: space-between;
}
.form-close-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lower-section-back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* sama dengan gap-2 */
  padding: 0.75rem 1rem; /* py-3 px-4 */
  border-radius: 56px 12px 12px 56px; /* rounded-l-[56px] + rounded-r-[12px] */
  background-color: #ffffff; /* bg-white */
  border: 1px solid #172554; /* border + border-blue-950 */
  color: #172554; /* text-blue-950 */
  cursor: pointer;
}
.lower-section-2-back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* sama dengan gap-2 */
  padding: 0.75rem 1rem; /* py-3 px-4 */
  border-radius: 56px 12px 12px 56px; /* rounded-l-[56px] + rounded-r-[12px] */
  background-color: #ffffff; /* bg-white */
  border: 1px solid #172554; /* border + border-blue-950 */
  color: #172554; /* text-blue-950 */
  cursor: pointer;
}
.lower-section-next-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
  padding: 0.75rem 1rem; /* py-3 px-4 */
  border-radius: 12px 56px 56px 12px; /* rounded-l-[12px] + rounded-r-[56px] */
  background-color: #172554; /* bg-blue-950 */
  cursor: pointer;
  color: white;
  opacity: 0.5;
}
.lower-section-2-next-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
  padding: 0.75rem 1rem; /* py-3 px-4 */
  border-radius: 12px 56px 56px 12px; /* rounded-l-[12px] + rounded-r-[56px] */
  background-color: #172554; /* bg-blue-950 */
  cursor: pointer;
  color: white;
  opacity: 0.5;
}
.lower-section-btn-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 65%;
  margin: 0 auto;
}
.lower-section-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.middle-section {
  width: 100%;
  max-width: 65%;
  height: 75%;
  margin: 0 auto;
  overflow-y: auto;
  overflow-x: hidden;
}
.maia-head {
  width: 150px;
  height: 150px;
  border-radius: 99999px;
  border: 1px solid #fef9c2;
}
.maia-head img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 99999px;
}
.step-1-head {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-direction: row;
}
.maia-text {
  width: 70%;
}
.step-1-inputs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.step-1-inputs .custom-selection input {
  width: 90%;
  border: 0px;
  outline-style: none;
}
.step-1-inputs .custom-selection {
  width: 100%;
  height: 4rem;
  border-radius: 99999px;
  padding: 0 1rem;
  border: 1px solid #00c951;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}
.step-1-inputs .custom-selection span {
  opacity: 0.5;
}
.step-1-inputs p {
  margin-bottom: 0;
  font-size: 20px;
}
.step-1-container {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
.arrow-down-container {
  width: 1rem;
}
.select-1,
.select-2 {
  cursor: pointer;
  position: relative;
}
.select-1-dropdown,
.select-2-dropdown {
  width: 100%;
  height: 10rem;
  overflow-y: auto;
  background-color: white;
  position: absolute;
  left: 0;
  top: 5rem;
  border-radius: 10px;
  padding: 0.5rem;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
}
.select-1-custom-option,
.select-2-custom-option {
  padding: 0 0.5rem;
}
.step-3-section {
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
}
.step-3-container {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-3-header,
.step-4-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  /* gap:12px; */
}
.step-3-title,
.step-4-title {
  font-size: 33px;
  font-weight: 700;
  color: #2a2a2a;
}
.step-3-subtitle,
.step-4-subtitle {
  font-size: 14px;
  color: #6b7280;
}

.step-3-card-grid {
  display: flex;
  justify-content: space-between;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 12px;
}
@media (min-width: 1024px) {
  .step-3-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step-0-card-grid {
  display: flex;
  justify-content: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  margin-bottom: 12px;
  margin-top: 3rem;
}
@media (min-width: 1024px) {
  .step-0-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step-3-trip-card {
  width: 180px;
  height: 180px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    border-color 0.12s ease;
  text-align: center;
  user-select: none;
  border-radius: 8px;
  border: 1px solid;
  border-color: rgb(0, 133, 204);
}
.step-3-trip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #00a0f0;
}
.step-3-trip-card span {
  font-weight: 700;
}
.step-0-trip-card {
  padding: 1rem;
  width: 180px;
  height: 180px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    border-color 0.12s ease;
  text-align: center;
  user-select: none;
  border-radius: 8px;
  border: 1px solid;
  border-color: rgb(0, 133, 204);
}
.step-0-trip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #00a0f0;
}
.step-0-trip-card span {
  font-weight: 700;
}

.step-3-people-bar {
  display: none;
  height: 56px;
  width: 100%;
  border: 1px solid #0085cc;
  border-radius: 8px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
}
.step-3-people-title {
  font-weight: 700;
  margin-bottom: 0;
}
.step-3-people-ctrl {
  display: flex;
  align-items: center;
  gap: 4px;
}
.step-3-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.step-3-btn:active {
  transform: scale(0.97);
}
.step-3-count {
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
}

.step-3-spacer {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.step-3-budget-label {
  text-align: center;
  font-weight: 700;
}
.step-3-budget-wrap {
  width: 95%;
  position: relative;
  height: 72px;
  border: 1px solid #0085cc;
  border-radius: 8px;
  display: flex;
  align-items: stretch;
  /* overflow:hidden; */
}
.step-3-currency {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  width: 113px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  cursor: pointer;
  z-index: 1;
  border: 0;
  border-right: 1px solid #0085cc;
}
.step-3-currency .step-3-caret {
  width: 24px;
  height: 24px;
  display: inline-block;
}
.currency-dropdown {
  width: 113px;
  height: 10rem;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-radius: 8px;
  padding: 0.5rem 0;
  top: -11rem;
  position: absolute;
  overflow-y: auto;
}
.step-3-budget-input {
  position: relative;
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 16px 0 130px;
  font-size: 18px;
  line-height: 72px;
  color: var(--text);
}
.step-3-budget-input::placeholder {
  color: #9ca3af;
}

.step-3-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.trip-card-active {
  border-radius: 999px !important;
  background-color: rgb(0, 133, 204) !important;
  color: white;
}
.option-currency-dropdown {
  cursor: pointer;
  padding: 0 1rem;
}
.option-currency-dropdown:hover {
  background-color: rgb(195, 195, 195);
}
.step-4-interests {
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
  margin-top: 2rem !important;
}

#form-step-4 p {
  margin-bottom: 0;
}

.step-4-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; /* 8px */
  justify-content: center;
}

.step-4-tag {
  font-weight: 600;
  font-size: 14px;
  color: #ec4899; /* pink-500 */
  padding: 0.5rem 1rem; /* py-2 px-4 */
  border: 1px solid #ec4899;
  border-radius: 9999px; /* rounded-full */
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.step-4-tag2 {
  font-weight: 600;
  font-size: 14px;
  color: #ec4899; /* pink-500 */
  padding: 0.5rem 1rem; /* py-2 px-4 */
  border: 1px solid #ec4899;
  border-radius: 9999px; /* rounded-full */
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.step-4-add-interest {
  font-weight: 600;
  font-size: 14px;
  color: #ec4899; /* pink-500 */
  padding: 0.5rem 1rem; /* py-2 px-4 */
  border: 1px solid #ec4899;
  border-radius: 9999px; /* rounded-full */
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.step-4-icon {
  stroke: #ec4899;
}

.step-4-question {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.step-4-question-title {
  text-align: center;
  font-weight: bold;
  font-size: 0.875rem; /* text-sm */
}

.step-4-tag-active {
  color: white;
  background: rgb(236, 72, 153);
}

.add-interest-modal {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-interest-block {
  width: 40%;
  aspect-ratio: 16/7;
  background-color: white;
  border-radius: 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

#addinterest {
  height: 110px;
  font-size: 14px;
  padding: 0.5rem;
}

.addinterest-btn-container {
  width: 100%;
  display: flex;
  justify-content: end;
}

.addinterest-btn-container button {
  width: fit-content;
  padding: 5px 1rem;
  border-radius: 999px;
  border: 0;
  background-color: #162456;
  color: white;
  font-size: 14px;
}

.addinterest-is-disabled {
  opacity: 0.5;
}

.addinterest-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}
#map {
  border-radius: 0.75rem;
  width: 100%;
  height: 100%;
}
.itin-map-marker-popup {
  width: fit-content; /* w-fit */
  display: flex; /* flex */
  gap: 1.25rem; /* gap-5 = 20px */
  align-items: center; /* items-center */
}

.itin-map-marker-img-wrapper {
  width: 7rem; /* w-28 = 112px */
  aspect-ratio: 3 / 2; /* aspect-[3/2] */
  flex-shrink: 0;
}

.itin-map-marker-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* object-cover */
  border-radius: 10px; /* rounded-[10px] */
}

.itin-map-marker-info {
  display: flex;
  flex-direction: column;
}

.itin-map-marker-title {
  font-size: 10px; /* text-base */
  font-family: "Titillium Web", sans-serif;
  font-weight: 600; /* titillium-web-semibold */
  margin: 0;
}

.itin-map-marker-sub {
  margin: 0;
}
.maplibregl-popup-content {
  border-radius: 10px !important;
}
.maplibregl-popup-close-button {
  display: none;
}
#maiachat {
  border-radius: 10px;
  width: 100%;
  height: 95%;
  background-color: white;
  /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.chatbot-arrow-back-container {
  width: 3rem;
  height: 3rem;
  background-color: #f5f5f5;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.maiachat-header-text {
  font-size: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.maiachat-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
}
.maiachat-bottom {
  width: 100%;
  height: 4rem;
  background-color: #e0e0e0;
  border-radius: 0 0 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}
.maia-buttons-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.maiachat-middle {
  width: 100%;
  height: 75%;
  padding: 0 1rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}
.maia-send {
  cursor: pointer;
}
.maiachat-middle::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.maiachat-middle::-webkit-scrollbar-track {
  background: transparent; /* track hilang */
}

.maiachat-middle::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.maiachat-middle::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Firefox */
.maiachat-middle {
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

.maia-input {
  width: 70%;
  background-color: transparent;
  outline: none;
  border: 0;
}
.maiasalute {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid #ffe149;
}
.maiasalute img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}
.maia-bot {
  font-size: 14px;
  width: 70%;
  word-break: break-word;
}
.maia-bot p {
  font-size: 14px;
  line-height: 1.5;
}
.incoming-maia {
  display: flex;
  gap: 1rem;
}
.user-text-container {
  width: 100%;
  display: flex;
  justify-content: end;
}
.user-text {
  max-width: 85%;
  font-size: 14px;
  width: fit-content;
  padding: 1rem;
  border-radius: 24px 24px 0 24px;
  background-color: #e0e0e0;
}
.itinerary-days {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.itin-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.itin-day-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.itin-cal-icon-container {
  width: 2rem;
  height: 2rem;
}
.itin-cal-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.itin-day-text-container {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.itin-day-info,
.itin-day-headline {
  font-size: 1rem;
  font-weight: 700;
  user-select: none;
}
.itin-day-separator {
  font-size: 1.25rem;
}
.itin-dropdown-icon {
  transition: transform 0.3s ease;
  transform: rotate(180deg); /* default tertutup */
}

.itin-dropdown-icon.open {
  transform: rotate(0deg); /* saat dibuka */
}

.itin-accordion-content {
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.place-card {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  aspect-ratio: 16/4;
  background-color: white;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.place-card-img-container {
  width: 20%;
  height: 100%;
  aspect-ratio: 1/1;
}
.place-card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.place-card-text-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 75%;
  height: 100%;
}
.place-delete-btn {
  cursor: pointer;
  width: 3rem;
  height: 3rem;
}
.place-delete-btn img {
  width: 100%;
  height: 100%;
}
.place-texts h2 {
  font-weight: 700;
  font-size: 1.25rem;
}
.place-texts {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.place-card-location {
  display: flex;
  gap: 0.5rem;
}
.place-card-location-text {
  font-size: 12px;
}
.place-card-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 12px;
}
.place-card-dot-container {
  width: 1rem;
}
.place-card-dot-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.place-gmaps {
  width: 100%;
  height: 6rem;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.place-gmaps-car {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.itin-edit-btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  cursor: pointer;
}
.itin-save-btn-container {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.itin-edit-icon-container {
  width: 100%;
  height: 100%;
}
.itin-edit-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.itin-edit-text {
  font-size: 14px;
}
.place-card-dot-container {
  cursor: grab;
}
.itin-cancel-btn {
  cursor: pointer;
  width: fit-content;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  font-size: 14px;
}
.itin-save-btn {
  cursor: pointer;
  width: fit-content;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background-color: #6958a5;
  color: #fff;
  border: none;
  font-size: 14px;
}
.itin-add-btn {
  width: fit-content;
  padding: 5px 1rem;
  border: 1px solid black;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.itin-add-btn-text {
  font-size: 0.8rem;
}
.maia-loading {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}
.maia-loading-bg {
  width: 50%;
  height: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.maia-loading-culture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.maia-loading-maiasalute {
  width: 10rem;
  height: 10rem;
  position: absolute;
  border-radius: 999px;
}
.maia-loading-maiasalute img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}
.maia-loading-text {
  position: absolute;
  bottom: 2rem;
  text-align: center;
}
.maia-loading-text p {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 0;
  font-weight: 700;
}
.budget-outering {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* CSS */
.int-bubble {
  --int-bubble-bg: rgba(245, 250, 255, 1); /* solid, ga transparan */
  --int-bubble-border: rgba(191, 223, 255, 1);
  --int-bubble-radius: 14px; /* radius sudut */
  --int-bubble-pad-x: 16px;
  --int-bubble-pad-y: 12px;

  position: relative;
  display: inline-block;
  max-width: 520px; /* atur sesuai kebutuhan */
  background: var(--int-bubble-bg);
  border: 1px solid var(--int-bubble-border);
  border-radius: var(--int-bubble-radius);
  padding: var(--int-bubble-pad-y) var(--int-bubble-pad-x);
  line-height: 1.4;
  color: #1f2b3a;
  font: 14px/1.45 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Ekor dengan dua lapis agar terlihat seperti ada border */
.int-bubble::after,
.int-bubble::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
}

/* Lapis border (di belakang) */
.int-bubble::after {
  background: var(--int-bubble-border);
  right: 28px; /* sekarang pakai right */
  bottom: -7px;
}

/* Lapis isi (di depan) agar border tetap terlihat */
.int-bubble::before {
  background: var(--int-bubble-bg);
  right: 28px;
  bottom: -6px; /* sedikit lebih tinggi */
  z-index: 1;
}

/* Hanya kosmetik untuk ikon 'i' opsional di bawahnya */
.int-target {
  width: 24px;
  height: 24px;
  /* margin: 12px 0 0 18px;           selaraskan dengan posisi ekor */
  border: 1px solid #c8d6e5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #3a4a5c;
  background: #fff;
  position: relative;
}

.int-bubble {
  width: 15rem;
  position: absolute;
  bottom: 4rem;
  right: 0;
}

/* End Form AI */

/* Dual Calendar */
.calendar-container {
  margin: auto;
}
.header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
  position: relative;
  text-align: center;
}
.header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.header button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
}
.prev-btn, .prev-btn-2 {
  left: 0;
}
.next-btn, .next-btn-2 {
  right: 0;
}

.months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.days, .days-2 ,
.dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.day {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: orange;
}
.date {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.date:hover {
  background: #ffe5cc;
  color: orange;
}
.selected {
  background: orange !important;
  color: white !important;
}
.in-range, .in-range2 {
  background: #ffddb3;
  color: #804000;
}
.empty {
  pointer-events: none;
}
.calendar-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}
/* End Dual Calendar */

/* Weather */
.predefined-container {
  display: flex;
  gap: 20px;
}

.predefined-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  flex: 1;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
}

.predefined-title {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 16px;
  color: #222;
}

.predefined-weather-days {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.predefined-weather-day {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.predefined-weather-day span {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
}

.predefined-weather-day img,
.predefined-weather-day i {
  font-size: 20px;
  color: #f37021;
  display: block;
  margin: 0 auto 5px;
}

.predefined-weather-day strong {
  font-size: 16px;
  color: #333;
}

.predefined-footer {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

.predefined-travel-option {
  flex-direction: column;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.predefined-travel-option i {
  color: #f37021;
  font-size: 18px;
}

.predefined-travel-info {
  display: flex;
  flex-direction: column;
}

.predefined-travel-time {
  font-weight: bold;
  font-size: 16px;
  color: #222;
}

.predefined-travel-sub {
  font-size: 13px;
  color: #666;
}

.weather-value {
  display: flex;
  align-items: center;
  gap: 5px;
}

.weather-value img {
  margin: 0;
}

.predefined-travel-option-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
}
/* End Weather */

/* --------- Responsiveness --------- */

/* Small Laptop */
@media (min-width: 1024px) {
  .itinres-container {
    flex-direction: row;
  }
  #content-main {
    width: 66.666667%; /* 8/12 = 2/3 */
  }
  #itin-side-content {
    width: 33.3333%; /* lg:w-4/12 */
    position: sticky; /* lg:sticky */
    top: 7rem; /* top-28 = 112px */
  }
}

/* XL Laptop */
@media screen and (min-width: 1280px) {
  .step-4-interests {
    width: 80%;
    margin: 0 auto;
  }
}

/* 2XL Laptop */
@media (min-width: 1536px) {
  .itinres-container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* mobile and tablet */
@media screen and (max-width: 1023px) {
  .formai {
    padding: 1rem;
  }
  .step-1-head {
    flex-direction: column;
  }
  .maia-text {
    width: 100%;
  }
  .step-1-container {
    gap: 1rem;
  }
  .lower-section-btn-container {
    max-width: none;
  }
  .step-1-inputs .custom-selection input {
    width: 80%;
  }
  #month2 {
    display: none;
  }
  .month-2 {
    display: none;
  }
  .months {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .date {
    width: 100%;
  }
  .header {
    grid-template-columns: none;
  }
  .step-3-card-grid {
    justify-content: space-around;
    flex-wrap: wrap;
  }
  .step-0-card-grid {
    justify-content: space-around;
    flex-wrap: wrap;
  }
}

/* Mobile */
@media screen and (max-width: 350px) {
  .step-3-trip-card {
    width: 150px;
    height: 150px;
  }
  .step-0-trip-card {
    width: 150px;
    height: 150px;
  }
}
@media screen and (max-width: 431px) {
  .step-3-card-grid {
    display: grid;
  }
  .step-0-card-grid {
    display: grid;
  }
  .middle-section {
    max-width: none;
  }
  .step-3-trip-card {
    width: 100%;
    aspect-ratio: 1/1;
  }
  .step-0-trip-card {
    width: 100%;
    aspect-ratio: 1/1;
  }
  .add-interest-block {
    width: 90%;
  }
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .middle-section {
    max-width: 500px;
  }
  .add-interest-block {
    width: 70%;
  }
}
