.clearing-wizard-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

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

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

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.progress-step.active .step-circle {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(var(--primary-color), 0.25);
}
.progress-step.active .step-label {
  color: var(--primary-color);
  font-weight: 600;
}
.progress-step.completed .step-circle {
  background: #E88800;
  border-color: #E88800;
  color: #fff;
}
.progress-step.completed .step-label {
  color: #E88800;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9ecef;
  border: 2px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #6c757d;
  transition: all 0.3s ease;
}

.step-label {
  margin-top: 8px;
  font-size: 11px;
  color: #6c757d;
  text-align: center;
  max-width: 70px;
}

.progress-line {
  flex: 1;
  height: 3px;
  background: #dee2e6;
  margin: 0 5px;
  margin-bottom: 30px;
  transition: background 0.3s ease;
}
.progress-line.completed {
  background: #E88800;
}

.progress-indicator {
  text-align: center;
  color: #6c757d;
}

.current-step {
  font-weight: 600;
  color: var(--primary-color);
}

.wizard-step-content {
  background: #fff;
  border-radius: 0.375rem;
  padding: 30px;
  border: 1px solid #dee2e6;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-description {
  font-family: "Gotham", sans-serif;
  color: #6c757d;
  margin-bottom: 20px;
}

.clearing-wizard-form-group {
  margin-bottom: 1.5rem;
}

.clearing-wizard-form-input {
  border-radius: 5px;
  border: 1px solid #dee2e6;
  padding: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}
.clearing-wizard-form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.15);
  outline: none;
}

.service-type-options > .invalid-feedback:first-child,
.object-type-options > .invalid-feedback:first-child,
.item-type-options > .invalid-feedback:first-child {
  margin-bottom: 15px;
  margin-top: 0;
}
.service-type-options .form-check,
.object-type-options .form-check,
.item-type-options .form-check {
  display: inline-flex;
  align-items: center;
  padding: 15px 20px;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}
.service-type-options .form-check:hover,
.object-type-options .form-check:hover,
.item-type-options .form-check:hover {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.03);
}
.service-type-options .form-check:has(.form-check-input:checked),
.object-type-options .form-check:has(.form-check-input:checked),
.item-type-options .form-check:has(.form-check-input:checked) {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.08);
}
.service-type-options .form-check .form-check-input,
.object-type-options .form-check .form-check-input,
.item-type-options .form-check .form-check-input {
  margin-right: 10px;
}
.service-type-options .form-check .form-check-input:checked ~ .form-check-label,
.object-type-options .form-check .form-check-input:checked ~ .form-check-label,
.item-type-options .form-check .form-check-input:checked ~ .form-check-label {
  color: var(--primary-color);
  font-weight: 500;
}
.service-type-options .form-check .form-check-label,
.object-type-options .form-check .form-check-label,
.item-type-options .form-check .form-check-label {
  cursor: pointer;
  margin-bottom: 0;
}

.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 10px;
}
.icon-card-grid.icon-card-grid-sm {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
}

.clearing-wizard-form-group > .icon-card-grid + .invalid-feedback,
.clearing-wizard-form-group > .invalid-feedback {
  display: block;
  margin-top: 10px;
  text-align: left;
  font-size: 0.875rem;
}

.icon-card {
  display: block;
  cursor: pointer;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  background: #fff;
  transition: all 0.3s ease;
  overflow: hidden;
}
.icon-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.icon-card.selected, .icon-card:has(input:checked) {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.05);
  box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.15);
}
.icon-card.selected .icon-card-icon, .icon-card:has(input:checked) .icon-card-icon {
  color: var(--primary-color);
}
.icon-card.selected .icon-card-label, .icon-card:has(input:checked) .icon-card-label {
  color: var(--primary-color);
  font-weight: 600;
}
.icon-card input[type=radio],
.icon-card input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.icon-card .icon-card-content {
  padding: 24px 16px;
  text-align: center;
}
.icon-card .icon-card-icon {
  color: #495057;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.icon-card .icon-card-icon svg {
  width: 48px;
  height: 48px;
}
.icon-card .icon-card-label {
  font-weight: 500;
  font-size: 1rem;
  color: #212529;
  margin-bottom: 4px;
}
.icon-card .icon-card-desc {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.4;
}

.image-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.image-select-item {
  position: relative;
}
.image-select-item input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}
.image-select-item input:checked + label {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.05);
  box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.15);
}
.image-select-item label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 15px;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}
.image-select-item label:hover {
  border-color: var(--primary-color);
}
.image-select-item .select-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #495057;
}
.image-select-item .select-label {
  font-weight: 500;
  text-align: center;
  color: #495057;
}
.image-select-item .select-description {
  font-size: 12px;
  color: #6c757d;
  margin-top: 5px;
  text-align: center;
}

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
  gap: 20px;
}

.btn-wizard {
  width: auto;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-wizard svg {
  width: 16px;
  height: 16px;
}

.btn-wizard-prev {
  font-family: "Kallistro", sans-serif;
  letter-spacing: 1px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #495057;
}
.btn-wizard-prev:hover {
  background: #e9ecef;
  color: #212529;
}

.btn-wizard-next {
  font-family: "Kallistro", sans-serif;
  letter-spacing: 1px;
  font-weight: 500;
  background: var(--secondary-color);
  border: none;
  color: #fff;
  width: 100%;
}
.btn-wizard-next:hover {
  filter: grayscale(5px);
  color: #fff;
}

.btn-wizard-submit {
  background: #E88800;
  border: none;
  color: #fff;
}
.btn-wizard-submit:hover {
  background: rgb(191.2, 112.0827586207, 0);
}

.range-slider-container {
  padding: 20px 0;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) var(--value, 50%), #dee2e6 var(--value, 50%), #dee2e6 100%);
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(var(--primary-color), 0.4);
  border: 3px solid #fff;
}
.range-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(var(--primary-color), 0.4);
}

.range-value-display {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 20px 0;
}
.range-value-display span {
  display: inline;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: #6c757d;
  font-size: 14px;
  margin-top: 10px;
}

.clearing-wizard-form .alert {
  border-radius: 5px;
  margin-bottom: 20px;
}

.clearing-wizard-form-group .onoffswitch {
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
.clearing-wizard-form-group .form-check {
  display: flex;
  align-items: flex-start;
  padding-left: 0;
}
.clearing-wizard-form-group .form-check .form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  margin-right: 12px;
  flex-shrink: 0;
  cursor: pointer;
  padding: 10px;
  margin-left: 0;
}
.clearing-wizard-form-group .form-check .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.clearing-wizard-form-group .form-check .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.15);
}
.clearing-wizard-form-group .form-check .form-check-label {
  cursor: pointer;
  line-height: 1.5;
  color: #495057;
}
.clearing-wizard-form-group .form-check .form-check-label a {
  color: var(--primary-color);
  text-decoration: underline;
}
.clearing-wizard-form-group .form-check .form-check-label a:hover {
  text-decoration: none;
}
.clearing-wizard-form-group:last-of-type {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

.thank-you-container {
  text-align: center;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}
.thank-you-container .thank-you-icon {
  width: 80px;
  height: 80px;
  background: rgba(232, 136, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}
.thank-you-container .thank-you-icon svg {
  width: 40px;
  height: 40px;
  color: #E88800;
}
.thank-you-container .thank-you-title {
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 15px;
}
.thank-you-container .thank-you-message {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}
.thank-you-container .thank-you-actions .btn {
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 500;
}

.pac-container {
  z-index: 10000 !important;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid #dee2e6;
  font-family: inherit;
  margin-top: 4px;
}
.pac-container .pac-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
}
.pac-container .pac-item:hover, .pac-container .pac-item.pac-item-selected {
  background-color: rgba(var(--primary-color), 0.08);
}
.pac-container .pac-item .pac-icon {
  margin-right: 10px;
}
.pac-container .pac-item .pac-item-query {
  font-weight: 500;
  color: #212529;
}
.pac-container .pac-item .pac-matched {
  font-weight: 600;
}

.google-autocomplete-full-address {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  border-color: var(--primary-color) !important;
}
.google-autocomplete-full-address::-moz-placeholder {
  color: #6c757d;
  font-style: italic;
}
.google-autocomplete-full-address::placeholder {
  color: #6c757d;
  font-style: italic;
}

@media (max-width: 768px) {
  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .progress-steps {
    align-items: center !important;
  }
  .progress-line {
    margin: 0 2px;
    margin-bottom: 0;
  }
  .wizard-step-content {
    padding: 20px 15px;
  }
  .service-type-options .form-check,
  .object-type-options .form-check,
  .item-type-options .form-check {
    display: flex;
    width: 100%;
    margin-right: 0;
  }
  .icon-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .icon-card-grid.icon-card-grid-sm {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .icon-card .icon-card-content {
    padding: 16px 12px;
  }
  .icon-card .icon-card-icon svg {
    width: 36px;
    height: 36px;
  }
  .image-select-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wizard-navigation {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .btn-wizard {
    width: auto;
    width: 100%;
    justify-content: center;
  }
  .range-value-display {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .image-select-grid {
    grid-template-columns: 1fr;
  }
  .icon-card-grid.icon-card-grid-sm {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-label {
    display: none;
  }
}
