#handlebars-list {
  background-color: white;
  border-radius: 5px;
}

.gem {
  padding: 20px;
}

.gem:hover {
  background-color: #f7f7f7;;
  border-radius: 5px;
}

.title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.version {
  color: #78909c;
  margin-left: 30px;
}

.name {
  font-weight: bold;
  font-size: 22px;
  line-height: 1.66;
  color: #ce2539;
}

.description {
  margin-top: 8px;
  max-width: 90%;
  font-size: 15px;
  color: #141c22;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

em {
  font-style: inherit;
  background-color: #fce3e0;
}

.downloads {
  margin-top: 8px;
  color: #78909c;
}

.search-with-time {
  display: inline-flex;
  width: 100%;
}

.search-before {
  width: 10%;
}

.search {
  width: 80%;
}

.search-time {
  width: 10%;
  color: white;
  display: flex;
  margin-left: 10px;
  align-items: center;
}

.header__nav-links span {
 vertical-align: -8px;
}

.search-row {
  display: flex;
  align-items: center;
}

.index-select {
  margin-left: 12px;
  height: 38px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 0 8px;
  background: #fff;
}

.create-doc-btn {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #ce2539;
  font-size: 2rem;
  border: 2px solid #ce2539;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.create-doc-btn:hover {
  background: #ce2539;
  color: #fff;
}

.create-doc-btn svg {
  display: block;
  margin: 0;
}

@media (max-width: 600px) {
  .search-row {
    flex-direction: column;
    align-items: stretch;
  }
  .index-select {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    min-width: 0;
  }
}

.search-results-count {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 1.08em;
  color: #fff;
  background: none;
  border-radius: 0;
  padding: 0;
  display: block;
  box-shadow: none;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: center;
}

#load-more-btn {
  display: block;
  margin: 24px auto 0 auto;
  padding: 12px 0;
  width: 220px;
  font-size: 1.15em;
  font-weight: 600;
  color: #ce2539;
  background: #fff;
  border: 2px solid #ce2539;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
#load-more-btn:hover {
  background: #ce2539;
  color: #fff;
  border-color: #ce2539;
}
