body {
    margin: 0;
    font-family: "helvetica", sans-serif;
    text-align: center;
  }

  #container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }

  .clearfix {
    clear: both;
  }

  .hidden {
    display: none;
  }

  #photo-container {
    background-color: #EEE;
    border: 1px solid #CCC;
    float: left;
    height: 50px;
    margin-right: 20px;
    width: 50px;
  }

  #photo {
    height: 50px;
    margin: 0;
    width: 50px;
  }


  nav {
    position: fixed;
    /* Keep the nav at the top */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ce93d8;
    padding: 10px;
    display: flex;
    /* Use flexbox for layout */
    justify-content: space-between;
    align-items: center;
    /* Vertically align items */
    z-index: 1000;
    /* Ensure it stays on top of other elements */
  }

  #company-logo {
    max-width: 50px;
    margin: 0;
    height: auto;
  }

  #report-container {
    padding-top: 100px;
    position: fixed; /* Fix the container to the screen */
    top: 0; /* Position at the top */
    left: 0; /* Position at the left */
    width: 100%; /* Take up the full width */
    height: 100%; /* Take up the full height */
    overflow: auto; /* Allow scrolling */
    background-color: #fff;
    z-index: 999;
    display: flex; /* Use flexbox to manage layout */
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
}

  #report-table {
    /* width: 1%; */
    border-collapse: collapse;
    flex: 1;
    width: 100%;
  }

  #report-table thead {
    position: sticky;
    top: 0;
    background-color: white; /* Or any background color you prefer */
    z-index: 1; /* Ensure the header stays on top of the content */
  }

  #report-table th,
  #report-table td {
    border-right: 1px solid #ddd;
    text-align: left;
    padding: 10px; /* Add padding to the cells */
    border: 1px solid #ddd;
    padding: 8px;
  }

  #report-table th:last-child,
  #report-table td:last-child {
    border-right: none; /* Remove the right border from the last cell in each row */
  }

  #report-table tr:hover {
    background-color: #f0f0f0;
    cursor: pointer;
  }

  #report-table thead {
    height: 80px;
  }
  #report-table th {
    background-color: #f2f2f2;
    text-align: left;
  }
  
  #report-table tr {
    border-bottom: 1px solid #ddd;
  }

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

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-height: 70vh;
    overflow-y: auto;
}

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

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

#edit-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

#edit-table tr {
    border-bottom: 1px solid #ddd; 
}

#edit-table th,
#edit-table td {
    padding: 8px;
    text-align: left;
    vertical-align: top; 
}

#edit-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    width: 20%;
}

#edit-table td {
    width: 70%;
    word-wrap: break-word; 
    white-space: normal; 
}

#edit-table textarea {
    width: 100%; 
    height: 50px; 
    padding: 2px; 
    border: none;
    border-radius: 4px; 
    box-sizing: border-box; 
    font-size: 17px; 
    font-family: "helvetica", sans-serif; /* Match the font with the rest of the page */
    resize: vertical; /* Allow vertical resizing only */
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
}

#page-footer {
  background-color: #f2f2f2;
  padding: 10px;
  text-align: center;
  width: 100%;
  border-top: 1px solid #ddd;
  margin-top: auto; 
  position: sticky;
  bottom: 0;
  z-index: 1000;
}

.container {
    margin: 20px;
}

label {
    font-weight: bold;
}

select {
    margin-left: 10px;
    padding: 5px;
    font-size: 16px;
}

/* .report-selector {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
} */
.selector-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.selector-container label {
  font-weight: bold;
  margin-right: 10px;
}

.selector-container select {
  margin-left: 10px;
  padding: 5px;
  font-size: 16px;
}

/* Combine styles for report and segment selectors */
.report-selector,
.selector-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.report-selector label,
.selector-container label {
  font-weight: bold;
  margin-right: 10px;
}

.report-selector select,
.selector-container select {
  margin-left: 10px;
  padding: 5px;
  font-size: 16px;
}
