.renovation-wizard-container {
  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: 12px;
  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: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.step-description {
  color: #6c757d;
  margin-bottom: 20px;
}

.renovation-wizard-form-group {
  margin-bottom: 1.5rem;
}
.renovation-wizard-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #495057;
}
.renovation-wizard-form-group.half {
  display: inline-block;
  width: calc(50% - 10px);
  vertical-align: top;
}
.renovation-wizard-form-group.half:nth-child(odd) {
  margin-right: 20px;
}
.renovation-wizard-form-group.third {
  display: inline-block;
  width: calc(33.333% - 14px);
  vertical-align: top;
  margin-right: 20px;
}
.renovation-wizard-form-group.two-thirds {
  display: inline-block;
  width: calc(66.666% - 6px);
  vertical-align: top;
}

.renovation-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%;
}
.renovation-wizard-form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.15);
  outline: none;
}
.renovation-wizard-form-input.is-invalid {
  border-color: #dc3545;
}
.renovation-wizard-form-input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

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

.services-checkboxes .form-check,
.rooms-checkboxes .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;
}
.services-checkboxes .form-check:hover,
.rooms-checkboxes .form-check:hover {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.03);
}
.services-checkboxes .form-check:has(.form-check-input:checked),
.rooms-checkboxes .form-check:has(.form-check-input:checked) {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.08);
}
.services-checkboxes .form-check .form-check-input,
.rooms-checkboxes .form-check .form-check-input {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}
.services-checkboxes .form-check .form-check-input:checked,
.rooms-checkboxes .form-check .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.services-checkboxes .form-check .form-check-input:checked ~ .form-check-label,
.rooms-checkboxes .form-check .form-check-input:checked ~ .form-check-label {
  color: var(--primary-color);
  font-weight: 500;
}
.services-checkboxes .form-check .form-check-label,
.rooms-checkboxes .form-check .form-check-label {
  cursor: pointer;
  margin-bottom: 0;
}

.form-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(var(--primary-color), 0.08);
  border-radius: 5px;
  padding: 15px 20px;
  margin-top: 20px;
}
.form-info svg {
  flex-shrink: 0;
  color: var(--primary-color);
}
.form-info span {
  color: #495057;
  font-size: 0.9rem;
  line-height: 1.5;
}

.file-upload-wrapper .form-control-file,
.file-upload-wrapper input[type=file] {
  border: 2px dashed #dee2e6;
  border-radius: 12px;
  padding: 40px 20px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.file-upload-wrapper .form-control-file:hover,
.file-upload-wrapper input[type=file]:hover {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.03);
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 15px;
}
.image-preview-grid .preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #dee2e6;
}
.image-preview-grid .preview-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.field-hint {
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 5px;
}

.privacy-checkbox {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}
.privacy-checkbox .form-check {
  display: flex;
  align-items: flex-start;
  padding-left: 0;
}
.privacy-checkbox .form-check .form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  margin-right: 12px;
  flex-shrink: 0;
  cursor: pointer;
}
.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(var(--primary-color), 0.15);
}
.privacy-checkbox .form-check .form-check-label {
  cursor: pointer;
  line-height: 1.5;
  color: #495057;
}
.privacy-checkbox .form-check .form-check-label a {
  color: var(--primary-color);
  text-decoration: underline;
}
.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: 10px;
}

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

.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;
  border: none;
}
.btn-wizard svg {
  width: 16px;
  height: 16px;
}

.btn-wizard-prev {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #495057;
}
.btn-wizard-prev:hover {
  background: #e9ecef;
  color: #212529;
}

.btn-wizard-next {
  background: var(--primary-color);
  border: none;
  color: #fff;
}
.btn-wizard-next:hover {
  background: #E88800;
  color: #fff;
}

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

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

.invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 5px;
}
.invalid-feedback.d-block {
  display: block !important;
}

.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;
}

@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;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .form-row .renovation-wizard-form-group.half, .form-row .renovation-wizard-form-group.third, .form-row .renovation-wizard-form-group.two-thirds {
    flex: auto;
    width: 100%;
  }
  .renovation-wizard-form-group.half, .renovation-wizard-form-group.third, .renovation-wizard-form-group.two-thirds {
    display: block;
    width: 100%;
    margin-right: 0;
  }
  .services-checkboxes .form-check,
  .rooms-checkboxes .form-check {
    display: flex;
    width: 100%;
    margin-right: 0;
  }
  .wizard-navigation {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .btn-wizard {
    width: auto;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .step-label {
    display: none;
  }
  .image-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
