/* Safe, namespaced styles */
.inquiry-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.inquiry-overlay[style*="flex"] {
  display: flex !important;
}
.contact-text{
  text-align: center;
  width: 100%;
}
.inquiry-content {
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem 2rem 2rem;

}

.inquiry-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: red;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inquiry-close-btn:hover {
  color: #333;
}

.inquiry-step {
  display: none;
}

.inquiry-step.active {
  display: block;
}

.inquiry-field {
  margin-bottom: 1.5rem;
}

.inquiry-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.inquiry-field label small {
  font-weight: normal;
  color: white;
}

.inquiry-field input,
.inquiry-field textarea,
.inquiry-field select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  /* background: #fff; */
}

.inquiry-field input:focus,
.inquiry-field textarea:focus,
.inquiry-field select:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.inquiry-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.inquiry-buttons button {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  margin: 0.4rem;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(120deg, rgba(0, 0, 0, 1) 10%, rgba(15, 43, 79, 0.92) 43%);
  border-radius: 0.4rem;
  width: auto;
  color: #3fd99e;
  font-weight: 600;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.inquiry-buttons button[type="submit"] {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  margin: 0.4rem;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(120deg, rgba(0, 0, 0, 1) 10%, rgba(15, 43, 79, 0.92) 43%);
  border-radius: 0.4rem;
  width: auto;
  color: #3fd99e;
  font-weight: 600;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.inquiry-buttons button[type="submit"]:hover {
  background: linear-gradient(120deg, rgba(15, 43, 79, 1) 10%, rgba(0, 0, 0, 0.92) 43%);
  color: #4be6a8;
  box-shadow: none;
  transform: scale(0.97)
}

.inquiry-buttons button[type="button"] {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  margin: 0.4rem;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(120deg, rgba(0, 0, 0, 1) 10%, rgba(15, 43, 79, 0.92) 43%);
  border-radius: 0.4rem;
  width: auto;
  color: #3fd99e;
  font-weight: 600;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.inquiry-review-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.75rem 1rem;
  font-size: 1rem;
}

.inquiry-review-grid dt {
  font-weight: 600;
  color: #132b4f;
}

.inquiry-review-grid dd {
  margin: 0;
}

.inquiry-message-preview {
  white-space: pre-wrap;
  font-family: inherit;
  margin: 0;
  padding: 0.75rem;
  /* background: #f9f9f9; */
  border-radius: 6px;
}
