.home-search-page {
  background-color: #ffffff;
}

.home-search-page .main-content,
.home-search-page .search-home {
  background-color: #ffffff;
}

.home-search-page .main-content {
  min-height: calc(100vh - 68px);
  padding: 0 0 40px;
}

.home-search-page {
  background-color: #ffffff;
}

.home-topbar {
  height: 68px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ebeef2;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.home-topbar-inner {
  width: min(1120px, 96vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-logo {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1f2937;
  text-decoration: none;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-login {
  color: #1f2937;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.topbar-login:hover {
  color: #111827;
}

.topbar-menu {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #dfe3e9;
  background: #ffffff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}

.topbar-menu span {
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #3b4149;
}

.topbar-menu:hover {
  box-shadow: 0 2px 10px rgba(32, 33, 36, 0.14);
}

.search-home {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  background-color: #ffffff;
}

.search-home-inner {
  width: min(94vw, 760px);
  text-align: center;
}

.home-search-page .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-search-page .brand-logo-img {
  width: 42px;
  height: 42px;
}

.hero-title {
  font-size: clamp(24px, 5vw, 41px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #171a1f;
}

.hero-subtitle {
  margin: 16px auto 28px;
  max-width: 700px;
  font-size: 16px;
  line-height: 1.6;
  color: #545d68;
}

.hero-subtitle-highlight {
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
  color: #0b2a66;
  text-shadow: 0 0 1px #2d4f95, 0 0 14px rgba(29, 78, 216, 0.28);
}

.search-form {
  width: 100%;
}

.search-input-wrap {
  position: relative;
}

.search-input {
  width: 100%;
  height: 60px;
  border-radius: 999px;
  border: 1px solid #d5dbe3;
  background: #ffffff;
  padding: 0 28px;
  font-size: 17px;
  color: #1f2937;
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 30px rgba(31, 41, 55, 0.08);
}

.search-input:focus,
.search-input:hover {
  border-color: #c4ccd8;
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.14);
  transform: translateY(-1px);
}

.search-input[readonly] {
  cursor: pointer;
  caret-color: transparent;
}

.search-input-locked {
  opacity: 0.75;
  cursor: not-allowed;
}

.search-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 20;
  border-radius: 14px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.16);
  overflow: hidden;
}

.search-suggestions.visible {
  display: block;
}

.search-suggestion-item {
  width: 100%;
  padding: 11px 16px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  background: transparent;
  color: #1f2937;
  font-size: 15px;
  cursor: pointer;
}

.search-suggestion-item:last-child {
  border-bottom: 0;
}

.search-suggestion-item:hover,
.search-suggestion-item.active {
  background: #f3f7ff;
  color: #0f3f8b;
}

.quick-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links a {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 16px;
  font-size: 13px;
  color: #1558b0;
  text-decoration: none;
  background: #f5f7fa;
  border: 1px solid #e7ecf2;
}

.quick-links a:hover {
  background: #edf2f8;
}

.actions {
  margin-top: 24px;
}

.action-btn {
  min-width: 160px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #d8deea;
  background: #ffffff;
  color: #2f3a48;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.action-btn:hover {
  box-shadow: 0 10px 20px rgba(31, 41, 55, 0.12);
  transform: translateY(-1px);
}

.action-btn:disabled,
.action-btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.quick-links-disabled a {
  opacity: 0.55;
}

.auth-gate-message {
  margin-top: 16px;
  color: #6b7280;
  font-size: 14px;
}

.auth-gate-message a {
  color: #1558b0;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 640px) {
  .home-topbar-inner {
    width: 92vw;
  }

  .topbar-logo {
    font-size: 20px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .search-suggestions {
    top: calc(100% + 8px);
  }
}
