/* ===== PAGE ===== */

.mv-search-page {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

/* ===== CONTENT ===== */

.mv-search-content {
  text-align: center;
  width: 100%;
  max-width: 760px;
  padding: 0 24px;
}

/* Title — lighter so search dominates */
.mv-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 32px;
  color: #444;
}

/* ===== SEARCH BOX HERO ===== */

.mv-search-box {
  position: relative;
}

/* INPUT — BIG + PREMIUM */

.mv-search-box input {
  width: 100%;
  height: 56px;
  padding: 0 22px 0 56px;

  font-size: 16px;
  font-weight: 500;

  border-radius: 24px;
  border: 1px solid #e5e5e5;

  background: #fff;

  /* KEY PART — SOFT SHADOW */
  box-shadow:
    0 6px 18px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.05);

  transition: all 0.18s ease;
}

/* Focus glow */

.mv-search-box input:focus {
  outline: none;
  border-color: #222;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.12),
    0 0 0 4px rgba(0,0,0,0.05);
}

/* Icon */

.mv-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: #888;
}

/* ===== RESULTS ===== */

.mv-results {
  margin-top: 20px;
}

/* ===== RANDOM CHIPS (secondary look) ===== */

.mv-results.is-random .mv-result-item {
  display: inline-block;
  margin: 6px 8px;
  padding: 7px 14px;

  border-radius: 999px;
  border: 1px solid #1FAB89;

  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 13px;

  background: #fafafa;
  transition: all 0.15s ease;
}

.mv-results.is-random .mv-result-item:hover {
  background: #222;
  color: #fff;
  border-color: #222;
}

/* ===== SEARCH LIST ===== */

.mv-results.is-search .mv-result-item {
  display: block;
  padding: 12px 16px;

  border-radius: 10px;
  text-decoration: none;
  color: #222;

  border: 1px solid transparent;
  margin: 6px 0;
  text-align: left;

  transition: all 0.12s ease;
}

.mv-result-item.is-selected,
.mv-results.is-search .mv-result-item:hover {
  background: #f6f6f6;
  border-color: #eee;
}

/* Symbol — strong */
.mv-symbol {
  font-size: 16px;
  font-weight: 700;
}

/* Company name — subtle */
.mv-company {
  font-size: 12px;
  color: #777;
}

/* Empty states */

.mv-empty {
  margin-top: 14px;
  color: #888;
}

/* =========================================
   MOBILE OPTIMIZATION
========================================= */

@media (max-width: 640px) {

  /* Page — align top instead of center */
  .mv-search-page {
    align-items: flex-start;
    padding-top: 28px;
    min-height: 100vh;
  }

  /* Content — full width feel */
  .mv-search-content {
    max-width: 100%;
    padding: 0 16px;
  }

  /* Title — smaller, tighter */
  .mv-title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  /* SEARCH INPUT — app-style */

  .mv-search-box input {
    height: 52px;
    font-size: 18px;

    padding-left: 52px;
    border-radius: 18px;

    box-shadow:
      0 4px 14px rgba(0,0,0,0.08),
      0 1px 4px rgba(0,0,0,0.05);
  }

  .mv-search-box input:focus {
    box-shadow:
      0 8px 22px rgba(0,0,0,0.12),
      0 0 0 3px rgba(0,0,0,0.05);
  }

  /* Icon — slightly smaller */

  .mv-search-icon {
    left: 16px;
    width: 20px;
    height: 20px;
  }

  /* Results spacing */

  .mv-results {
    margin-top: 16px;
  }

  /* ===== RANDOM CHIPS — TOUCH FRIENDLY ===== */

  .mv-results.is-random .mv-result-item {
    margin: 6px 6px;
    padding: 10px 16px;
    font-size: 14px;
  }

  /* ===== SEARCH LIST — BETTER TAP TARGET ===== */

  .mv-results.is-search .mv-result-item {
    padding: 14px 14px;
    margin: 8px 0;
    border-radius: 12px;
  }

  .mv-symbol {
    font-size: 17px;
  }

  .mv-company {
    font-size: 13px;
  }

  /* Empty text */

  .mv-empty {
    font-size: 14px;
  }
}