#ghl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#ghl-modal {
  background: #fff;
  padding: 30px;
  width: 420px;
  border-radius: 20px;
  box-shadow: 0 0 0 10px #0BB3C8, 0 0 40px rgb(255 255 255 / 29%) !important;
  position: relative;
  
}

#ghl-modal h2 {
    font-size: 22px !important;
    line-height: 1.2;
}

.ghl-consent {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
    line-height: 1.4;
    margin: 12px 0 12px;
    padding: 0;
}

.ghl-consent input[type="checkbox"] {
  margin-top: 3px;           /* tiny visual adjustment */
  width: 30px !important;
}

#ghl-close {
  position: absolute;
  right: 2px;
  top: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: black;
}

#ghl-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

button.ghl-btn {
    width: 100%;
    padding: 14px;
    background-color: #35A8C8;
    font-family: "Work Sans", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    border-radius: 0px 0px 0px 0px;
    border: none;
    color: #fff;
}
button.ghl-btn:hover{
 background-color: black;
}

/* ================= MOBILE (≤ 767px) ================= */
@media (max-width: 767px) {

  #ghl-modal {
    width: 75%;
    max-width: 420px;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 0 0 6px #0BB3C8, 0 10px 30px rgba(0,0,0,0.25);
  }

  #ghl-modal h2 {
    font-size: 18px !important;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  #ghl-form input {
    padding: 11px;
    font-size: 15px;
  }

  .ghl-consent {
    font-size: 12px;
    gap: 6px;
    margin: 10px 0;
  }

  .ghl-consent input[type="checkbox"] {
    width: 18px !important;
    height: 18px;
    margin-top: 2px;
  }

  button.ghl-btn {
    padding: 13px;
    font-size: 17px;
  }

  #ghl-close {
    right: 6px;
    top: 6px;
    font-size: 22px;
  }
}


/* ================= TABLET (768px – 1024px) ================= */
@media (min-width: 768px) and (max-width: 1024px) {

  #ghl-modal {
    width: 80%;
    max-width: 500px;
    padding: 26px;
    border-radius: 18px;
  }

  #ghl-modal h2 {
    font-size: 20px !important;
  }

  button.ghl-btn {
    font-size: 18px;
  }
}