/* Add ticker modal: inline duplicate validation and bottom action. */
.ticker-symbol-field{
  position:relative;
}
.ticker-field-error{
  min-height:16px;
  margin-top:5px;
  color:#ff7c88;
  font-size:11px;
  font-weight:600;
  line-height:1.35;
  opacity:0;
}
.ticker-field-error.visible{
  opacity:1;
}
#tickerInput.input-error{
  border-color:rgba(255,92,108,.85)!important;
  box-shadow:0 0 0 2px rgba(255,92,108,.12);
}
.ticker-modal-footer{
  display:flex;
  justify-content:flex-end;
  padding:16px 0 2px;
  margin-top:2px;
  border-top:1px solid rgba(144,169,197,.2);
}
.ticker-modal-footer .ticker-save-main{
  width:auto;
  min-width:0;
  min-height:48px;
  padding:12px 24px;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
  flex:0 0 auto;
}
.ticker-modal-footer .ticker-save-main:disabled{
  opacity:.5;
  cursor:not-allowed;
}


/* v2: neutral source checkboxes and inactive source logos */
#tickerModal .client-source-check input[type="checkbox"]{
  appearance:none;
  -webkit-appearance:none;
  width:15px;
  height:15px;
  flex:0 0 15px;
  margin:0;
  border:1px solid #77879a;
  border-radius:3px;
  background:#344456;
  display:grid;
  place-items:center;
  cursor:pointer;
}
#tickerModal .client-source-check input[type="checkbox"]:checked{
  border-color:#a8b4c2;
  background:#7f8fa2;
}
#tickerModal .client-source-check input[type="checkbox"]:checked::after{
  content:"";
  width:7px;
  height:4px;
  border-left:2px solid #f2f5f8;
  border-bottom:2px solid #f2f5f8;
  transform:rotate(-45deg) translateY(-1px);
}
#tickerModal .client-source-check input[type="checkbox"]:not(:checked) + img{
  filter:grayscale(1);
  opacity:.46;
}
#tickerModal .client-source-check input[type="checkbox"]:checked + img{
  filter:none;
  opacity:1;
}
