/* IM_SEARCH_EMPTY_STATE_V4 */
.im-search-page-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  color: #111827;
}

.im-search-empty-state {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 106, 61, .08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .07);
}

.im-search-empty-state h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
  color: #111827;
}

.im-search-empty-state p {
  margin: 0 0 18px;
  max-width: 720px;
  color: #4b5563;
  line-height: 1.55;
}

.im-search-empty-state__tips {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: #374151;
}

.im-search-empty-state__tips li::before {
  content: "✓";
  margin-right: 8px;
  color: #ff5a3d;
  font-weight: 800;
}

.im-search-empty-state__actions,
.im-search-empty-state__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.im-search-empty-state__actions {
  margin-bottom: 20px;
}

.im-search-empty-state__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #fff;
  color: #0f766e;
  font-weight: 800;
}

.im-search-empty-state__chips a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
  color: #0f766e;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}

/* BOT */
.im-search-assistant {
  width: 118px;
  max-width: 36vw;
  margin: 0 auto 18px;
}

.im-search-assistant__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.im-search-assistant__bot {
  transform-origin: 110px 110px;
  animation: im-search-bot-float 3.2s ease-in-out infinite;
}

.im-search-assistant__halo {
  transform-origin: 110px 110px;
  animation: im-search-bot-spin 16s linear infinite;
}

.im-search-assistant__ping {
  transform-origin: center;
  animation: im-search-bot-pulse 1.8s ease-in-out infinite;
}

.im-search-assistant__sparkles {
  animation: im-search-bot-spark 2.8s ease-in-out infinite;
}

@keyframes im-search-bot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes im-search-bot-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes im-search-bot-pulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.25); opacity: 1; }
}

@keyframes im-search-bot-spark {
  0%, 100% { opacity: .35; }
  50% { opacity: .95; }
}

@media (prefers-reduced-motion: reduce) {
  .im-search-assistant__bot,
  .im-search-assistant__halo,
  .im-search-assistant__ping,
  .im-search-assistant__sparkles {
    animation: none;
  }
}

@media (max-width: 680px) {
  .im-search-empty-state {
    padding: 22px;
    border-radius: 18px;
  }

  .im-search-empty-state h2 {
    font-size: 21px;
  }

  .im-search-assistant {
    width: 96px;
  }

  .im-search-empty-state__actions .btn,
  .im-search-empty-state__secondary {
    width: 100%;
  }
}

/* IM_SEARCH_EMPTY_PAPER_PLANE_V2_START */
.im-search-paperplane {
  width: 170px;
  max-width: 42vw;
  margin: 0 auto 18px;
}

.im-search-paperplane__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.im-search-paperplane__plane {
  transform-origin: 145px 78px;
  animation: imPaperPlaneFly 3s ease-in-out infinite;
}

.im-search-paperplane__route {
  animation: imPaperPlaneRoute 2.4s ease-in-out infinite;
}

.im-search-paperplane__cloud--left {
  animation: imPaperCloudLeft 9s ease-in-out infinite;
}

.im-search-paperplane__cloud--right {
  animation: imPaperCloudRight 8s ease-in-out infinite;
}

.im-search-paperplane__mini-cloud--a {
  animation: imPaperMiniCloud 7s ease-in-out infinite;
}

.im-search-paperplane__sparkles {
  transform-origin: 140px 80px;
  animation: imPaperSparkles 2.6s ease-in-out infinite;
}

@keyframes imPaperPlaneFly {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  50% { transform: translate(6px, -8px) rotate(2deg); }
}

@keyframes imPaperPlaneRoute {
  0%, 100% { opacity: .35; stroke-dashoffset: 0; }
  50% { opacity: .95; stroke-dashoffset: -18; }
}

@keyframes imPaperCloudLeft {
  0%, 100% { transform: translateX(0); opacity: .58; }
  50% { transform: translateX(-12px); opacity: .9; }
}

@keyframes imPaperCloudRight {
  0%, 100% { transform: translateX(0); opacity: .7; }
  50% { transform: translateX(10px); opacity: 1; }
}

@keyframes imPaperMiniCloud {
  0%, 100% { transform: translateX(0); opacity: .45; }
  50% { transform: translateX(-10px); opacity: .85; }
}

@keyframes imPaperSparkles {
  0%, 100% { opacity: .38; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .im-search-paperplane__plane,
  .im-search-paperplane__route,
  .im-search-paperplane__cloud--left,
  .im-search-paperplane__cloud--right,
  .im-search-paperplane__mini-cloud--a,
  .im-search-paperplane__sparkles {
    animation: none !important;
  }
}

@media (max-width: 680px) {
  .im-search-paperplane {
    width: 132px;
  }
}
/* IM_SEARCH_EMPTY_PAPER_PLANE_V2_END */

/* IM_SEARCH_EMPTY_INLINE_JET_V5_START */
.im-search-jet {
  width: min(460px, 100%);
  margin: 0 auto 22px;
}

.im-search-jet__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.im-search-jet__plane {
  transform-box: fill-box;
  transform-origin: center;
  animation: imJetFloatV5 3.8s ease-in-out infinite;
}

.im-search-jet__engine {
  transform-box: fill-box;
  transform-origin: center;
  animation: imJetEngineV5 .9s linear infinite;
}

.im-search-jet__clouds--back {
  animation: imJetCloudBackV5 12s ease-in-out infinite;
}

.im-search-jet__clouds--front {
  animation: imJetCloudFrontV5 9s ease-in-out infinite;
}

.im-search-jet__breeze {
  animation: imJetBreezeV5 2.5s linear infinite;
}

.im-search-jet__windows {
  animation: imJetWindowsV5 2.2s ease-in-out infinite;
}

@keyframes imJetFloatV5 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(9px, -8px, 0) rotate(1deg); }
}

@keyframes imJetEngineV5 {
  0% { opacity: .88; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.035); }
  100% { opacity: .88; transform: scale(1); }
}

@keyframes imJetCloudBackV5 {
  0%, 100% { transform: translateX(0); opacity: .72; }
  50% { transform: translateX(-20px); opacity: .98; }
}

@keyframes imJetCloudFrontV5 {
  0%, 100% { transform: translateX(0); opacity: .88; }
  50% { transform: translateX(18px); opacity: 1; }
}

@keyframes imJetBreezeV5 {
  0% { opacity: 0; transform: translateX(45px); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-65px); }
}

@keyframes imJetWindowsV5 {
  0%, 100% { opacity: .75; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .im-search-jet__plane,
  .im-search-jet__engine,
  .im-search-jet__clouds--back,
  .im-search-jet__clouds--front,
  .im-search-jet__breeze,
  .im-search-jet__windows {
    animation: none !important;
  }
}

@media (max-width: 680px) {
  .im-search-jet {
    width: min(320px, 100%);
    margin-bottom: 16px;
  }
}
/* IM_SEARCH_EMPTY_INLINE_JET_V5_END */

/* IM_SEARCH_EMPTY_AIRLINER_V6_START */
.im-search-airliner {
  width: min(420px, 100%);
  margin: 0 auto 22px;
}

.im-search-airliner__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.im-search-airliner__plane {
  transform-box: fill-box;
  transform-origin: center;
  animation: imAirlinerFloatV6 3.7s ease-in-out infinite;
}

.im-search-airliner__fan {
  transform-box: fill-box;
  transform-origin: center;
  animation: imAirlinerFanV6 .7s linear infinite;
}

.im-search-airliner__clouds--back {
  animation: imAirlinerCloudBackV6 12s ease-in-out infinite;
}

.im-search-airliner__clouds--front {
  animation: imAirlinerCloudFrontV6 9s ease-in-out infinite;
}

.im-search-airliner__breeze {
  animation: imAirlinerBreezeV6 2.4s linear infinite;
}

.im-search-airliner__windows {
  animation: imAirlinerWindowsV6 2.4s ease-in-out infinite;
}

@keyframes imAirlinerFloatV6 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(8px, -8px, 0) rotate(1deg); }
}

@keyframes imAirlinerFanV6 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes imAirlinerCloudBackV6 {
  0%, 100% { transform: translateX(0); opacity: .72; }
  50% { transform: translateX(-18px); opacity: .98; }
}

@keyframes imAirlinerCloudFrontV6 {
  0%, 100% { transform: translateX(0); opacity: .88; }
  50% { transform: translateX(16px); opacity: 1; }
}

@keyframes imAirlinerBreezeV6 {
  0% { opacity: 0; transform: translateX(44px); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-64px); }
}

@keyframes imAirlinerWindowsV6 {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .im-search-airliner__plane,
  .im-search-airliner__fan,
  .im-search-airliner__clouds--back,
  .im-search-airliner__clouds--front,
  .im-search-airliner__breeze,
  .im-search-airliner__windows {
    animation: none !important;
  }
}

@media (max-width: 680px) {
  .im-search-airliner {
    width: min(310px, 100%);
    margin-bottom: 16px;
  }
}
/* IM_SEARCH_EMPTY_AIRLINER_V6_END */

/* IM_SEARCH_EMPTY_MAGNIFIER_V1_START */
.im-search-magnifier {
  width: min(320px, 100%);
  margin: 0 auto 24px;
}

.im-search-magnifier__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.im-search-magnifier__group {
  transform-box: fill-box;
  transform-origin: center;
  animation: imSearchMagnifierFloat 3.2s ease-in-out infinite;
}

.im-search-magnifier__handle {
  transform-box: fill-box;
  transform-origin: 240px 142px;
  animation: imSearchMagnifierTilt 2.8s ease-in-out infinite;
}

.im-search-magnifier__waves path:nth-child(1) { animation: imSearchWaveLeft 2.2s ease-in-out infinite; }
.im-search-magnifier__waves path:nth-child(2) { animation: imSearchWaveLeft 2.2s ease-in-out .15s infinite; }
.im-search-magnifier__waves path:nth-child(3) { animation: imSearchWaveRight 2.2s ease-in-out .1s infinite; }
.im-search-magnifier__waves path:nth-child(4) { animation: imSearchWaveRight 2.2s ease-in-out .25s infinite; }

.im-search-magnifier__sparkles {
  transform-box: fill-box;
  transform-origin: center;
  animation: imSearchSparklePulse 2.6s ease-in-out infinite;
}

.im-search-magnifier__decor circle:nth-child(1) { animation: imSearchDotFloat 3s ease-in-out infinite; }
.im-search-magnifier__decor circle:nth-child(2) { animation: imSearchDotFloat 3.6s ease-in-out .2s infinite; }
.im-search-magnifier__decor circle:nth-child(3) { animation: imSearchDotFloat 3.2s ease-in-out .35s infinite; }
.im-search-magnifier__decor circle:nth-child(4) { animation: imSearchDotFloat 3.8s ease-in-out .1s infinite; }

@keyframes imSearchMagnifierFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -6px, 0); }
}

@keyframes imSearchMagnifierTilt {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(2deg); }
}

@keyframes imSearchWaveLeft {
  0%   { opacity: .15; transform: translateX(6px); }
  50%  { opacity: .85; transform: translateX(0); }
  100% { opacity: .15; transform: translateX(-4px); }
}

@keyframes imSearchWaveRight {
  0%   { opacity: .15; transform: translateX(-6px); }
  50%  { opacity: .85; transform: translateX(0); }
  100% { opacity: .15; transform: translateX(4px); }
}

@keyframes imSearchSparklePulse {
  0%, 100% { opacity: .55; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes imSearchDotFloat {
  0%, 100% { transform: translateY(0); opacity: .72; }
  50% { transform: translateY(-5px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .im-search-magnifier__group,
  .im-search-magnifier__handle,
  .im-search-magnifier__waves path,
  .im-search-magnifier__sparkles,
  .im-search-magnifier__decor circle {
    animation: none !important;
  }
}

@media (max-width: 680px) {
  .im-search-magnifier {
    width: min(240px, 100%);
    margin-bottom: 18px;
  }
}
/* IM_SEARCH_EMPTY_MAGNIFIER_V1_END */
