.assembly-wizard-container {
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wizard-progress-bar {
  margin-bottom: 40px;
  padding: 0 10px;
}

.progress-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}
.progress-step.active .step-circle {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  transform: scale(1.1);
}
.progress-step.active .step-label {
  color: var(--primary-color);
  font-weight: 600;
}
.progress-step.completed .step-circle {
  background: #e88800;
  border-color: #e88800;
  color: #ffffff;
}
.progress-step.completed .step-label {
  color: #e88800;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: #6b7280;
  transition: all 0.3s ease;
}
.step-circle svg {
  width: 18px;
  height: 18px;
}

.step-label {
  margin-top: 10px;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
  font-weight: 500;
}

.progress-line {
  flex: 1;
  height: 3px;
  background: #e5e7eb;
  margin: 22px 8px 0;
  border-radius: 2px;
  transition: background 0.4s ease;
}
.progress-line.completed {
  background: #e88800;
}

.progress-indicator {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  margin-top: 10px;
}
.progress-indicator .current-step {
  font-weight: 600;
  color: var(--primary-color);
}
.progress-indicator .total-steps {
  color: #9ca3af;
}

.wizard-step-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: 1px solid #f3f4f6;
}

.step-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.step-description {
  color: #6b7280;
  margin-bottom: 32px;
  font-size: 1rem;
  line-height: 1.5;
}

.assembly-wizard-form-group {
  margin-bottom: 1.5rem;
}
.assembly-wizard-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
}
.assembly-wizard-form-group label.required::after {
  content: " *";
  color: #ef4444;
}
.assembly-wizard-form-group.half {
  display: inline-block;
  width: calc(50% - 12px);
  vertical-align: top;
}
.assembly-wizard-form-group.third {
  display: inline-block;
  width: calc(33.333% - 16px);
  vertical-align: top;
}
.assembly-wizard-form-group.two-thirds {
  display: inline-block;
  width: calc(66.666% - 8px);
  vertical-align: top;
}

.assembly-wizard-form-input {
  border-radius: 5px;
  border: 2px solid #e5e7eb;
  padding: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  font-size: 15px;
  color: #1f2937;
  background: #ffffff;
}
.assembly-wizard-form-input::-moz-placeholder {
  color: #9ca3af;
}
.assembly-wizard-form-input::placeholder {
  color: #9ca3af;
}
.assembly-wizard-form-input:hover {
  border-color: #d1d5db;
}
.assembly-wizard-form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}
.assembly-wizard-form-input.is-invalid {
  border-color: #ef4444;
}
.assembly-wizard-form-input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

select.assembly-wizard-form-input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
  cursor: pointer;
}

textarea.assembly-wizard-form-input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 0;
}
.form-row .assembly-wizard-form-group {
  flex: 1;
  display: block;
  width: auto;
}
.form-row .assembly-wizard-form-group.half {
  flex: 1;
  width: auto;
}
.form-row .assembly-wizard-form-group.third {
  flex: 0 0 33%;
  width: auto;
}
.form-row .assembly-wizard-form-group.two-thirds {
  flex: 0 0 calc(67% - 12px);
  width: auto;
}

.assembly-type-radios {
  font-family: "Gotham", sans-serif;
}
.assembly-type-radios .form-label {
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
  font-family: "Gotham", sans-serif;
}
.assembly-type-radios .form-label .required {
  color: #ef4444;
}
.assembly-type-radios .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.assembly-type-radios .radio-option {
  display: inline-flex;
  align-items: center;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff;
  min-width: 140px;
}
.assembly-type-radios .radio-option:hover {
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
}
.assembly-type-radios .radio-option:has(input[type=radio]:checked) {
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 0 1px var(--primary-color);
}
.assembly-type-radios .radio-option input[type=radio] {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  accent-color: var(--primary-color);
  cursor: pointer;
  flex-shrink: 0;
}
.assembly-type-radios .radio-option input[type=radio]:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.assembly-type-radios .radio-option input[type=radio]:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.assembly-type-radios .radio-option .radio-label {
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
  line-height: 1.4;
}

.multi-check-list-wrapper .form-check-input {
  display: none !important;
}

.assembly-type-checkboxes .form-check,
.item-type-checkboxes .form-check {
  display: inline-flex;
  align-items: center;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  margin-right: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff;
  min-width: 140px;
  justify-content: center;
}
.assembly-type-checkboxes .form-check:hover,
.item-type-checkboxes .form-check:hover {
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
}
.assembly-type-checkboxes .form-check:has(.form-check-input:checked),
.item-type-checkboxes .form-check:has(.form-check-input:checked) {
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 0 1px var(--primary-color);
}
.assembly-type-checkboxes .form-check .form-check-input,
.item-type-checkboxes .form-check .form-check-input {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  accent-color: var(--primary-color);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 0;
}
.assembly-type-checkboxes .form-check .form-check-input:checked,
.item-type-checkboxes .form-check .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.assembly-type-checkboxes .form-check .form-check-input:focus,
.item-type-checkboxes .form-check .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.assembly-type-checkboxes .form-check .form-check-label,
.item-type-checkboxes .form-check .form-check-label {
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
  line-height: 1.4;
}

.form-info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 5px;
  padding: 16px 20px;
  margin-top: 24px;
  border: 1px solid rgba(var(--primary-color), 0.2);
}
.form-info svg {
  flex-shrink: 0;
  color: var(--primary-color);
  margin-top: 2px;
}
.form-info span {
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}

.file-upload-wrapper input[type=file] {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 40px 20px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f9fafb;
  text-align: center;
}
.file-upload-wrapper input[type=file]:hover {
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
}
.file-upload-wrapper input[type=file]:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.file-upload-wrapper.dragover input[type=file] {
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.image-preview-grid .preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  background: #f3f4f6;
}
.image-preview-grid .preview-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.image-preview-grid .preview-item .remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ef4444;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.image-preview-grid .preview-item .remove-btn:hover {
  background: rgb(234.9802955665, 21.0197044335, 21.0197044335);
}
.image-preview-grid .preview-item:hover .remove-btn {
  opacity: 1;
}

.field-hint {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
  line-height: 1.5;
}

.privacy-checkbox {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.privacy-checkbox .form-check {
  display: flex;
  align-items: flex-start;
  padding-left: 0;
}
.privacy-checkbox .form-check .form-check-input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  margin-right: 14px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--primary-color);
}
.privacy-checkbox .form-check .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.privacy-checkbox .form-check .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.privacy-checkbox .form-check .form-check-label {
  cursor: pointer;
  line-height: 1.6;
  color: #4b5563;
  font-size: 14px;
}
.privacy-checkbox .form-check .form-check-label a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 500;
}
.privacy-checkbox .form-check .form-check-label a:hover {
  text-decoration: none;
}
.privacy-checkbox .onoffswitch {
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
}

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.btn-wizard {
  width: auto;
  padding: 14px 32px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  gap: 8px;
}
.btn-wizard svg {
  width: 16px;
  height: 16px;
}
.btn-wizard:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-wizard-prev {
  background: #ffffff;
  border: 2px solid #d1d5db;
  color: #374151;
}
.btn-wizard-prev:hover:not(:disabled) {
  background: #e5e7eb;
  border-color: #9ca3af;
  color: #111827;
}

.btn-wizard-next {
  background: var(--primary-color);
  color: #ffffff;
}
.btn-wizard-next:hover:not(:disabled) {
  background: color-mix(in srgb, var(--secondary-color) 80%, transparent);
  color: #ffffff;
}
.btn-wizard-next:active {
  transform: translateY(0);
}

.btn-wizard-submit {
  background: #e88800;
  color: #ffffff;
  padding: 16px 40px;
}
.btn-wizard-submit:hover:not(:disabled) {
  background: rgb(191.2, 112.0827586207, 0);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.btn-wizard-submit:active {
  transform: translateY(0);
}

.assembly-messages {
  margin-top: 20px;
}

.assembly-success-message,
.assembly-error-message {
  padding: 16px 20px;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.5;
}

.assembly-success-message {
  background: rgba(16, 185, 129, 0.1);
  color: rgb(181, 106.1034482759, 0);
  border: 1px solid rgba(232, 136, 0, 0.3);
}

.assembly-error-message {
  background: rgba(239, 68, 68, 0.1);
  color: rgb(234.9802955665, 21.0197044335, 21.0197044335);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.invalid-feedback {
  display: block;
  color: #ef4444;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}
.invalid-feedback.d-block {
  display: block !important;
}

.spinner-border {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}
.thank-you-container {
  text-align: center;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}
.thank-you-container .thank-you-icon {
  width: 90px;
  height: 90px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}
.thank-you-container .thank-you-icon svg {
  width: 45px;
  height: 45px;
  color: #e88800;
}
.thank-you-container .thank-you-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}
.thank-you-container .thank-you-message {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.7;
}
.thank-you-container .thank-you-actions .btn {
  padding: 14px 32px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .wizard-progress-bar {
    padding: 0;
  }
  .step-circle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .step-circle svg {
    width: 14px;
    height: 14px;
  }
  .progress-steps {
    align-items: center !important;
  }
  .progress-line {
    margin: 0 2px;
    margin-bottom: 0;
  }
  .wizard-step-content {
    padding: 28px 20px;
    border-radius: 12px;
  }
  .step-title {
    font-size: 1.5rem;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .form-row .assembly-wizard-form-group.half, .form-row .assembly-wizard-form-group.third, .form-row .assembly-wizard-form-group.two-thirds {
    flex: auto;
    width: 100%;
  }
  .assembly-wizard-form-group.half, .assembly-wizard-form-group.third, .assembly-wizard-form-group.two-thirds {
    display: block;
    width: 100%;
  }
  .assembly-type-radios .radio-group {
    flex-direction: column;
  }
  .assembly-type-radios .radio-option {
    width: 100%;
  }
  .assembly-type-checkboxes .form-check,
  .item-type-checkboxes .form-check {
    display: flex;
    width: 100%;
    margin-right: 0;
  }
  .wizard-navigation {
    flex-direction: column-reverse;
    gap: 12px;
  }
  .btn-wizard {
    width: auto;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .step-label {
    display: none;
  }
  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .progress-line {
    margin: 16px 2px 0;
  }
  .wizard-step-content {
    padding: 24px 16px;
  }
  .step-title {
    font-size: 1.25rem;
  }
  .step-description {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .assembly-wizard-form-input {
    padding: 8px;
    font-size: 14px;
  }
  .image-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .btn-wizard {
    width: auto;
    padding: 12px 24px;
    font-size: 14px;
  }
}
