/* 
  Property Inquiry Modal Custom Styles
  Extends tw-modal (from download-modal.css) for form layout
*/

/* Wide Panel variant for Inquiry Form */
.tw-modal-panel--wide {
  max-width: 650px;
  max-height: 90vh; /* Allow scrolling if it gets too tall */
  overflow-y: auto;
  text-align: left; /* Forms are mostly left-aligned */
  padding: 0; /* Override default padded panel */
}

/* Property Overview Card in Step 1 */
.inquiry-property-overview {
  background-color: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 16px;
  margin-bottom: 24px;
}

.inquiry-property-overview h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inquiry-property-overview h4 i {
  color: var(--color-orange);
}

.inquiry-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 600px) {
  .inquiry-overview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.inquiry-overview-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #4b5563;
}

.inquiry-overview-label {
  font-weight: 600;
  color: #6b7280;
  width: 90px;
  flex-shrink: 0;
}

/* Adjust contact form padding inside modal */
.tw-modal-panel--wide .contact-step-panel {
  padding: 24px;
}

.tw-modal-panel--wide .contact-confirm-steps {
  margin-top: 0;
  margin-bottom: 24px;
}

/* Modal header with close button */
.inquiry-modal-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  padding: 16px 24px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.inquiry-modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.inquiry-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.inquiry-modal-close:hover {
  background-color: #f3f4f6;
  color: #4b5563;
}

/* Add custom margin for modal contents */
.tw-modal-panel--wide .contact-card {
  box-shadow: none;
  border: 1px solid #e5e7eb;
}
