/* NUJIZ VIDEO SPEED V2 */

body[data-tool-id="speed"] .nujiz-speed-v2 {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #514477;
  border-radius: 16px;
  background: #191c2c;
  color: #fff;
}

body[data-tool-id="speed"] .nsv2-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

body[data-tool-id="speed"] .nsv2-heading strong {
  font-size: 16px;
}

body[data-tool-id="speed"] #nsv2Value {
  color: #c5afff;
  font-weight: 800;
  font-size: 22px;
  direction: ltr;
}

body[data-tool-id="speed"] .nsv2-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

body[data-tool-id="speed"] .nsv2-presets button {
  min-width: 0;
  padding: 11px 5px;
  border: 1px solid #65558e;
  border-radius: 9px;
  background: #28334b;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

body[data-tool-id="speed"] .nsv2-presets button.active {
  background: #704cf2;
  border-color: #9d83ff;
}

body[data-tool-id="speed"] #nsv2Slider {
  display: block;
  width: 100%;
  margin: 14px 0 20px;
  accent-color: #825dff;
}

body[data-tool-id="speed"] .nsv2-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-tool-id="speed"] .nsv2-stats > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid #414861;
  border-radius: 10px;
  background: #222a3b;
}

body[data-tool-id="speed"] .nsv2-stats small {
  display: block;
  margin-bottom: 7px;
  color: #cbd1e1;
}

body[data-tool-id="speed"] .nsv2-stats strong {
  font-size: 19px;
  direction: ltr;
  display: block;
}

body[data-tool-id="speed"] .nsv2-note {
  margin: 15px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: #cbd1e1;
}

@media (max-width: 600px) {
  body[data-tool-id="speed"] .nujiz-speed-v2 {
    padding: 13px;
  }

  body[data-tool-id="speed"] .nsv2-presets {
    gap: 6px;
  }

  body[data-tool-id="speed"] .nsv2-presets button {
    font-size: 12px;
  }

  body[data-tool-id="speed"] .nsv2-stats strong {
    font-size: 16px;
  }
}

/* NUJIZ VIDEO SPEED V2 — BUTTON CONTRAST FIX */

body[data-tool-id="speed"] .nujiz-speed-v2 .nsv2-presets button {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  background: #293650 !important;

  border: 1px solid #64759b !important;

  opacity: 1 !important;
  visibility: visible !important;

  font-size: 15px !important;
  font-weight: 800 !important;

  text-shadow: none !important;

  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

body[data-tool-id="speed"] .nujiz-speed-v2 .nsv2-presets button:hover {
  background: #40527a !important;
  border-color: #a58bff !important;
  transform: translateY(-1px);
}

body[data-tool-id="speed"] .nujiz-speed-v2 .nsv2-presets button.active {
  background: #704cf2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  border-color: #b8a5ff !important;
  box-shadow: 0 0 0 2px rgba(157,131,255,.2);
}

body[data-tool-id="speed"] .nujiz-speed-v2 #nsv2Value {
  color: #e4d8ff !important;
  -webkit-text-fill-color: #e4d8ff !important;
  opacity: 1 !important;
}

body[data-tool-id="speed"] .nujiz-speed-v2 .nsv2-heading strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

@media (max-width: 600px) {
  body[data-tool-id="speed"] .nujiz-speed-v2 .nsv2-presets button {
    font-size: 14px !important;
    min-height: 44px;
  }
}



/* NUJIZ SPEED SUCCESS UI V1 */

.video-action-stack:has(#videoDownloadButton.visible)
#videoProcessButton {
    display:none!important;
}

