/* Font import */
@font-face {font-family: DS-Digital; src: url(./fonts/DS-DIGII.TTF);}
@font-face {
    font-family: Eurostile; 
    src: url(./fonts/EurostileExtendedBlack.ttf);
    font-weight: 900;
}

*{
    margin: 0;
    padding: 0;
}

body{
    
    width: 200px;
    height: 100px;
    font-family: monospace;
    color: white;
    overflow-x: hidden;
        overflow-y: hidden;
    text-align: center;
    margin-top:10px;
    margin-left:6px;
    

    

}

select{
    margin-right: 1px;
}

button{
    padding: 4px;
    margin-right: 1px;
    font-family: Eurostile, monospace;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 8pt;
    color: gainsboro;

    background: #101010;
    border: groove 2px gray;
    border-radius: 20px;
}

button:active{
    border: groove 2px gray;
    border-radius: 20px;
}

.toggle-button[state='off'] > p::before{
    content: url(./images/green-light-off.gif);
    margin-right: 3px;
}

.toggle-button[state='on'] > p::before{
    content: url(./images/green-light-on.gif);
    margin-right: 3px;
}


select{
    font-family: Eurostile, monospace;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 8pt;
    color: gainsboro;
    padding:30 5px;

    background: #101010; 
    border: groove 2px gray;
    border-radius: 20px;
}

select option{
    background: black;
}

select:active{
    border: groove 2px gray;
    border-radius: 20px;
}




/* Blink class */
.blink {
    animation: blinker 2s step-start infinite;
}
  



/* Columns section */
.columns {
    margin-top:-160px;
    display: flex;
    flex-direction: column;
    align-items: center;  /* Centers the items horizontally */
    justify-content: space-between;  /* Distributes space between items vertically */
}


.columns  div:first-child{
    flex-shrink: 0;
    margin-right: 5px;
}

.columns > div:last-child{
    flex-grow: 1;
}



/* -- Sliders -- */
input[type="range"] {
    appearance: none;
    background: none;
    border: solid 1px white;
    border-radius: 10px;
    
    height: 5px;
    margin-top: 7px;
    margin-bottom: 7px;
}

/* slider track */
input[type="range"]::-webkit-slider-runnable-track /* For Chrome */ {
    background: white;
    height: 100%;
    border-radius: 10px;
}

input[type="range"]::-moz-range-track /* For Firefox */ {

    height: 100%;
    border-radius: 10px;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb /* For Chrome */ {
    appearance: none;
    position: relative;
    top: -4px;

    background: black;
    border: groove 1px gainsboro;
    border-radius: 20px;
    
    border-radius: 5px;

    height: 0.8rem;
    width: 1.5rem;
}

input[type="range"]::-webkit-slider-thumb:active /* For Chrome */ {
    border: groove 2px gainsboro;
    
    border-radius: 10px;
}



input[type="range"]::-moz-range-thumb /* For Firefox */ {
    border: groove 1px gainsboro;
    border-radius: 20px;
    
    border-radius: 5px;

    height: 0.8rem;
    width: 1.5rem;
}

input[type="range"]::-moz-range-thumb:active /* For Firefox */ {
   ;
    border: groove 2px gainsboro;
    
    border-radius: 10px;
}



/* ---- Web Deck Player ---- */
#web-deck-player{
}


/* Player title bar */
#player-title-bar{
    display: flex;
    color: gainsboro;
    font-family: Eurostile, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 10pt;
    margin-bottom: 12px
}

#player-title-bar:before,
#player-title-bar:after{
    content: "";
    flex: 1;
    margin: auto 1em;
    height: 2px;
    border-top: ridge white 2px;
    border-bottom: ridge white 2px;
}

/* Player body */
#player-body {
    width: 185px;  /* Enforce a strict width */
    height: 400px;
    margin: 2px;
    padding: 5px;
    border-radius: 5px;
  
    background: #101010;
    overflow: hidden;  /* Prevent overflow */
                filter: sepia(0.2);

}


/* Player main section */
#player-main-section{
    margin-bottom: 5px;
}


/* Player display */
#player-display {
    margin-top: 160px;
    border: 4px solid #fff;
    height: 100px;
    width: 175px;
    background: black;
    border-radius: 5px;
}

#info-screen {
    width: 90%;  /* Ensures it doesn't exceed parent width */
    background: #fff;
    color: black;
    border: solid 3px #101010;
    border-radius: 5px;
    margin-bottom: 5px;
        margin-top: 10px;

    padding: 5px;
    font-family: DS-Digital, monospace;
    font-size: large;
    letter-spacing: 0.1em;
}
.player-row{
    max-width: 200px;
    margin-top: 5px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#volumeButton{
    height: 25px;
    width: 25px;
}

#volumeButton img{
    height: 100%;
}

#volumeBar{
    width: 120px;
}



#videoButton{
    height: 25px;
}

#playerLogo{
    text-align: center;
    height: fit-content;
}

#playerLogo > img{
        margin-left: 10px;

    margin-top: 5px;
    max-height: 30px;
}

/* Player control panel */
#player-control-panel{
    font-size: 0;
}

#seekBar{
    width: 99%;
    margin-bottom: 12px;
}

.playing-controls{
    margin-bottom: 5px;
    margin-right: 5px;
    padding: 3px;
    display: inline-block;
    width: fit-content;
    background: none;
    border-radius: 5px;
    vertical-align: middle;
}

.playing-controls[rounded]{
    border-radius: 20px;
}

.playing-controls[float-right]{
    float: right;
}

.playing-controls button{
    height: 30px;
    min-width: 45px;
}

.playing-controls button img{
    height: 100%;
}


#infoButton{
    border-radius: 20px;
    height: 30px;
    min-width: 30px;
    font-size: large;
}

#playlistSelector{
    margin-right: 15px;
    height: 30px;
    width: 150px;
    text-overflow: ellipsis;
}