/* Demo / teklif modal — landing + portal mockup siteleri */
.yp-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}
.yp-demo-modal.is-open { display: flex; }
.yp-demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}
.yp-demo-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  padding: 28px 28px 32px;
}
.yp-demo-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.yp-demo-modal-close:hover { background: #e2e8f0; }
.yp-demo-modal-head {
  text-align: center;
  margin: 0 0 20px;
  padding-right: 28px;
}
.yp-demo-modal-head h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.yp-demo-modal-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}
.yp-demo-modal .field { margin-bottom: 14px; }
.yp-demo-modal .field label,
.yp-demo-modal label.field-label {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
  color: #0f172a;
}
.yp-demo-modal input,
.yp-demo-modal select,
.yp-demo-modal textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font: inherit;
  padding: 10px 12px;
  box-sizing: border-box;
  background: #fff;
  color: #0f172a;
}
.yp-demo-modal textarea { min-height: 80px; resize: vertical; }
.yp-demo-kvkk {
  font-size: 12px;
  color: #64748b;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.yp-demo-kvkk input { width: auto; margin-top: 3px; }
.yp-demo-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: #1e4d8c;
  color: #fff;
}
.yp-demo-submit:hover { filter: brightness(1.05); }
body.yp-demo-modal-open { overflow: hidden; }
