/* Colorlib Registration 02 Palette - Professional & Mobile-Optimized */
:root {
  --primary: #6c5ce7;
  --primary-dark: #5340d8;
  --primary-gradient: linear-gradient(135deg, #6c5ce7 0%, #8e44ad 100%);
  --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --card-bg: #ffffff;
  --text-main: #2d3436;
  --text-muted: #636e72;
  --border-color: #dfe6e9;
  --success: #00b894;
  --callout-bg: #f8faff;
  --callout-border: #d0e1fd;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--bg-gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
  color: var(--text-main);
}

.wizard-container {
  width: 100%;
  max-width: 680px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  padding: 32px 24px;
}

/* Header */
.form-header {
  text-align: center;
  margin-bottom: 24px;
}

.form-header .mantra {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.form-header .brand-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #2d3436;
  margin: 4px 0;
}

.form-header .brand-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trip-banner {
  margin-top: 14px;
  background: linear-gradient(135deg, #f3f0ff 0%, #ede9fe 100%);
  border: 1px solid #d8b4fe;
  border-radius: 10px;
  padding: 12px 14px;
}

.trip-banner h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #581c87;
}

.trip-banner span {
  font-size: 0.82rem;
  color: #6b21a8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Stepper Progress Bar */
.stepper-wrapper {
  position: relative;
  margin: 28px 0;
}

.progress-bar-bg {
  position: absolute;
  top: 17px;
  left: 3%;
  width: 94%;
  height: 4px;
  background: #e2e8f0;
  z-index: 1;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width 0.35s ease;
}

.steps-nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.node-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #cbd5e1;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.node-label {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 6px;
  text-transform: uppercase;
}

.step-node.active .node-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.2);
}

.step-node.active .node-label {
  color: var(--primary);
}

.step-node.completed .node-circle {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

/* Step Views */
.form-step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-header {
  margin-bottom: 18px;
}

.step-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3436;
}

.step-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-box {
  background: #fdfdfd;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px 16px;
  margin-bottom: 24px;
}

/* Form Inputs */
.form-group {
  margin-bottom: 14px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 6px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d2d6dc;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #2d3748;
  background-color: #fff;
  transition: all 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

/* Info Callout */
.info-callout {
  background: var(--callout-bg);
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.info-callout p {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.55;
}

.info-callout .sub-text {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 10px;
}

.link-wrapper {
  margin: 10px 0;
}

.link-wrapper a {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.link-wrapper a:hover {
  background: var(--primary);
  color: #fff;
}

/* Checkboxes */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.45;
}

.custom-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.highlight-box {
  background: #f9f8ff;
  border: 1px dashed var(--primary);
  padding: 14px;
  border-radius: 8px;
}

/* Add-on Multi-Select Items */
.addon-selection-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.addon-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  transition: all 0.2s ease;
}

.addon-item-card:hover {
  border-color: #cbd5e1;
  background: #fafafa;
}

.addon-info {
  flex-grow: 1;
}

.addon-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.addon-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2d3748;
}

.addon-badge {
  background: #ede9fe;
  color: #6b21a8;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.addon-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

/* Add-on Notice Callout */
.addon-detail-box {
  background: #fff8eb;
  border-left: 4px solid #f39c12;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 14px 0;
  animation: fadeIn 0.3s ease-in-out;
}

.addon-detail-box h4 {
  font-size: 0.92rem;
  color: #b7791f;
  margin-bottom: 8px;
  font-weight: 600;
}

.addon-detail-box p {
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.5;
}

.addon-detail-box ul {
  margin-left: 20px;
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.6;
}

.addon-detail-box ul li {
  margin-bottom: 4px;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }

/* Yatri Cards */
.yatri-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px;
}

.yatri-card-header {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.remove-btn {
  color: #e74c3c;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}

.btn-add-yatri {
  width: 100%;
  padding: 11px;
  border: 2px dashed var(--primary);
  background: #f9f8ff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 24px;
  transition: all 0.2s;
}

.btn-add-yatri:hover {
  background: #ece9ff;
}

/* Summary Box */
.summary-box {
  background: #f8fafc;
  border-radius: 8px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  margin-top: 14px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 4px 0;
  color: #4a5568;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  border-top: 1px dashed #cbd5e1;
  padding-top: 8px;
  margin-top: 6px;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 12px;
}

.btn-group.single-btn {
  justify-content: flex-end;
}

.btn {
  flex: 1;
  padding: 13px;
  border: none;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-next, .btn-submit {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.btn-next:hover, .btn-submit:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-prev {
  background: #edf2f7;
  color: #4a5568;
}

.btn-prev:hover {
  background: #e2e8f0;
}

/* OTP Row */
.otp-row {
  display: flex;
  gap: 10px;
}

.btn-otp {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.help-text {
  font-size: 0.78rem;
  color: #718096;
  margin-top: 4px;
  display: block;
}

.review-box {
  background: #fff;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Mobile Screen Responsiveness */
@media (max-width: 520px) {
  .wizard-container {
    padding: 20px 14px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .node-label {
    display: none;
  }
}