/* Styles for badges */
.info-badge {
  background-color: #17a2b8;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
}

.low-badge {
  background-color: #28a745;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
}

/* Add classes for other severity levels if needed */

/* Styles for icons */
.loading-icon {
  color: orange;
  font-weight: bold;
}

.finished-icon {
  color: green;
  font-weight: bold;
}

.error-icon {
  color: red;
  font-weight: bold;
}

.scan-option {
  position: relative;
  width: 100%;
  cursor: pointer;
  color: rgb(26, 68, 102);
  box-shadow: rgba(145, 158, 171, 0.12) 0px 12px 24px -4px,
    rgba(145, 158, 171, 0.2) 0px 0px 2px 0px;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  height: 250px;
  text-align: center;
  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
  border-width: 2px;
  border-style: solid;
  border-color: transparent;
  border-image: initial;
  background: rgb(255, 255, 255);
  padding: 40px;
  border-radius: 16px;
  gap: 15px;
}

.scan-option svg {
  font-size: 50px;
  color: rgb(145, 158, 171);
  transform: scaleX(-1);
}

.scan-option h3 {
  color: rgb(33, 43, 54);
  font-size: 1rem;
  padding-top: 3px;
  font-weight: bold;
}

.scan-option p {
  color: rgb(99 115 129);
  font-size: 0.85em;
}

/* Container for search bar and icon */
.search-bar-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 300px;
  padding: 5px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background-color: #fff;
}

/* Style for the input box */
.search-input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  padding: 8px;
}

/* Container for the icon */
.icon-container {
  display: flex;
  align-items: center;
  margin-left: 10px;
  cursor: pointer;
}

.icon-container > svg {
  width: 23px;
  height: 23px;
  margin-right: 10px;
  color: rgb(99, 115, 129);
}

/* Tooltip text hidden by default */
.tooltip-text {
  font-size: 12px;
  font-weight: 600;
  visibility: hidden;
  opacity: 0;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  top: 110%;
  /* Positioned below the icon */
  left: 102%;
  transform: translateX(-65%);
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

/* Show tooltip on hover using CSS */
.icon-container:hover + .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Flexbox layout for search bar and icon */
.search-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-container {
  margin-left: 10px;
  cursor: pointer;
}

.search-input {
  flex-grow: 1;
  border: none;
  outline: none;
}

#no-data-found-container {
  background-color: rgb(251, 252, 252);
  border-radius: 10px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  border: 1px dashed rgb(244, 246, 248);
  gap: 20px;
}

/* Wrapper for the custom select */
.custom-select-wrapper {
  position: relative;
  display: inline-block;
  width: auto;
}

/* Styles for the select element */
.custom-select {
  padding: 5px 20px 5px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: #f4f4f4;
  color: #333;
  font-size: 14px;
  appearance: none;
  width: 60px;
  cursor: pointer;
}

/* Styles for the custom dropdown arrow */
.custom-select-arrow {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  /* Ensure the arrow doesn't interfere with clicks */
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #333;
  /* Color for the arrow */
  stroke-width: 2;
}

.severity-chip-high {
  background: #ffddc6;
  padding: 20px;
  border-radius: 8px;
}
