.page-search-wizard {
  min-height: 100vh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.search-wizard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
}
.search-wizard-header__logo img {
  height: 32px;
  width: auto;
}
.search-wizard-header__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 24px;
  color: #333;
  line-height: 1;
  transition: color 0.2s ease;
}
.search-wizard-header__close:hover {
  color: #000;
}

.search-wizard-progress {
  height: 4px;
  background-color: #e9ecef;
  position: relative;
}
.search-wizard-progress__bar {
  height: 100%;
  background-color: #1CA766;
  transition: width 0.3s ease;
  width: 0%;
}

.search-wizard-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.search-wizard-step {
  display: none;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  -webkit-animation: fadeIn 0.3s ease;
  animation: fadeIn 0.3s ease;
}
.search-wizard-step.active {
  display: block;
}
.search-wizard-step__content {
  text-align: center;
}
.search-wizard-step__title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .search-wizard-step__title {
    font-size: 32px;
  }
}
.search-wizard-step__subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .search-wizard-step__subtitle {
    font-size: 18px;
  }
}
.search-wizard-step__question {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .search-wizard-step__question {
    font-size: 24px;
  }
}

.search-wizard-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .search-wizard-options {
    gap: 16px;
  }
}
.search-wizard-options .search-wizard-option:last-child:nth-child(odd) {
  grid-column: 1/-1;
  justify-self: center;
  width: calc(50% - 6px);
}
.search-wizard-options--3col {
  grid-template-columns: repeat(3, 1fr);
}
.search-wizard-options--3col .search-wizard-option:last-child:nth-child(odd) {
  grid-column: auto;
  width: 100%;
}
.search-wizard-options--5col {
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
@media (min-width: 768px) {
  .search-wizard-options--5col {
    gap: 12px;
  }
}
.search-wizard-options--5col .search-wizard-option {
  padding: 14px 8px;
  min-height: 48px;
}
.search-wizard-options--5col .search-wizard-option:last-child:nth-child(odd) {
  grid-column: auto;
  width: 100%;
}

.search-wizard-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.search-wizard-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 56px;
}
.search-wizard-option:hover {
  border-color: #1CA766;
  background-color: rgba(28, 167, 102, 0.02);
}
.search-wizard-option.selected {
  border-color: #1CA766;
  background-color: rgba(28, 167, 102, 0.05);
  box-shadow: 0 0 0 1px #1CA766;
}
.search-wizard-option__text {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-align: center;
}
@media (min-width: 768px) {
  .search-wizard-option__text {
    font-size: 15px;
  }
}

.search-wizard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  min-width: 160px;
}
.search-wizard-btn--primary {
  background-color: #1CA766;
  color: #fff;
}
.search-wizard-btn--primary:hover:not(:disabled) {
  background-color: #168451;
}
.search-wizard-btn--primary:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.search-wizard-btn--secondary {
  background-color: #fff;
  color: #333;
  border: 1px solid #e0e0e0;
}
.search-wizard-btn--secondary:hover {
  background-color: #f5f5f5;
}

.search-wizard-range-selects {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: nowrap;
}
@media (min-width: 768px) {
  .search-wizard-range-selects {
    gap: 24px;
  }
}

.search-wizard-select-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}
.search-wizard-select-group label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.search-wizard-select {
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  transition: border-color 0.2s ease;
}
.search-wizard-select:hover, .search-wizard-select:focus {
  border-color: #1CA766;
  outline: none;
}

.search-wizard-range-separator {
  font-size: 14px;
  color: #999;
  padding-bottom: 14px;
}

.search-wizard-suburb-search {
  position: relative;
  max-width: 400px;
  margin: 0 auto 24px;
}

.search-wizard-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-wizard-input-icon {
  position: absolute;
  left: 16px;
  color: #999;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.search-wizard-input-spinner {
  position: absolute;
  right: 16px;
  display: flex;
  align-items: center;
}

.search-wizard-input {
  width: 100%;
  padding: 14px 48px 14px 48px;
  font-size: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-wizard-input:hover {
  border-color: #ccc;
}
.search-wizard-input:focus {
  border-color: #1CA766;
  outline: none;
  box-shadow: 0 0 0 3px rgba(28, 167, 102, 0.1);
}
.search-wizard-input::-webkit-input-placeholder {
  color: #999;
}
.search-wizard-input::-moz-placeholder {
  color: #999;
}
.search-wizard-input::-ms-input-placeholder {
  color: #999;
}
.search-wizard-input::placeholder {
  color: #999;
}

.search-wizard-suburb-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.search-wizard-suburb-results:empty {
  display: none;
}

.search-wizard-results-label {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.search-wizard-suburb-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.15s ease;
}
.search-wizard-suburb-item:last-child {
  border-bottom: none;
}
.search-wizard-suburb-item:hover {
  background-color: #f8f9fa;
}
.search-wizard-suburb-item strong {
  color: #1CA766;
}

.search-wizard-no-results {
  padding: 16px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.search-wizard-selected-suburb {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 48px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}
.search-wizard-selected-suburb .search-wizard-input-icon {
  position: absolute;
  left: 16px;
  color: #999;
  pointer-events: none;
  display: flex;
  align-items: center;
}
.search-wizard-selected-suburb .selected-suburb-name {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-align: center;
}
.search-wizard-selected-suburb .selected-suburb-clear {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: #666;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s ease;
}
.search-wizard-selected-suburb .selected-suburb-clear:hover {
  color: #333;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
.page-search-wizard ~ .page-bottom,
.page-search-wizard ~ footer {
  display: none;
}

body.path-search .page-top,
body.path-search .page-bottom {
  display: none;
}
body.path-search .page-main {
  padding: 0;
  margin: 0;
}