body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.container {
    width: 50%;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}

h1, h2, p {
    text-align: center;
}

.question {
    margin: 15px 0;
}

label {
    font-weight: bold;
}

select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #4cae4c;
}

.results-section {
    margin-top: 30px;
    padding: 20px;
}

.chart-section {
    margin-top: 30px;
    padding: 20px;
}

.table-container {
    margin: 20px 0;
    width: 100%;
    overflow-x: auto;
}

#findingsTable {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-top: 20px;
}

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

#findingsTable th {
    background-color: #007bff;
    color: white;
    text-transform: uppercase;
}

#findingsTable td {
    background-color: #f9f9f9;
    color: #333;
}

#findingsTable tr:nth-child(even) {
    background-color: #f2f2f2;
}

#findingsTable tr:hover {
    background-color: #f1f1f1;
}

#findingsTable td:nth-child(2) {
    font-weight: bold;
    color: #555;
}

#findingsTable td:nth-child(3) {
    font-weight: bold;
    color: #FF6347; /* Default Risk level color */
}

#findingsTable td[data-risk="High"] {
    color: #FF4500;
}

#findingsTable td[data-risk="Medium"] {
    color: #FFA500; 
}

#findingsTable td[data-risk="Low"] {
    color: #32CD32;
}

#header {
    position: static;
    width: 100%;
    top: 0;
    z-index: 30;
    background-color: #007bff;
    color: white;
  }

  #container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

  hr {
    margin: 0px; 
    border-bottom-width: 1px; 
    border-color: rgb(243,244,246); 
    padding: 0px;  
    opacity: 0.25;
  }
  

  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
  }

  .toggle-button {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
  }

  .toggle-button:hover {
    transform: scale(1.05);
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: white;
    color: black;
    width: 100%;
    padding: 1rem;
    z-index: 20;
  }

  .menu.visible {
    display: flex;
  }

  .menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .menu li {
    margin: 0.5rem 0;
  }

  .menu a {
    text-decoration: none;
    color: white;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
  }

  .menu a:hover {
    color: black;
  }

  @media (min-width: 1024px) {
    .toggle-button {
      display: none;
    }

    .menu {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-end;
      background: transparent;
      width: auto;
      padding: 0;
    }

    .menu ul {
      flex-direction: row;
    }

    .menu li {
      margin: 0 1rem;
    }

    .menu a {
      color: white;
    }
  }

