.firefly_user_info {
  position: relative;
  width: max-content;
  display: flex;
  align-items: center;
}

.userinfo_container {
  position: relative;
  cursor: pointer;
  // width: 210px;
  height: 44px;
  margin-left: 16px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  &:hover {
    border-radius: 3px;
    background: #f5f5f5;
  }
  .username {
    background: #00c3a9;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    line-height: 32px;
    text-align: center;
  }
  .compony_container {
    // width: 120px;
    height: 100%;
    margin-left: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    .compony_name {
      font-weight: 500;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      color: rgb(31, 35, 41);
      font-size: 14px;
      line-height: 20px;
    }
    .user_type {
      width: max-content;
      zoom: 0.833333;
      background-color: rgb(218, 227, 247);
      border-radius: 4px;
      box-sizing: border-box;
      color: rgb(35, 90, 219);
      display: inline-block;
      flex-shrink: 0;
      font-size: 12px;
      height: 18.5px;
      line-height: 18.5px;
      padding: 0 4px;
    }
  }
  .el-icon-caret-bottom {
    color: #a8a8a8;
    font-size: 16px;
    margin-left: 8px;
    transform: rotate(0deg);
    transition: transform 0.2s linear;
  }
  .no_drop {
    transform: rotate(-180deg);
  }
}
.dropdown_container {
  position: absolute;
  right: 10px;
  top: 54px;
  width: 240px;
  height: auto;
  z-index: 99;
  background: white;
  border: 1px #f1f1f1 solid;
  border-radius: 5px;
  .dropdown_header {
    padding: 24px 8px 16px;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px #f1f1f1 solid;
    .username {
      border-radius: 50%;
      width: 48px;
      height: 48px;
      margin-bottom: 8px;
      object-fit: cover;
      background: #00c3a9;
      text-align: center;
      line-height: 48px;
      color: white;
      font-size: 15px;
      font-weight: 500;
    }
    .username_text {
      font-size: 14px;
      font-weight: 500;
      line-height: 20px;
      margin-bottom: 4px;
      word-break: break-all;
    }
    .compony_name {
      color: rgb(100, 106, 115);
      font-size: 14px;
      line-height: 20px;
      text-align: center;
      overflow: hidden;
      text-align: center;
      text-overflow: ellipsis;
      word-break: break-all;
    }
  }

  .login_out_container {
    padding: 3px;
    .login_out {
      cursor: pointer;
      width: 100%;
      height: 100%;
      color: #f54a45;
      text-align: center;
      line-height: 40px;
      font-size: 14px;
      height: 40px;
      &:hover {
        background: #f5f5f5;
        border-radius: 3px;
      }
    }
  }
  .select_container {
    padding: 3px;
    border-bottom: 1px #f1f1f1 solid;
    .select_item {
      cursor: pointer;
      height: 40px;
      padding: 0 11px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      &:hover {
        background: #f5f5f5;
        border-radius: 3px;
      }
      .base_text {
        font-size: 14px;
      }
      .el-icon-arrow-right {
        color: black;
        font-weight: 550;
      }
    }
  }

  .choose_tenant {
    display: none;
    position: absolute;
    left: -238px;
    top: 180px;
    width: 230px;
    height: auto;
    border: 1px #f1f1f1 solid;
    border-radius: 3px;
    padding: 3px;
    background: white;
    .tenant_item {
      cursor: pointer;
      height: 50px;
      padding: 0 8px;
      display: flex;
      align-items: center;
      &:hover {
        background: #f5f5f5;
        border-radius: 3px;
      }
      .tenant_name {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 550;
        background: #387aff;
        border-radius: 3px;
      }
      .compony_container {
        width: 120px;
        height: 100%;
        margin-left: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        .compony_name {
          font-weight: 500;
          max-width: 100%;
          // overflow: hidden;
          // text-overflow: ellipsis;
          // white-space: nowrap;
          color: rgb(31, 35, 41);
          font-size: 14px;
          line-height: 20px;
        }
        .other_compony_name {
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2; // 控制多行的行数
          -webkit-box-orient: vertical;
        }
        .active_name {
          color: rgb(35, 90, 219);
          font-weight: 550;
        }
        .user_type {
          width: max-content;
          zoom: 0.833333;
          background-color: rgb(218, 227, 247);
          border-radius: 4px;
          box-sizing: border-box;
          color: rgb(35, 90, 219);
          display: inline-block;
          flex-shrink: 0;
          font-size: 12px;
          height: 18.5px;
          line-height: 18.5px;
          padding: 0 4px;
        }
      }
      .el-icon-check {
        margin-left: auto;
        font-size: 18 px;
        color: #0054fd;
      }
    }
  }
  .show_tenant {
    display: block;
    transition: all 3s linear 5s;
  }
}
