/* ============================================================
   AirScout — QR-modal
   Gedeeld door de flight notice-generator en het notice-overzicht.
   Eigen qrm-prefix zodat er geen botsing is met de opmaak van de
   pagina waarin de modal geopend wordt.
   ============================================================ */

.qrm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.qrm-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  font-family: 'DM Sans', sans-serif;
  max-height: 90vh;
  overflow-y: auto;
}

.qrm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  background: #f3f6ff;
  border-radius: 8px;
  color: #5a6278;
  cursor: pointer;
  transition: .15s;
}
.qrm-close:hover { background: #dbe4f8; color: #3558A8; }

.qrm-titel {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #1e3580;
  padding-right: 34px;
}
.qrm-desc {
  margin: 0;
  font-size: 13px;
  color: #5a6278;
  line-height: 1.5;
}

.qrm-holder {
  display: flex;
  justify-content: center;
  padding: 18px 0 12px;
}
.qrm-holder img {
  border-radius: 8px;
  border: 1.5px solid rgba(53, 88, 168, 0.15);
}

.qrm-url input {
  width: 100%;
  padding: 8px 11px;
  border: 1.5px solid rgba(53, 88, 168, 0.22);
  border-radius: 8px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #334155;
  background: #f8fafc;
  box-sizing: border-box;
}

.qrm-acties {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}
.qrm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: .15s;
}
.qrm-btn-primary {
  background: #3558A8;
  color: #fff;
}
.qrm-btn-primary:hover { background: #2c4a8f; }
.qrm-btn-secondary {
  background: #f3f6ff;
  color: #3558A8;
  border-color: rgba(53, 88, 168, 0.15);
}
.qrm-btn-secondary:hover { background: #dbe4f8; }
