/* ================================
   DEISO Finder Search Pro v1.5.0
   Migrated module for DEISO WP Pro
   ================================ */

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

#deiso-finder-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 700px;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999999;
  display: none;
  box-sizing: border-box;
}

#deiso-finder-bar.deiso-finder-bar-top {
  top: 20px;
}

#deiso-finder-bar.deiso-finder-bar-center {
  top: 50%;
  transform: translate(-50%, -50%);
}

#deiso-finder-bar.deiso-finder-bar-bottom {
  bottom: 20px;
}

#deiso-finder-bar.deiso-finder-light {
  background: #fff;
  color: #000;
}

#deiso-finder-bar.deiso-finder-dark {
  background: #222;
  color: #fff;
}

#deiso-finder-bar input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

#deiso-finder-bar.deiso-finder-light input {
  background: #fff;
  color: #000;
}

#deiso-finder-bar.deiso-finder-dark input {
  background: #333;
  color: #fff;
}

#deiso-finder-bar .deiso-finder-results {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  max-height: 300px;
  overflow-y: auto;
  border-top: 1px solid #ccc;
}

#deiso-finder-bar .deiso-finder-results li {
  margin: 0;
  padding: 0;
}

#deiso-finder-bar .deiso-finder-results a {
  display: block;
  padding: 8px 10px;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
}

#deiso-finder-bar .deiso-finder-results a:hover,
#deiso-finder-bar .deiso-finder-results a:focus {
  background: rgba(0, 164, 45, 0.12);
  outline: none;
}

#deiso-finder-float-btn {
  position: fixed;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  z-index: 999998;
  cursor: pointer;
  margin: 0;
  padding: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#deiso-finder-float-btn:hover,
#deiso-finder-float-btn:focus {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  outline: none;
}

@media (max-width: 768px) {
  #deiso-finder-bar {
    width: calc(100% - 24px);
    padding: 14px;
  }
}
