body[data-tool-id="shape"] .vsp-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:12px 0;
}

body[data-tool-id="shape"] .vsp-shape-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:85px;
  padding:9px 3px;
  border:1px solid #64748b55;
  border-radius:12px;
  background:transparent;
  color:inherit;
  cursor:pointer;
  font:inherit;
  font-size:11px;
}

body[data-tool-id="shape"] .vsp-shape-card svg{
  width:35px;
  height:35px;
  color:#9385ed;
}

body[data-tool-id="shape"] .vsp-shape-card.active{
  border-color:#8b5cf6;
  background:#8b5cf61c;
  box-shadow:0 0 0 1px #8b5cf6;
}

body[data-tool-id="shape"] .vsp-extra{
  display:grid;
  gap:15px;
}

body[data-tool-id="shape"] .vsp-extra h4{
  margin:10px 0 0;
  padding-bottom:9px;
  border-bottom:1px solid #64748b55;
  font-size:14px;
  color:inherit;
}

body[data-tool-id="shape"] .vsp-range span{
  display:flex;
  justify-content:space-between;
  gap:8px;
}

body[data-tool-id="shape"] .vsp-range input{
  width:100%;
  accent-color:#8b5cf6;
}

body[data-tool-id="shape"] #vspReset{
  padding:12px;
  border:1px solid #64748b77;
  border-radius:10px;
  background:transparent;
  color:inherit;
  cursor:pointer;
  font:inherit;
}

#vspLiveFrame[hidden]{
  display:none!important;
}

#vspLiveFrame{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:12px;
  box-sizing:border-box;
}

#vspLiveCanvas{
  display:block;
  max-width:100%;
  height:auto;
  border-radius:5px;
  cursor:grab;
  touch-action:none;
}

#videoPlayerStage.vsp-active #videoPreview,
#videoPlayerStage.vsp-active #videoCanvas{
  display:none!important;
}

.vsp-playbar{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding:10px;
  border-radius:10px;
  background:#111827;
  color:#fff;
  box-sizing:border-box;
}

.vsp-playbar button{
  background:#263349;
  color:white;
  border:0;
  border-radius:7px;
  padding:8px 12px;
  cursor:pointer;
}

.vsp-playbar input{
  flex:1;
  min-width:30px;
  accent-color:#8b5cf6;
}

.vsp-playbar span{
  font-size:11px;
  white-space:nowrap;
}

@media(max-width:600px){
  body[data-tool-id="shape"] .vsp-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;
  }

  body[data-tool-id="shape"] .vsp-shape-card{
    min-height:68px;
    font-size:10px;
  }

  body[data-tool-id="shape"] .vsp-shape-card svg{
    width:27px;
    height:27px;
  }
}

/* NUJIZ SHAPE PREVIEW FIX */

body[data-tool-id="shape"] #videoPlayerStage.vsp-active {
    position:relative!important;
    display:block!important;
    height:auto!important;
}

body[data-tool-id="shape"] #videoPlayerStage.vsp-active #videoPreview {
    display:block!important;
    position:absolute!important;
    width:2px!important;
    height:2px!important;
    opacity:0.001!important;
    pointer-events:none!important;
    border-radius:0!important;
    left:0!important;
    top:0!important;
}

body[data-tool-id="shape"] #videoPlayerStage.vsp-active #videoCanvas {
    display:none!important;
}

body[data-tool-id="shape"] #vspLiveCanvas {
    position:static!important;
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:540px!important;
    object-fit:contain!important;
    background:transparent!important;
}

body[data-tool-id="shape"] .vsp-playbar button,
body[data-tool-id="shape"] .vsp-playbar span {
    color:#ffffff!important;
    opacity:1!important;
}

body[data-tool-id="shape"] .vsp-playbar {
    direction:ltr;
}


/* NUJIZ SHAPE PLAYER CONTRAST V2 */

#vspLiveFrame .vsp-playbar {
    background:#111827!important;
    color:#ffffff!important;
    direction:ltr!important;
    border:1px solid #334155!important;
}

#vspLiveFrame #vspPlay {
    background:#7047eb!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:1!important;
    font-size:20px!important;
    font-weight:700!important;
    min-width:46px!important;
    min-height:46px!important;
    border:0!important;
    border-radius:10px!important;
    text-shadow:none!important;
    filter:none!important;
}

#vspLiveFrame #vspPlay:hover {
    background:#805cf5!important;
}

#vspLiveFrame #vspMute {
    background:#334155!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:1!important;
    min-width:46px!important;
    min-height:46px!important;
}

#vspLiveFrame #vspTime {
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:1!important;
    font-size:13px!important;
    font-weight:600!important;
    font-variant-numeric:tabular-nums;
    white-space:nowrap!important;
    text-shadow:none!important;
}

#vspLiveFrame #vspSeek {
    accent-color:#8b5cf6!important;
    opacity:1!important;
    cursor:pointer!important;
}

@media(max-width:600px){
    #vspLiveFrame #vspTime {
        font-size:11px!important;
    }

    #vspLiveFrame #vspPlay,
    #vspLiveFrame #vspMute {
        min-width:36px!important;
        min-height:38px!important;
        padding:6px!important;
    }
}

