
.ezsg-human-check{
  display:flex;
  align-items:center;
  gap:8px;
  margin:12px 0;
  font-size:14px;
  line-height:1.4;
  cursor:pointer;
}

.ezsg-human-check input{
  width:16px;
  height:16px;
  cursor:pointer;
}


.ezsg-human-check-js{
  clear:both;
}

.elementor-form .ezsg-human-check,
.wpcf7-form .ezsg-human-check,
#commentform .ezsg-human-check{
  direction:rtl;
  justify-content:flex-start;
  color:#222;
}

.elementor-form .ezsg-human-check input,
.wpcf7-form .ezsg-human-check input,
#commentform .ezsg-human-check input{
  margin:0 0 0 6px;
}


.ezsg-human-check{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  width:100% !important;
  margin:12px 0 14px !important;
  font-size:14px !important;
  line-height:1.4 !important;
  cursor:pointer !important;
  color:#222 !important;
  visibility:visible !important;
  opacity:1 !important;
  position:relative !important;
  z-index:2 !important;
}

.ezsg-human-check input[type="checkbox"]{
  display:inline-block !important;
  appearance:auto !important;
  -webkit-appearance:checkbox !important;
  width:16px !important;
  height:16px !important;
  margin:0 0 0 6px !important;
  opacity:1 !important;
  visibility:visible !important;
  position:static !important;
}

.ezsg-human-check input[type="hidden"]{
  display:none !important;
}

.ezsg-human-check span{
  display:inline-block !important;
}


/* EZ Spam Guard popup verification */
.ezsg-human-check{
  display:none !important;
}

.ezsg-popup{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(10,10,16,.45);
  backdrop-filter:blur(4px);
  padding:20px;
}

.ezsg-popup.open{
  display:flex;
}

.ezsg-popup-card{
  position:relative;
  width:min(420px, 94vw);
  background:#fff;
  color:#17171d;
  border-radius:24px;
  padding:28px;
  box-shadow:0 28px 80px rgba(0,0,0,.24);
  text-align:right;
  direction:rtl;
  font-family:inherit;
  border:1px solid rgba(120,87,255,.16);
}

.ezsg-popup-close{
  position:absolute;
  top:14px;
  left:14px;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:#f3f3f7;
  color:#222;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.ezsg-popup-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:7px 12px;
  background:#f6f2ff;
  color:#7857ff;
  font-weight:800;
  font-size:12px;
  margin-bottom:14px;
}

.ezsg-popup-card h3{
  margin:0 0 8px;
  font-size:24px;
  font-weight:900;
  color:#17171d;
}

.ezsg-popup-card p{
  margin:0 0 18px;
  color:#666;
  font-size:15px;
  line-height:1.6;
}

.ezsg-popup-check{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px;
  border:1px solid #e4e4ec;
  border-radius:16px;
  background:#fbfbfd;
  color:#222;
  cursor:pointer;
  margin:0 0 16px;
}

.ezsg-popup-check input{
  width:18px;
  height:18px;
  margin:0;
  appearance:auto;
  -webkit-appearance:checkbox;
}

.ezsg-popup-submit{
  width:100%;
  border:0;
  border-radius:999px;
  padding:14px 18px;
  background:#17171d;
  color:#fff;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
}

.ezsg-popup-submit:disabled{
  opacity:.45;
  cursor:not-allowed;
}


/* Hide native Elementor integration marker field */
.elementor-field-group-ezsg_human_check,
.elementor-field-group-ezsg_not_robot,
.elementor-field-group-not_robot,
.elementor-field-group-human_check,
.elementor-field-group-i_am_not_robot{
  display:none !important;
}

/* Popup visual polish */
.ezsg-popup,
.ezsg-popup *{
  font-family:"Assistant", Arial, sans-serif !important;
}

.ezsg-popup-close{
  border:1px solid #e6e7ef !important;
  background:#ffffff !important;
  color:#17171d !important;
  box-shadow:none !important;
}

.ezsg-popup-submit{
  background:#17171d !important;
  color:#ffffff !important;
  border:0 !important;
  box-shadow:none !important;
}

.ezsg-popup-submit:not(:disabled):hover{
  background:#000000 !important;
  color:#ffffff !important;
}

.ezsg-popup-submit:disabled{
  background:#f2f3f7 !important;
  color:#9aa0ad !important;
  border:1px solid #e2e4ec !important;
  opacity:1 !important;
}

.ezsg-popup-check input[type="checkbox"]:checked{
  accent-color:#17171d !important;
}
