.dropdownButton button {
  border-top-right-radius: 8px !important;
  border-top-left-radius: 8px !important;
}

.addBtn {
  width: calc(100% - 4px);
  align-items: center;
  font-size: larger;
  padding: 4px;
  margin: 2px;
  opacity: 0.5;
  text-align: center;
  border: solid grey 2px;
  border-radius: 6px;
}

.optionContent {
  display: flex;
  flex: 1;
  align-items: center; /* vertical centering */
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.optionName {
  flex: 1; /* fill remaining space */
  margin-right: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iconContainer {
  display: flex;
  align-items: center;
  gap: 12px; /* space between icons */
}

.renameWorksheetIcon,
.deleteWorksheetIcon {
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.optionInputContainer {
  padding: 8px;
}

.optionInput {
  width: 100%;
  padding: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.confirmationPopup {
  position: fixed;
  background: var(--color-surface-elevated);
  color: var(--color-text);
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 5px var(--color-shadow);
  font-size: 13px;
  min-height: 20px !important;
  white-space: nowrap;
  z-index: 1000;
}

.confirmContainer {
  width: 100%;
  height: 100%;
  padding: 0;
  min-height: 40px !important;
  margin: 0;
  display: flex;
  align-items: stretch;
  background: transparent;
}

.confirmButtons {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 0;
  border-radius: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.confirmButtonsVisible {
  opacity: 1;
  transform: translateY(0);
}

/* Make both buttons fill the space without white gaps */
.keepButton,
.deleteButton {
  min-height: 40px !important;
  flex: 1;
  width: 50%;
  height: 100%;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

.keepButton {
  background-color: #5aae61; /* SC Color */
  color: white;
}

.deleteButton {
  background-color: #c31; /* QR Color */
  color: white;
}

/* Remove default padding from react-select option wrapper */
.noPaddingOption {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 40px !important;
}
