body {
    background-color: #000;
    margin: 0;
    padding: 0;
    overflow: hidden; /* no scrollin */
}

.wrapper{
    position: relative; /* resizes based off zoom n shi */
    width: 100vw;  /* 100% of viewport width */
    height: 100vh; /* 100% of viewport height */
    margin: auto;
    background-color: #1c1c1c;
    box-sizing: border-box;
}

.top-left-menu{
    position: absolute;
    top: 0;
    left: 0;
    width: 20.9vw;   
    height: 39.2vh;  
    background-color: #2c2c2c;
    border-radius: 8px;
    border: 1px solid #fff;
}

.welcome-on-index{
    position: absolute;
    top: 0;
    left: 21.5vw;    
    width: 55.6vw;   
    height: 19.3vh;  
    background-color: #2c2c2c;
    border-radius: 8px;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-text {
    font-size: 48px;
    color: #92feb1;
    text-align: center;
}

.index-notifs{
    position: absolute;
    top: 0;
    left: 77.6vw;    
    width: 22.1vw;   
    height: 41.8vh;
    background-color: #2c2c2c;
    border-radius: 8px;
    border: 1px solid #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.index-notifs .panel-title {
    margin: 0;
    font-size: 20px;
    color: #92feb1;
}

#notifications {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notif {
    padding: 14px 16px;
    border-radius: 12px;
    background: #161616;
    border: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cfcfcf;
}

.notif.warning { border: 3px solid #FEA79E; max-width: fit-content;}
.notif.alert   { border: 3px solid #FEB72C; max-width: fit-content;}
.notif.log     { border: 3px solid #92feb1; max-width: fit-content;}

#notifications .notif.warning { color: #ff6b6b; }
#notifications .notif.alert   { color: #f0b429; }
#notifications .notif.log     { color: #3bd671; }

/*todos below the top left menu with 14px gap vertically*/
.todos{
    position: absolute;
    top: calc(39.2vh + 14px);
    left: 0;
    width: 20.9vw;   
    height: 57.9vh;  
    background-color: #2c2c2c;
    border-radius: 8px;
    border: 1px solid #fff;
}

.messages-index{
    position:absolute;
    top: calc(41.8vh + 10px);
    left: 77.6vw;
    width: 22.1vw;
    height: calc(100vh - 41.8vh - 12px); 
    background-color: #2c2c2c;
    border-radius: 8px;
    border: 1px solid #fff;
}

/* Navigation Link Styles */
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin-bottom: 10px;
}

.nav-menu a {
    color: #92FEB1;        
    text-decoration: none;  
    font-size: 20px;       
    font-weight: 500;        
    padding: 10px 15px;     
    display: block;         
    border-radius: 5px;      
    transition: all 0.3s;    
}

.nav-menu a:hover {
    background-color: #3c3c3c;  
    color: #00ff00;            
}

.nav-menu a:active {
    background-color: #4c4c4c;  
}

.settings a {
color: #4cc7ff;
text-decoration: none;
padding: 10px 15px;
display: block;
font-size: 20px;
transition: all 0.3s;
}  

.settings a:hover {
color: #3dceff;
background-color: #3c3c3c;
}

.user-section {
color: #ffffff;
padding: 15px;
border-bottom: 1px solid #444;
margin-bottom: 15px;
}

.logout a {
color: #ff6b6b; 
text-decoration: none;
padding: 10px 15px;
display: block;
font-size: 20px;
}

.logout a:hover {
color: #ff4c4c;           /* Darker red on hover */
background-color: #3c3c3c;
}

.todo-list {
list-style: none;
margin: 0;
padding: 8px;
font-size: 23px;
font-family: "Comfortaa", sans-serif;
}
.todo-list li {
display: flex;
gap: 8px;
align-items: center;
color: #92feb1;
}

.warningcount{
position: absolute;
top: 0;
left: 21.5vw;    
width: 55.6vw;   
height: 19.3vh;  
background-color: #2c2c2c;
border-radius: 8px;
border: 1px solid #fff;
display: flex;
align-items: center;
justify-content: center;
}


.warnings-large-page {
 position: absolute;
 top : calc(19.3vh + 20px);
 left: 21.5vw;
 width: 55.6vw;
 height: calc(100vh - 19.3vh - 20px - 10px);
 background-color: #2c2c2c;
 border-radius: 8px;
 border: 1px solid #fff;
 display: flex;
 align-items: center;
 justify-content: center;

}

.statistics-humidity-cube
    {
    position: absolute;
    top: calc(39.2vh + 14px);
    left : 0;
    width: 14vw;
    height: 10.9vh;
    background-color: #2c2c2c;
    border-radius: 8px;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    }

.statistics-temperature-cube
    {    
    position: absolute;
    top: calc(39.2vh + 10.9vh + 22px);
    left: 0;
    width: 14vw;
    height: 10.9vh;
    background-color: #2c2c2c;
    border-radius: 8px;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    }

.humidity-graph-large
    {position: absolute;
    top: 64.5vh;
    left : 0;
    width: 82.6vw;
    height:34.6vh;
    background-color: #2c2c2c;
    border-radius: 8px;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    }

   
  
   .temperature-graph-large
   { position: absolute;
    top: calc(39.2vh + 14px);
    left: calc(14vw + 1vw);
    width: 65.2vw;
    height: calc(10.9vh + 10.9vh - 32px);
    background-color: #2c2c2c;
    border-radius: 8px;
    border: 1px solid #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
   }

   .top-notes-block
   {
    position: absolute;
    top: 0;
    left: 21.5vw;
    width: 76.4vw;
    height: 36.2vh;
    background-color: #2c2c2c;
    border-radius: 8px;
    border: 1px solid #fff;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 16px;
    gap: 16px;
   }

   .top-notes-block input[type="text"],
   .top-notes-block textarea {
    width: 80%;
    padding: 12px 16px;
    font-size: 20px;
    border: 1px solid #92feb1;
    border-radius: 8px;
    background-color: #333;
    color: #92feb1;
   }

   .top-notes-block textarea {
    flex: 1;
    height: 100%;
    min-height: 0;
    border-radius: 10px;
    border: 1px solid #92feb1;
    background: #333;
    color: #92feb1;
    font-size: 16px;
    line-height: 1.4;
    resize: vertical;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
   align-items: flex-start;
}

#downloadbutton {
    display: block;
    width: 4%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #92feb1;
    background: #1f1f1f;
    color: #92feb1;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
    align-items: center;
    justify-content: center;
}

#downloadbutton:hover {
    background: #2a2a2a;
}

