
.leftPanel{
    width: 20%;
    max-width: 256px;
    background-color: #292929;
    padding: 10px;
    display: flex;
    flex-direction: column;
    color: #fff;
}
.leftPanel h2{
    margin: 0;
    margin-bottom: 10px;
    font-size: 18px;
}
.charList{
    flex:1;
}

.mainContent{
    flex: 1;
    display: flex;
    flex-direction: row;
    color: #fff;
    height: calc(100% - 72px);
    width: 100%;
}

.char{
    
    aspect-ratio: 1/1;
    border: 1px solid #999;
    color: #999;
    font-size: xx-small;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.chars {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.leftChar{
    width: 30%;
}

.charIcon{
    width: 80%;
    height: 80%;
    object-fit: cover;
}
.addCharIcon{
    width: 80% !important;
    height: 80% !important;
    object-fit: cover !important;
    filter: brightness(0) saturate(100%) invert(68%) sepia(0%) saturate(992%) hue-rotate(157deg) brightness(93%) contrast(78%);
}

.char:hover{
    border-color: #fff;
    color: #fff;
    cursor: pointer;
}

.centerPanel{
    flex: 1;
    width: 80%;
    display: flex;
    flex-direction: column;
}

.monitor{
    width: 100%;
    flex:1;
    background-image: url("/ttcviewer/img/SMPTE_Color_Bars.png");
    background-size: cover;
    background-position: bottom;
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: center;
    gap: 0px;
    overflow: hidden;
    transform: translateZ(0px);
    backface-visibility: hidden;
}
.midContainer{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: center;
    gap: 0px;
    overflow: visible;
}

.monitorChar{
    margin-bottom: 0;
    margin-top: auto;
    flex: 0 0 auto;
    margin-right: 0px;
    z-index: 100;
    overflow: visible;
}

.charImg{
    height: 100%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: auto;
    bottom: 0;
    display: block;
    margin:auto;
    margin-bottom: 0;
    overflow: visible;
    
}

.flip{
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    left: 50%;
    transform: translateX(-50%) scale(-1, 1);
}

.charPanel{
    height: 15%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #1f1f1f;
}
.charPanelOptions{
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.charPanelContent{
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    width: 100%;
    height: 100%;
}

.selChar{
    overflow: clip;
}
.selChar img{
    height: 200%;
    width: 200%;
    object-fit: cover;
}


.modal-backdrop{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.addCharWindow{
    position: absolute;
    width: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1f1f1f;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #999;
}
.addCharWindowTitle{
    font-size: 18px;
    width: 100%;
    margin: 0;
    display:flex;
    flex-direction: row;
}
.winTitle{
    flex:1;
}
.closeBtn{
    cursor: pointer;
}
.addCharWindowContent form{
    display: flex;
    flex-direction: column;
}


.buttonBackground{
    background-color: #292929;
    border: 1px solid #999;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    text-align: center;
}
.buttonBackground:hover{
    background-color: #1f1f1f;
}