body {
    background:#17151f;
    height: 100%;
    margin: 0;
    width: 100vw;
    overflow-x: hidden;
}

* {
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
.title {
    margin-top: -30px;
    text-align: center;
    font-size: 45px;
    color:white ; 
}



.loginbox {
    background-color: #1d1e38;
    width: 80%;
    border-radius: 10px;
    padding-top: 5px;
    padding-bottom: 20px;
    margin: 0 auto;
}
.subtitle {
    text-align: center;
    font-size: 15px;
    text-decoration: underline;
    color:white ; 
}

.userinput {
    text-align: center;
    padding-top: 15px;
    font-size: 40px;
}

    /* width */
    ::-webkit-scrollbar {
        width: 10px;
      }
      
      /* Track */
      ::-webkit-scrollbar-track {
        background: transparent;
      }
      
      /* Handle */
      ::-webkit-scrollbar-thumb {
        background: #4d4d4d;
        border-radius: 5px;
      }
      
      /* Handle on hover */
      ::-webkit-scrollbar-thumb:hover {
        background: #646464;
      }

input {
    
    color: wheat;
    font-size: 20px;
    padding: 5px;
    margin: 5px;
    width: 250px;
    background-color: transparent;
    border-radius: 0px;
    border: none;
    border-bottom: 2px solid #000000;
    padding-bottom: 8px;
    padding-left: 5px; /* Adjust the left padding to move text to the left */
    padding-top: 5px; /* Adjust the top padding to move text to the bottom */
    box-sizing: border-box;
}




input[name="Username"] {
    margin-bottom: 40px;
}

.loginbutton {
    background-color: rgb(33, 87, 180);
    color: white; 
    padding: 10px 60px; 
    border-radius: 5px;
    cursor: pointer; 
    display: block; 
    margin: 0 auto;
}

button:hover{
    opacity: .7;
}

.error{
    background: #5c5c5c;
    color: #000000;
    padding: 10px;
    width: 250px;
    border-radius: 5px;
    margin: 0 auto;
}

.profilename {
    font-size: 15px;
    color: white;
    left: 80px;
    padding-right: none;
}


.logout {
    font-size: 10px;
    color: black;
    margin-top: 5px;
    margin-right: 20px;
    margin-left: -15px;
    background-color: rgb(150, 148, 148);
    border-radius: 5px;
    cursor: pointer; 
    display: inline-block; /* Use inline-block to prevent it from taking full width */
    padding: 4px;
    width: 60px;
}

.title2 {
    font-size: 25px;
    color: white;
    opacity: 0%;
    margin-bottom: 10px;
}

.serverbuttondiv {
    display: flex;
    justify-content: center;  /* Center child elements horizontally */
    margin: 0 auto;            /* Center this container if it has a fixed width */
    margin-bottom: 10px;
    width: 95%;               /* Ensure it stretches across the parent */
}


.serverbutton {
    background-color:#24223a;
    width: 95%;
    cursor: pointer;
    display: flex; /* Use flexbox to align items horizontally */
    align-items: flex-start; /* Align items at the start (top) of the container */
    padding: 0px; /* Adjust padding as needed */
    border: none;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.521);
    border-radius: 20px 0 0 20px;
}

.serverbutton1 {
    display: flex; 
    width: 100%; 
    border: 2px solid rgb(66, 59, 71); 
    border-left: none; 
    border-right: none;
}

.managebutton {
    display: flex;
    align-items: center;     /* vertical alignment */
    justify-content: center; /* horizontal alignment (optional) */
    padding: 0 12px;
    background-color:#1727ff;
    color: white;
    border: solid 2px rgb(66, 59, 71);
    cursor: pointer;
    border-radius: 0 10px 10px 0;
}

.managebutton img{
    transition: transform 0.3s ease; /* Smooth animation */
    width: 25px;
    height: auto;
}

.managebutton:hover img {
    transform: rotate(60deg); /* Adjust degree here */
}

.managebutton p {
color: white;
margin: 0 0 0 5%;
}

.status-image {
    width: 15%; 
    border-radius: 15px 0px 0px 15px;
    height: 80px;
    
    display: flex;
    align-items: center; /* Vertical centering */
    white-space: nowrap;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
        text-overflow: ellipsis;
}

.status-image h1 {
    margin-left: 10%;
}

.sbuttontitle {
    text-align: left;
    font-size: 15px;
    color: #000000;
    margin-top:4px;
    font-family:Arial, Helvetica, sans-serif;
    margin-left: -5px;

}

.adminserveronline {
    margin-top: 25px;
    margin-left: -90px;
    color: #000000;
}

.fingfongbutton {
    cursor: pointer;
    display: flex; 
    align-items: flex-start; 
    margin: 0 auto;
    font-size: 30px;
    padding: 20px;
    width: 80%;
    background-color: grey;
    text-align: center;
    border-radius: 20px;
}


.adminserverIP {
    margin-top: 45px;
    margin-left: -50px;
    color: #000000;
    font-size: 10px;
}

.sidebuttons button{
    background-color: transparent;
    color: white;
    border: none;
    display: flex;
    font-size: 20px;
}

.managescreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    display: none; /* default hidden */
    opacity: 0;
    transition: opacity 0.1s ease;
}

.managescreen.visible {
    display: flex;
    opacity: 1;
}


.servermanagepanel {
    background-color:#282636;
    width: 50%;
    height: 90%;
    margin: 0 auto;
    border: 2px solid rgb(66, 59, 71);
    border-radius: 10px;
    
}

.servermanagepanel label {
color: white;
margin-left: 10px;
margin-top:20px;
font-size: 2vw;
}

.manageserverheading {
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    color: white;
    font-size: 3vh;
}

.sidebar-top {
    margin-top:10%;
}

.sidebarbutton {
    margin-top: 1vh;
    transition: ease 0.05s;
}

.sidebarbutton:hover {
    margin-left: 2%;
}

.sidebaricons {
    width: 23px;
    height: 23px;
    margin-left: 1.2vh;
    margin-right: 1vh;
    margin-bottom:2px;
}

.title2subtitle {
    color: white;
    text-align: center;
    font-size: 13px;
    margin:0;
    margin-bottom: 3vh;
}

.sidebartext {
    color: white;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-bottom: 1vh;
    margin-left: 1vh;
}

.ellipsis-button{
    background-color:transparent;
    border-color: transparent;
    color: white;
    cursor: pointer;
    font-size: 1.5em;
}

.buttonguicpu {
    position: absolute;
    bottom: 15px;
    left: 80vh;
    border-radius: 50px;
}

.buttonguiram {
    position: absolute;
    bottom: 15px;
    left: 110vh;
    border-radius: 50px;
}

.consolelogs {
    background-color:rgb(11, 5, 31);
    padding-bottom: 20px;
    font-size: auto;
    font-family: monospace;
    word-wrap: break-word;
    width: 99%;
    max-width: 100%;
    border-radius: 10px 10px 0px 0px;
    border: 1px solid rgb(66, 59, 71); /* border shorthand property */
    border-bottom: none;
    color: white;
    white-space: pre-wrap;
}

.consolelogs span, 
.consolelogs a {
    font-family: inherit !important;
}




.pagecontainer{
display: flex;
}


.pagecontent {
    width: 100%;
}

.sidebarbar{
    background-color: rgb(74, 69, 78);
    height: 0.1vh;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 1vh;
}

.sidebar {
    display: none;
    transition: all 0.5s ease; /* Enable transition */
    position: sticky;
    top:0;
}

.title4 {
    font-size: 20px;
    color: white;
    opacity: 100%;
    padding-left: 1vh;
}

.usernamebutton {
    background-color: #1d1e38;
    width: 100%;
    display: flex;
    align-items: center;
    border: transparent;
    position: relative;
    cursor: pointer; 
    margin-right: 1vh;
    justify-content: space-between; /* Split left and right */
    transition: all 0.5s ease; /* Enable transition */
  }

.usernamebutton h1 {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 5px;
    font-size: 20px;
}

.usernamebutton img {
    width: 25px;
    height: 25px;
    margin-right: 5px;
}

.profile {
    width: 30px;
    margin-left: 15px;
    margin-bottom: 0.4vh;
}

.container {
    background-color: #1d1e38;
    display: flex;
    justify-content: space-between; /* Space out items to the edges */
    align-items: center; /* Vertically center content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: adds a shadow for visual separation */

}

.pagetitle {
    color: white;
    text-align: center;
    font-size: 20px;
}



.buttonbar{
    background-color: rgb(255, 255, 255);
    height: 0.1vh;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 1vh;
}


.stat {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 95%;
}

.serverbuttonstatbar {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 25%;
}

.stat-label {
    color: white;
    font-size: 18px;
}

.progress-bar {
    margin-left: 1%;
    position: relative;
    width: 75%;
    height: 30px;
    background-color: rgb(32, 28, 44);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 5px #000000;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1727ff, #6756ff);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 10px 0 0 10px;
    box-shadow: inset 0 0 5px #000000;
}

.stat-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}


.serverlogstattitle{
    color: white;
    text-align: center;
    font-size: 40px;
}

.servermetrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1rem;
}

.serverlogstat {
    flex: 1 1 400px;
    min-width: 380px;
    max-width: 680px;
    box-sizing: border-box;
    background-color: #282636;
    border-radius: 10px;
}

canvas {
    width: 100% !important;
    height: auto !important;
}

.controlbutton {
    display: flex;
    justify-content: center; /* Centers buttons horizontally */
    gap: 10px; /* Optional: adds space between buttons */
    margin-top: auto; /* Pushes the controlbutton to the bottom */
    margin-bottom: 3%;
  }
  
  .controlbutton button {
    width: 46%;
    background-color:#4c58ff;
    padding: 10px 3px 10px 3px;
    border-radius: 10px;
    border: none;
    color: white;
  }
  
.serverstatbody {
    display: flex;
  flex-direction: column;
  height: 100%; /* Ensure the parent has a defined height */
  background-color: #282636;
}

.statustext {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: white;
    margin-left: 10px;
    margin-bottom: 0px;
  }
  
.title5 {
    display: none;
}
  


  .serverstatbody img {
    margin-right: 10px;
  }
  
.statustext span {
    margin-left: 1%;
}

.button-container {
    width: 100%;
}


.serverbuttonstat img {
    margin-right: 5px;
    height: 24px;
    width: 24px;
} 

.serverbuttonstat {
    display: flex;
    flex-direction: column;       /* Stack the h1 elements vertically */
    justify-content: center;      /* Center vertically */
    height: 200px;                /* Set a height for the container */
    width: 200px;
}
  

.serverbuttonstat h1{
    margin-top: 0;
    margin: 2px;
    margin-left: 10px;          /* Adds spacing between the headings */
}

.buttonguititle {
font-size: 1.2vw;
width: 100%;
}

@media (max-width: 600px) {

.title5 {
    font-size: 20px;
    color: white;
    margin-left: 2px;
    margin-bottom: 0px;
    margin-right: auto; /* pushes it to the left */
    display: block;
}

.title3 {
    text-align: center;
    color: white;
    font-size: 50px;
}

.sidebar2 {

    display: none;

}


.serverstatistics {
    z-index: 1;
    width: 90%;
    margin: auto;
}

.serverstatshead {
    background-color: #1d1c2e;
    border-radius: 10px 10px 0px 0px;
    font-size: 10px;
    color: white;
    width: 100%;
    border: 1px solid rgb(66, 59, 71);
    border-bottom: none;
    margin-bottom: -13px;
    display: flex;
    justify-content: center; /* horizontal center, optional */
    padding-bottom: 10px;
}

.serverstatbody {
    width: 100%;
    height: 350px;
    border-radius: 0px 0px 10px 10px;
    border: 1px solid rgb(66, 59, 71);
    border-top: none;
}

.serverstatuscontainer {
    display: flex;
    align-items: center; /* Align items vertically in the center */

}

.serverstatuscontainer img {
    margin-left: 15px;
    margin-top: 2px;
}

.statustext {
    font-size: 20px;
    color: white;
    margin-left: 10px;
    margin-bottom: 0px;
}

.stat-icon{
    margin-left: 5px;
    width: 25px;  /* Adjust the size of the icon */
    height: 25px; /* Adjust the size of the icon */
    vertical-align: middle; /* Align the icon vertically with the text */
}

.consolebottom {
    background-color: rgb(11, 5, 31);
    width: 99%;
    border-radius: 0px 0px 10px 10px;
    border: 1px solid rgb(66, 59, 71); /* border shorthand property */
    border-top: none;
}

.consoleoutcontainer {
    width: 100%;
}

.consoleinput {
    width: 94%;
    border-radius: 100px;
    font-size: 9px;
    color: white;
    border-bottom: none;
    outline: none;

}

.consoleheader {
    background-color: #1d1c2e;
    margin-top: 3%;
    border: 1px solid rgb(66, 59, 71); /* border shorthand property */
    border-bottom: none;
    padding-top: 5px;
    padding-bottom: 5px;
}

.consoleheader p {
    margin: 0;
    color: white;
    text-align: center;
    
}
.submitbutton {
    height: 20px;
    width: 20px;
    border: none;
}

input {
    
    color: wheat;
    font-size: 20px;
    padding: 5px;
    margin: 0;
    width: 250px;
    background-color: transparent;
    border-radius: 0px;
    border: none;
    border-bottom: 2px solid #000000;
    padding-left: 7px; /* Adjust the left padding to move text to the left */
    box-sizing: border-box;
}


.consoleinputoutline {
    display: flex;
    background-color: rgb(32, 28, 44);
    border-radius: 7px;
    width: 98%;
    margin: 0 auto;
    border: 1px solid #444444; /* Changed border-style to border */
    margin-bottom: 3px;
}

.consoleinputoutline:focus-within{
    border: 1px solid #b9b9b9; /* Changed border-style to border */ 
}


.consolelogs {
    background-color:rgb(11, 5, 31);
    padding-bottom: 0;
    font-size: auto;
    font-family: 'Courier New', Courier, monospace;
    word-wrap: break-word;
    width: 99%;
    max-width: 100%;
    border-radius: 10px 10px 0px 0px;
    border: 1px solid rgb(66, 59, 71); /* border shorthand property */
    border-bottom: none;
    color: white;
}




.serverbutton {
    margin-bottom: 1vh;
}
    
    .ellipsis-button{ 
        display: none;
    }

    .ipimg {
        height: 3vh;
        position: absolute;
        z-index: 0;
        left: 4vh;
        margin-top: 1.2vh;
    
    }
    
    .buttonip {
        color: white;
        position: absolute;
        font-size: 14px;
        margin-left: 1vh;
        margin-top: 1.7vh;
    
    }

    .utimg {
        height: 2.8vh;
        position: absolute;
        z-index: 0;
        left: 4vh;
        margin-top: 3.9vh;
    
    }

    .buttonut {
        color: white;
        position: absolute;
        font-size: 14px;
        margin-left: 1vh;
        margin-top: 4.6vh;
    }

.buttonguititle {
    color: rgb(255, 255, 255);
    position: absolute; /* Absolute positioning within the relative parent */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust position to be truly centered */
    padding-left: 2vh;
    padding-right: 2vh;
    padding-bottom: 0.1vh;
    border: white solid 1.2px;
    border-top: none; 
    border-left: none; 
    border-right: none;
}

.serverbuttonstat {
    opacity: 0%;
    display: none;
}

}

@media (min-width: 600px) {

.consoleheader {
    display: none;
}

.consolecontent {
width:100%;
display:flex;
}

.title {
    font-size: 60px;
}


.subtitle {
    font-size: 20px;
}

input {
    width: 270px;
}

.loginbutton {
    padding: 15px 70px; 

}

.error{
    width: 70%;
}

.title2 {
width: 80%;
}

.adminserveronline {
    font-size: 15px;
    margin-top: 30px;
    margin-left: -120px;
}

.sbuttontitle {
    font-size: 20px;

}

.status-image {
    width: 15%; 
    height: 130px;
}

.tpsdisplay {
    margin-top: 95px;
    margin-left: -560px;
    color: #000000;
    font-size: 20px;
}

.playerdisplay {
    margin-top: -18px;
    margin-left: -618px;
    color: #000000;
    font-size: 20px;  
}

.ramdisplay {
    margin-top: -65px;
    margin-left: -90px;
    color: #000000;
    font-size: 20px;  

}

.cpudisplay {
    margin-top: -17px;
    margin-left: -72px;
    color: #000000;
    font-size: 20px;  

}

.loginbox {
    padding-top: 5px;
    padding-bottom: 20px;
    width: 50%;
}

.sidebar2 {
    background: linear-gradient(to right, #060224, #17006b); /* Change colors as needed */
    width: 32vh;
    height: 100%;
    display: block;
    margin-top: -2.5vh;
    border: 2px solid rgb(66, 59, 71); /* border shorthand property */
    border-left: none; /* You might want to remove border from right */
    border-bottom: none;
    padding-bottom: 23px;
    position: sticky;
    top:0;
}


}

@media (min-width: 800px) {

    .servermetrics {
        display: flex; 
        justify-content: center;
        align-items: center;
    }

    .adminserverIP {
        margin-top: 65px;
        margin-left: -90px;
        color: #000000;
        font-size: 20px;
    }
    

    .title {
        font-size: 80px;
    }
    
    .subtitle {
        font-size:25px;
    }
    
    input {
        width: 70%;
    }
    
    .loginbutton {
        padding: 20px 80px; 
    
    }
    
    .error{
        width: 70%;
    }
    
    .profile {
        width: 50px;
        height: 50px;
        margin-top: 5px;
    }
    
    .profilename {
        font-size: 35px;
        margin-right: 40px;
        margin-top: 25px;
        margin-left: 10px;
    }
    
    .logout {
        font-size: 20px;
        padding: 5px;
        width: 120px;
        margin-top: 10px;
    }

    .title2 {
        display: block;
        margin: 0 auto;
        margin-bottom: 1vh;
        width: 80%;
        height: auto;
        opacity: 100%;
    }
    

    .status-image {
        width: 20%; 
        height: 80px;
    }

    .sbuttontitle {
        font-size: 25px;
    }
    .adminserveronline {
        font-size: 20px;
        margin-top: 30px;
        margin-left: -150px;
    }

    .tpsdisplay {
        margin-top: 95px;
        margin-left: -560px;
        color: #000000;
        font-size: 20px;
    }
    
    .playerdisplay {
        margin-top: -18px;
        margin-left: -618px;
        color: #000000;
        font-size: 20px;  
    }
    
    .ramdisplay {
        margin-top: -68px;
        margin-left: -90px;
        color: #000000;
        font-size: 20px;  
    
    }
    
    .cpudisplay {
        margin-top: -17px;
        margin-left: -72px;
        color: #000000;
        font-size: 20px;  
    
    }

    .loginbox {
        padding-top: 5px;
        padding-bottom: 20px;
        width: 50%;
    }

    .servermanagepanel label {
        color: white;
        margin-left: 10px;
        margin-top:20px;
        font-size: 1vw;
    }

    
    .sidebar {
        background: linear-gradient(to right, #060224, #17006b); /* Change colors as needed */
        width: 32vh;
        height: 99.9vh;
        display: block;
        border: 2px solid rgb(66, 59, 71); /* border shorthand property */
        border-left: none; /* You might want to remove border from right */
        border-bottom: none;
        border-top: none;
        box-shadow: 0 2px 5px rgba(255, 0, 0, 0.1); /* Optional: adds a shadow for visual separation */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .outline {
        background-color: #241f38;
        transition: background-color 0.3s, color 0.3s;
        padding-top: 0.8vh;
        padding-bottom: 0.8vh;
        border-radius: 10px;
        width: 95%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        margin-bottom: 5px;
    }

    .outline img{
        margin-left: 5px;
    }

    .outlineunslected{
        background-color: #241f38;
        transition: background-color 0.3s, color 0.3s;
        padding-top: 0.8vh;
        padding-bottom: 0.8vh;
        border-radius: 10px;
        width: 95%;
        margin: 0 auto;
        display: flex;
        align-items: center;
    }
    



    .pagetitle {
        color: white;
        text-align: center;
        margin-left: -10vh;
        font-size: 25px;
    }

    .aboutus {
        margin-top: 70px;
        text-align: center;
        color: white;
        font-size: 50px;
    }
    .backbutton2{
        color: black;
        background-color: transparent;
        color: white;
        border-color: transparent;
        font-size: 2em;
        margin-left: 3%;
        margin-top:2%;
        position: absolute;

    }
    .backbutton{
        top: 10px;
        position: sticky;
        color: white;
        background-color: transparent;
        border: none;
        font-size: 30px;
        display: flex;
        margin: 20px 0px 0px 20px;
    }

    .aboutp {
        color:white;
        text-align: center;
        font-size: 25px;
        width:80%;
        margin: 0 auto;
        padding-bottom: 220px;
    }



    .noservers {
        color: white;
        text-align: center;
        margin-left: -10vh;
        margin-top: 102px;
        font-size: 50px;
    }
 
  
  .buttonguititle {
    color: rgb(255, 255, 255);
    margin-left: 0px;
}

.buttonip {
    color: white;
    bottom: 30px;
    left: 440px;
    position: absolute;
    font-size: 17px;
}
.serverbuttonstat {
    height: 80px;
    top: 0;
    z-index: 0;
    opacity: 100%;

}



.ipimg {
    height: 30px;
    position: absolute;
    top: 8px;
    left: 408px;
    width: 30px;
    z-index: 0;
}

.buttonut{
    color: white;
    bottom: 0px;
    left: 440px;
    position: absolute;
    font-size: 17px;
}

.utimg {
    height: 24px;
    position: absolute;
    top: 40px;
    left: 411px;
    width: 24px;
    z-index: 0;
}

.ellipsis-button{
    cursor: pointer;
    font-size: 1.5em;
    left: 92%;
    position: absolute;
    bottom: 48px;

}

.buttonguicpu {
    position: absolute;
    bottom: 15px;
    left: 80vh;
    border-radius: 50px;
}

.buttonguiram {
    position: absolute;
    bottom: 15px;
    left: 110vh;
    border-radius: 50px;
}

.playersonline1 {
    position: absolute;
    bottom: 18px;
    left: 40vh;
    border-radius: 50px;
}

.title3 {
    text-align: center;
    color: white;
    font-size: 50px;
}


.consolebottom {
    background-color: rgb(11, 5, 31);
    width: 99%;
    height: 60px;
    border-radius: 0px 0px 10px 10px;
    border: 1px solid rgb(66, 59, 71); /* border shorthand property */
    border-top: none;
}

.consoleoutcontainer {
    margin-left:3%;
    width: 66%;
}

.consoleinput {
    width: 94%;
    border-radius: 100px;
    font-size: 17px;
    color: white;
    border-bottom: none;
    outline: none;

}

.submitbutton {
    height: 35px;
    width: 30px;
    border: none;
}

.consoleinputoutline {
    display: flex;
    background-color: rgb(32, 28, 44);
    border-radius: 100px;
    width: 98%;
    margin: 0 auto;
    border: 1px solid #444444; /* Changed border-style to border */
}

.consoleinputoutline:focus-within{
    border: 1px solid #b9b9b9; /* Changed border-style to border */ 
}

.serverstatistics {
z-index: 1;
margin-left: 3%;
width: 20%;

}

.serverstatshead {
    background-color: #1d1c2e;
    border-radius: 10px 10px 0px 0px;
    font-size: 10px;
    color: white;
    width: 100%;
    border: 1px solid rgb(66, 59, 71);
    border-bottom: none;
    margin-bottom: -13px;
    display: flex;
    justify-content: center; /* horizontal center, optional */
    padding-bottom: 10px;
}

.serverstatbody {
    width: 100%;
    height: 350px;
    border-radius: 0px 0px 10px 10px;
    border: 1px solid rgb(66, 59, 71);
    border-top: none;
}

.statustext {

    font-size: 20px;
    color: white;
    margin-left: 10px;
    margin-bottom: 0px;
}

.serverbuttons {
    display: flex;
    justify-content: center; /* Align items horizontally to the center */
    align-items: center;
    margin-top: 295px;
    margin-left: 8px;

}

.serverbuttons button {
    height: 50px;
    margin-right: 10px;
    width: auto;
    min-width: 150px;
    background-color: #5744ff;
    border-radius: 10px;
    border: 1px solid rgb(54, 53, 80);
    
}

#serverButton.actionbutton {
    background-color: #5744ff;
    height: 50px;
    border-radius: 10px;
    border: 1px solid rgb(54, 53, 80);
    font-size: 20px;
}

#serverButton.actionbuttonselected {
    background-color: #605f75;
    height: 50px;
    border-radius: 10px;
    border: 1px solid rgb(45, 50, 71);
    font-size: 20px;
}

#restartbutton.actionbutton {
    background-color: #5744ff;
    height: 50px;
    border-radius: 10px;
    border: 1px solid rgb(54, 53, 80);
    font-size: 20px;
}

#restartbutton.actionbuttonselected {
    background-color: #605f75;
    height: 50px;
    border-radius: 10px;
    border: 1px solid rgb(45, 50, 71);
    font-size: 20px;

}

.status-image2 {
    height: 25px;
    width: 25px;
    border-radius: 100%;
}
.serverstatuscontainer {
    display: flex;
    align-items: center; /* Align items vertically in the center */

}

.serverstatuscontainer img {
    margin-left: 15px;
    margin-top: 2px;
}

.stat-icon{
    margin-left: 5px;
    width: 25px;  /* Adjust the size of the icon */
    height: 25px; /* Adjust the size of the icon */
    vertical-align: middle; /* Align the icon vertically with the text */
}



.usernamebutton {
    background-color: transparent;
    background: linear-gradient(180deg, #17151f, #17151f, #17151f, transparent);
    width: 100%;
    display: flex;
    align-items: center;
    border: transparent;
    cursor: pointer; 
    margin-right: 1vh;
    justify-content: right; /* Split left and right */
    top:0;
    position: sticky;
    z-index: 10;
}

.usernamebutton h1 {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
    font-size: 30px;
}

.usernamebutton img {
    width: 40px;
    height: 40px;
}

.container {
    display: flex;
    justify-content: flex-end;
    background-color: transparent;
    box-shadow: none; /* Optional: adds a shadow for visual separation */
}

.profile {
    margin-bottom:1vh;
}

.title4 {
    font-size: 25px;
    color: white;
    opacity: 0%;
}

.serverbutton {
    background-color:#24223a;
    width: 95%;
    cursor: pointer;
    display: flex; /* Use flexbox to align items horizontally */
    align-items: center; /* Align items at the start (top) of the container */
    padding: 0px; /* Adjust padding as needed */
    border: none;
}

.buttonguititle {
    color: rgb(255, 255, 255);
    margin-left: 0px;
    text-align: left;
}

}


#fesidebar {
    width: 20%;
    height: 97.8vh;
    background-color: #2c2a50;
    margin: 0.5%;
    border: 2px solid rgb(66, 59, 71); /* border shorthand property */
    border-radius: 10px;
    z-index: 4;
}

#save {
    position: absolute;
    top: 2vh;
    right: 2vh;
    height: 2.4vh;
    width: 2.4vh;
    cursor: pointer;
}

#editor {
    width: 99.9%;
    height: 93.7vh;
    background-color: #1d1b35;
    z-index: 3;
    border: 2px solid rgb(66, 59, 71); /* border shorthand property */
    border-radius: 10px;
    color: white;
    font-size: 1em;
    text-wrap:wrap;
    border-radius: 0 0 10px 10px;
    border-top: none;
}

.editortop {
    width: 99.9%;
    background-color:#100e1d ;
    height: 4vh;
    border-radius: 10px 10px 0 0;
    border: 2px solid rgb(66, 59, 71); /* border shorthand property */
    border-bottom: none;
    display: flex;
    align-items: center;  
}


.editortop p {
    margin:0 0 0 1vh; 
    font-size:2vh;
    color:white;
}



#uploadOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.menubutton.disabled {
    color: gray;               /* text greyed out */
    opacity: 0.5;              /* slightly faded */
    pointer-events: none;      /* cannot be clicked */
}



#uploadBox {
    background: #1f1b2e;
    color: white;
    padding: 30px;
    border-radius: 12px;
    width: 400px;
    text-align: center;
    position: relative;
    border: 2px solid white;
}

.closeUpload {
    position: absolute;
    right: 10px;
    top: 10px;
    background: darkred;
    border: none;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
}





.editorparent {
    width: 89%;
    margin: 0.5%;
    margin-left: 0;
}


.filetext {
    margin: 0;
    color: rgb(255, 255, 255);
    font-size: 1.4vh;
    margin-top: 1.5vh;
    margin-left: 0.4vh;
    box-sizing: border-box;
    background-position: 0.5vh center;
    background-repeat: no-repeat;
    background-size: contain; /* Change background-size to contain */
    padding-left: 3.2vh;
    padding-top: 2px; /* Add padding-top to adjust for top cut-off */
    padding-bottom: 2px; /* Add padding-bottom to adjust for bottom cut-off */
}

.filetext:hover {
    color: rgb(122, 122, 122);
    cursor: pointer;

}



.filepopup {
    display:none; 
    position:fixed; 
    top:50%; 
    left:50%; 
    transform:translate(-50%, -50%);
    background-color:#37395aec; 
    color:white; 
    padding:2vh; 
    border:white solid 2px;
    border-radius:10px; 
    z-index:1000;
    text-align: center;
}

.filepopup input {
    background-color: #333;
    color: white;
    border: 1px solid #555;
    padding: 10px;
    width: 80%;
    margin-bottom: 20px;
    border-radius: 5px;
    margin: 0;
}

.filepopup button {
    color: white;
    background-color: #4c58ff;
    text-align: center;
    padding: 1%;
    border-radius: 10px;
}

  #customContextMenu {
    position: absolute;
    background-color: #2b3952;
    color: white;
    width: 8%;
    z-index: 10;
    padding-bottom: 1vh;
    padding-top: 1vh;
    border: 2px solid grey;
    border-radius: 7px;
 }

 .menubutton {
    padding-left: 0.4vh;
    display: flex;
    align-items: center;
    padding-top: 0.4vh;
    padding-bottom: 0.4vh;
    border-radius: 5px;
    margin-left: 0.1vw;
    margin-right: 0.1vw;
 }

.menubutton:hover{
    background-color: #3f516e;
    cursor:pointer;
}

.menubutton img {
    margin-right: 0.5vh;
    width: 12%;
    height: 12%;
}

.lock {
    position: absolute;
    left: 58%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color:#565379;
    width: 30%;
    border: 0.5vh grey solid;
    border-radius: 20px;
    text-align: center;
    padding: 5vh;
}

.lock > img{
    width: 30vh;
    margin-bottom: 5vh;
}

.lock > p{
    color: white;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.fesidebarcontent {
    overflow-y: scroll;
    height: 85%;
    overflow-x: hidden;
}

.config-div {
    background-color: #1f1b2e;
    align-items: center;
    width: 290px;
    height: 140px;
    padding:10px ;
    border: rgb(151, 151, 151) solid 2px;
    border-radius: 10px;
    gap: 15px;
}

.config-div input:hover{
background-color: #2d2f4e;
}

.config-div div.flex-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-div input {
flex: 1;           /* <-- take remaining space if you want */
text-align: left;  /* optional */
border-radius:5px 5px 0 0;
width: 100% !important;
border-bottom: none;
outline: none;
height: 25px;
margin-bottom: 0;
}

.config-div h3 {
    margin: 0.5vh 0 1vh 0;
    text-align: center;
    color: rgb(255, 255, 255);
}

.config-div .sidebarbar{
    margin-bottom: 1vh;
} 

.config-div span {
    color: white;
    font-size: 14px;
    margin: 0;
    text-align: center;
}

.save-button {
    margin: 0 auto;
    display: block;
    background-color: green;
    color: white;
    padding: 1vh;
    font-size: 15px;
    width: 30%;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 1vh;
}

.config-div .config-dropdown {
    width: 100%;
    padding: 0.8vh;
    border-radius: 5px;
    background-color: #1f1b2e;
    color: white;
    border: none;
    text-align: center;
    font-size: 15px;
    outline: none;
    cursor: pointer;
}

.config-div .config-dropdown:hover {
    background-color: #2d2f4e;
}

.config-div .config-dropdown option {
    background-color: #1f1b2e;
    color: white;
}

.serverconfig-container {
    gap: 2vh;
    background-color: #0e0d1a;
    width: 98%;
    display: block;
    border-radius: 10px;
}

.config-line input {
flex: 1;           /* <-- take remaining space if you want */
text-align: left;  /* optional */
border-radius:5px 5px 0 0;
width: 100% !important;
border-bottom: none;
outline: none;
height: 25px;
margin:0;
}

.config-line select {
        flex: 1;
    }

.config-line .config-dropdown {
    padding: 0.8vh;
    border-radius: 5px;
    background-color: #1f1b2e;
    color: white;
    border: none;
    text-align: center;
    font-size: 15px;
    outline: none;
    cursor: pointer;
    margin-right: 0;
    width: 10px;
}

.config-line .config-dropdown:hover {
    background-color: #2d2f4e;
}

.config-line .config-dropdown option {
    background-color: #1f1b2e;
    color: white;
}

.save-button1 {
    display: block;
    background-color: green;
    color: white;
    padding: 1vh;
    font-size: 15px;
    width: 20vh;
    border-radius: 10px;
    cursor: pointer;
    margin-left: auto;
    align-self: center; /* <- centers vertically */
    border: none;
}


/* Fix label/input vertical alignment */
.config-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1vh;
    color: white;
    display: flex;
    border-bottom: white solid 1px;
}

.config-line h3 {
    margin: 0;
    width: 160px; /* keeps everything lined up nicely */
    font-size: 16px;
}

/* Fix input height + alignment */
.config-line input {
    height: 30px;
    padding: 4px 8px;
    width: auto; /* Allow the width to grow */
    flex-grow: 1; /* Makes the input field grow to take available space */
    min-width: 150px; /* Ensures the input doesn't shrink too small */
    max-width: 100%; /* Prevents it from overflowing the container */
    box-sizing: border-box; /* Ensures padding doesn't affect the width */
}

/* Fix dropdown width so it does NOT stretch to save button */
.config-line select.config-dropdown {
    width: 200px;
    flex: none;
    padding: 4px 8px;
    height: 30px;
}

/* Save button aligned and not mis-sized */
.config-line .save-button1,
.config-line .save-button {
    width: 20vh;
    padding: 6px 12px;
    margin-left: auto; /* pushes button to right */
}

.config-line span {
    margin-left: auto; /* pushes button to right */
}

.saveallbutton {
    width: 20vh;
    background-color: green;
    border-radius: 10px;
    color:white;
    margin-bottom: 5vh;
    padding: 1vh 0;
}

.expiry {
padding: 2px;
width: 30%;
margin-left: 3%;
margin-top: -4vh;
border-radius: 5px;
    display: flex;
    align-items: center;
    margin-bottom: 0.5vh;

}

.expiry img{
    margin-left: 1vh;
    height: 3vh;
    width: 3vh;
    margin-right: 1vh;
}

.expiry.orange {
    background-color: #ffae42;
    border:#4b3314 solid 2px;
    display: flex;
}
.expiry.red {
    background-color: #ff4d4d;
    border:#4d1616 solid 2px;
    display: flex;
}

.expiry p {
    margin: 0;

}