/* Renovation Wizard Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    sans-serif;
  color: #111827;
  background-color: #f9fafb;
  line-height: 1.5;
}

.renovation-wizard-container {
  max-width: 768px;
  margin: 40px auto;
  padding: 20px;
}

.renovation-wizard-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #111827;
}

.renovation-wizard-description {
  text-align: center;
  color: #6b7280;
  margin-bottom: 40px;
}

/* Progress Bar */
.renovation-wizard-progress {
  margin-bottom: 32px;
}

.renovation-wizard-progress-bar {
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.renovation-wizard-progress-indicator {
  height: 100%;
  background-color: #269acc;
  transition: width 0.3s ease;
}

.renovation-wizard-progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #6b7280;
}

/* Card Styles */
.wizard-step {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  padding: 24px;
  margin-bottom: 24px;
}

.wizard-step h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.step-description {
  color: #6b7280;
  margin-bottom: 24px;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.form-row .form-group {
  flex: 1 0 calc(50% - 20px);
  margin: 0 10px 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #269acc;
  box-shadow: 0 0 0 2px rgba(38, 154, 204, 0.1);
}

input.error {
  border-color: #ef4444;
}

.email-error {
  color: #ef4444;
  font-size: 14px;
  margin-top: 5px;
  display: flex;
  align-items: center;
}

.email-error:before {
  content: "⚠";
  margin-right: 5px;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* Radio Options */
.radio-option {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.radio-option input[type="radio"] {
  margin-right: 8px;
}

/* Property Type Options */
.property-type-options,
.living-situation-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.property-type-option input[type="radio"],
.situation-option input[type="radio"] {
  display: none;
}

.property-type-option label,
.situation-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.property-type-option input[type="radio"]:checked + label,
.situation-option input[type="radio"]:checked + label {
  border-color: #269acc;
  background-color: rgba(38, 154, 204, 0.05);
}

.property-type-option label:hover,
.situation-option label:hover {
  background-color: #f9fafb;
}

.property-type-option .icon,
.situation-option .icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.property-type-option .label,
.situation-option .label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #111827;
}

.property-type-option .description,
.situation-option .description {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
}

/* Info Box */
.info-box {
  background-color: #f3f4f6;
  border-radius: 6px;
  padding: 16px;
  margin-top: 24px;
}

.info-box h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #111827;
}

.info-box ul {
  margin: 0;
  padding-left: 20px;
}

.info-box li {
  margin-bottom: 5px;
  color: #6b7280;
}

/* Privacy Notice */
.privacy-notice {
  background-color: #f3f4f6;
  border-radius: 6px;
  padding: 16px;
  margin-top: 24px;
  font-size: 14px;
  color: #6b7280;
}

/* Navigation Buttons */
.wizard-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-previous {
  background-color: #f3f4f6;
  color: #374151;
}

.btn-previous:hover {
  background-color: #e5e7eb;
}

.btn-previous:before {
  content: "←";
  margin-right: 8px;
}

.btn-next,
.btn-submit {
  background-color: #269acc;
  color: white;
}

.btn-next:hover,
.btn-submit:hover {
  background-color: #1e88b9;
}

.btn-next:after {
  content: "→";
  margin-left: 8px;
}

.btn-submit:after {
  content: "✓";
  margin-left: 8px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Success Message */
.success-message-container,
.error-message-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  padding: 32px;
  text-align: center;
}

.confirmation-success {
  text-align: center;
  padding: 32px 0;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: #10b981;
  color: white;
  border-radius: 50%;
  font-size: 32px;
  margin-bottom: 24px;
}

.success-message {
  color: #6b7280;
  margin-top: 16px;
  margin-bottom: 24px;
}

.error-message {
  color: #ef4444;
  margin-bottom: 24px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .renovation-wizard-container {
    padding: 16px;
  }

  .wizard-step {
    padding: 16px;
  }

  .form-row .form-group {
    flex: 1 0 100%;
  }

  .property-type-options,
  .living-situation-options {
    grid-template-columns: 1fr;
  }
}

/* Custom Datepicker Styling */
.ui-datepicker {
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ui-datepicker-header {
  background-color: #f3f4f6;
  border-radius: 4px;
  padding: 5px;
  margin-bottom: 5px;
}

.ui-datepicker-title {
  text-align: center;
  font-weight: 600;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  cursor: pointer;
  position: absolute;
  top: 10px;
}

.ui-datepicker-prev {
  left: 10px;
}

.ui-datepicker-next {
  right: 10px;
}

.ui-datepicker-calendar th {
  padding: 5px;
  color: #6b7280;
}

.ui-datepicker-calendar td {
  padding: 2px;
}

.ui-datepicker-calendar a {
  display: block;
  padding: 5px;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
}

.ui-datepicker-calendar a:hover {
  background-color: #f3f4f6;
}

.ui-datepicker-calendar .ui-state-active {
  background-color: #269acc;
  color: white;
}

