body {
    font-family: Arial, sans-serif;

}

.header{
    background: #3f3f3f;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 1px;
}
.header h1 {
    color: rgb(255, 213, 114);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 25px;
}
.header p{
    color: white;
}
.logo{ width:326px; height:100px; float:left; }
.maincont{
    display: flex;
    justify-content: center;
    text-align: left;
    align-items: center;
/*    height: 100vh;*/
    margin: 0;
}

/* #formcontainer{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
} */

#formcontainer {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90vw;
    margin: 0 auto;
}


form label {
    text-align: left;
    display: inline-block; /* Allows setting width */
    width: 30vw; 
    font-size: 20px;
    font-weight: bold;
}

form input {
    width: 40vw;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #e9e9e9;
    color: #555;
}

form select {
    width: 40vw;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #e9e9e9;
    font-size: 16px;
    color: #555;
}

form select:focus   {
    background-color: white;
}


form button {
    margin-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
    width: 20vw;
    background-color: #151715;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    color: rgb(255, 255, 114);
    font-weight: bolder;
}

.radiotbns{
    width: 100%;
    display: inline;    
    text-align: left;
}

.radiotbns input {
    width: 20px;
    margin: 0;
}

.radiotbns label{
    width: 15%; 
    font-size: 15px;
    font-weight: light;
    margin: 0;
}

input[type="range"] {
    width:20vw;
}
#sliderinputs{
    display: none;
    width: 100%;
    justify-content: center;
}


.submitbtn{
    width: 200px;
}

.submitbtn:hover {
    background-color: #218838;
    width: 210px;
    cursor: pointer; /* Change cursor to pointer on hover */
    transition-duration: 0.1s;
}

#results {
    margin-top: 20px;
    height: 90vh;
    width: 100vw;
    background: red;
}

.system{
    border: 2px solid #4ba5ff;
    margin: 20px;
    width: 50%;
    height: 80%;
    font-weight: bolder;
    padding: 15px;
    border-radius: 5px;
}
.system h2{
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
}
.system h3{
    font-size: 20px;
    color: #787878;
    margin-top: 20px;
}
.system img{
    height: 80px;
}

.gridcal{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
}

.grid2{
    width: 100%;
    display: flex;
    justify-content: center;
}





.totalgen{
    padding: 0;
    height: 100%;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin-top: 10px;
  }
  
  .data-table thead tr {
    background-color: #4285F4;
    color: white;
    text-align: center;
    height: 50px;
  }
  
  .data-table th,
  .data-table td {
    border: 1px solid #ddd;
    padding: 8px;
  }
  
  .data-table th {
    padding-top: 12px;
    padding-bottom: 12px;
    font-weight: bold;
    height: 40px;
  }
  
  .data-table td {
    text-align: center;
    font-weight: bold;
    height: 80px;
  }




/* Modal container */
#results {
    display: none; /* Hidden by default */
    z-index: 1000; /* Sit on top */

    width: 90vw; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scrolling if needed */
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    font-weight: normal;
  }

.headermodal{
    background: rgb(255, 198, 74);
    padding: 10px;
    box-shadow: 5px 3px 6px rgba(0, 0, 0, 0.2);
}
.headermodal img{
    position: absolute;
    top: 4%;
    right: 20px;
    width: 15px;
}
.headermodal img:hover{
    cursor: pointer;
}
  
  /* Modal content */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* Center modal on screen */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Adjust width as needed */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  /* Close button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  

  @media (max-width: 480px) {
    .header h4 {
        font-size: 18px;
    }
    .header p{
        font-size: 12px;
    }
    .maincont{
    display: flex;
    font-size: 16px;
    }
    form input{
        width: 100%;
    }
    form label{
        width: 100%;
    }
    form select{
        width: 100%;
    }
    form img{
        width: 50vw;
    }

    #results{
        width: 100vw;
        position: absolute;
        left: 0px;
        right: 0px;
        top: 0px;
        margin: 0px;
    }
    .gridcal{
        display: block;
        margin-bottom: 30vh;
    }
    .system {
        width: 90vw;
        height: 30vh;
    }
    .grid2{
        display: block;
        height: 100%;
        position: relative;
        margin-bottom: 0vh;
    }
    .totalgen{
        height: 35vh;
    }
      
      .data-table td {
        height: 10px;
      }

      .radiotbns input {
        width: 20vw;
        margin: 0;
    }
    
    .radiotbns label{
        width: 50%; 
        font-size: 15px;
        font-weight: light;
        margin-bottom: 10px;
    }
    
  }

