.tehno-cb-overlay{
  position:fixed;inset:0;z-index:10050;
  background:rgba(0,0,0,.55);
  display:flex;align-items:center;justify-content:center;
  padding:16px;
}
.tehno-cb-dialog{
  position:relative;
  width:100%;max-width:420px;
  background:#fff;
  border:1px solid #ddd;
  box-shadow:0 12px 40px rgba(0,0,0,.25);
  padding:22px 22px 18px;
}
.tehno-cb-close{
  position:absolute;right:10px;top:6px;
  border:none;background:transparent;
  font-size:28px;line-height:1;color:#888;cursor:pointer;
}
.tehno-cb-close:hover{color:#333;}
.tehno-cb-dialog h3{
  margin:0 28px 8px 0;
  color:#618F53;font-size:22px;
}
.tehno-cb-note{margin:0 0 14px;color:#666;font-size:13px;}
.tehno-cb-product{
  margin:0 0 14px;padding:10px 12px;background:#f4f7f3;border:1px solid #d7e4d3;
  font-size:13px;line-height:1.4;color:#333;word-break:break-word;
}
.tehno-cb-form label{display:block;margin-bottom:10px;font-weight:normal;}
.tehno-cb-form label span{display:block;font-size:12px;color:#666;margin-bottom:4px;}
.tehno-cb-form input,
.tehno-cb-form textarea{
  width:100%;padding:9px 10px;border:1px solid #ccc;box-sizing:border-box;
}
.tehno-cb-submit{
  width:auto !important;padding:0 24px !important;line-height:40px !important;
  background-size:cover !important;margin-top:6px;
}
.tehno-cb-error{color:#a94442;font-size:13px;margin:6px 0 10px;}
.tehno-cb-ok{color:#618F53;font-size:13px;margin:6px 0 10px;padding:8px 10px;background:#eef6ec;border:1px solid #cfe3c9;}
body.tehno-cb-open{overflow:hidden;}

/* Inline footer lead form (replaces broken Layered Popups markup) */
.tehno-lead-form,
.form-footer.tehno-lead-form{
  text-align:center;
  margin:40px 0 20px;
}
.tehno-lead-box{
  margin:0 auto;
  max-width:760px;
  border:1px solid #d5d5d5;
  padding:25px 28px 20px;
  border-radius:4px;
  background:#e1e7e1;
  box-sizing:border-box;
  position:relative !important;
  display:block !important;
  top:auto !important;
  left:auto !important;
  width:100% !important;
  text-align:left;
  font-size:14px;
}
.tehno-lead-title{
  text-align:center;
  margin:0 0 18px;
  font-size:24px;
  line-height:28px;
  color:#618F53;
  font-weight:bold;
}
.tehno-lead-grid{
  display:flex;
  flex-wrap:wrap;
  gap:14px 16px;
  align-items:stretch;
}
.tehno-lead-col{
  flex:1 1 280px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.tehno-lead-box .ulp-input,
.tehno-lead-form .ulp-input{
  display:block;
  width:100% !important;
  height:auto !important;
  min-height:42px;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:10px 12px !important;
  border:2px solid #ededed !important;
  border-radius:2px;
  background:#fff !important;
  color:#000;
  font-size:15px !important;
  line-height:1.35 !important;
  font-family:inherit;
}
.tehno-lead-box textarea.ulp-input{
  min-height:96px;
  resize:vertical;
}
.tehno-lead-actions{
  clear:both;
  text-align:center;
  padding:18px 0 10px;
}
.tehno-lead-submit,
.tehno-lead-form .ulp-submit{
  display:inline-block !important;
  text-decoration:none !important;
  color:#fff !important;
  background:#618F53 !important;
  background-image:none !important;
  border:none !important;
  border-radius:2px;
  padding:12px 28px !important;
  font-size:16px !important;
  font-weight:bold;
  line-height:1.2 !important;
  cursor:pointer;
  text-shadow:none !important;
  box-shadow:none !important;
}
.tehno-lead-submit:hover,
.tehno-lead-form .ulp-submit:hover{
  background:#527847 !important;
  color:#fff !important;
  text-decoration:none !important;
}
.tehno-lead-note{
  color:#618F53;
  font-size:13px;
  line-height:1.4;
  text-align:left;
  margin-top:4px;
}
.tehno-lead-note .fa{margin-right:6px;}
@media (max-width:767px){
  .tehno-lead-box{padding:18px 14px 14px;}
  .tehno-lead-title{font-size:20px;}
}
