/* CLIPHORIUM_DEMO_REQUEST_UI_V2 (clean modal lead capture) */

.ch-demo-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 22px;
  z-index: 9999;
}

.ch-demo-overlay.open{ display:flex; }

.ch-demo-modal{
  width: min(720px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(520px 320px at 20% 0%, rgba(212,175,55,.16), transparent 65%),
    rgba(255,255,255,.04);
  box-shadow: 0 22px 80px rgba(0,0,0,.60);
  overflow:hidden;
}

.ch-demo-head{
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.ch-demo-title{
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
}

.ch-demo-sub{
  margin-top: 6px;
  font-size: 18px;
  color: rgba(255,255,255,.92);
  line-height: 1.25;
}

.ch-demo-close{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ch-demo-body{
  padding: 14px 16px 16px;
}

.ch-demo-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 720px){
  .ch-demo-grid{ grid-template-columns: 1fr; }
}

.ch-demo-field{
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.ch-demo-label{
  font-size: 12px;
  color: rgba(255,255,255,.68);
}

.ch-demo-input, .ch-demo-textarea, .ch-demo-select{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.92);
  padding: 12px 12px;
  outline: none;
}

.ch-demo-textarea{
  min-height: 92px;
  resize: vertical;
}

.ch-demo-row{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
}

.ch-demo-note{
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.ch-demo-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.ch-demo-btn{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.90);
  padding: 10px 14px;
  cursor:pointer;
}

.ch-demo-btn.primary{
  border-color: rgba(212,175,55,.40);
  background: linear-gradient(180deg, rgba(212,175,55,.22), rgba(212,175,55,.10));
}

.ch-demo-btn:active{
  transform: translateY(1px);
}
