:host {
  width: 100%;
  font-family: var(--ftb-font-family);
  display: block;
}
:host .wrapper {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
:host .wrapper .svg-container {
  display: flex;
  transition: all 0.2s;
}
:host .wrapper .svg-container:hover svg {
  transform: scale(1.1);
}
:host .wrapper .svg-container svg {
  height: 30px;
  width: 36px;
  fill: white;
}
:host .container {
  flex: 1;
  position: relative;
  box-shadow: var(--card-box-shadow);
  display: flex;
  align-items: center;
  background: var(--input-background);
  max-width: var(--element-max-width);
}
:host .container .input-container {
  display: flex;
  align-items: center;
  position: relative;
  flex: 1;
}
:host .container .input-container .icon.search {
  fill: rgba(32, 82, 106, 0.65);
  position: absolute;
  top: 0px;
  left: 15px;
  height: 45px;
  width: 18px;
  display: flex;
  align-items: center;
  transition: fill 0.3s ease-in-out;
}
:host .container .input-container .icon.search svg {
  height: 18px;
  width: 18px;
  margin-top: -2px;
}
:host .container .input-container ftb-spinner {
  position: absolute;
  top: 10px;
  right: 30px;
  --color: rgba(32, 82, 106, 0.5);
  --size: 6px;
  opacity: 0;
}
:host .container .input-container .icon-button {
  position: absolute;
  top: 0px;
  right: -5px;
  height: 100%;
  width: 30px;
  box-shadow: none;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
}
:host .container .input-container .icon-button .icon {
  display: flex;
  align-items: center;
  fill: rgba(32, 82, 106, 0.75);
  height: 10px;
  width: 10px;
  opacity: 0;
  transition: all 0.2s;
}
:host .container .input-container .icon-button:hover .icon {
  transform: scale(1.2);
}
:host .container .input-container input {
  height: 0;
  width: 0;
  box-sizing: border-box;
  outline: none;
  padding-bottom: 2px;
  color: rgba(32, 82, 106, 0.9);
  border: none;
  background: var(--input-background);
  border-radius: var(--card-border-radius);
}
:host .container .input-container input::placeholder {
  color: rgba(32, 82, 106, 0.4);
}
:host .container .input-container input.visible {
  padding-left: 40px;
  height: 45px;
  width: 100%;
}
:host .container.focused .icon.search {
  fill: rgba(32, 82, 106, 0.85);
}
:host .container.focused input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
:host .container.dirty .icon.close {
  opacity: 1;
}
:host .container.searching ftb-spinner {
  opacity: 1;
}
:host .container .select {
  white-space: nowrap;
  display: flex;
  align-items: center;
  padding: 12.5px 0;
  height: 100%;
  font-size: 12px;
  color: #20526a;
  cursor: pointer;
  text-transform: uppercase;
  user-select: none;
  padding-right: 15px;
}
:host .container .select:before {
  height: 20px;
  margin-right: 15px;
  width: 1px;
  content: " ";
  display: block;
  background: rgba(32, 82, 106, 0.2);
}
:host .container .select .svg-container {
  display: flex;
  height: 20px;
  width: 10px;
  margin-left: 5px;
  padding: 0;
  align-items: center;
  transition: all 0.2s;
}
:host .container .select .svg-container svg {
  height: 10px;
  fill: #20526a;
  margin-top: -2px;
  transition: all 0.2s;
}
:host .container .select.open .svg-container {
  transform: rotate(180deg);
  margin-top: -4px;
}
:host .container .select:hover svg {
  transform: scale(1.2);
}
:host .container .nothing-found {
  background: white;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
  padding: 10px;
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--input-background);
  z-index: 1000;
  box-shadow: var(--card-box-shadow);
}
:host .container .results,
:host .container .options {
  box-sizing: border-box;
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid var(--input-background);
  border-top: none;
  max-height: 230px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: var(--card-box-shadow);
}
:host .container .results::-webkit-scrollbar,
:host .container .options::-webkit-scrollbar {
  width: 8px;
  background-color: transparent;
  padding: 10px 0;
}
:host .container .results::-webkit-scrollbar-thumb,
:host .container .options::-webkit-scrollbar-thumb {
  border: 2px solid rgba(0, 0, 0, 0);
  background: rgba(0, 0, 0, 0.25);
  background-clip: padding-box;
  border-radius: 4px;
}
:host .container .results .results-row.selected,
:host .container .options .results-row.selected {
  background: rgba(209, 234, 247, 0.4);
}
:host .container .results .results-row:hover,
:host .container .options .results-row:hover {
  background: rgba(209, 234, 247, 0.4);
}
:host .container .results .results-row > div,
:host .container .options .results-row > div {
  cursor: pointer;
  height: 45px;
  display: flex;
  align-items: center;
  font-size: 12px;
  justify-content: flex-start;
  width: calc(100% - 20px);
  margin-left: 10px;
  user-select: none;
}
:host .container .results .results-row > div ftb-team-logo,
:host .container .options .results-row > div ftb-team-logo {
  height: 30px;
  width: 30px;
  margin-right: 5px;
  margin-left: 0;
  --placeholder-fill: var(--background-gradient-end);
}
:host .container .results .results-row > div ftb-player-photo,
:host .container .results .results-row > div ftb-user-photo,
:host .container .options .results-row > div ftb-player-photo,
:host .container .options .results-row > div ftb-user-photo {
  height: 30px;
  width: 30px;
  margin-right: 5px;
  margin-left: 0;
  border-radius: 10px;
  border-width: 1px;
}
:host .container .results .results-row > div ftb-stadium-photo,
:host .container .options .results-row > div ftb-stadium-photo {
  height: 30px;
  width: 30px;
  margin-right: 5px;
  margin-left: 0;
  border-radius: 10px;
  border-width: 1px;
}
:host .container .results .results-row > div ftb-flag,
:host .container .options .results-row > div ftb-flag {
  height: 30px;
  width: 30px;
  margin-right: 5px;
  margin-left: 0;
}
:host .container .results .results-row > div.league img,
:host .container .options .results-row > div.league img {
  height: 30px;
  width: 30px;
  margin-right: 5px;
}
:host .container .results .results-row > div .name-block,
:host .container .options .results-row > div .name-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
:host .container .results .results-row > div .name-block div,
:host .container .options .results-row > div .name-block div {
  height: 12px;
}
:host .container .results .results-row > div .name-block .league-name,
:host .container .options .results-row > div .name-block .league-name {
  color: rgba(0, 0, 0, 0.4);
  font-size: 10px;
}
:host .container .results .results-row .player .name-block,
:host .container .options .results-row .player .name-block {
  flex: 1;
}
:host .container .results .results-row .player .teams-block,
:host .container .options .results-row .player .teams-block {
  display: flex;
}
:host .container .results .results-row .player .teams-block ftb-team-logo,
:host .container .options .results-row .player .teams-block ftb-team-logo {
  height: 20px;
  width: 20px;
}
:host .container .results .results-row:not(:last-of-type) > div,
:host .container .options .results-row:not(:last-of-type) > div {
  border-bottom: 1px solid rgba(110, 110, 110, 0.1);
}
:host .container.focused .options {
  display: none;
}
:host .container .options .results-row div ftb-flag {
  height: 20px;
}