.fm-search-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 0 2rem 0;
  z-index: 1000;
  background: #fff !important;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  animation: searchContainerSlideIn 0.6s ease-out;
  background: linear-gradient(135deg, #ffffff 0%, rgba(var(--fm-primary-color), 0.02) 100%);
  border: 2px solid transparent;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0, 0.2, 1);
}
.fm-search-container:focus-within {
  border-color: var(--fm-primary-color);
  background: linear-gradient(135deg, #ffffff 0%, rgba(var(--fm-primary-color), 0.05) 100%);
  box-shadow: 0 0 0 4px rgba(var(--fm-primary-color), 0.15), 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.fm-search-container:hover {
  background: linear-gradient(135deg, #ffffff 0%, rgba(var(--fm-primary-color), 0.03) 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}
@media screen and (max-width: 480px) {
  .fm-search-container {
    max-width: 100%;
    margin: 0 0 1.5rem 0;
    border-radius: 22px;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .fm-search-container {
    max-width: 95%;
    margin: 0 0 1.75rem 0;
    border-radius: 24px;
  }
}

.fm-search-input {
  width: 100% !important;
  height: 60px !important;
  padding: 0 20px 0 20px !important;
  padding-right: 60px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: var(--fm-primary-color) !important;
}
.fm-search-input::placeholder {
  color: rgba(var(--fm-primary-color), 0.8) !important;
  opacity: 0.8 !important;
  font-style: italic !important;
  font-weight: 400 !important;
}
.fm-search-input:focus {
  outline: none !important;
}
.fm-search-input:hover {
  cursor: text;
}
@media screen and (max-width: 480px) {
  .fm-search-input {
    height: 44px !important;
    padding: 0 14px 0 14px !important;
    padding-right: 40px !important;
    font-size: 14px !important;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .fm-search-input {
    height: 48px !important;
    padding: 0 16px 0 16px !important;
    padding-right: 50px !important;
    font-size: 15px !important;
  }
}

.fm-search-input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 1001;
}
.fm-search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  stroke: #1e3a8a;
  stroke: var(--fm-primary-color);
  stroke-width: 2;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1002;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
@media screen and (max-width: 480px) {
  .fm-search-icon {
    right: 14px;
    width: 16px;
    height: 16px;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .fm-search-icon {
    right: 16px;
    width: 18px;
    height: 18px;
  }
}

.fm-search-container:focus-within .fm-search-icon {
  stroke: var(--fm-primary-color);
  transform: translateY(-50%) scale(1.15);
  filter: drop-shadow(0 2px 8px rgba(var(--fm-primary-color), 0.4));
  animation: iconPulse 2s ease-in-out infinite;
}

.fm-search-container:hover .fm-search-icon {
  stroke: var(--fm-primary-color);
  transform: translateY(-50%) scale(1.05) rotate(5deg);
  filter: drop-shadow(0 1px 4px rgba(var(--fm-primary-color), 0.2));
}

.fm-search-input:focus ~ .fm-search-icon {
  stroke: var(--fm-primary-color);
  transform: translateY(-50%) scale(1.1);
  filter: drop-shadow(0 2px 6px rgba(var(--fm-primary-color), 0.3));
}

.fm-search-container:active .fm-search-icon {
  transform: translateY(-50%) scale(0.95);
  transition: all 0.1s ease;
}

.fm-search-suggestions,
.fm-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9999 !important;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(var(--fm-primary-color), 0.15);
  border: 1px solid rgba(var(--fm-primary-color), 0.1);
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  animation: searchResultsSlideIn 0.3s ease-out;
}
@media screen and (max-width: 768px) {
  .fm-search-suggestions,
  .fm-search-results {
    max-height: 300px;
    border-radius: 12px;
  }
}

.fm-search-container .fm-search-suggestions,
.fm-search-container .fm-search-results {
  z-index: 9999 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

.fm-search-suggestion-item,
.fm-search-result-item {
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(var(--fm-primary-color), 0.08);
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.fm-search-suggestion-item:hover,
.fm-search-result-item:hover {
  background-color: color-mix(in srgb, var(--fm-primary-color) 10%, transparent);
  transform: translateX(4px);
  border-left: 3px solid var(--fm-primary-color);
}
.fm-search-suggestion-item:last-child,
.fm-search-result-item:last-child {
  border-bottom: none;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
@media screen and (max-width: 768px) {
  .fm-search-suggestion-item,
  .fm-search-result-item {
    padding: 14px 16px;
  }
  .fm-search-suggestion-item:last-child,
  .fm-search-result-item:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }
}

.fm-search-suggestion-title,
.fm-search-result-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
@media screen and (max-width: 768px) {
  .fm-search-suggestion-title,
  .fm-search-result-title {
    font-size: 15px;
  }
}

.fm-search-suggestion-details,
.fm-search-result-details {
  font-size: 14px;
  color: #64748b;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
@media screen and (max-width: 768px) {
  .fm-search-suggestion-details,
  .fm-search-result-details {
    font-size: 13px;
  }
}

.fm-search-result-cis {
  font-size: 12px;
  color: #94a3b8;
  font-family: monospace;
  margin-top: 6px;
  padding: 2px 6px;
  background-color: rgba(148, 163, 184, 0.1);
  border-radius: 4px;
  display: inline-block;
}

.fm-search-no-results {
  padding: 24px 20px;
  text-align: center;
  color: #64748b;
  font-style: italic;
  font-size: 13px;
}
@media screen and (max-width: 768px) {
  .fm-search-no-results {
    padding: 20px 16px;
    font-size: 12px;
  }
}

.fm-search-error {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 20px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  color: #dc2626;
  font-size: 14px;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.1);
}
@media screen and (max-width: 768px) {
  .fm-search-error {
    padding: 14px 16px;
    font-size: 13px;
  }
}

.fm-search-loading-indicator {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px;
  text-align: center;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  margin-top: 8px;
}
.fm-search-loading-indicator .fm-search-spinner {
  font-size: 24px;
  color: #1e3a8a;
  animation: searchSpinner 1s linear infinite;
}
@media screen and (max-width: 768px) {
  .fm-search-loading-indicator {
    padding: 16px;
    border-radius: 12px;
  }
  .fm-search-loading-indicator .fm-search-spinner {
    font-size: 20px;
  }
}

@keyframes searchContainerSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes searchContainerFocus {
  0% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  50% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(30, 58, 138, 0.2);
  }
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(30, 58, 138, 0.1);
  }
}
.fm-search-container:focus-within {
  animation: searchContainerFocus 0.3s ease-out;
}

@keyframes searchResultsSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes searchSpinner {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.fm-search-input:focus-visible {
  outline: 2px solid var(--fm-primary-color);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .fm-search-container,
  .fm-search-input {
    animation: none;
    transition: none;
  }
}
.fm-search-suggestions::-webkit-scrollbar,
.fm-search-results::-webkit-scrollbar {
  width: 6px;
}

.fm-search-suggestions::-webkit-scrollbar-track,
.fm-search-results::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}

.fm-search-suggestions::-webkit-scrollbar-thumb,
.fm-search-results::-webkit-scrollbar-thumb {
  background: rgba(var(--fm-primary-color), 0.3);
  border-radius: 3px;
}
.fm-search-suggestions::-webkit-scrollbar-thumb:hover,
.fm-search-results::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--fm-primary-color), 0.5);
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .fm-search-container {
    max-width: 700px;
    margin-bottom: 2.5rem;
  }
  .fm-search-input {
    height: 56px;
    font-size: 16px;
  }
  .fm-search-suggestions,
  .fm-search-results {
    max-height: 350px;
  }
  .fm-search-suggestion-item,
  .fm-search-result-item {
    padding: 18px 22px;
  }
}
@media screen and (min-width: 1024px) {
  .fm-search-container {
    max-width: 800px;
    margin-bottom: 3rem;
  }
  .fm-search-input {
    height: 60px;
    font-size: 16px;
  }
  .fm-search-suggestions,
  .fm-search-results {
    max-height: 450px;
  }
  .fm-search-suggestion-item,
  .fm-search-result-item {
    padding: 20px 24px;
  }
  .fm-search-suggestion-item:hover,
  .fm-search-result-item:hover {
    transform: translateX(6px);
  }
}
@media screen and (min-width: 1440px) {
  .fm-search-container {
    max-width: 900px;
    margin-bottom: 3.5rem;
  }
  .fm-search-input {
    height: 64px;
    font-size: 17px;
  }
  .fm-search-suggestions,
  .fm-search-results {
    max-height: 500px;
  }
}
@keyframes iconPulse {
  0%, 100% {
    transform: translateY(-50%) scale(1.15);
  }
  50% {
    transform: translateY(-50%) scale(1.2);
  }
}

/*# sourceMappingURL=search.css.map */
