/* 搜索结果页面样式 - 从 HomeSearch.vue 转换 */
#searchPage .processing.search-layout {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  gap: 40px;
  background-color: #fff;
  margin: 0 auto;
  max-width: var(--max-width-view);
}
#searchPage .search-left {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding: 0 20px 0 0;
}
#searchPage .search-left .input-box {
  display: flex; align-items: center; margin-bottom: 20px; padding-right: 0;
}
#searchPage .search-left .input-box img { width: 80px; margin-right: 10px; }
#searchPage .search-left .input-box input {
  flex: 1; padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; outline: none;
}
#searchPage .search-left .input-box .search-btn {
  padding: 8px 20px; margin-left: 10px; border: none; border-radius: 4px;
  background-color: var(--primary-color); color: #fff; font-size: 14px; cursor: pointer;
  transition: background-color 0.3s ease; white-space: nowrap;
}
#searchPage .search-left .input-box .search-btn:hover {
  background-color: #e68a00;
}
#searchPage .search-left .search-item {
  padding: 18px 18px 14px;
  margin-bottom: 18px;
  border: 1px solid #e9edf3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  cursor: pointer;
}
#searchPage .search-left .search-item .item-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
#searchPage .search-left .search-item .item-source-alias {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #2f3640;
}
#searchPage .search-left .search-item .item-source-alias.item-source-brand {
  background: #ff8a00;
}
#searchPage .search-left .search-item .item-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  color: #1f2937;
  font-weight: 700;
  margin-bottom: 0;
}
#searchPage .search-left .search-item .item-title:hover { color: var(--primary-color); }
#searchPage .search-left .search-item .item-meta {
  font-size: 14px;
  line-height: 1.5;
  color: #ff8a00;
  margin-bottom: 6px;
}
#searchPage .search-left .search-item .item-content {
  font-size: var(--font-size-base);
  color: var(--text-color2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
#searchPage .search-left .search-item .item-action {
  margin-top: 10px;
  text-align: right;
  font-size: 14px;
  color: #ff8a00;
}
#searchPage .search-right {
  flex: 0 0 280px;
  width: 280px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}
.search-right .QRcode {
  display: flex; justify-content: space-evenly; gap: 20px;
  margin-bottom: 20px; text-align: center;
}
.search-right .QRcode img { width: 100px; height: 100px; }
.search-right > img { width: 60%; max-width: 200px; margin: 0 auto; }
.search-right .hotspot {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; margin-bottom: 15px;
}
.search-right .hotspot h4 { font-size: 16px; color: #333; font-weight: 600; margin: 0; }
.search-right .hotspot p {
  font-size: 14px; color: #666; margin: 0; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; cursor: pointer; max-width: 220px;
}
.search-right .hotspot p:hover { color: var(--primary-color); }
.no-wrap-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* OPPO Design Language: Light, Smooth, Modern, Breathable */
.empty-state-wrapper {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.empty-state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.04), 0 2px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.empty-state-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.03);
}

.empty-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0edff 100%);
  border-radius: 50%;
  margin-bottom: 24px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.empty-icon::after {
  content: '';
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
}

.empty-title {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
}

.empty-subtitle {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 36px 0;
  text-align: center;
  line-height: 1.5;
}

.empty-qrcode-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background: #f8fafc;
  border-radius: 20px;
  border: 1px solid rgba(229, 231, 235, 0.5);
  width: 100%;
}

.qrcode-wrapper {
  background: #ffffff;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
}

.qrcode-wrapper img {
  width: 140px;
  height: 140px;
  display: block;
  border-radius: 8px;
}

.qrcode-label {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  #searchPage .processing.search-layout {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
  }
  #searchPage .search-left,
  #searchPage .search-right {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    padding: 0;
  }
  #searchPage .search-left .input-box { padding-right: 0; }
  .no-results-qrcode img { width: 120px; height: 120px; }
}
