.emp-profile1 {
  padding: 0.5%;
  margin-top: 3%;
  margin-bottom: 3%;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 0 5px #fff;
  display: flex;
  height: 85vh;
  overflow: hidden;
  transition: all 0.3s ease;
}

.sidebar {
  background: #222;
  color: white;
  width: 20%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 5px;

}

.sidebar-header {
  margin-bottom: 20px;
  text-align: center;
  margin-top: 40px;
}

.sidebar-header h2 {
  font-size: 18px;
  margin: 0;
  color: white;
  font-weight: bold;
}

.sidebar-menu {
  flex: 1;
}

.menu-item {
  margin-bottom: 10px;
}

.menu-item.active button {
  background: #444;
}

.menu-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: white;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
}

.menu-item button:hover {
  background: #444;
}

.main-content {
  flex-grow: 1;
  padding: 2px;
  margin-left: 10px;
  overflow-y: auto;
  width: 80%;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #eee;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

.main-view {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
}

.main-view p {
  margin: 0;
  line-height: 1.6;
  color: #333;
}

.sidebar-menu button.active {
  background-color: #444;
  color: #fff;
}


table.list_table {
  width: 100%;
  box-shadow: 0 0 3px #eee;
  text-align: center;
}

table.list_table tr td {
  padding: 4px;
  border: 1px solid #eee;
  font-size: 11pt;
}

table.list_table tr:nth-child(even) {
  background: #f4fcff;
}

.odd {
  background: #fff3e3;
}

table.list_table tr:first-child td {
  background: #b1e09c;
  font-size: 12pt !important;
}


.stars {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 1;
}

.stars-empty {
  color: #ddd;
}

.stars-full {
  color: gold;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
}


.peoples-list {
  list-style-type: none;
  /* Remove bullet points */
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Two columns */
  gap: 16px;
  /* Space between cards */
}


.people-item {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.people-item img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.people-details {
  flex-grow: 1;
}

.people-name {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

.people-meta {
  font-size: 14px;
  color: #555;
  margin: 4px 0 0;
}

.people-options {
  font-size: 18px;
  color: #888;
  cursor: pointer;
}



tr[onclick] {
  cursor: pointer;
}

tr[onclick]:hover {
  background-color: #f0f0f0 !important;
}

.button-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.filter-button {
  background-color: #f5f1f1;
  border: none;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 20px;
}

.filter-button:hover {
  background-color: #ccc;
}

.filter-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}


#sortSelect {
  width: 200px;
  /* Limit dropdown width */
  padding: 10px 14px;
  /* Add padding for a better feel */
  font-size: 16px;
  /* Readable font size */
  border: 1px solid #ccc;
  /* Neutral border */
  border-radius: 6px;
  /* Slightly rounded dropdown */
  background-color: #fff;
  /* White background */
  color: #333;
  /* Dark text */
  cursor: pointer;
  /* Pointer for clickable interaction */
  transition: all 0.3s ease;
  /* Smooth transitions */
}

#sortSelect:hover {
  border-color: #888;
  /* Highlight border on hover */
  background-color: #f3f3f3;
  /* Slightly darker background */
}

#sortSelect:focus {
  outline: none;
  /* Remove default outline */
  border-color: #007bff;
  /* Highlight border */
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.5);
  /* Add a focus glow */
}

.view {
  font-size: 20pt;
  cursor: pointer;
  color: #ccc;
}

.dataset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.dataset-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(97, 185, 177, 0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out;
  border: solid 1px #ddd;
}

.dataset-card:hover {
  transform: translateY(-5px);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.dataset-icon {
  font-size: 40px;
  color: #555;
  margin-bottom: 10px;
}

.dataset-title {
  font-weight: bold;
  font-size: 16px;
  color: #000;
  margin-bottom: 10px;
  text-decoration: none;
  line-height: 1.4;
  max-height: 3em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dataset-date {
  font-size: 14px;
  color: #777;
}

.dataset-rate {
  font-size: 14px;
  color: #413e3e;
}

.image_logo {
  margin-right: 10px;
  height: 100px;
  /* Adjusted size for smaller screens */
}


.submenu-active {
  background: #444 !important;
  /* Dark background for when datasets is selected */
}

.submenu {
  padding-left: 20px;
  margin-top: 5px;
  background: #222;
  /* Default background */
  transition: background 0.3s ease;
}



.submenu a {
  color: #ccc;
  text-decoration: none;
  display: block;
  padding: 5px 0;
}

.submenu a:hover {
  color: white;
}

/* .menu-item button span {
        font-size: 6pt !important;
        margin-left: 60%;
    } */

.submenu2 {
  margin-left: 20px;
  font-size: 11pt;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.checkbox-item input[type="checkbox"] {
  margin: 0;
}

.checkbox-item label {
  cursor: pointer;
}

.submenu-title {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: white;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
}


/* Default checkbox style */
.checkbox-item input[type="checkbox"] {
  accent-color: green;
}

/* When checkbox is checked, change label and box color */
.checkbox-item input[type="checkbox"]:checked+label {
  color: green;
  font-weight: bold;
}

/* Optional: Add a border effect when checked */
.checkbox-item input[type="checkbox"]:checked {
  box-shadow: 0 0 5px green;
}

.no-people {
  font-weight: bold;
  color: #055160 !important;
}


/* Modal Background Overlay */
.searchProject-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Dark overlay */
  display: flex;
  /* Flex makes centering easier */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
  /* Prevents scrolling outside the modal */

}

/* Modal Container */
.searchProject-modal-container {
  background: #fff;
  width: 33%;
  max-width: 90%;
  min-width: 280px;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
  max-height: 80vh;
  /* Ensure modal doesn't take full height */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Ensures border-radius applies properly */
  box-sizing: border-box;
  color: #000 !important;
  /* Allows scrolling inside modal */

}

/* Modal Header */
.searchProject-modal-header h2 {
  font-size: 14pt;
  font-weight: bold;
  margin: 15px;
  color: #333;
  text-align: center;

}

/* Modal Body */

.searchProject-modal-body {

  flex-grow: 1;
  /* Allows the body to expand */
  overflow-y: auto;
  /* Enables scrolling inside modal */
  padding: 10px;
  max-height: 60vh;
  /* Adjust this value as needed */
}



/* Close Button */
.close-btn {
  position: absolute;
  top: 5px;
  right: 18px;
  font-size: 18pt;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: white;
  /* Ensure background is visible */
  line-height: 35px;
  /* Adjust this to match height */
  text-align: center;
}


/* Remove the ::before pseudo-element */

/* Hover Effect */
.close-btn:hover {
  color: #d33;
  background: #ccc;
  border: solid 1px #bbb;
}

.searchProject-modal-container .content {
  border: solid 1px #ccc;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: #fff;
  height: 150px;
  overflow-y: auto;

}

.searchProject-modal-body {
  color: #333;
  padding: 20px;
  background-color: #f9f9f9 !important;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: solid 1px #ccc;
}

.searchProject-modal-body .inner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.searchProject-modal-body .inner-header span {
  font-size: 11pt;
}

.searchProject-modal-body .inner-header span:first-child {
  font-weight: bold;
  color: #555;
}

.searchProject-modal-body .project-date {
  color: #888;
  font-style: italic;
  font-size: 10pt;
}

.searchProject-modal-container .inner-header a {
  color: #000;
  font-size: 11pt;
  transition: all 0.3s ease;
  font-weight: bold;


}

.searchProject-modal-container .inner-header a:hover {
  color: blue !important;
  cursor: pointer !important;
  font-size: 11pt !important;
  ;
  text-decoration: underline !important;


}

.searchProject-modal-body p {
  margin: 0 0 10px 0;
  line-height: 1.6;
  font-size: 11pt;

}

.searchProject-modal-body span {
  font-size: 11pt;
  font-weight: bold;
  color: #555;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 4px;
}

.searchProject-modal-body p:last-child {
  margin-bottom: 0;
}


.searchProject-modal-body .content .member {
  all: initial;
  font-size: 11pt !important;
  font-family: sans-serif;
  display: block;
  padding: 5px 0;

}

.searchProject-modal-body .content .member:hover {
  font-size: 11pt;
  cursor: pointer;
  color: blue;
  text-decoration: underline;

}

.content img,
.profile-image img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 5px;
}



.user-link {
  display: inline-block;
  text-decoration: none;
}

.user-link .profile-image,
.user-link .user-name {
  display: inline-block;
  vertical-align: middle;
}

body.modal-open {
  overflow: hidden;
}



/* Responsive Adjustments */
@media (max-width: 1000px) {

  /* Adjust font size slightly for larger tablets */
  table.list_table tr td {
    font-size: 10pt;
  }

  table.list_table tr:first-child td {
    font-size: 12pt;
  }


}

@media (max-width: 768px) {
  /* Reduce font sizes and adjust layout */


  table.list_table tr td {
    font-size: 10pt;
  }

  table.list_table tr:first-child td {
    font-size: 11pt;
  }

}

@media (max-width: 576px) {

  /* Further reduce font size */
  table.list_table tr td {
    font-size: 9pt;
  }

  table.list_table tr:first-child td {
    font-size: 10pt;
  }


}

@media (max-width: 450px) {
  /* Equal width for search input and button */

  /* Minimal font size for very small screens */
  table.list_table tr td {
    font-size: 8pt;
  }

  table.list_table tr:first-child td {
    font-size: 9pt;
  }
}