/* -------------------------------------------------------------
 * 3-Step Moving Quote Wizard Styles - SM Packers & Movers
 * Font weights adjusted to normal / 500
 * ------------------------------------------------------------- */

.moving-quote-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  max-width: 480px;
  margin: 0 auto;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .moving-quote-card {
    padding: 24px 18px;
    border-radius: 20px;
  }
}

/* Top Badge */
.quote-badge-wrap {
  text-align: center;
  margin-bottom: 12px;
}

.quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #fff1f2;
  color: #e11d48;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.2px;
}

.quote-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Header Titles */
.quote-header-title {
  font-size: 26px;
  font-weight: 500;
  color: #0f172a;
  text-align: center;
  margin: 0 0 6px 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

@media (max-width: 576px) {
  .quote-header-title {
    font-size: 22px;
  }
}

.quote-header-subtitle {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  margin: 0 0 22px 0;
  font-weight: 400;
}

/* Stepper Progress Bar */
.quote-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 220px;
  margin: 0 auto 26px auto;
}

.step-dot-item {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #ffffff;
  font-weight: 500;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.step-dot-item.active {
  background-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.step-dot-item.completed {
  background-color: #16a34a;
}

.step-line-item {
  flex: 1;
  height: 3px;
  background-color: #cbd5e1;
  margin: 0 4px;
  transition: background-color 0.3s ease;
  z-index: 1;
}

.step-line-item.active {
  background-color: #dc2626;
}

.step-line-item.completed {
  background-color: #16a34a;
}

/* Step Panels */
.quote-step-panel {
  display: none;
  animation: fadeInStep 0.25s ease-in-out forwards;
}

.quote-step-panel.active {
  display: block;
}

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

.step-question-heading {
  font-size: 16px;
  font-weight: 500;
  color: #1e293b;
  margin: 0 0 16px 0;
  text-align: left;
}

/* Step 1 Service Cards */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.service-card-option {
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  user-select: none;
}

.service-card-option:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.service-card-option.selected {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.service-card-icon {
  width: 32px;
  height: 32px;
  color: #475569;
  transition: color 0.2s ease;
}

.service-card-option.selected .service-card-icon {
  color: #ef4444;
}

.service-card-label {
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.service-card-option.selected .service-card-label {
  color: #1e293b;
  font-weight: 500;
}

/* Form Controls */
.quote-form-group {
  margin-bottom: 18px;
  text-align: left;
}

.quote-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 6px;
}

.quote-label .required-star {
  color: #dc2626;
  margin-left: 2px;
}

.quote-input-control,
.quote-select-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 400;
  color: #0f172a;
  background-color: #ffffff;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.quote-input-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.quote-input-control:focus,
.quote-select-control:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.quote-input-control.is-invalid,
.quote-select-control.is-invalid {
  border-color: #ef4444;
  background-color: #fff5f5;
}

.quote-error-msg {
  color: #b91c1c;
  font-size: 13px;
  margin-top: 6px;
  display: none;
  font-weight: 400;
}

.quote-input-control.is-invalid ~ .quote-error-msg,
.quote-select-control.is-invalid ~ .quote-error-msg {
  display: block;
}

/* Buttons */
.quote-actions-row {
  margin-top: 24px;
}

.quote-actions-row.dual {
  display: flex;
  gap: 12px;
}

.btn-quote-primary {
  width: 100%;
  height: 48px;
  background: #dc2626;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.btn-quote-primary:hover {
  background: #b91c1c;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}

.btn-quote-primary:active {
  transform: translateY(0);
}

.btn-quote-secondary {
  flex: 0 0 32%;
  height: 48px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-quote-secondary:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* Success Card View */
.quote-success-wrapper {
  text-align: center;
  padding: 30px 10px 10px 10px;
}

.success-circle-icon {
  width: 72px;
  height: 72px;
  background-color: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.success-circle-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2;
}

.success-main-title {
  font-size: 26px;
  font-weight: 500;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.success-main-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 24px 0;
  font-weight: 400;
}

/* Footer Trust Badges */
.quote-trust-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
  color: #15803d;
  font-weight: 500;
}

@media (max-width: 400px) {
  .quote-trust-bar {
    font-size: 11px;
    gap: 6px;
  }
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.trust-badge-item svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}
