/* Modal Overlay */
#estimateFormOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', 'Arial', sans-serif;
}

/* Modal Box */
#estimateFormOverlay > div {
  background: #fff;
  padding: 35px 30px;
  max-width: 480px;
  width: 95%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  position: relative;
  text-align: center;
}

/* Close Button */
#estimateFormOverlay button[onclick="closeEstimateForm()"] {
  position: absolute;
  top: 15px;
  right: 20px;
  border: none;
  background: none;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/* Progress */
#progress {
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  font-size: 16px;
}

/* Steps */
.step {
  display: none;
}
.step.active {
  display: block;
}

/* Option Buttons */
.option-btn {
  display: inline-block;
  margin: 8px;
  padding: 14px 22px;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.option-btn:hover {
  border-color: #007bff;
  background: #f0f8ff;
}

.option-btn.selected {
  background: #ffc107;
  color: #000;
  border-color: #ffc107;
  box-shadow: 0 0 0 2px rgba(255,193,7,0.4);
}

/* Input Fields */
#quizForm input[type="text"],
#quizForm input[type="tel"],
#quizForm input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

/* Navigation Buttons */
#quizForm button[type="button"] {
  background: #e9ecef;
  color: #333;
  font-weight: 500;
  padding: 10px 20px;
  margin: 15px 10px 0 0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#quizForm button[type="button"]:hover {
  background: #ced4da;
}

/* Submit Button */
#quizForm button[type="submit"] {
  background: #ffc107;
  color: #000;
  font-weight: bold;
  padding: 12px 22px;
  border-radius: 6px;
  margin-top: 15px;
  border: none;
  cursor: pointer;
}

/* Form Headings */
#quizForm h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
  text-align: center;
}