/**
 * @file
 * Project Status Dropdown styles.
 */

.project-status-wrapper {
  position: relative;
  display: inline-block;
}

.project-status-dropdown-toggle {
  display: inline-block;
  height: 20px;
  width: 16px;
  background: url("../icons/787878/icon-collapse.svg") no-repeat center;
  transform: rotateZ(180deg);
  background-size: 16px 16px;
  padding: 0;
  margin-left: 4px;
  margin-bottom: 2px;
  opacity: 0.8;
  cursor: pointer;
  vertical-align: middle;
}

.project-status-dropdown-toggle:hover {
  opacity: 1;
}

.project-status-wrapper.open .project-status-dropdown-toggle {
  transform: rotateZ(0deg);
}

.project-status-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 150px;
  list-style: none;
  margin: 2px 0 0 0;
  padding: 0;
  display: none !important; /* Hidden by default */
}

.project-status-dropdown-menu.show {
  display: block !important; /* Show when class is added */
}

.project-status-dropdown-menu li {
  margin: 0;
  padding: 0;
  /* border-bottom: 1px solid #eee; */
}

.project-status-dropdown-menu li:last-child {
  /* border-bottom: none; */
}

.project-status-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  color: #333 !important;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}

.project-status-dropdown-menu a:hover {
  background-color: #f5f5f5;
  color: #000 !important;
}

/* Ensure the dropdown is positioned correctly relative to the pill */
.language-icon {
  position: relative;
}

/* Make the entire pill clickable when it has a dropdown */
.project-status-wrapper .language-icon {
  cursor: pointer;
  padding: 6px 12px 4px 12px; 
}
