/* REDOKS SEARCH CSS - Python Optimizer Edition */

#redoks-search-container {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 420px;
}

.redoks-search-page-results {
  position: relative;
  z-index: 1;
  background: #fff;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 60px;
}

.redoks-search-page-query {
  margin: 0 0 16px 0;
  font-size: 17px;
  color: #555;
}

.redoks-search-page-count {
  margin: 0 0 28px 0;
  font-size: 14px;
  color: #777;
}

.redoks-search-page-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.redoks-search-page-item {
  display: block;
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 18px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  transition: .2s;
}

.redoks-search-page-item:hover {
  transform: translateY(-2px);
  background: #f7f7f7;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.redoks-search-page-item strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.redoks-search-page-item span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: #666;
}

.redoks-search-page-empty {
  padding: 18px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  color: #777;
  background: #fafafa;
}

.redoks-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999999 !important;
  background: #fff;
  width: 380px;
  max-width: calc(100vw - 24px);
  max-height: 420px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  border-radius: 8px;
  margin-top: 6px;
}

.redoks-search-item {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: #222;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.redoks-search-item:last-child {
  border-bottom: none;
}

.redoks-search-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.redoks-search-item span {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: #666;
}

.redoks-search-item:hover {
  background: #f4f4f4;
}

.redoks-search-empty {
  padding: 12px 14px;
  font-size: 13px;
  color: #777;
  background: #fff;
}

html,
body {
  overflow-x: hidden !important;
}

@media (max-width: 767px) {
  .redoks-search-page-results {
    padding: 20px 18px 44px;
  }

  .redoks-search-results {
    width: 300px;
  }
}
