.destination-address {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;

  input {
    font-family: var(--font-atyp);
    background-color: var(--v2-color-smoke);
    margin-top: 0.25rem;
    border-radius: 0.625rem;
    box-shadow: 0 0 0 1px var(--v2-color-silver);
    width: 100%;
    padding: 0.75rem 2.625rem 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--v2-color-black);
    
    &.error {
      box-shadow: inset 0 0 0 0.125rem var(--v2-color-red);
    }

    &.not-connected {
      padding: 0.75rem 1rem 0.75rem 1rem;
    }
  }
}

.headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;

  .title {
    color: var(--v2-color-black);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-atyp-text);
  }

  a {
    display: flex;
    color: var(--v2-color-indigo);
    font-size: 0.875rem;
    gap: 0.2rem;
    font-weight: 500;

    svg {
      width: 0.75rem;
      height: 0.75rem;
      color: var(--v2-color-indigo);
      transform: rotate(-45deg);
    }
  }
}

.input-container {
  position: relative;
}

.message-text {
  font-family: var(--font-atyp-text);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  line-height: 1.4;

  &.success {
    color: var(--v2-color-green);  
  }

  &.error {    
    color: var(--v2-color-red);
  }

  &.warning {
    color: var(--v2-color-dark-red);
  }
}

.reset {
  width: 1rem;
  height: 1rem;
  color: var(--v2-color-darker-gray);
  position: absolute;
  right: 1rem;
  top: calc(50% - 0.5rem);
  cursor: pointer;
  visibility: hidden;

  &.show {
    visibility: visible;
  }
}
