html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
  }
  

.rectangle {
    position: absolute;
    width: 20px;
    height: 50px;
}

.square {
    position: absolute;
    width: 20px;
    height: 20px;
}

.circle {
    position: absolute;
    width: 20px;
    height: 50px;
    border-radius: 20px;
}


.shape-rectangle {
    display: inline-block;
    width: 12px;
    height: 40px;
    text-align: center;
    margin-right: 50px;
    background-color: hsl(221, 34%, 50%);
}
/*.shape-rectangle:hover {
    background-color: #f768a1;
}*/
.shape-rectangle:active {
    background-color: #f64932;
}

.shape-circle {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    margin-right: 50px;
    border-radius: 20px;
    background-color: hsl(221, 34%, 50%);
}
    /*.shape-circle:hover {
        background-color: #f768a1;
    }*/
    .shape-circle:active {
        background-color: #f64932;
    }

.shape-square {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 50px;
    text-align: center;
    background-color: hsl(221, 34%, 50%);
}
    /*.shape-square:hover {
        background-color: #f768a1;
    }*/
    .shape-square:active {
        background-color: #f64932;
    }

.hueContainer {
    
    display: block;
    align-items: center;
}

.feature-Slider {
    width: 75%;
    margin-right: 10px;
    display: block; 
}
.slider-container {
    width: 100%;
    display: block; /* Each slider container starts on a new line */
  }

.hue-SampleT {
    width: 20px;
    height: 20px;
    background-color: hsl(7, 92%, 50%);
}

.hue-SampleD {
    width: 20px;
    height: 20px;
    background-color: hsl(221, 34%, 50%);
}


.cell-size{
    width: 10vw;
    height: 5vw;
    min-width: 10vw;
}
.table{
    overflow: scroll;
}

.feature-setting{
    width: 100vw; 
    overflow: auto;
}
table{
    border-collapse: collapse;
}

table, th, td{
    border: 1px solid black;
}

th, td{
    padding: 8px;
    text-align: center;
}

.cellHighlight {
background-color: yellow;
}
.textHighlight {
    font-weight: bold;
    font-size: larger;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #000;
    width: 30%;
    height: 10%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#locatability {
    display: flex;
    height: 15vh; /* 10% of the viewport height */
    width: 25vw; /* Full viewport width */
    background-color: #cbd5e8; /* Dark background for the dashboard */
    color: white; /* White text color for contrast */
    border-bottom: 1px solid #000; /*Light blue bottom border */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Centers text horizontally */
    text-align: center; /* Centers text within the container */
  }
  

#title {
    position: relative;
    justify-content: center; /* Horizontal center */
    align-items: center;     /* Vertical center */
    top:-20%;  /* Position 50% from the top of the window */
    left: 0; /* Position 50% from the left edge of the window */
    font-size: 4vw; /* Font size */
    font-family: Arial, sans-serif; /* Font family */
    font-weight: bold;
    color: black; /* Text color */
    /* border-radius: 5px; Rounded corners */
    z-index: 1000; /* Ensure it's above other elements */
  }
.factor-container {
    height: 10vh;
    width: 25vw;
    margin: 0px 0px;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    text-align: left;
    z-index: 10;
  }
.factor-text {
    /*position: absolute;*/
    width: 20vw;
    top: 5%;
    left: 2%;
    font-size: 1.2vw;
    font-family: Arial, sans-serif;
    color: #858585;
  }

  /* factor description */
.factor-des { 
    position: relative;
    width: 20vw;
    top: 5%;
    left: 2%;
    font-size: 1.2vw;
    font-family: Arial, sans-serif;
    color: #858585;
    margin-left: 1%;
    cursor: pointer; /* Change cursor to pointer for better UX */
  }

.factor-btn{
    position: relative;
    width: 10vw;
    top: 5%;
    left: 2%;
    font-size: 1.2vw;
    font-family: Arial, sans-serif;
    background-color: white;
    border: 1px solid black;
    color: black;
    margin-left: 1%;
}
.factor-btn:hover {
    background-color: black;
    color: white;
}
.feature-container {
    position: absolute;
    height: 100%;
    width: 14%;
    margin: 0px 0px;
    border-left: 1px solid #000;
    justify-content: center;
    align-items: center;
    text-align: left;
    z-index: 10;
}
#featureBanner{
    position: absolute;
    height: 15vh;
    width: 75vw;
    left: 25vw;
    top:0%;
    margin: 0px 0px;
    background-color: #808080;
    border-bottom: 1px solid #000; 
    justify-content: center;
    align-items: center;
    text-align: left;
    z-index: 10;
}
.feature-text {
    position: absolute;
    width: 100%;
    top: 1%;
    left: 25%;
    font-size: 1.5vw;
    font-family: Arial, sans-serif;
    color: #ffffff;
  }


  input[type="checkbox"]:checked {
    background: #525252;
    color: white;
  }
  
  input[type="checkbox"] {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    background: #f7f7f7;
    height: 16px;
    width: 16px;
    border: 1px solid white;
    color: white;
  }
  
  input[type="checkbox"]:after {
    content: ' ';
    position: relative;
    left: 40%;
    top: 20%;
    width: 15%;
    height: 40%;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(50deg);
    display: none;
  }
  
  input[type="checkbox"]:checked:after {
    display: block;
  }


  .slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
  }

  input[type="range"] {
    width: 80%;
  }

  input[type="number"] {
    width: 15%;
    left:85%;
  }


  /* body {
    font-family: Arial, sans-serif;
} */

table {
    width: 100%;
    border-collapse: collapse;
    /* margin: 1vw auto; */
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

/* Highlighting the first row */
th {
    background-color: #4CAF50; /* Green background */
    color: white; /* White text color */
    font-weight: bold; /* Bold text */
}
/* Highlighting the second row */
tr:nth-child(2) td {
  background-color: #f39c12; /* Orange background for second row */
  font-weight: bold; /* Bold text */
}
/* Adding background color to table cells */
td {
    background-color: #f9f9f9; /* Light gray for data cells */
}

td:hover {
    background-color: #f1f1f1; /* Change color on hover */
}

.exampleRect{
    position: absolute;
    width: 3vh;
    height: 10vh;
    left: 25%;
    bottom:1%;
    background-color: hsl(214, 64%, 72%);
}
.exampleCir{
    position: absolute;
    width: 6vh;
    height: 6vh;
    border-radius: 3vh;
    left: 20%;
    bottom:6%;
    background-color: hsl(214, 64%, 72%);
}


.help-icon {
    cursor: pointer;
    color: white;
    font-size: 24px;
    margin-left: 10px;
    position: absolute; /* Position relative to the container */
    top: 3px; /* Distance from the top */
    right: 3px; /* Distance from the right */
    display: inline-block;
    width: 2vw;
    height: 2vw;
    background-color: #948f78; /* Grey background */
    border-radius: 50%; /* Circular shape */
    text-align: center;
    line-height: 2vw; /* Center the exclamation mark vertically */
}

.help-icon:hover {
    color: black;
    background-color: white;
}

.popup {
    display: none; /* Initially hidden */
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.popup-header {
    background-color: #cbd5e8; /* Header background color */
    color: white;
    align-items: center;
    padding: 10px;
    display: flex;
    justify-content: space-between; /* Space between items */
}
.header-title {
    color: black;
    flex-grow: 1; /* Allow title to take available space */
    text-align: center; /* Center the title text */
}
.overlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.close-btn {
    cursor: pointer;
    color: white;
    font-weight: bold;
    position: absolute;
    right: 10px; /* Position close button to the right */
    top: 10px; /* Position close button at the top */
    font-size: 18px;
}


/*
    Styles of tooltip
*/
.tooltip-container {
    position: relative;
    width: 25vw;
    display: inline-block; /* Allow tooltip to position relative to the text */
}
.tooltip-text {
    visibility: hidden; /* Hide the tooltip by default */
    width: 20vw; /* Set width of the tooltip */
    background-color: rgba(0, 0, 0, 0.65); /* Tooltip background color */
    color: #fff; /* Tooltip text color */
    text-align: center; /* Center the text */
    border: solid #fb8072;
    border-radius: 1vw; /* Rounded corners */
    padding: 5px; /* Some padding */
    position: absolute; /* Position it absolutely */
    z-index: 10; /* On top of other elements */
    bottom: 125%; /* Position above the text */
    left: 5%; /* Center it horizontally */
    margin-left: 2vw; /* Offset for centering */
    opacity: 0; /* Initially invisible */
    transition: opacity 0.3s; /* Smooth transition */
}


.tooltip-container:hover  .tooltip-text {
    visibility: visible; /* Show tooltip on hover */
    opacity: 1; /* Fade in */
}