/* ==========================================================================
   CLEAN & LUXURY PLAN MY TRIP STYLES - TRIPINBLINK
   ========================================================================== */

.plan-trip-wrapper {
  background-color: #f8fafc;
  padding-bottom: 80px;
}

/* Hero Section */
.plan-hero-banner {
  background: linear-gradient(135deg, #001b44 0%, #002b66 100%);
  padding: 54px 0 76px 0;
  color: #ffffff;
  position: relative;
}

.plan-hero-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: #f8fafc;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.plan-hero-title {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.plan-hero-subtitle {
  font-size: 15.5px;
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Main Form Card */
.plan-form-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(0, 27, 68, 0.05);
  padding: 36px 40px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

/* Step Wizard Progress Bar */
.wizard-progress-wrapper {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.step-badge-pill {
  background: rgba(0, 175, 169, 0.1);
  color: var(--brand-teal, #00afa9);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  display: inline-block;
}

.wizard-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.wizard-step-node {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #64748b;
  font-weight: 800;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #cbd5e1;
  transition: all 0.25s ease;
}

.step-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #94a3b8;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.wizard-step-node.active .step-circle {
  background: var(--brand-teal, #00afa9);
  color: #ffffff;
  border-color: var(--brand-teal, #00afa9);
  box-shadow: 0 4px 14px rgba(0, 175, 169, 0.35);
}

.wizard-step-node.active .step-label {
  color: #001b44;
}

.wizard-step-node.completed .step-circle {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.wizard-step-node.completed .step-label {
  color: #10b981;
}

.wizard-line {
  height: 3px;
  flex: 1;
  margin: 0 16px;
  background: #e2e8f0;
  border-radius: 99px;
  transition: all 0.25s ease;
}

.wizard-line.active {
  background: var(--brand-teal, #00afa9);
}

/* Form Controls & Labels */
.plan-input-label {
  font-size: 14px;
  font-weight: 700;
  color: #001b44;
  margin-bottom: 10px;
  display: block;
}

.plan-input-control {
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  padding: 12px 16px;
  font-size: 14px;
  color: #1e293b;
  width: 100%;
  transition: all 0.2s ease;
  background: #ffffff;
}

.plan-input-control:focus {
  border-color: var(--brand-teal, #00afa9);
  box-shadow: 0 0 0 3px rgba(0, 175, 169, 0.15);
  outline: none;
}

.plan-phone-group {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.plan-phone-group:focus-within {
  border-color: var(--brand-teal, #00afa9);
  box-shadow: 0 0 0 3px rgba(0, 175, 169, 0.15);
}

.plan-phone-code {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  background: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px 14px;
  padding: 0 26px 0 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  height: 100%;
  min-height: 46px;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  max-width: 130px;
}

.plan-phone-divider {
  width: 1px;
  height: 24px;
  background: #cbd5e1;
  flex-shrink: 0;
}

.plan-phone-input {
  border: none;
  background: transparent;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  font-size: 14px;
  color: #1e293b;
  outline: none;
}

.plan-phone-input::placeholder {
  color: #94a3b8;
}

/* Interest Selection Pills (Custom Chips) */
.interest-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.interest-checkbox-btn {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.interest-label-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.interest-label-btn:hover {
  border-color: var(--brand-teal, #00afa9);
  color: var(--brand-teal, #00afa9);
  transform: translateY(-1px);
}

.interest-checkbox-btn:checked + .interest-label-btn {
  background: rgba(0, 175, 169, 0.08) !important;
  border-color: var(--brand-teal, #00afa9) !important;
  color: var(--brand-teal, #00afa9) !important;
  box-shadow: 0 4px 14px rgba(0, 175, 169, 0.18) !important;
}

.interest-checkbox-btn:checked + .interest-label-btn::after {
  content: "✓";
  font-weight: 900;
  margin-left: 4px;
  font-size: 13px;
}

/* Time Picker Clean & Responsive Layout */
.time-picker-block {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  height: 48px;
  padding: 4px 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.time-picker-block:focus-within,
.time-picker-block:hover {
  border-color: var(--brand-teal, #00afa9);
}

.time-select-wrapper {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.time-select-mini {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #001b44;
  background: #f8fafc;
  outline: none;
  cursor: pointer;
  height: 34px;
  transition: all 0.2s ease;
}

.time-select-mini:focus,
.time-select-mini:hover {
  border-color: var(--brand-teal, #00afa9);
  background: #ffffff;
}

.time-colon {
  font-weight: 800;
  font-size: 14px;
  color: #64748b;
  user-select: none;
}

/* AM/PM Toggle Buttons */
.ampm-toggle-group {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}

.ampm-btn {
  border: none;
  background: transparent;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.ampm-btn.active {
  background: var(--brand-teal, #00afa9);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 175, 169, 0.3);
}

/* Disabled Time Block State */
.time-picker-block.disabled-time-block {
  opacity: 0.5;
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

.time-picker-block.disabled-time-block .time-select-mini {
  background: #e2e8f0 !important;
  color: #94a3b8 !important;
  border-color: #cbd5e1 !important;
  cursor: not-allowed !important;
}

.time-picker-block.disabled-time-block .ampm-toggle-group {
  background: #e2e8f0 !important;
}

.time-picker-block.disabled-time-block .ampm-btn.active {
  background: #94a3b8 !important;
  box-shadow: none !important;
}

/* Choice Cards (Transportation / Accommodation) */
.choice-card-checkbox {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

.choice-card-label {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px 20px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.choice-card-checkbox:checked + .choice-card-label {
  border-color: var(--brand-teal, #00afa9);
  background: rgba(0, 175, 169, 0.06);
  color: var(--brand-teal, #00afa9);
  box-shadow: 0 4px 12px rgba(0, 175, 169, 0.15);
}

.choice-card-label:hover {
  border-color: var(--brand-teal, #00afa9);
}

/* Counter Box */
.counter-box-wrapper {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.counter-box {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 3px;
}

.counter-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: none;
  background: #f1f5f9;
  color: #001b44;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.counter-btn:hover {
  background: var(--brand-teal, #00afa9);
  color: #ffffff;
}

.counter-val {
  width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #001b44;
}

/* Wizard Buttons */
.btn-wizard-next {
  background: var(--brand-teal, #00afa9);
  color: #ffffff !important;
  border: none;
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 14.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 175, 169, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-wizard-next:hover {
  background: #008f8a;
  transform: translateY(-2px);
}

.btn-wizard-prev {
  background: #ffffff;
  color: #475569 !important;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-wizard-prev:hover {
  border-color: #001b44;
  color: #001b44 !important;
}

/* Sidebar */
.plan-sidebar-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(0, 27, 68, 0.04);
  padding: 28px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.sidebar-step-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 20px 0;
  position: relative;
}

.sidebar-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  position: relative;
}

.sidebar-step-item:last-child {
  margin-bottom: 0;
}

/* Connecting Vertical Line between steps */
.sidebar-step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: -24px;
  width: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.step-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e6f7f6;
  color: var(--brand-teal, #00afa9);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-top: 1px;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: #001b44;
  margin-bottom: 3px;
  line-height: 1.3;
}

.step-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0;
}

.trust-item-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.trust-item-pill i {
  color: #10b981;
  font-size: 18px;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .plan-form-card,
  .plan-sidebar-card {
    margin-top: 20px;
    padding: 24px 18px;
  }
}

@media (max-width: 767.98px) {
  .wizard-progress-wrapper {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  .step-label {
    display: none;
  }

  .wizard-line {
    margin: 0 10px;
  }

  .step-circle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .btn-wizard-next {
    padding: 12px 18px;
    font-size: 13.5px;
    gap: 6px;
  }

  .btn-wizard-prev {
    padding: 11px 15px;
    font-size: 13.5px;
    gap: 6px;
  }
}

/* Select2 Multi-Select Badge Styling */
.select2-container--default .select2-selection--multiple {
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  min-height: 48px !important;
  padding: 4px 8px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  transition: all 0.25s ease !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--brand-teal, #00afa9) !important;
  box-shadow: 0 0 0 3.5px rgba(0, 175, 169, 0.15) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: rgba(0, 175, 169, 0.1) !important;
  border: 1px solid rgba(0, 175, 169, 0.25) !important;
  color: var(--brand-teal, #00afa9) !important;
  border-radius: 999px !important;
  padding: 4px 12px 4px 28px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  position: relative !important;
  margin: 2px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: var(--brand-teal, #00afa9) !important;
  border-right: none !important;
  position: absolute !important;
  left: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #ef4444 !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
  margin-top: 0 !important;
  height: 32px !important;
  font-size: 13.5px !important;
  color: #1e293b !important;
  font-family: inherit !important;
}

.select2-dropdown {
  border-radius: 12px !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 27, 68, 0.1) !important;
  z-index: 9999 !important;
}

.select2-results__option {
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--brand-teal, #00afa9) !important;
  color: #ffffff !important;
}
