/* OM Garage Door Florida — "Get Free Quote" click modal.
 * Loaded only on pages that carry a Get Free Quote button. The modal is
 * injected by quote-modal.js on click, so it adds zero layout shift and
 * never covers content on arrival (Google-safe: user-initiated only). */
.qm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}
.qm-overlay.qm-open { display: flex; }
.qm-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
  padding: 24px;
  background: #fff;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  text-align: left;
}
.qm-dialog h3 { margin: 0 0 6px; font-size: 22px; }
.qm-dialog p.qm-sub { margin: 0 0 16px; font-size: 14px; color: #555; }
.qm-close {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 4px 8px;
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: #555;
  cursor: pointer;
}
.qm-dialog label { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; }
.qm-dialog input,
.qm-dialog select,
.qm-dialog textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}
.qm-dialog textarea { min-height: 90px; resize: vertical; }
.qm-dialog input:focus,
.qm-dialog select:focus,
.qm-dialog textarea:focus { outline: 2px solid #1b5e20; outline-offset: 1px; }
.qm-dialog button[type="submit"] { width: 100%; margin-top: 16px; }
.qm-status {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
}
