//
// Typeahead
//

.twitter-typeahead {
  width: 100%;

  .tt-menu {
    width: 100%;
    background: var(--bs-white);
    border: 1px solid var(--bs-gray-100);
    border-radius: 5px;
    padding: 0.75rem 0;

    .tt-suggestion {
      padding: 0.25rem 0.75rem;
      cursor: pointer;

      &:hover {
        background-color: var(--bs-primary);
        color: var(--bs-white);
      }
    }
  }

  .empty-message {
    padding: 5px 10px;
    text-align: center;
  }

  .rtl-typeahead {
    .tt-menu {
      text-align: right;
    }
  }

  .league-name {
    margin: 0 10px 5px;
    padding: 7px 5px 10px;
    border-bottom: 1px solid var(--bs-gray-200);
  }
}

.scrollable-dropdown {
  .twitter-typeahead {
    .tt-menu {
      max-height: 80px;
      overflow-y: auto;
    }
  }
}

.bootstrap-maxlength {
  margin-top: 0.5rem;
}

body {
  :not(pre) > code[class*="language-"],
  pre[class*="language-"] {
    background: #1f2a3d;
  }
}
