web-wallet/src/lib/components/AddressPicker/AddressPicker.css
.address-picker {
  position: relative;
  background-color: var(--surface-color);
  padding: 1em;
  border-radius: 1.25rem;
  user-select: none;
  z-index: 2;
}

.address-picker__current-profile {
  width: 100%;
  text-align: center;
  font-weight: 500;
}

.address-picker__copy-address-button:hover {
  cursor: copy;
}

.address-picker__address--selected {
  color: var(--secondary-color);
}

.address-picker__address:hover {
  cursor: pointer;
}

.address-picker__trigger {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.address-picker__trigger:hover {
  opacity: 0.8;
}

.address-picker__trigger:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.address-picker__chevron {
  position: absolute;
  right: 0;
  transition: transform 0.2s ease;
}

.address-picker--expanded .address-picker__chevron {
  transform: rotate(180deg);
}

.address-picker__drop-down {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 2;
  background-color: var(--surface-color);
  padding: 0.75em;
  border-bottom-left-radius: 1.25rem;
  border-bottom-right-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}

.address-picker__address-options {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.address-picker__address {
  list-style: none;
  margin: 0;
  padding: 0;
}

.address-picker__profile {
  list-style: none;
  margin: 0;
  padding: 0;
}

.address-picker__profile-container {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  padding: 0.5em 0;
}

.address-picker__profile-button {
  all: unset;
  flex: 1;
  display: block;
  text-align: left;
  padding: 0.75em;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 0.5rem;
  background-color: transparent;
}

.address-picker__profile-button:hover {
  background-color: var(--background-color);
}

.address-picker__profile-button:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.address-picker__profile-header {
  font-weight: 500;
  margin-bottom: 0.5em;
  font-size: 0.9em;
}

.address-picker__current-indicator {
  color: var(--secondary-color);
  font-weight: normal;
  font-size: 0.85em;
}

.address-picker__addresses {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.address-picker__address-row {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  font-size: 0.8em;
}

.address-picker__address-label {
  font-weight: 500;
  color: var(--muted-color);
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.address-picker__address-value {
  font-family: monospace;
  color: var(--on-surface-color);
  font-size: 0.85em;
}

.address-picker__copy-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  align-self: flex-start;
  /* Add top margin to align with the addresses section */
  margin-top: 2.1em; /* Aligns with profile header + gap + first address row */
  padding-top: 0.25em; /* Fine-tune alignment with address values */
}

.address-picker__copy-button {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
  color: var(--muted-color);
}

.address-picker__copy-button:hover {
  background-color: var(--background-color);
  color: var(--on-surface-color);
}

.address-picker__copy-button:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.address-picker__profile--selected .address-picker__profile-header {
  color: var(--secondary-color);
}

.address-picker--expanded {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.address-picker__max-addresses-message {
  text-align: center;
  color: var(--muted-color);
  font-size: 0.875rem;
  margin: 0;
  padding: 0.5rem;
}
