/* XeHello - In-Chat Search & Export Stylesheet */

.xe-inchat-search-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--wa-card-bg, #182229);
  border-bottom: 1px solid var(--wa-border, #222d34);
  gap: 12px;
  animation: xeSlideDown 0.2s ease-out;
}

@keyframes xeSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.xe-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  background: var(--wa-input-bg, #202c33);
  border: 1px solid var(--wa-input-border, #2a3942);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--wa-text-primary, #e9edef);
}

.xe-search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  color: inherit;
  font-size: 13px;
  outline: none;
}

.xe-search-counter {
  font-size: 11px;
  color: var(--wa-text-secondary, #8696a0);
}

.xe-search-nav-btns {
  display: flex;
  align-items: center;
  gap: 4px;
}

.xe-search-btn {
  background: none;
  border: none;
  color: var(--wa-text-secondary, #8696a0);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.xe-search-btn:hover {
  background: var(--wa-hover-bg, rgba(255, 255, 255, 0.08));
  color: var(--wa-text-primary, #fff);
}
.xe-search-btn.xe-search-close {
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
}

/* In-text search highlight */
.xe-search-highlight {
  background: #facc15;
  color: #000;
  border-radius: 2px;
  padding: 0 2px;
  font-weight: 600;
}
