.ncV4Category{
 position:relative;
 margin:7px 0 12px;
}

.ncV4Header{
 display:flex;
 align-items:center;
 gap:4px;
 min-height:32px;
}

.ncV4Heading{
 flex:1;
 min-width:0;
 text-align:left;
 border:0;
 background:transparent;
 color:#b5bac1;
 font-size:12px;
 font-weight:800;
 cursor:pointer;
 padding:7px 5px;
}

.ncV4Plus{
 width:30px;
 height:30px;
 border:0;
 border-radius:5px;
 background:transparent;
 color:#dbdee1;
 font-size:24px;
 cursor:pointer;
}

.ncV4Plus:hover{
 background:#45474e;
 color:white;
}

.ncV4Items[hidden]{
 display:none!important;
}

.ncV4Row{
 display:flex;
 align-items:center;
 gap:3px;
 width:100%;
}

.ncV4Row>.channel{
 flex:1;
 min-width:0;
 text-align:left;
}

.ncV4Delete{
 display:flex!important;
 align-items:center;
 justify-content:center;
 flex:0 0 27px;
 width:27px;
 height:27px;
 border:0;
 border-radius:5px;
 background:transparent;
 color:#b5bac1;
 font-size:21px;
 cursor:pointer;
}

.ncV4Delete:hover{
 color:#ff8080;
 background:#59343b;
}

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

#ncV4Overlay{
 position:fixed;
 inset:0;
 z-index:9999999;
 display:grid;
 place-items:center;
 padding:15px;
 background:rgba(0,0,0,.8);
 color:#f2f3f5;
}

.ncV4Dialog{
 position:relative;
 width:min(490px,95vw);
 max-height:90vh;
 overflow:auto;
 padding:25px;
 border-radius:12px;
 border:1px solid #484b55;
 background:#313338;
 box-shadow:0 20px 70px #000a;
}

.ncV4Dialog h2{
 margin:0 0 8px;
 font-size:23px;
}

.ncV4Dialog p{
 color:#b5bac1;
}

.ncV4Close{
 position:absolute;
 right:15px;
 top:12px;
 border:0;
 background:transparent;
 color:white;
 font-size:29px;
 cursor:pointer;
}

.ncV4Types{
 display:grid;
 gap:12px;
 margin:22px 0;
}

.ncV4Types label{
 display:flex;
 align-items:flex-start;
 gap:12px;
 cursor:pointer;
}

.ncV4Types input{
 width:20px;
 height:20px;
 accent-color:#5865f2;
}

.ncV4Types small{
 display:block;
 margin-top:4px;
 color:#b5bac1;
 font-size:12px;
}

.ncV4Label{
 display:block;
 margin:12px 0 8px;
 font-weight:bold;
}

#ncV4Name{
 box-sizing:border-box;
 width:100%;
 padding:13px;
 border:1px solid #5865f2;
 border-radius:5px;
 background:#1e1f22;
 color:white;
 font-size:15px;
}

#ncV4Error{
 color:#ff8080;
 min-height:18px;
}

.ncV4Actions{
 display:flex;
 justify-content:flex-end;
 gap:10px;
 margin-top:20px;
}

.ncV4Actions button{
 padding:11px 16px;
 border:0;
 border-radius:5px;
 color:white;
 background:#45474e;
 cursor:pointer;
}

#ncV4Submit{
 background:#5865f2;
}

#ncV4Submit:disabled{
 opacity:.5;
}

/* NOVACORE V4 - dubbele kanaaliconen uitschakelen */
body.novacore-active .ncV4Row > .channel::before,
body.novacore-active .ncV4Row > .channel:before,
.ncV4Row > .channel::before,
.ncV4Row > .channel:before {
    content: none !important;
    display: none !important;
}

.ncV4Row > .channel .ncV4ChannelIcon {
    display: inline-flex !important;
    align-items: center;
    flex-shrink: 0;
}

