
.juicy-nn-upload-wrap{display:flex;justify-content:center;margin:16px 0;}
.juicy-nn-upload-btn{
  width:min(520px, 92vw);
  padding:16px 18px;
  font-size:18px;
  font-weight:700;
  border:0;
  border-radius:18px;
  cursor:pointer;
  background:linear-gradient(180deg, #1a73e8 0%, #0b57d0 100%);
  color:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.16);
}
.juicy-nn-upload-btn:hover{
  background:linear-gradient(180deg, #0b57d0 0%, #1a73e8 100%);
}
.juicy-nn-upload-note{
  width:min(520px, 92vw);
  margin:10px auto 0;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#111827;
  font-size:14px;
  line-height:1.4;
  text-align:center;
  box-shadow:0 1px 2px rgba(0,0,0,.06);
}

.juicy-nn-upload-btn:active{transform:translateY(1px);}
.juicy-nn-modal{position:fixed;inset:0;display:none;z-index:999999;}
.juicy-nn-modal.open,
.juicy-nn-modal.is-open{display:block;}
.juicy-nn-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);}
.juicy-nn-modal__panel{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(560px, 94vw);
  max-height:88vh;
  overflow:auto;
  background:#fff;
  border-radius:22px;
  box-shadow:0 20px 70px rgba(0,0,0,.35);
}
.juicy-nn-modal__header{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 14px 10px 16px;border-bottom:1px solid rgba(0,0,0,.08);
}
.juicy-nn-modal__title{font-size:18px;font-weight:800;}
.juicy-nn-modal__close{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;padding:4px 10px;}
.juicy-nn-form{padding:14px 16px 18px;}
.juicy-nn-row{display:flex;flex-direction:column;gap:6px;margin:10px 0;}
.juicy-nn-row label{font-weight:800;font-size:13px;opacity:.85;}
.juicy-nn-row input,.juicy-nn-row select{
  font-size:16px;
  padding:12px 12px;
  border:1px solid rgba(0,0,0,.16);
  border-radius:14px;
  outline:none;
  min-height:48px;
  line-height:1.25;
  box-sizing:border-box;
}
.juicy-nn-row select{
  -webkit-appearance: menulist;
  appearance: auto;
  background-color:#fff;
}
.juicy-nn-row input:focus,.juicy-nn-row select:focus{border-color:#1a73e8;box-shadow:0 0 0 3px rgba(232,42,138,.12);}
.juicy-nn-help{font-size:12px;opacity:.7;}
.juicy-nn-perm-hint{
  font-size:13px;
  line-height:1.35;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(232,42,138,.06);
}
.juicy-nn-photo-chooser{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.juicy-nn-photo-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  font-size:15px;
  font-weight:800;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.16);
  background:#fff;
  cursor:pointer;
}
.juicy-nn-ico{display:inline-flex;align-items:center;justify-content:center;}
.juicy-nn-ico svg{display:block;}
.juicy-nn-photo-btn.secondary{
  opacity:.92;
}
.juicy-nn-photo-btn:active{transform:translateY(1px);}
.juicy-nn-photo-name{font-size:13px;opacity:.75;word-break:break-word;}
.juicy-nn-file-input{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
}
.juicy-nn-preview{margin-top:10px;}
.juicy-nn-preview img{width:100%;max-height:240px;object-fit:cover;border-radius:16px;border:1px solid rgba(0,0,0,.12);}
.juicy-nn-submit{
  width:100%;
  margin-top:10px;
  padding:14px 16px;
  font-size:16px;
  font-weight:800;
  border:0;
  border-radius:16px;
  cursor:pointer;
  background:#0b57d0;
  color:#fff;
}
.juicy-nn-status{margin-top:10px;font-size:13px;min-height:18px;}
.juicy-nn-status.ok{color:#0a7f2e;font-weight:700;}
.juicy-nn-status.err{color:#b00020;font-weight:700;}

/* success modal */
.juicy-nn-success-body{padding:16px;}
.juicy-nn-success-msg{font-size:16px;font-weight:800;margin-bottom:8px;}
.juicy-nn-success-help{font-size:13px;opacity:.85;margin-bottom:14px;}
.juicy-nn-success-ok{
  width:100%;
  margin-top:6px;
  padding:14px 16px;
  font-size:16px;
  font-weight:800;
  border:0;
  border-radius:16px;
  cursor:pointer;
  background:#0b57d0;
  color:#fff;
}
/* honeypot hidden */
.juicy-nn-hp{position:absolute;left:-9999px;top:-9999px;height:0;overflow:hidden;}
/* prevent background scroll */
html.juicy-nn-modal-open{overflow:hidden;}

@media (max-width: 520px){
  .juicy-nn-modal__panel{
    left:50%;
    top:8vh;
    transform:translate(-50%, 0);
    width:92vw;
    max-height:90vh;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .juicy-nn-row input,.juicy-nn-row select{
    min-height:46px;
    line-height:1.3;
    padding:12px 12px;
    box-sizing:border-box;
  }
  .juicy-nn-row select{
    -webkit-appearance: menulist;
    appearance: auto;
    background-color:#fff;
  }
  .juicy-nn-modal__header{position:sticky;top:0;background:#fff;z-index:2;}

  /* gallery/camera buttons stacked full width */
  .juicy-nn-photo-chooser{flex-direction:column;align-items:stretch;}
  .juicy-nn-photo-btn{width:100%;}
  .juicy-nn-photo-name{width:100%;}
}


/* v1.1.3 geo-detected */
.juicy-nn-detected{
  padding:10px 12px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#f8fafc;
}
.juicy-nn-detected__sub{font-size:12px;opacity:.85;margin-top:4px;}
.juicy-nn-detected__retry{
  margin-top:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(29,78,216,.25);
  background:#fff;
  color:#1d4ed8;
  cursor:pointer;
  font-weight:600;
}
.juicy-nn-helper{
  margin-top:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#0f172a;
  font-size:13px;
  line-height:1.35;
}
.juicy-nn-status.ok{color:#0a7a2f;}
.juicy-nn-status.err{color:#b91c1c;}
.juicy-nn-consent__lbl{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.35;}
.juicy-nn-consent__lbl input{margin-top:3px;}
