
.ls-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  font-family: inherit;
}

.modal-dialog-centered-1 {
min-height: calc(100% - 23.5rem) !important;
}

.ls-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid #e0d9f8;
  border-radius: 50px;
  padding: 6px 18px;
  /*box-shadow: 0 2px 12px rgba(91, 47, 212, 0.08);*/
  transition: border-color 0.2s;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}
.ls-input-row:focus-within {
  border-color: #7b52e0;
}

.ls-input-icon {
    color: #f68920;
    font-size: 30px;
    flex-shrink: 0;
    transform: rotate(180deg);
}

#ls-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #1a1040;
  background: transparent;
}
#ls-input::placeholder {
  color: #b0aacc;
}

.globlsearch {
  width: 100%;
}

#ls-clear {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #c0672b;
  font-size: 14px;
  padding: 2px;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: background 0.15s;
}
#ls-clear:hover {
  background: #fef0e8;
}


#ls-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #0e0522;
  border: 1px solid #e0d9f8;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(61, 31, 122, 0.12);
  max-height: 480px;
  overflow-y: auto;
  z-index: 9999;
  padding: 20px;
}


.ls-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 10px;
  border-bottom: 1px solid #f0ebfc;
  margin-bottom: 8px;
}

.ls-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #e0d9f8;
  background: #f8f6ff;
  color: #f68920;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ls-pill:hover {
  background: #ede8fb;
  border-color: #9b72ef;
}
.ls-pill.active {
  background: #c5168c;
  color: #fff;
  border-color: #c5168c;
}
.ls-pill-count {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 1px 5px;
}
.ls-pill.active .ls-pill-count {
  background: rgba(255, 255, 255, 0.3);
}


.ls-section-head {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9b8fcc;
  padding: 8px 16px 4px;
}


.ls-group {
  list-style: none;
  margin: 0;
  padding: 0 8px;
}


.ls-item {
  border-radius: 10px;
  overflow: hidden;
  background: #19142a;
  color: #fff;
  margin-bottom: 2px;
}

.ls-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s;
}
.ls-link:hover {
  background: #f5f2ff;
  color: #000;
}

.ls-snippet:hover{
 color: #000;  
}

/* ── Type icon circle ── */
.ls-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.ls-icon--info    { background: #e6f1fb; color: #185fa5; }  /* Blog — blue   */
.ls-icon--success {color: #fff;background-image: linear-gradient(90deg, rgb(200, 70, 118) 0%, rgb(150, 94, 184) 100%); }  /* Glossary — green */
.ls-icon--neutral { background: #f1efe8; color: #5f5e5a; }  /* Page — gray   */
.ls-icon--warning { background: #faeeda; color: #854f0b; }  /* Partner — amber */

/* ── Text block ── */
.ls-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ls-title {
  font-size: 14px;
  color: #9b8fcc;
  font-weight: 500;
  line-height: 1.35;
  display: block;
}

.ls-snippet {
  font-size: 12px;
  color: #7a7095;
  line-height: 1.5;
  display: block;
  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ls-meta {
  font-size: 11px;
  color: #b0aacc;
  display: block;
}

/* ── Keyword highlight ── */
mark.ls-highlight {
  background: transparent;
  color: #4c2570;
  font-weight: 600;
}

/* ── States ── */
.no-results,
.ls-loading,
.ls-error {
  font-size: 13px;
  color: #9b8fcc;
  padding: 16px 18px;
  margin: 0;
}
.ls-error { color: #c0392b; }
.noresultfound{color: #f68920; font-weight: bold;}

#ls-dropdown::-webkit-scrollbar        { width: 11px; }
#ls-dropdown::-webkit-scrollbar-track  { background: transparent; }
#ls-dropdown::-webkit-scrollbar-thumb  { background: #e0d9f8; border-radius: 4px; }


@media (max-width: 480px) {
  #ls-dropdown { border-radius: 12px; }
  .ls-snippet  { -webkit-line-clamp: 1; }
}


.srp-wrap { max-width: 860px; margin: 0 auto; padding: 40px 20px 80px; font-family: inherit; }


.srp-searchform { margin-bottom: 32px; }
.srp-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid #e0d9f8;
  border-radius: 50px;
  padding: 10px 18px;
  box-shadow: 0 2px 12px rgba(91,47,212,.08);
  transition: border-color .2s;
}
.srp-input-row:focus-within { border-color: #7b52e0; }
.srp-ico { color: #9b8fcc; font-size: 16px; flex-shrink: 0; }
.srp-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: #1a1040;
  background: transparent;
}
.srp-input::placeholder { color: #b0aacc; }
.srp-submit-btn {
  background: #7b52e0;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.srp-submit-btn:hover { background: #3d1f7a; }


.srp-header { margin-bottom: 24px; }
.srp-count { font-size: 15px; color: #3d3558; margin-bottom: 14px; }
.srp-count strong { color: #1a1040; }
.srp-count em { font-style: normal; color: #7b52e0; }

.srp-filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.srp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid #e0d9f8;
  background: #f8f6ff;
  color: #7b52e0;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.srp-pill:hover { background: #ede8fb; border-color: #9b72ef; }
.srp-pill.active { background: #7b52e0; color: #fff; border-color: #7b52e0; }
.srp-pill span {
  font-size: 11px;
  background: rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 1px 6px;
  font-weight: 700;
}
.srp-pill.active span { background: rgba(255,255,255,.3); }


.srp-results-list { display: flex; flex-direction: column; gap: 16px; }

.srp-result-item {
  background: #fff;
  border: 1px solid #ede8fb;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.srp-result-item:hover { border-color: #c5b8f0; box-shadow: 0 4px 20px rgba(91,47,212,.09); }

.srp-result-link {
  display: flex;
  align-items: stretch;
  gap: 0;
  text-decoration: none;
  color: inherit;
}

.srp-result-thumb {
  width: 96px;
  min-height: 96px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: #f5f2ff;
}
.srp-result-thumb--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
}
.srp-icon-bg--info    { background: #e6f1fb; color: #185fa5; }
.srp-icon-bg--success { background: #eaf3de; color: #3b6d11; }
.srp-icon-bg--neutral { background: #f1efe8; color: #5f5e5a; }
.srp-icon-bg--warning { background: #faeeda; color: #854f0b; }

.srp-result-body { flex: 1; padding: 16px 20px; }

.srp-type-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.srp-type-badge--info    { background: #e6f1fb; color: #185fa5; }
.srp-type-badge--success { background: #eaf3de; color: #3b6d11; }
.srp-type-badge--neutral { background: #f1efe8; color: #5f5e5a; }
.srp-type-badge--warning { background: #faeeda; color: #854f0b; }

.srp-result-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1040;
  line-height: 1.3;
  margin: 0 0 6px;
}
.srp-result-item:hover .srp-result-title { color: #7b52e0; }

.srp-result-snippet { font-size: 14px; color: #5a5278; line-height: 1.6; margin: 0 0 10px; }

.srp-result-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #9b8fcc; }
.srp-dot { color: #c8bef0; }

mark.ls-highlight { background: transparent; color: #4c2570; font-weight: 700; }


.srp-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.srp-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #e0d9f8;
  background: #fff;
  color: #7b52e0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s, border-color .15s;
}
.srp-pagination .page-numbers:hover { background: #f5f2ff; border-color: #9b72ef; }
.srp-pagination .page-numbers.current { background: #7b52e0; color: #fff; border-color: #7b52e0; }


.srp-no-results { text-align: center; padding: 20px 0 40px; }
.srp-no-results-icon { font-size: 48px; margin-bottom: 16px; }
.srp-no-results h2 { font-size: 24px; color: #1a1040; font-weight: 800; margin: 0 0 12px; }
.srp-no-results p { font-size: 15px; color: #fff; max-width: 440px; margin: 0 auto 36px; line-height: 1.6; }


.srp-fallback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.srp-fallback-card {
  background: #19142a;
  border: 1px solid #414142;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.srp-fallback-card--featured {
  border-color: #f68920;
  box-shadow: 0 4px 24px rgba(91,47,212,.12);
}

.srp-fallback-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.srp-fi--blog  { background: #e6f1fb; }
.srp-fi--demo  { background: #ede8fb; }
.srp-fi--chat  { background: #eaf3de; }

.srp-fallback-card h3 { font-size: 16px; font-weight: 800; color: #fff; margin: 0; }
.srp-fallback-card p  { font-size: 13px; color: #e6e6e6; line-height: 1.55; margin: 0; flex: 1; }

.srp-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background .2s, border-color .2s;
  border: 1.5px solid transparent;
}
.srp-btn--primary { background: #fff; color: #7b52e0; border-color: #7b52e0; }
.srp-btn--primary:hover { background: #3d1f7a; border-color: #3d1f7a; }
.srp-btn--outline { background: transparent; color: #adadad; border-color: #646464; }
.srp-btn--outline:hover { background: #f5f2ff; border-color: #7b52e0; color:#7b52e0; }
.ls-see-all{color: #c5168c;}
.ls-see-all:hover{color: #fff;}
.srp-hint { color: #9b8fcc; font-size: 15px; text-align: center; margin-top: 32px; }

.ls-footer a{color: #c5168c !important;
    font-weight: bold;
    padding-left: 10px;}


@media (max-width: 600px) {
  .srp-result-thumb { width: 72px; }
  .srp-result-title { font-size: 15px; }
  .srp-fallback-grid { grid-template-columns: 1fr; }
  .srp-result-body { padding: 12px 14px; }
}
