/* Live friend search embedded in the blue Friends hero */
.connections-hero-copy{
  min-width:0;
}
.connections-hero-search-wrap{
  position:relative;
  z-index:2;
  width:min(100%,560px);
  margin-top:20px;
}
.connections-hero-search{
  position:relative;
  display:block;
}
.connections-hero-search-icon{
  position:absolute;
  left:15px;
  top:50%;
  transform:translateY(-50%);
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  color:#748092;
  pointer-events:none;
}
.connections-hero-search-icon svg{
  display:block;
  width:18px;
  height:18px;
}
.connections-hero-search #searchInput{
  width:100%;
  height:50px;
  min-height:50px;
  padding:0 44px 0 44px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:15px;
  background:rgba(255,255,255,.96);
  color:#20242c;
  font-size:14px;
  font-weight:600;
  outline:none;
  box-shadow:0 10px 28px rgba(0,38,95,.15);
  transition:border-color .14s ease,box-shadow .14s ease,background .14s ease;
}
.connections-hero-search #searchInput::placeholder{
  color:#8a919d;
  font-weight:500;
}
.connections-hero-search #searchInput:focus{
  border-color:#fff;
  background:#fff;
  box-shadow:0 12px 32px rgba(0,38,95,.2),0 0 0 3px rgba(255,255,255,.2);
}
.connections-hero-search-clear{
  position:absolute;
  right:9px;
  top:50%;
  transform:translateY(-50%);
  display:none;
  width:32px;
  height:32px;
  min-height:32px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#eef1f5;
  color:#6f7885;
  font-size:19px;
  font-weight:500;
  line-height:1;
}
.connections-hero-search-clear.visible{
  display:grid;
  place-items:center;
}
.connections-live-submit{
  display:none!important;
}
.connections-hero-search-hint{
  margin:7px 2px 0;
  color:rgba(255,255,255,.72);
  font-size:11px;
  font-weight:650;
}

/* Search feedback and results now live inside the blue hero. */
.connections-hero .message{
  margin:10px 0 0;
  padding:9px 11px;
  border-radius:11px;
  font-size:11px;
}
.connections-hero .message.info{
  background:rgba(255,255,255,.13);
  color:rgba(255,255,255,.9);
}
.connections-hero .message.error{
  background:rgba(134,20,20,.26);
  color:#fff;
}
.connections-hero .connections-search-results{
  display:grid;
  margin-top:10px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.45);
  border-radius:15px;
  background:#fff;
  box-shadow:0 16px 36px rgba(0,38,95,.22);
}
.connections-hero .connections-search-results:empty{
  display:none;
}
.connections-hero .connections-search-result-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px 13px;
  border-top:1px solid #edf0f4;
  background:#fff;
}
.connections-hero .connections-search-result-row:first-child{
  border-top:0;
}
.connections-hero .connections-search-result-row:hover{
  background:#f8fbff;
}
.connections-hero .connections-search-result-row .connections-person-name{
  color:#20242c;
}
.connections-hero .connections-search-result-row .connections-person-username{
  color:#8a919d;
}
.connections-hero .connections-search-result-row .connections-avatar{
  width:40px;
  height:40px;
  font-size:12px;
}
.connections-hero .connections-search-result-row button{
  min-height:34px;
  padding:0 11px;
  border-radius:10px;
  font-size:10px;
}

@media(max-width:720px){
  .connections-hero-search-wrap{
    width:100%;
  }
}

@media(max-width:520px){
  .connections-hero{
    padding-bottom:21px;
  }
  .connections-hero-search-wrap{
    margin-top:17px;
  }
  .connections-hero-search #searchInput{
    height:48px;
    min-height:48px;
    font-size:16px;
  }
  .connections-hero .connections-search-result-row{
    grid-template-columns:auto minmax(0,1fr);
  }
  .connections-hero .connections-search-result-row button{
    grid-column:2;
    justify-self:start;
  }
}
