/* model-btn-dropdown.css*/
.model-dropdown {
  position: absolute;
  top: 52px; /* just below the button */
  left: 10px;
  background:var(--secondary-color);
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  z-index: 9999;
  overflow: hidden;
  animation: dropdownFade 0.12s ease-out;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  display: flex;
  align-items: center;
  flex: 1;              /* take remaining horizontal space */
  min-width: 0;         /* allow flex item to shrink properly */
  gap: 12px;
  padding: 10px 14px;
  /* padding-top: 20px;
  padding-bottom: 20px; */
  cursor: pointer;
  transition: background 0.15s ease;
}

/* Allow hover even when selected */
/* .dropdown-item .available:hover {
  background: var(--primary-color-highlight) !important;
} */
 /* .selected{
  background: var(--primary-color-highlight) !important;
 } */
.dropdown-title,
.dropdown-subtitle {
  white-space: nowrap;  /* prevent breaking mid-line */
  overflow: hidden;     /* optional: hides overflow text */
  text-overflow: ellipsis; /* optional: adds ... if clipped */
}
.dropdown-icon {
  width: 26px;
  height: 26px;
  border-radius: 4px;
}

.dropdown-text {
  display: flex;
  flex-direction: column;
  /* line-height: 1.1; */
}

.dropdown-title {
  font-size: 14px;
  color: #e6edf3;
  font-weight: 450;
  padding-bottom: 3px;
}

.dropdown-subtitle {
  font-size: 12px;
  color: #9ca3af;
}