/* ==========================================================================
   BARUN MOVE (바른무브) - Multi-Step Quote Wizard Styling
   ========================================================================== */

.quote-page-main {
  padding-top: 40px;
  padding-bottom: 80px;
  min-height: calc(100vh - var(--bm-header-height) - var(--bm-topbar-height));
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 240px);
}

.wizard-container {
  max-width: 680px;
  margin: 0 auto;
}

/* Wizard Header */
.wizard-header-box {
  text-align: center;
  margin-bottom: 32px;
}

.wizard-main-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--bm-primary-900);
  letter-spacing: -0.02em;
}

.wizard-sub-title {
  font-size: 0.9375rem;
  color: var(--bm-text-muted);
  margin-top: 6px;
}

/* Progress Stepper */
.stepper-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  position: relative;
}

.stepper-bar::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--bm-border-subtle);
  z-index: 1;
}

.step-progress-line {
  position: absolute;
  top: 18px;
  left: 10%;
  width: 0%;
  height: 2px;
  background-color: var(--bm-primary-500);
  z-index: 2;
  transition: width var(--bm-transition-smooth);
}

.stepper-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
}

.node-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--bm-radius-full);
  background-color: var(--bm-bg-surface);
  border: 2px solid var(--bm-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--bm-text-muted);
  transition: all var(--bm-transition-fast);
}

.stepper-node.active .node-circle {
  background-color: var(--bm-primary-500);
  border-color: var(--bm-primary-500);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.stepper-node.completed .node-circle {
  background-color: #10B981;
  border-color: #10B981;
  color: #FFFFFF;
}

.node-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bm-text-muted);
}

.stepper-node.active .node-label {
  color: var(--bm-primary-900);
  font-weight: 700;
}

/* Wizard Form Card */
.wizard-card {
  background-color: var(--bm-bg-surface);
  border: 1px solid var(--bm-border-subtle);
  border-radius: var(--bm-radius-xl);
  padding: 32px 24px;
  box-shadow: var(--bm-shadow-lg);
}

@media (min-width: 768px) {
  .wizard-card {
    padding: 40px 36px;
  }
}

.wizard-step-section {
  display: none;
}

.wizard-step-section.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-inner-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bm-primary-900);
  margin-bottom: 6px;
}

.step-inner-desc {
  font-size: 0.875rem;
  color: var(--bm-text-muted);
  margin-bottom: 24px;
}

/* Option Cards (Selection Grid) */
.option-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.option-card-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 14px;
  border: 1.5px solid var(--bm-border-subtle);
  border-radius: var(--bm-radius-md);
  background-color: var(--bm-bg-surface);
  cursor: pointer;
  transition: all var(--bm-transition-fast);
  text-align: center;
}

.option-card-label input[type="radio"] {
  display: none;
}

.option-card-label i {
  font-size: 1.75rem;
  color: var(--bm-text-muted);
}

.option-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bm-primary-900);
}

.option-sub {
  font-size: 0.75rem;
  color: var(--bm-text-muted);
}

.option-card-label:has(input:checked) {
  border-color: var(--bm-primary-500);
  background-color: var(--bm-primary-50);
  box-shadow: 0 0 0 1px var(--bm-primary-500);
}

.option-card-label:has(input:checked) i {
  color: var(--bm-primary-600);
}

/* Form Fields */
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

@media (min-width: 600px) {
  .field-row.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bm-primary-800);
  margin-bottom: 8px;
}

.field-label .required {
  color: var(--bm-danger);
  margin-left: 2px;
}

.field-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--bm-border-subtle);
  border-radius: var(--bm-radius-md);
  background-color: var(--bm-bg-surface-alt);
  font-size: 0.9375rem;
  color: var(--bm-text-main);
  transition: all var(--bm-transition-fast);
}

.field-input:focus {
  background-color: var(--bm-bg-surface);
  border-color: var(--bm-primary-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Environment Checklist Radios */
.env-radios {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}

.env-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--bm-primary-800);
  cursor: pointer;
}

/* Lifestyle Add-on Bundle Cards */
.bundle-select-box {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--bm-radius-lg);
  padding: 20px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.bundle-box-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--bm-primary-900);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.bundle-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background-color: #FFFFFF;
  border: 1px solid var(--bm-border-subtle);
  border-radius: var(--bm-radius-md);
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color var(--bm-transition-fast);
}

.bundle-checkbox-item:hover {
  border-color: var(--bm-primary-400);
}

.bundle-checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--bm-primary-500);
}

.bundle-content {
  display: flex;
  flex-direction: column;
}

.bundle-item-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bm-primary-900);
}

.bundle-item-sub {
  font-size: 0.75rem;
  color: var(--bm-text-muted);
  margin-top: 2px;
}

.bundle-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--bm-accent);
  background-color: var(--bm-accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* Wizard Button Bar */
.wizard-nav-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--bm-border-subtle);
}

.btn-wizard-prev {
  height: 48px;
  padding: 0 20px;
  background-color: var(--bm-bg-surface-alt);
  color: var(--bm-text-muted);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--bm-radius-md);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--bm-transition-fast);
}

.btn-wizard-prev:hover {
  background-color: #E2E8F0;
  color: var(--bm-primary-900);
}

.btn-wizard-next {
  height: 52px;
  padding: 0 32px;
  background: linear-gradient(135deg, var(--bm-primary-500) 0%, var(--bm-primary-600) 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--bm-radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all var(--bm-transition-fast);
}

.btn-wizard-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.btn-wizard-submit {
  height: 52px;
  padding: 0 36px;
  background: linear-gradient(135deg, var(--bm-accent) 0%, var(--bm-accent-hover) 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: var(--bm-radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  box-shadow: 0 6px 20px rgba(255, 91, 34, 0.4);
  transition: all var(--bm-transition-fast);
}

.btn-wizard-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 91, 34, 0.5);
}

/* Confirmation / Success Screen (Step 4) */
.confirmation-box {
  text-align: center;
  padding: 24px 0;
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--bm-radius-full);
  background-color: #D1FAE5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
}

.confirmation-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bm-primary-900);
  margin-bottom: 8px;
}

.confirmation-desc {
  font-size: 0.9375rem;
  color: var(--bm-text-muted);
  line-height: 1.6;
}

.ticket-number-card {
  margin: 24px auto;
  padding: 16px 24px;
  background-color: #F1F5F9;
  border-radius: var(--bm-radius-md);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ticket-lbl {
  font-size: 0.8125rem;
  color: var(--bm-text-muted);
}

.ticket-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bm-primary-600);
  letter-spacing: 0.05em;
}

.btn-home-return {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  background-color: var(--bm-primary-900);
  color: #FFFFFF;
  border-radius: var(--bm-radius-md);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-top: 16px;
}
