/* quote-form.css — Clean, isolated styles for the RFQ form */

/* Extremely aggressive override to force centering */
html body.template-index .quote-page-wrapper,
body.template-index .quote-page-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 20px;
  box-sizing: border-box;
  float: none !important;
  clear: both !important;
  position: relative !important;
}

html body.template-index .quote-form,
body.template-index .quote-form {
  max-width: 800px !important;
  margin: 40px auto !important;
  padding: 0 20px;
  width: 100% !important;
  box-sizing: border-box;
  float: none !important;
}

.quote-form h1 {
  color: #222;
  font-size: 28px;
  margin-bottom: 10px;
}

.quote-form .lead {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.quote-form .note {
  background: white;
  padding: 20px;
  border: 1px solid #ddd;
  margin: 25px 0;
}

.quote-form .form-row {
  margin-bottom: 18px;
}

.quote-form .form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quote-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background: white;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form .help-text {
  font-size: 14px;
  color: #666;
  margin-top: 6px;
}

.quote-form .privacy-note {
  margin-top: 30px;
  font-size: 14px;
  color: #555;
}

/* Submit button - light background, dark text */
.quote-form button[type="submit"] {
  background: #f5f5f5;
  color: #222;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.quote-form button[type="submit"]:hover {
  background: #e0e0e0;
}

/* Checkbox row */
.quote-form .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.quote-form .checkbox-row input[type="checkbox"] {
  margin-top: 4px;
  width: auto;
}

/* Callout linking the RFQ page into the Mold Pricing Explorer */
.quote-form .explorer-callout {
  background: #e8f0fe;
  border: 1px solid #c5d9f9;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 20px 0 28px;
  font-size: 15px;
  color: #1a3a6b;
}
.quote-form .explorer-callout p {
  margin: 6px 0 0;
}
.quote-form .explorer-link {
  color: #0d47a1;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}
.quote-form .explorer-link:hover {
  text-decoration: underline;
}

/* Live CAD file analysis preview under the RFQ loader */
.quote-form .file-analysis {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quote-form .file-analysis-row {
  font-size: 13px;
  color: #444;
  line-height: 1.4;
}
.quote-form .file-analysis .fa-name {
  font-weight: 600;
  color: #222;
}
.quote-form .file-analysis .fa-ok {
  color: #2e7d32;
}
.quote-form .file-analysis .fa-skip {
  color: #888;
}
.quote-form .file-analysis .fa-loading {
  color: #1565c0;
  font-style: italic;
}
.quote-form .file-analysis .fa-warn {
  color: #b26a00;
}