.ccl-dropdown-button {
  position: relative;
  display: inline-flex;
}

.ccl-dropdown-button__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ccl-dropdown-button__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ccl-dropdown-button__caret {
  font-size: 0.75em;
  line-height: 1;
  transform: translateY(1px);
}

.ccl-dropdown-button__menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  min-width: 12rem;
  padding: 0.5rem 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
  z-index: 1000;
  animation: ccl-dropdown-button-slide 0.18s ease-out both;
}

.ccl-dropdown-button__menu--end {
  left: auto;
  right: 0;
}

.ccl-dropdown-button__divider {
  height: 1px;
  margin: 0.5rem 0;
  background: rgba(0, 0, 0, 0.1);
}

.ccl-dropdown-button__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.25rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background: transparent;
  border: 0;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.ccl-dropdown-button__item:hover {
  background: rgba(13, 110, 253, 0.08);
}

.ccl-dropdown-button__item:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.4);
}

.ccl-dropdown-button__item--disabled,
.ccl-dropdown-button__item:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.ccl-dropdown-button__item-end {
  display: inline-flex;
  opacity: 0.85;
}

@keyframes ccl-dropdown-button-slide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

