.inspection-wizard-container,
.online-inspection-wizard-container {
  max-width: 635px;
  margin: 0 auto;
  padding: 20px;
}

.online-inspection-wizard-container {
  max-width: 900px;
}

.appointment-calendar-wrapper {
  margin-bottom: 20px;
}

.appointment-calendar {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.calendar-month-year {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
}

.calendar-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  background: #fff;
  color: #495057;
  cursor: pointer;
  transition: all 0.3s ease;
}
.calendar-nav-btn:hover {
  background: #f8f9fa;
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.calendar-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day-header {
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: #6c757d;
  padding: 8px 0;
}

.calendar-day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 5px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  border: 1px solid transparent;
}
.calendar-day:hover:not(.disabled):not(.empty) {
  background: rgba(var(--primary-color), 0.1);
  border-color: var(--primary-color);
}
.calendar-day.empty {
  cursor: default;
}
.calendar-day.disabled {
  color: #dee2e6;
  cursor: not-allowed;
  background: #f8f9fa;
}
.calendar-day.selected {
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  border-color: var(--primary-color);
}
.calendar-day.selected:hover {
  background: var(--secondary-color) !important;
}
.calendar-day.today:not(.selected) {
  border: 2px solid var(--primary-color);
  font-weight: 600;
}

.selected-date-display {
  padding: 10px 15px;
  background: rgba(232, 136, 0, 0.1);
  border-radius: 5px;
  font-size: 0.95rem;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.time-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border: 2px solid #dee2e6;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  text-align: center;
}
.time-slot:hover {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.05);
}
.time-slot.selected, .time-slot:has(input:checked) {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.time-slot.selected .time-slot-label, .time-slot:has(input:checked) .time-slot-label {
  color: #fff;
}
.time-slot .time-slot-label {
  font-weight: 500;
  font-size: 0.95rem;
}

.video-service-options,
.move-type-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.radio-card {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}
.radio-card:hover {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.03);
  transform: translateY(-1px);
}
.radio-card input[type=radio] {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  cursor: pointer;
  accent-color: var(--primary-color);
  flex-shrink: 0;
}
.radio-card.selected, .radio-card:has(input:checked) {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.08);
  box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.15);
}
.radio-card.selected .radio-label, .radio-card:has(input:checked) .radio-label {
  color: var(--primary-color);
  font-weight: 600;
}
.radio-card .radio-label {
  font-size: 0.95rem;
  color: #495057;
  transition: color 0.2s ease;
}

.checkbox-option {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 2px solid #dee2e6;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  margin-bottom: 10px;
}
.checkbox-option:hover {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.03);
}
.checkbox-option input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  cursor: pointer;
  accent-color: var(--primary-color);
  flex-shrink: 0;
}
.checkbox-option:has(input:checked) {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.08);
}
.checkbox-option:has(input:checked) .checkbox-label {
  color: var(--primary-color);
  font-weight: 500;
}
.checkbox-option .checkbox-label {
  font-size: 0.95rem;
  color: #495057;
}

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

.progress-steps {
  display: flex;
  align-items: flex-start;
  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;
  line-height: 1;
}

.progress-line {
  flex: 1;
  height: 3px;
  background: #dee2e6;
  margin: 0 5px;
  transition: background 0.3s ease;
  margin-top: 15px;
}
.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);
}

.location-type-options .radio-option {
  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;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

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

.inspection-wizard-form-group,
.online-inspection-wizard-form-group {
  margin-bottom: 1.5rem;
}
.inspection-wizard-form-group input[type=radio],
.online-inspection-wizard-form-group input[type=radio] {
  display: none;
}

.inspection-wizard-form-input,
.online-inspection-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%;
}
.inspection-wizard-form-input:focus,
.online-inspection-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 .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;
}

.inspection-wizard-form-group > .icon-card-grid + .invalid-feedback,
.inspection-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;
}

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

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

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

.inspection-wizard-form-group .onoffswitch {
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
.inspection-wizard-form-group .form-check {
  display: flex;
  align-items: flex-start;
  padding-left: 0;
}
.inspection-wizard-form-group .form-check .form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  margin-right: 12px;
  flex-shrink: 0;
  cursor: pointer;
}
.inspection-wizard-form-group .form-check .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.inspection-wizard-form-group .form-check .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.15);
}
.inspection-wizard-form-group .form-check .form-check-label {
  cursor: pointer;
  line-height: 1.5;
  color: #495057;
}
.inspection-wizard-form-group .form-check .form-check-label a {
  color: var(--primary-color);
  text-decoration: underline;
}
.inspection-wizard-form-group .form-check .form-check-label a:hover {
  text-decoration: none;
}
.inspection-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-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;
  }
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.checkbox-card {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  position: relative;
}
.checkbox-card:hover {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.03);
  transform: translateY(-1px);
}
.checkbox-card input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  cursor: pointer;
  accent-color: var(--primary-color);
  flex-shrink: 0;
}
.checkbox-card input[type=checkbox]:checked ~ .checkbox-label {
  color: var(--primary-color);
  font-weight: 600;
}
.checkbox-card:has(input:checked) {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.08);
  box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.15);
}
.checkbox-card .checkbox-label {
  font-size: 0.95rem;
  color: #495057;
  transition: color 0.2s ease;
  line-height: 1.3;
}
.checkbox-card.service-card {
  padding: 14px 16px;
}
.checkbox-card.service-card .checkbox-label {
  font-size: 0.9rem;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #212529;
  margin: 25px 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e9ecef;
}

.subsection-title {
  font-size: 1rem;
  font-weight: 500;
  color: #495057;
  margin: 20px 0 12px 0;
}

.conditional-field {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.alert-info {
  background-color: rgba(13, 202, 240, 0.1);
  border: 1px solid rgba(13, 202, 240, 0.3);
  color: rgb(5.1383399209, 79.8418972332, 94.8616600791);
  border-radius: 5px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
}
.alert-info i, .alert-info svg {
  color: #0dcaf0;
  flex-shrink: 0;
}
.alert-info span {
  margin-left: 10px;
}

.alert-light {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #495057;
  border-radius: 5px;
  padding: 15px 20px;
  display: flex;
}
.alert-light i, .alert-light svg {
  color: #ffc107;
  flex-shrink: 0;
}

.image-upload-container {
  border: 2px dashed #dee2e6;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  background: #f8f9fa;
  display: flex;
}
.image-upload-container:hover {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color), 0.03);
}
.image-upload-container input[type=file] {
  border: none;
  background: transparent;
  padding: 0;
  text-align: center;
}
.image-upload-container input[type=file]::file-selector-button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 15px;
  transition: background 0.2s ease;
}
.image-upload-container input[type=file]::file-selector-button:hover {
  background: #E88800;
}

.image-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 15px;
}
.image-preview-container .image-preview {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}
.image-preview-container .image-preview img {
  width: 100%;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
}
.image-preview-container .image-preview .remove-image {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(220, 53, 69, 0.9);
  color: #fff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-preview-container .image-preview .remove-image:hover {
  background: #dc3545;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 8px;
}
.invalid-feedback.show {
  display: block;
}

.is-invalid {
  border-color: #dc3545 !important;
}
.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.wizard-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}
.wizard-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid #dee2e6;
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.form-label {
  display: block;
  font-weight: 500;
  color: #495057;
  margin-bottom: 8px;
}
.form-label.required::after {
  content: " *";
  color: #dc3545;
}

select.inspection-wizard-form-input,
.inspection-wizard-form-group select {
  -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' fill='%236c757d' 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 12px center;
  padding-right: 35px;
}

input[type=date].inspection-wizard-form-input {
  position: relative;
}
input[type=date].inspection-wizard-form-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
}
input[type=date].inspection-wizard-form-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

@media (min-width: 576px) {
  .inspection-wizard-form .inspection-wizard-form-group[class*=first_name], .inspection-wizard-form .inspection-wizard-form-group[class*=last_name], .inspection-wizard-form .inspection-wizard-form-group[class*=address_zip_code], .inspection-wizard-form .inspection-wizard-form-group[class*=address_city] {
    display: inline-block;
    width: calc(50% - 10px);
    vertical-align: top;
  }
  .inspection-wizard-form .inspection-wizard-form-group[class*=first_name], .inspection-wizard-form .inspection-wizard-form-group[class*=address_zip_code] {
    margin-right: 20px;
  }
}
@media (max-width: 768px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  .checkbox-card {
    padding: 14px 16px;
  }
  .image-upload-container {
    padding: 20px 15px;
  }
  .image-preview-container {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
  .time-slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .video-service-options,
  .move-type-options {
    grid-template-columns: 1fr 1fr;
  }
  .radio-card {
    padding: 10px 12px;
  }
  .appointment-calendar {
    max-width: 100%;
    padding: 15px;
  }
  .calendar-day {
    height: 36px;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .checkbox-grid.services-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.05rem;
  }
  .image-preview-container .image-preview img {
    height: 60px;
  }
  .time-slots-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .time-slot {
    padding: 10px 6px;
  }
  .time-slot .time-slot-label {
    font-size: 0.85rem;
  }
  .video-service-options,
  .move-type-options {
    grid-template-columns: 1fr;
  }
}
.review-summary .review-label {
  font-weight: 600;
}

.review-section-title {
  margin: 20px 0 5px;
  font-weight: 600;
  padding-bottom: 5px;
  font-size: 19px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1803921569);
  color: var(--primary-color);
}
