/* KS IST Leadform – Modal success */
.ks-ldm-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(2,3,41,.55);
  backdrop-filter: blur(8px);
  z-index: 999999;
  display: none;
}

.ks-ldm-backdrop.is-open{ display:block; }

.ks-ldm-dialog{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(560px, calc(100vw - 28px));
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  overflow: hidden;
}

.ks-ldm-head{
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.ks-ldm-title{
  font-weight: 600;
  font-size: 16px;
  color:#1A2A4F;
}

.ks-ldm-close{
  appearance:none;
  border:0;
  background: transparent;
  cursor:pointer;
  font-size: 24px;
  line-height: 1;
  color:#1A2A4F;
  padding: 4px 8px;
  border-radius: 12px;
}

.ks-ldm-close:hover{
  background: rgba(26,42,79,.06);
}

.ks-ldm-body{
  padding: 16px 18px 18px;
}

.ks-ldm-msg{
  margin: 0 0 12px;
  color:#475467;
  line-height: 1.4;
  font-weight: 600;
}

.ks-ldm-summary{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 12px 12px;
  background: rgba(0,0,0,.02);
  color:#1A2A4F;
  font-size: 13px;
  line-height: 1.35;
}

.ks-ldm-row{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}
.ks-ldm-row:first-child{ border-top: 0; }

.ks-ldm-k{ color:#667085; font-weight: 500; }
.ks-ldm-v{ color:#1A2A4F; font-weight: 400; text-align:right; }

.ks-ldm-actions{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  justify-content:flex-end;
}

.ks-ldm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background:#fff;
  font-weight: 600;
  color:#1A2A4F;
  cursor:pointer;
}

.ks-ldm-btn--primary{
  background:#1A2A4F;
  color:#fff;
  border-color: transparent;
}
