/* GREENJOB REV06.18 — pré-cadastro WhatsApp. Escopo independente do design legado. */
#gj-wa-widget, #gj-wa-widget *, #gj-wa-widget *::before, #gj-wa-widget *::after{box-sizing:border-box}
#gj-wa-widget{font-family:Manrope,Arial,Helvetica,sans-serif;line-height:1.45;color:#173c30}
#gj-wa-widget [hidden]{display:none!important}
#gj-wa-entry.gj-wa-entry{
  position:fixed!important;z-index:2147482990!important;
  right:calc(20px + env(safe-area-inset-right,0px))!important;
  bottom:calc(22px + env(safe-area-inset-bottom,0px))!important;
  top:auto!important;left:auto!important;
  display:flex!important;align-items:center;justify-content:center;
  width:60px!important;height:60px!important;min-width:60px!important;max-width:60px!important;
  min-height:60px!important;padding:0!important;margin:0!important;
  background:#1a9b56!important;color:white!important;
  border:2px solid #fff!important;border-radius:50%!important;
  box-shadow:0 10px 26px rgba(15,54,39,.23),0 2px 8px rgba(15,54,39,.12)!important;
  cursor:pointer;text-decoration:none;transition:transform .18s,box-shadow .18s;
  appearance:none;-webkit-appearance:none;touch-action:manipulation;
}
#gj-wa-entry.gj-wa-entry svg{display:block!important;width:31px!important;height:31px!important;min-width:31px;fill:#fff;stroke:none}
#gj-wa-entry.gj-wa-entry:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(15,54,39,.25)!important}
#gj-wa-entry.gj-wa-entry:focus-visible{outline:3px solid #0b583a!important;outline-offset:4px!important}
#gj-wa-widget.gj-wa--active #gj-wa-entry.gj-wa-entry{opacity:0;pointer-events:none}
#gj-wa-backdrop.gj-wa-backdrop{position:fixed!important;inset:0!important;z-index:2147482991!important;background:rgba(12,34,26,.38)!important;backdrop-filter:blur(2px);cursor:default}
#gj-wa-panel.gj-wa-panel{
  position:fixed!important;z-index:2147482992!important;
  right:calc(20px + env(safe-area-inset-right,0px))!important;
  bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;
  left:auto!important;top:auto!important;
  display:flex;flex-direction:column;width:min(426px,calc(100vw - 32px));
  max-width:calc(100vw - 32px);max-height:min(760px,calc(100dvh - 40px - env(safe-area-inset-bottom,0px)));
  margin:0;padding:0;background:#fff;color:#193d31;
  border:1px solid #e1e8e1;border-radius:22px;
  box-shadow:0 22px 85px rgba(6,42,27,.25);overflow:hidden;text-align:left;
}
#gj-wa-panel .gj-wa-header{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#164533;color:#fff;padding:19px 21px 17px;flex:none}
#gj-wa-panel .gj-wa-header-label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#bfdfca;font-weight:750;display:block;margin-bottom:5px}
#gj-wa-panel .gj-wa-header h2{font-size:21px;line-height:1.2;letter-spacing:-.6px;color:#fff;margin:0;font-weight:700}
#gj-wa-panel .gj-wa-close{width:35px;height:35px;min-width:35px;min-height:35px;border:1px solid #ffffff5e;border-radius:50%;background:#ffffff18;color:#fff;display:grid;place-items:center;cursor:pointer;font-size:22px;padding:0;line-height:1}
#gj-wa-panel .gj-wa-close:hover{background:#ffffff2b}
#gj-wa-panel .gj-wa-scroll{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:19px 21px 21px;flex:1;min-height:0}
#gj-wa-panel .gj-wa-intro{font-size:12px;color:#597369;margin:0 0 13px;line-height:1.55}
#gj-wa-panel .gj-wa-progress{display:flex;align-items:center;gap:8px;margin:0 0 15px;font-size:10px;letter-spacing:.2px;color:#587166;font-weight:650}
#gj-wa-panel .gj-wa-progress-line{height:4px;flex:1;max-width:45px;background:#dbe6de;border-radius:5px}
#gj-wa-panel .gj-wa-progress-line.is-done{background:#1b9654}
#gj-wa-panel .gj-wa-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#gj-wa-panel .gj-wa-field{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0}
#gj-wa-panel .gj-wa-span-2{grid-column:1/-1}
#gj-wa-panel .gj-wa-field>span{font-size:11px;color:#234736;font-weight:700;line-height:1.35}
#gj-wa-panel .gj-wa-field input:not([type="checkbox"]),#gj-wa-panel .gj-wa-field select,#gj-wa-panel .gj-wa-field textarea{
  display:block;width:100%;max-width:100%;min-width:0;min-height:44px;
  border:1px solid #cddcd0;border-radius:11px;background:#f9fbf8;color:#183b2b;
  padding:10px 12px;box-shadow:none;outline:0;font:400 13px/1.4 Manrope,Arial,sans-serif;
}
#gj-wa-panel .gj-wa-field textarea{min-height:83px;resize:vertical}
#gj-wa-panel .gj-wa-field input:focus,#gj-wa-panel .gj-wa-field select:focus,#gj-wa-panel .gj-wa-field textarea:focus{border-color:#168d50;box-shadow:0 0 0 3px #188e5023}
#gj-wa-panel .gj-wa-field input::placeholder,#gj-wa-panel .gj-wa-field textarea::placeholder{color:#879d92;opacity:1}
#gj-wa-panel .gj-wa-consent{display:flex;gap:10px;align-items:flex-start;margin:14px 0 4px;font-size:10px;line-height:1.5;color:#55695d}
#gj-wa-panel .gj-wa-consent input{width:18px;height:18px;margin:0;accent-color:#168c4c;flex:none}
#gj-wa-panel .gj-wa-consent a{color:#126941;text-decoration:underline}
#gj-wa-panel .gj-wa-actions{display:flex;gap:8px;margin-top:17px;align-items:center}
#gj-wa-panel .gj-wa-primary,#gj-wa-panel .gj-wa-secondary{
  display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;
  border-radius:12px;min-height:45px;padding:10px 14px;font-size:12px;font-weight:750;
  border:1px solid transparent;cursor:pointer;line-height:1.35;transition:background .15s;
}
#gj-wa-panel .gj-wa-primary{background:#176d44;color:#fff;flex:1}
#gj-wa-panel .gj-wa-primary:hover{background:#125337;color:#fff}
#gj-wa-panel .gj-wa-primary:disabled{background:#89aa94;cursor:wait}
#gj-wa-panel .gj-wa-secondary{background:#f3f7f2;color:#244a38;border-color:#d7e5d9}
#gj-wa-panel .gj-wa-help{margin:11px 0 0;font-size:10px;color:#73867a;text-align:center}
#gj-wa-panel .gj-wa-alert{font-size:12px;line-height:1.55;color:#a12626;margin:12px 0 0;padding:10px;border:1px solid #f1cece;border-radius:9px;background:#fff4f4}
#gj-wa-panel .gj-wa-success{padding:16px 0 0;text-align:center}
#gj-wa-panel .gj-wa-success-mark{height:55px;width:55px;border-radius:50%;display:grid;place-items:center;background:#e1f3e7;color:#137c48;margin:0 auto 11px;font-size:25px}
#gj-wa-panel .gj-wa-success h3{font-size:20px;line-height:1.3;letter-spacing:-.5px;color:#174832;margin:0 0 9px}
#gj-wa-panel .gj-wa-success p{color:#64776a;font-size:12px;margin:8px 0;line-height:1.6}
#gj-wa-panel .gj-wa-protocol{font-size:17px;font-weight:800;letter-spacing:.3px;color:#155f3c;background:#edf6ee;border-radius:11px;padding:11px 15px;margin:12px auto!important;display:table;font-variant-numeric:tabular-nums}
#gj-wa-panel .gj-wa-success .gj-wa-actions{margin-top:15px}
#gj-wa-panel .gj-wa-success .gj-wa-primary{background:#168b4c}
#gj-wa-panel .gj-wa-secondary:focus-visible,#gj-wa-panel .gj-wa-primary:focus-visible,#gj-wa-panel .gj-wa-close:focus-visible{outline:3px solid #65b37c;outline-offset:3px}
@media(max-width:760px){
  #gj-wa-entry.gj-wa-entry{right:calc(14px + env(safe-area-inset-right,0px))!important;bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;width:57px!important;height:57px!important;min-width:57px!important;min-height:57px!important;max-width:57px!important}
  #gj-wa-panel.gj-wa-panel{left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;max-width:100%!important;max-height:91dvh;border-radius:23px 23px 0 0;border-bottom:0}
  #gj-wa-panel .gj-wa-header{padding:18px 20px 17px}
  #gj-wa-panel .gj-wa-scroll{padding:16px 20px calc(17px + env(safe-area-inset-bottom,0px))}
  #gj-wa-panel .gj-wa-grid{grid-template-columns:1fr 1fr;gap:11px}
}
@media(max-width:390px){#gj-wa-panel .gj-wa-grid{grid-template-columns:1fr}#gj-wa-panel .gj-wa-span-2{grid-column:auto}}
@media(prefers-reduced-motion:reduce){#gj-wa-entry.gj-wa-entry,#gj-wa-panel .gj-wa-primary{transition:none}}
/* O tema industrial define border-radius:0!important em todos os campos;
   o pré-cadastro precisa sobrepor essa regra somente no próprio painel. */
#gj-wa-panel .gj-wa-close{border-radius:50%!important}
#gj-wa-panel .gj-wa-field input:not([type="checkbox"]),#gj-wa-panel .gj-wa-field select,#gj-wa-panel .gj-wa-field textarea{border-radius:11px!important}
#gj-wa-panel .gj-wa-primary,#gj-wa-panel .gj-wa-secondary{border-radius:12px!important}
#gj-wa-panel .gj-wa-consent input{border-radius:4px!important}

/* REV06.19: estados distintos do cadastro no site e da entrega da mensagem no WhatsApp. */
#gj-wa-panel .gj-wa-delivery-status{padding:11px 12px;border:1px solid #cbdcd1;border-radius:11px;background:#f1f7f2;color:#184632;font-weight:700;font-size:12px;line-height:1.6}
#gj-wa-panel .gj-wa-delivery-status[data-state="delivered"],#gj-wa-panel .gj-wa-delivery-status[data-state="read"]{color:#126a3c;background:#e6f4e9;border-color:#a9d9b8}
#gj-wa-panel .gj-wa-delivery-status[data-state="unconfigured"],#gj-wa-panel .gj-wa-delivery-status[data-state="failed"]{color:#694b1c;background:#fff8e9;border-color:#edd6a4}
#gj-wa-panel .gj-wa-message-help{font-size:11px;color:#64776a}
