/*-----------------------------------------------------------------------------------
    Plan My Trip – Laravel integration extras on top of assets/css/plan-my-trip.css
-----------------------------------------------------------------------------------*/

/* Stepper nodes are clickable in the live wizard */
.pmt-step-item[onclick] {
  cursor: pointer;
}

.pmt-mobile-step-badge {
  margin-bottom: 18px;
}

.pmt-step-badge-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background: var(--pmt-primary-light);
  color: var(--pmt-primary);
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 13px;
  font-weight: 700;
}

/* ================= Alerts ================= */
.pmt-alert {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-radius: 16px;
  border: 1px solid var(--pmt-border);
  padding: 18px 48px 18px 20px;
  margin-bottom: 28px;
}

.pmt-alert-success {
  background: #ECFDF5;
  border-color: rgba(16, 185, 129, 0.35);
}

.pmt-alert-error {
  background: var(--pmt-primary-light);
  border-color: rgba(253, 70, 33, 0.3);
}

.pmt-alert-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.pmt-alert-success .pmt-alert-icon {
  color: #10B981;
}

.pmt-alert-error .pmt-alert-icon {
  color: var(--pmt-primary);
}

.pmt-alert-title {
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--pmt-dark);
  margin-bottom: 4px;
}

.pmt-alert-text {
  font-size: 14px;
  color: var(--pmt-muted);
  margin: 0;
}

.pmt-alert-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--pmt-muted);
}

.pmt-alert-list li {
  list-style: disc;
}

.pmt-alert .btn-close {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 0;
  font-size: 12px;
}

/* ================= Fields ================= */
.pmt-label-sm {
  font-size: 14px;
}

.pmt-text-primary {
  color: var(--pmt-primary);
}

.pmt-field-hint {
  font-size: 12.5px;
  color: var(--pmt-muted);
  margin-top: 6px;
}

.pmt-select {
  cursor: pointer;
}

.pmt-textarea {
  resize: vertical;
  min-height: 110px;
}

.pmt-phone-group .pmt-input {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 575px) {
  .pmt-country-select {
    width: 118px;
  }
}

/* City picker */
.pmt-selected-cities:empty {
  display: none;
}

.pmt-city-tag > span {
  line-height: 1.2;
}

.pmt-dropdown-item.is-active {
  background: var(--pmt-primary-light);
  color: var(--pmt-primary);
}

.pmt-dropdown-item.pmt-dropdown-empty {
  cursor: default;
  color: var(--pmt-muted);
  background: #FFFFFF;
}

/* Time boxes disabled by "Not yet sure about my timings" */
.pmt-time-box.disabled-time-block {
  opacity: 0.5;
  pointer-events: none;
  background: var(--pmt-sidebar-bg);
}

.pmt-ampm-btn:disabled {
  cursor: not-allowed;
}

.pmt-counter-card {
  gap: 12px;
}

/* Guide language quick picks */
.pmt-lang-pill {
  line-height: 1.3;
}

.pmt-lang-more {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.pmt-lang-more .pmt-label-help {
  flex-shrink: 0;
  margin-left: 0;
}

.pmt-lang-more .pmt-select {
  max-width: 320px;
}

@media (max-width: 575px) {
  .pmt-lang-more {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .pmt-lang-more .pmt-select {
    max-width: none;
  }
}

/* ================= Checkbox / radio cards ================= */
.pmt-assistance-grid,
.pmt-accom-grid {
  position: relative;
}

.pmt-choice-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

label.pmt-assistance-card {
  margin: 0;
}

.pmt-choice-input:checked + .pmt-assistance-card {
  border-color: var(--pmt-primary);
  background: var(--pmt-primary-light);
  box-shadow: 0 4px 14px var(--pmt-primary-glow);
}

.pmt-choice-input:checked + .pmt-assistance-card .pmt-assistance-icon {
  color: var(--pmt-primary);
}

.pmt-choice-input:focus-visible + .pmt-assistance-card {
  outline: 2px solid var(--pmt-primary);
  outline-offset: 2px;
}

.pmt-choice-input:disabled + .pmt-assistance-card {
  cursor: not-allowed;
  opacity: 0.6;
}

.pmt-accom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 767px) {
  .pmt-accom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pmt-accom-card {
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 12px 10px;
  text-align: center;
}

.pmt-accom-card .pmt-assistance-text {
  font-size: 14.5px;
}

.pmt-accom-sub {
  font-size: 12.5px;
  color: var(--pmt-muted);
}

/* ================= Buttons ================= */
a.pmt-btn-primary,
a.pmt-btn-outline {
  text-decoration: none;
}

.pmt-btn-primary:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.pmt-btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

@media (max-width: 575px) {
  .pmt-btn-primary {
    padding: 13px 24px;
    font-size: 15px;
  }

  .pmt-btn-outline {
    padding: 12px 20px;
    font-size: 14.5px;
  }
}

/* ================= Summary ================= */
.pmt-summary-row {
  gap: 16px;
}

.pmt-summary-value {
  word-break: break-word;
}

/* ================= Sidebar: host card & recommendations ================= */
.pmt-host-card {
  text-align: center;
}

.pmt-host-photo {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}

.pmt-host-photo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--pmt-primary);
  box-shadow: 0 8px 20px var(--pmt-primary-glow);
}

.pmt-host-verified {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pmt-primary);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.pmt-host-name {
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--pmt-dark);
  margin-bottom: 4px;
}

.pmt-host-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--pmt-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.pmt-host-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  background: var(--pmt-sidebar-bg);
  border: 1px solid var(--pmt-border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}

.pmt-host-fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--pmt-muted);
}

.pmt-host-fact i {
  color: var(--pmt-primary);
  width: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.pmt-host-fact strong {
  color: var(--pmt-dark);
}

.pmt-host-fact .pmt-host-star {
  color: #F59E0B;
}

.pmt-host-about {
  text-align: left;
  margin-bottom: 18px;
}

.pmt-host-about h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pmt-muted);
  margin-bottom: 6px;
}

.pmt-host-about p {
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.55;
  color: var(--pmt-muted);
  margin: 0;
}

.pmt-host-card + .pmt-features-list {
  margin-top: 8px;
}

#planRecommendSlot:not(.d-none) ~ .pmt-features-list {
  margin-top: 24px;
}

.pmt-host-note {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pmt-primary);
  margin-bottom: 14px;
}

.pmt-recommend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pmt-recommend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: #FFFFFF;
  border: 1.5px solid var(--pmt-border);
  border-radius: 14px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pmt-recommend-item:hover,
.pmt-recommend-item:focus-visible {
  border-color: var(--pmt-primary);
  background: var(--pmt-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(7, 21, 22, 0.06);
}

.pmt-recommend-item img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pmt-primary);
  flex-shrink: 0;
}

.pmt-recommend-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.pmt-recommend-meta strong {
  display: block;
  font-family: var(--tp-ff-heading, 'Onest', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--pmt-dark);
  line-height: 1.25;
}

.pmt-recommend-meta span {
  display: block;
  font-size: 12.5px;
  color: var(--pmt-muted);
  margin-top: 2px;
}

.pmt-recommend-meta span i {
  color: #F59E0B;
  font-size: 11px;
}

.pmt-recommend-arrow {
  color: var(--pmt-muted);
  flex-shrink: 0;
}

.pmt-recommend-item:hover .pmt-recommend-arrow {
  color: var(--pmt-primary);
}

/* flatpickr above the sticky sidebar/header */
.flatpickr-calendar {
  z-index: 10000;
}
