/* Start custom CSS for html, class: .elementor-element-2cd9958 *//* Wrapper */
.poodle-search {
  direction: rtl;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  font-family: inherit;
}

/* Bar */
.poodle-search__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 10px 12px;
  backdrop-filter: blur(8px);
}

/* Icon */
.poodle-search__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.05);
  flex: 0 0 auto;
}
.poodle-search__icon svg {
  fill: rgba(15, 23, 42, 0.7);
}

/* Input */
.poodle-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  padding: 10px 6px;
  color: #0f172a;
}
.poodle-search__input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

/* Button */
.poodle-search__btn {
  border: none;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1471C4, #0f5aa0);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 18px rgba(20, 113, 196, 0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
  flex: 0 0 auto;
}
.poodle-search__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(20, 113, 196, 0.28);
}
.poodle-search__btn:active {
  transform: translateY(0px);
  opacity: 0.95;
}

/* Results Dropdown */
.poodle-search__results {
  display: none; /* הקוד JS שלך מציג/מסתיר */
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  width: 100%;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  z-index: 999999;
}

/* Result item (works with your existing classes) */
.poodle-result {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: #0f172a;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: background 0.12s ease;
}
.poodle-result:hover {
  background: rgba(15, 23, 42, 0.04);
}
.poodle-result:last-child {
  border-bottom: none;
}

/* Title + Meta + Snippet (matches your JS output) */
.poodle-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.poodle-snippet {
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
}
.poodle-line {
  font-size: 13px;
  line-height: 1.35;
  color: rgba(15, 23, 42, 0.78);
}
.poodle-line:empty {
  display: none;
}

.poodle-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.55);
}

/* Loading / Empty */
.poodle-loading,
.poodle-no-results {
  padding: 14px;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.72);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Spinner (matches your markup) */
.poodle-spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.18);
  border-top-color: rgba(15, 23, 42, 0.70);
  animation: poodle-spin 0.7s linear infinite;
}
@keyframes poodle-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 520px) {
  .poodle-search__bar { gap: 8px; padding: 10px; border-radius: 14px; }
  .poodle-search__icon { width: 38px; height: 38px; }
  .poodle-search__btn { padding: 10px 12px; font-size: 13px; border-radius: 12px; }
  .poodle-search__input { font-size: 15px; }
}/* End custom CSS */