/* === Estimator Full-Width Section === */
.estimator-container {
  width: 100%;
  margin: 0;
  padding: 60px 20px;
  background: #fafafa; /* light section background */
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* Section Heading */
.estimator-container h2 {
  text-align: center;
  color: #e13a14;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* === Form Layout === */
.estimator-form {
  max-width: 900px;
  margin: 0 auto;
}

.estimator-container label {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  color: #444;
}

.estimator-container input,
.estimator-container select,
.estimator-container textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  transition: all 0.3s ease;
}

.estimator-container input:focus,
.estimator-container select:focus,
.estimator-container textarea:focus {
  border-color: #e13a14;
  background: #fff;
  outline: none;
  box-shadow: 0 0 8px rgba(225,58,20,0.2);
}

/* === Submit Button === */
.estimator-container button {
  width: 100%;
  background: linear-gradient(135deg, #e13a14, #ff4a24);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 25px;
  transition: 0.3s ease;
  box-shadow: 0 6px 15px rgba(225,58,20,0.3);
}
.estimator-container button:hover {
  background: linear-gradient(135deg, #c92d0a, #e13a14);
  box-shadow: 0 8px 18px rgba(225,58,20,0.35);
}

/* === Messages === */
#estimateMessage {
  margin-top: 15px;
  text-align: center;
  font-size: 15px;
  padding: 10px;
  border-radius: 8px;
  display: none;
}
#estimateMessage.success {
  background: #e6f7ee;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
#estimateMessage.error {
  background: #fdecea;
  color: #c62828;
  border: 1px solid #f5c6c6;
}

/* === Quotation Preview === */
#costPreview {
  margin-top: 25px;
  display: none;
}
.quotation-preview-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #eee;
}
.quotation-preview-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #e13a14;
  margin-bottom: 12px;
  text-align: center;
}
.quotation-preview-card .amount {
  font-size: 24px;
  font-weight: 700;
  color: #2e7d32;
  text-align: center;
  margin-bottom: 15px;
}
.quotation-preview-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.quotation-preview-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f1f1;
  font-size: 14px;
}
.quotation-preview-card ul li:last-child {
  border-bottom: none;
}

/* === Info Modal === */
.area-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.area-modal-content {
  background: #fff;
  margin: 80px auto;
  padding: 25px;
  border-radius: 10px;
  max-width: 600px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.area-modal-content h3 {
  font-size: 20px;
  color: #e13a14;
  text-align: center;
  margin-bottom: 10px;
}
.area-modal-content .close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #aaa;
}
.area-modal-content .close:hover {
  color: #e13a14;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .estimator-container h2 {
    font-size: 24px;
  }
  .estimator-container button {
    font-size: 15px;
    padding: 12px;
  }
}
@media (max-width: 480px) {
  .estimator-container h2 {
    font-size: 20px;
  }
  .estimator-container button {
    font-size: 14px;
    padding: 10px;
  }
}
