
/* NUJIZ ROTATE IMAGE PRO V1 */

#nujizRotatePro{
  display:grid;
  gap:16px;
  margin:8px 0 20px;
  --nrp-text:#263247;
  --nrp-muted:#526078;
  --nrp-bg:#f8f9ff;
  --nrp-border:#dce1ed;
  color:var(--nrp-text)!important;
}

#nujizRotatePro *{
  box-sizing:border-box;
}

#nujizRotatePro .nrp-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
}

#nujizRotatePro .nrp-header strong{
  font-size:18px;
  color:var(--nrp-text)!important;
}

#nujizRotatePro .nrp-header span{
  background:#12392b;
  color:#a7f3c2!important;
  -webkit-text-fill-color:#a7f3c2!important;
  padding:6px 12px;
  border-radius:30px;
  font-size:12px;
  font-weight:800;
}

#nujizRotatePro .nrp-label{
  display:flex;
  justify-content:space-between;
  font-weight:800;
  color:var(--nrp-text)!important;
}

#nujizRotatePro .nrp-angles,
#nujizRotatePro .nrp-flips{
  display:grid;
  gap:9px;
}

#nujizRotatePro .nrp-angles{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

#nujizRotatePro .nrp-flips{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

html body #nujizRotatePro button{
  min-width:0;
  border:1px solid var(--nrp-border);
  background:var(--nrp-bg)!important;
  color:var(--nrp-text)!important;
  -webkit-text-fill-color:currentColor!important;
  border-radius:14px;
  padding:14px 6px;
  cursor:pointer;
  font-family:inherit;
  transition:background .18s,border-color .18s;
}

html body #nujizRotatePro button *{
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1!important;
}

#nujizRotatePro button i{
  display:block;
  font-style:normal;
  font-size:30px;
  line-height:1.3;
  margin-bottom:5px;
}

html body #nujizRotatePro button.active{
  background:#7049eb!important;
  border-color:#a78bfa!important;
  color:#fff!important;
}

#nujizRotatePro button:hover{
  border-color:#8b5cf6;
}

#nujizRotatePro button:focus-visible{
  outline:3px solid #a78bfa;
  outline-offset:2px;
}

#nujizRotatePro .nrp-custom{
  background:var(--nrp-bg);
  border:1px solid var(--nrp-border);
  padding:16px;
  border-radius:14px;
}

#nujizRotatePro #nrpAngle{
  width:100%;
  margin:18px 0 8px;
  accent-color:#7952f2;
  direction:ltr;
  cursor:pointer;
}

#nujizRotatePro #nrpAngleValue{
  color:#9877ff!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:20px;
}

#nujizRotatePro .nrp-scale{
  display:flex;
  justify-content:space-between;
  direction:ltr;
  font-size:11px;
  color:var(--nrp-muted)!important;
}

#nujizRotatePro .nrp-result{
  background:rgba(112,73,235,.10);
  border:1px solid rgba(139,92,246,.4);
  border-radius:14px;
  padding:16px;
  text-align:center;
}

#nujizRotatePro .nrp-result span{
  display:block;
  font-size:13px;
  color:var(--nrp-muted)!important;
}

#nujizRotatePro .nrp-result strong{
  display:block;
  direction:ltr;
  margin-top:8px;
  font-size:22px;
  color:var(--nrp-text)!important;
}

#nujizRotatePro .nrp-safe{
  background:#102d24;
  border:1px solid #275341;
  color:#a7f3c2!important;
  -webkit-text-fill-color:#a7f3c2!important;
  text-align:center;
  font-size:13px;
  font-weight:800;
  border-radius:12px;
  padding:12px;
}

html[data-theme="dark"] #nujizRotatePro,
body[data-theme="dark"] #nujizRotatePro,
html.dark #nujizRotatePro,
body.dark #nujizRotatePro,
body.dark-mode #nujizRotatePro,
html.dark-mode #nujizRotatePro{
  --nrp-text:#f1f5f9;
  --nrp-muted:#b7c3d7;
  --nrp-bg:#202633;
  --nrp-border:#414b60;
}

@media(max-width:480px){
  #nujizRotatePro{
    gap:12px;
  }

  #nujizRotatePro .nrp-angles{
    gap:6px;
  }

  #nujizRotatePro button i{
    font-size:24px;
  }
}
