body{
    background-color: #222;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}
#logo{
    float: left;
    width: 250px;
    height: auto;
    margin: 25px;
    margin-left: 40px;
}
#loc{
    text-align: center;
    width: 20vw;
    margin-top: 39px;
    margin-left: 50px;
    height: 30px;
    font-size: 20px;
    background-color: #FF8000;
    border: none;
    border-radius: 10px;
}
#createCh{
    display: none;
    margin-top: 80px ;
    margin-left: 835px;
    float: left;
}

#newCh{
    width: 636px;
    height: auto;
    background-color: #333;
    margin: 10px;
    border-radius: 5px;
    padding: 10px;
    display: none;
    margin-left: 20px;
    border: 2px solid #ff8000;
}
.newInput{
    border-radius: 10px;
    width: 300px;
    height: 28px;
    font-size: 20px;
    text-align: center;
    border: none;
    margin-top: 15px;
}
.newSelect{
    border-radius: 8px;
    width: 300px;
    height: 28px;
    font-size: 20px;
    text-align: center;
    margin-left: 3px;
    border: 1px solid #fff;
    margin-top: 15px;
    background-color: #bbb;
}
#newCh td{
    width: 100px;
    margin-left: 10px;
}
#copied{
    display: none;
}

.channel{
    background-color: #333;
    /* width: 1080px;
    
    min-height: 50px;
    height: auto; */
    margin: 20px;
    border: 2px solid #ff8000;
    border-radius: 5px;
    padding: 10px;


    display: table;
    clear: both;    
}

.left{
    float: left;
    width: 200px;
    margin: 10px;
    float: left;
    overflow: visible;
}
.left h2{
    width: 250px;
    overflow: visible;
}

.map{
    float: left;
    width: 210px;
    margin: 10px;
    float: left;
    transform: rotate(345deg);
}
.map img{
    margin-top: 25px;
    height: 250px
}


.center {
    float: left;
    top: 0px;
    width: 480px;
    height: auto;
    margin: 10px;
}
.right {
    float: left;
    top: 0px;
    width: 240px;
    height: 270px;
    margin: 10px;
}

.player-wrapper {
    width: 480px;
    height: 270px;
    background-color: #000;
    border: 1px solid #888;
    border-radius: 5px;

}
.center_meta select{
    margin: 20px 90px;
    width: 300px;
    border-radius: 5px;
    height: 28px;
    font-size: 20px;
    text-align: center;
    border: none;
    
}

.return-wrapper {
    width: 180px;
    height: 102px;
    background-color: #000;
    border: 1px solid #888;
    border-radius: 5px;
    margin-bottom: 10px;
    margin-top: 3px;
    margin-left: 28px;
}

.chSelect{
    border-radius: 5px;
    width: 180px;
    height: 20px;
    font-size: 15px;
    text-align: center;
    border: 1px solid #fff;
    background-color: #bbb;
    outline:0;
}

.desc{
    float: left;
    color: #FF8000;
    width: 60px;
}

.remain{
    float: left;
    width: 110px;
}
.txt{
    float: left;
    width: 60px;
    overflow: visible;
}
.dim{
    float: left;
    width: 60px;
    opacity: 0.2;
    overflow: visible;
}
td{
    margin: 5px;
    text-align: left;
    width: 75px;
}

.devices{
    opacity: 0.4;
    margin-left: 33px;
    width: 72px;
}

#playout p{
    margin: 0px;
}

#playout td{
    width: 240px;
    text-align: center;
    height: 15px;
    margin: 0px;
}
.chat{
    width: 190px;
    height: 20px;
    border-radius: 5px;
}

/* .buts{
    width: 56px;
    margin: 8px;
    margin-left: 0px;
    height: 20px;
    border-radius: 5px;

} */

 /* Ensure dropdowns are properly clickable */
 .newSelect {
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.newSelect option {
    cursor: pointer;
}

/* Fix for table layout issues */
#newCh table td {
    position: relative;
}

#newCh select {
    width: 100%;
    box-sizing: border-box;
}

/* Hide video player and camera/mic selectors for return channels */
.channel[data-type="return"] .player-wrapper,
.channel[data-type="return"] .center,
.channel[data-type="return"] .right {
    display: none !important;
}

/* Make return channels exactly match capture channel width (980px) */
.channel[data-type="return"] .left {
    width: 300px !important;
}

.channel[data-type="return"] .center.compact {
    width: 680px !important;
}

/* Force return channels to have the same total width as capture channels */
.channel[data-type="return"] {
    display: flex !important;
    justify-content: flex-start !important;
    max-width: 980px !important;
}

/* Location button and dropdown styling */
#loc {
    background-color: #007bff;
    color: white;
    border: 1px solid #0056b3;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
    min-width: 150px;
    cursor: pointer;
}

#loc option {
    background-color: white;
    color: black;
    padding: 5px;
}



/* Device icon styling */
.devices {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    vertical-align: middle;
    border-radius: 3px;
}

.buts {
    color: #fff;
    width: 70px;
    height: 25px;
    margin: 8px;
    margin-left: 0px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    /* line-height: 20px; */
}

.buts:active {
    color: #000;
}

.buts:hover {
    border: 1px solid #000;
}

.buts.addcam {
    background-color: #4CAF50;
    color: white;
    width: 110px;
}

.buts.addcam:hover {
    background-color: #45a049;
    border: 1px solid #2d7a2f;
}

.newch{
    background-color: #ff8000;
    width: 100px;
    height: 22px;
}

.createch{
    background-color: #4CAF50;
    height: 22px;
}

.cancelch{
    background-color: #f44336;
    height: 22px;
}


.send {
    background-color: #4CAF50;
}
.clear {
    background-color: #ff8000;
}

.rotlock {
    background-color: #ff8000;
}

.geoloc {
    background-color: #6658fd;
}

.copy {
    background-color: #4CAF50;
}

.delete {
    background-color: #f44336;
}


.blink {
    font-weight: bold;
    animation: blinker 1s linear infinite;
  }
@keyframes blinker {
    80% {
      opacity: 0.7;
    }
}

#studio{
    width: 500px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    position: absolute;
    font-size: 24px;
    left: 752px;
    top: 48px;
}

#talkback{
    width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    position: absolute;
    font-size: 14px;
    left: 1152px;
    top: 18px;
}


#tb_wrap{
    background-color: #FF8000;
    width: 100px;
    height: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    position: absolute;
    font-size: 14px;
    left: 1052px;
    top: 18px;
}
.stop{
    width: 80px;
    margin-top: 10px;
    background-color: #f44;
    color: #000;
    border:1px solid #ccc;
    border-radius: 5px;
    display: none;
    clear: both;
}