/* 搜索结果页面样式 - 从 HomeSearch.vue 转换 */
.processing.search-layout {
  display: flex; padding: 20px; gap: 40px; background-color: #fff;
  margin: 0 auto; max-width: var(--max-width-view);
}
.search-left {
  flex: 7; width: 70%; padding: 0 20px;
}
.search-left .input-box {
  display: flex; align-items: center; margin-bottom: 20px; padding-right: 160px;
}
.search-left .input-box img { width: 80px; margin-right: 10px; }
.search-left .input-box input {
  flex: 1; padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; outline: none;
}
.search-left .search-item {
  padding: 15px 0; border-bottom: rgba(254,153,6,0.2) 1px solid; cursor: pointer;
}
.search-left .search-item .item-title {
  font-size: calc(var(--font-size-base) + 2px); color: var(--text-color);
  font-weight: 600; margin-bottom: 4px;
}
.search-left .search-item .item-title:hover { color: var(--primary-color); }
.search-left .search-item .item-content {
  font-size: var(--font-size-base); color: var(--text-color2); line-height: 1.4;
}
.search-right {
  flex: 3; display: flex; flex-direction: column;
}
.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) {
  .processing.search-layout { flex-direction: column; }
  .search-left, .search-right { flex: 1; width: 100%; }
  .search-left .input-box { padding-right: 0; }
  .no-results-qrcode img { width: 120px; height: 120px; }
}
