/* ============================================================
   SEARCH PAGE — Page-specific styles
   Requires shared.css to be loaded first.
   ============================================================ */

.search-hero {
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 700px;
  margin: 3rem auto;
}

.search-hero h1 {
  font-size: 2rem;
  color: #0a3d62;
  margin-bottom: 0.5rem;
}

.search-hero p {
  color: #555;
  margin-bottom: 2rem;
}

.search-form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.search-form input[type="text"] {
  flex: 1;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  border: 1px solid #aaa;
  border-right: none;
  border-radius: 8px 0 0 8px;
  outline: none;
  background: #fff;
  color: #1f1f1f;
  font-family: inherit;
  transition: border-color 0.2s;
}

.search-form input[type="text"]:focus { border-color: #0077cc; }

.search-form button {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  border: 1px solid #0077cc;
  border-radius: 0 8px 8px 0;
  background: #0077cc;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  white-space: nowrap;
}

.search-form button:hover { background: #005ea3; }

.search-suggestions {
  margin-top: 2rem;
  text-align: left;
}

.search-suggestions h3 {
  color: #0a3d62;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.suggestion-tags button {
  padding: 0.4rem 1rem;
  background: #e8f1ff;
  border: 1px solid #c8dfff;
  border-radius: 20px;
  color: #0a3d62;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.suggestion-tags button:hover {
  background: #0077cc;
  color: #fff;
  border-color: #0077cc;
}

@media (max-width: 480px) {
  .search-form { flex-direction: column; }
  .search-form input[type="text"] {
    border-right: 1px solid #aaa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
  }
  .search-form button { border-radius: 8px; }
  .search-hero { padding: 2rem 1.2rem; margin: 1.5rem auto; }
  .search-hero h1 { font-size: 1.5rem; }
}
