
/* NUJIZ PRIVACY STUDIO V2 */

#npsLegacy{display:none!important}

#npsStudio{
  --nps-bg:#fff;
  --nps-text:#20283a;
  --nps-muted:#596579;
  --nps-line:#dce1eb;
  --nps-card:#f7f7fc;
  --nps-accent:#7047e8;
  display:grid;
  gap:13px;
  color:var(--nps-text);
  min-width:0;
}

html[data-theme="dark"] #npsStudio{
  --nps-bg:#171b25;
  --nps-text:#f4f5fa;
  --nps-muted:#b7bfd1;
  --nps-line:#353d4e;
  --nps-card:#202532;
  --nps-accent:#bdabff;
}

#npsStudio .nps-header{
  padding:22px 16px;
  border-radius:18px;
  background:linear-gradient(125deg,#352078,#7547eb,#4330a0);
  background-size:220% 220%;
  animation:npsGradient 9s ease infinite;
  text-align:center;
}

html body #npsStudio .nps-header *,
html body #npsStudio .nps-header{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

#npsStudio .nps-header span{
  font-size:12px;
  font-weight:800;
}

#npsStudio .nps-header h3{
  font-size:22px;
  margin:9px 0;
}

#npsStudio .nps-header p{
  font-size:13px;
  margin:0;
  line-height:1.8;
}

@keyframes npsGradient{
  0%,100%{background-position:0% 50%}
  50%{background-position:100% 50%}
}

#npsStudio .nps-grid{
  display:grid;
  gap:8px;
}

#npsStudio .nps-two{grid-template-columns:repeat(2,minmax(0,1fr))}
#npsStudio .nps-three{grid-template-columns:repeat(3,minmax(0,1fr))}
#npsStudio .nps-four{grid-template-columns:repeat(4,minmax(0,1fr))}

html body #npsStudio button{
  border:1px solid var(--nps-line);
  background:var(--nps-card);
  color:var(--nps-text)!important;
  -webkit-text-fill-color:var(--nps-text)!important;
  border-radius:12px;
  padding:12px 5px;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:transform .18s,border-color .18s,background .18s;
  min-width:0;
}

#npsStudio button:hover{
  transform:translateY(-2px);
  border-color:var(--nps-accent);
}

html body #npsStudio button.active{
  border-color:var(--nps-accent);
  background:rgba(124,83,237,.15);
  box-shadow:inset 0 0 0 1px var(--nps-accent);
  color:var(--nps-accent)!important;
  -webkit-text-fill-color:var(--nps-accent)!important;
}

html body #npsStudio button.nps-detect{
  padding:15px 10px;
  background:linear-gradient(115deg,#5b35cc,#8055ee);
  color:white!important;
  -webkit-text-fill-color:white!important;
  border:0;
  font-size:15px;
}

#npsStudio button:disabled{
  opacity:.45;
  cursor:not-allowed;
  transform:none;
}

html body #npsStudio .nps-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
  font-weight:800;
  color:var(--nps-text)!important;
  -webkit-text-fill-color:var(--nps-text)!important;
}

html body #npsStudio .nps-label b{
  color:var(--nps-accent)!important;
  -webkit-text-fill-color:var(--nps-accent)!important;
}

#npsStudio input[type="range"]{
  width:100%;
  accent-color:#8055ee;
}

#npsStudio .nps-sample{
  display:block;
  height:65px;
  margin:0 5px 10px;
  border-radius:9px;
  background-color:#b9a9e5;
  overflow:hidden;
}

#npsStudio .nps-pixel{
  background-image:conic-gradient(
    #8467cc 25%,#c4b4ed 0 50%,
    #50417e 0 75%,#aa93e2 0
  );
  background-size:24px 24px;
}

#npsStudio .nps-blur{
  background:radial-gradient(
    ellipse at 45% 40%,#e8c4a8,
    #9b7dba 35%,#59418d 65%,#b8a3e8
  );
}

#npsStudio .nps-shape{
  display:block;
  width:34px;
  height:28px;
  margin:0 auto 9px;
  background:#9674ed44;
  border:2px solid var(--nps-accent);
}

#npsStudio .nps-rounded{border-radius:8px}
#npsStudio .nps-ellipse{border-radius:50%}
#npsStudio .nps-face{border-radius:48% 48% 55% 55% / 35% 35% 70% 70%}

html body #npsStudio #npsStatus,
html body #npsStudio .nps-warning,
html body #npsStudio .nps-safe{
  padding:12px;
  border-radius:12px;
  background:var(--nps-card);
  border:1px solid var(--nps-line);
  color:var(--nps-muted)!important;
  -webkit-text-fill-color:var(--nps-muted)!important;
  font-size:12px;
  line-height:1.8;
}

#npsStudio .nps-warning{
  border-inline-start:3px solid #e7a438!important;
}

#npsStudio .nps-safe{
  text-align:center;
  border-inline-start:3px solid #10b981!important;
}

#npsStudio .nps-details{
  border:1px solid var(--nps-line);
  border-radius:12px;
  padding:12px;
}

html body #npsStudio summary{
  cursor:pointer;
  color:var(--nps-text)!important;
  -webkit-text-fill-color:var(--nps-text)!important;
  font-weight:700;
  font-size:13px;
}

#npsStudio #npsCoordinates{margin-top:12px}

html body #npsStudio select{
  background:var(--nps-bg)!important;
  color:var(--nps-text)!important;
  -webkit-text-fill-color:var(--nps-text)!important;
  border:1px solid var(--nps-line);
  border-radius:10px;
  padding:12px;
  width:100%;
}

body[data-tool-id="privacy"] .privacy-selector{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

@media(max-width:480px){
  #npsStudio .nps-header h3{font-size:19px}
  #npsStudio .nps-four{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(prefers-reduced-motion:reduce){
  #npsStudio *{
    animation:none!important;
    transition:none!important;
  }
}


/* NUJIZ PRIVACY CONTRAST V21 */

/* ===== HERO PANEL ===== */

html body[data-tool-id="privacy"] #npsStudio .nps-header,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio .nps-header{
    background:linear-gradient(
        125deg,
        #342078,
        #6941d9,
        #8049df,
        #432590
    )!important;

    background-size:250% 250%!important;
    animation:npsGradient 12s ease infinite;

    border:1px solid #a78bfa66!important;
    border-radius:18px!important;
    padding:25px 16px!important;

    box-shadow:0 8px 25px #5934c52b;
}

html body[data-tool-id="privacy"] #npsStudio .nps-header *,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio .nps-header *{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:1!important;
    text-shadow:none!important;
}

html body[data-tool-id="privacy"] #npsStudio .nps-header span{
    font-size:14px!important;
    font-weight:800!important;
}

html body[data-tool-id="privacy"] #npsStudio .nps-header h3{
    font-size:25px!important;
    font-weight:900!important;
    line-height:1.5!important;
    margin:12px 0!important;
}

html body[data-tool-id="privacy"] #npsStudio .nps-header p{
    font-size:15px!important;
    font-weight:600!important;
    line-height:1.85!important;
}

/* ===== THEME COLORS ===== */

html body[data-tool-id="privacy"] #npsStudio{
    --nps-text:#172033;
    --nps-muted:#475569;
    --nps-card:#f7f8fc;
    --nps-line:#cbd5e1;
    --nps-accent:#6336ce;
    --nps-bg:#ffffff;
    gap:15px!important;
}

html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio{
    --nps-text:#f8fafc;
    --nps-muted:#d4dbea;
    --nps-card:#202632;
    --nps-line:#414b60;
    --nps-accent:#c4b5fd;
    --nps-bg:#141923;
}

/* ===== LABELS ===== */

html body[data-tool-id="privacy"] #npsStudio .nps-label,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio .nps-label{
    color:var(--nps-text)!important;
    -webkit-text-fill-color:var(--nps-text)!important;
    font-size:16px!important;
    font-weight:800!important;
    opacity:1!important;
}

html body[data-tool-id="privacy"] #npsStudio .nps-label b,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio .nps-label b{
    color:var(--nps-accent)!important;
    -webkit-text-fill-color:var(--nps-accent)!important;
    font-size:18px!important;
    font-weight:900!important;
}

/* ===== BUTTONS ===== */

html body[data-tool-id="privacy"] #npsStudio button,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio button{
    background:var(--nps-card)!important;
    color:var(--nps-text)!important;
    -webkit-text-fill-color:var(--nps-text)!important;

    font-size:14px!important;
    font-weight:800!important;
    line-height:1.6!important;

    border:1px solid var(--nps-line)!important;
    min-height:45px;
}

html body[data-tool-id="privacy"] #npsStudio button.active,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio button.active{
    background:#7547e51f!important;
    border:2px solid var(--nps-accent)!important;

    color:var(--nps-accent)!important;
    -webkit-text-fill-color:var(--nps-accent)!important;

    box-shadow:0 0 12px #8055ee20!important;
}

html body[data-tool-id="privacy"] #npsStudio button#npsDetect,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio button#npsDetect{
    background:linear-gradient(
        115deg,#5530c4,#7949e9
    )!important;

    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;

    font-size:16px!important;
    min-height:54px;
    border:0!important;
}

/* ===== STATUS AND NOTES ===== */

html body[data-tool-id="privacy"] #npsStudio #npsStatus,
html body[data-tool-id="privacy"] #npsStudio .nps-warning,
html body[data-tool-id="privacy"] #npsStudio .nps-safe,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio #npsStatus,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio .nps-warning,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio .nps-safe{
    background:var(--nps-card)!important;

    color:var(--nps-text)!important;
    -webkit-text-fill-color:var(--nps-text)!important;

    font-size:14px!important;
    font-weight:600!important;
    line-height:1.9!important;
    opacity:1!important;
}

/* ===== PRECISE SETTINGS ===== */

html body[data-tool-id="privacy"] #npsStudio summary,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio summary{
    color:var(--nps-text)!important;
    -webkit-text-fill-color:var(--nps-text)!important;
    font-size:15px!important;
    font-weight:800!important;
}

html body[data-tool-id="privacy"] #npsStudio label span,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio label span{
    color:var(--nps-text)!important;
    -webkit-text-fill-color:var(--nps-text)!important;
    font-size:14px!important;
    font-weight:700!important;
}

html body[data-tool-id="privacy"] #npsStudio input[type="number"],
html body[data-tool-id="privacy"] #npsStudio select,
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio input[type="number"],
html[data-theme="dark"] body[data-tool-id="privacy"] #npsStudio select{
    background:var(--nps-bg)!important;
    color:var(--nps-text)!important;
    -webkit-text-fill-color:var(--nps-text)!important;

    font-size:16px!important;
    font-weight:700!important;

    border:1px solid var(--nps-line)!important;
    min-height:45px;
}

/* ===== PREVIEW REGION LABEL ===== */

html body[data-tool-id="privacy"] .privacy-selector[data-label]::before,
html body[data-tool-id="privacy"] .privacy-selector[data-label]::after,
html[data-theme="dark"] body[data-tool-id="privacy"] .privacy-selector[data-label]::before,
html[data-theme="dark"] body[data-tool-id="privacy"] .privacy-selector[data-label]::after{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    background:#30205e!important;
    font-size:12px!important;
    font-weight:800!important;
    opacity:1!important;
}

/* ===== PROCESS BUTTON ===== */

html body[data-tool-id="privacy"] #processButton,
html body[data-tool-id="privacy"] #processButton *,
html[data-theme="dark"] body[data-tool-id="privacy"] #processButton,
html[data-theme="dark"] body[data-tool-id="privacy"] #processButton *{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    font-size:16px!important;
    font-weight:800!important;
}

/* ===== DOWNLOAD BUTTON ===== */

html body[data-tool-id="privacy"] #downloadButton.visible,
html body[data-tool-id="privacy"] #downloadButton.visible *,
html[data-theme="dark"] body[data-tool-id="privacy"] #downloadButton.visible,
html[data-theme="dark"] body[data-tool-id="privacy"] #downloadButton.visible *{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    font-size:16px!important;
    font-weight:800!important;
}

html body[data-tool-id="privacy"] #downloadButton.visible,
html[data-theme="dark"] body[data-tool-id="privacy"] #downloadButton.visible{
    background:linear-gradient(
        120deg,#047857,#087f46
    )!important;
    border-color:#16a34a!important;
}

/* ===== MOBILE ===== */

@media(max-width:480px){

    html body[data-tool-id="privacy"] #npsStudio .nps-header h3{
        font-size:22px!important;
    }

    html body[data-tool-id="privacy"] #npsStudio .nps-header p{
        font-size:14px!important;
    }

    html body[data-tool-id="privacy"] #npsStudio button{
        font-size:13px!important;
    }
}

@media(prefers-reduced-motion:reduce){

    html body[data-tool-id="privacy"] #npsStudio .nps-header{
        animation:none!important;
    }
}
