/* ===========================================================
   CTI-006 山东文达检测 — 报告查询「主视觉」区块
   不依赖构建期 CSS（纯手写），主色取自原站蓝色科技风：
   #3b82f6 / #1e40af / 头部 #1e3c72→#2a5298
   =========================================================== */

/* ---------- 1. 通用查询卡片（首页新增入口用） ---------- */
.qbox-wrap { max-width: 980px; margin: 0 auto; padding: 34px 20px 6px; }

.qbox-wrap-home {
  max-width: none;
  padding: 46px 20px 52px;
  background: linear-gradient(135deg, #eef4ff 0%, #e2ecff 100%);
  border-top: 1px solid #dbe6fb;
  border-bottom: 1px solid #dbe6fb;
}

.qbox {
  position: relative;
  background: #fff;
  border: 1px solid #dbe6fb;
  border-top: 4px solid #3b82f6;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(30, 60, 114, .14);
  padding: 34px 30px 26px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

.qbox-title { margin: 0 0 10px; font-size: 29px; font-weight: 800; letter-spacing: 1px; line-height: 1.35; color: #1f2937; }
.qbox-title em { font-style: normal; color: #3b82f6; }
.qbox-sub { margin: 0 0 24px; font-size: 15px; color: #6b7280; letter-spacing: .5px; }

.qbox-form { display: flex; align-items: stretch; max-width: 660px; margin: 0 auto; }
.qbox-input {
  flex: 1 1 auto; min-width: 0;
  padding: 15px 18px; font-size: 16px; color: #111; background: #fff;
  border: 2px solid #3b82f6; border-right: none;
  border-radius: 8px 0 0 8px; outline: none; transition: box-shadow .18s;
}
.qbox-input::placeholder { color: #b6b6b6; }
.qbox-input:focus { box-shadow: 0 0 0 3px rgba(59, 130, 246, .15); }

.qbox-btn {
  flex: 0 0 auto;
  padding: 15px 44px; font-size: 17px; font-weight: 800; letter-spacing: 3px;
  color: #fff; background: linear-gradient(135deg, #3b82f6, #1e40af);
  border: none; border-radius: 0 8px 8px 0; cursor: pointer; white-space: nowrap;
  transition: filter .18s, transform .12s;
}
.qbox-btn:hover { filter: brightness(1.08); }
.qbox-btn:active { transform: translateY(1px); }

.qbox-tip { margin: 16px 0 0; font-size: 13px; color: #9ca3af; line-height: 1.7; }

/* ---------- 2. 导航里的「报告查真伪」做成蓝色 CTA 胶囊 ---------- */
/* 原站导航是深蓝底，用亮蓝渐变 + 白字 + 阴影突出 */
.main-nav .nav-item.nav-cta > .nav-link,
.site-header .nav-item.nav-cta > .nav-link {
  background: linear-gradient(135deg, #4facfe, #3b82f6) !important;
  color: #fff !important;
  border-radius: 22px !important;
  padding: 10px 20px !important;
  box-shadow: 0 4px 14px rgba(79, 172, 254, .45);
}
.main-nav .nav-item.nav-cta > .nav-link:hover,
.site-header .nav-item.nav-cta > .nav-link:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

/* ---------- 3. 查询页原区块强化（覆盖 scoped 样式，故用 !important） ---------- */
.report-search[data-v-da30d5d6] {
  background: linear-gradient(135deg, #eef4ff, #dbe7fb) !important;
  padding: 3.4rem 0 3.8rem !important;
}

.search-content[data-v-da30d5d6] {
  max-width: 860px !important;
  background: #fff;
  border: 1px solid #dbe6fb;
  border-top: 4px solid #3b82f6;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(30, 60, 114, .13);
  padding: 44px 40px 40px !important;
}

.search-title[data-v-da30d5d6] {
  font-size: 2.7rem !important;
  color: #1f2937 !important;
  letter-spacing: 1px;
}
.search-title[data-v-da30d5d6]:after {
  width: 110px !important;
  height: 5px !important;
  background: linear-gradient(135deg, #4facfe, #1e40af) !important;
}

.search-description[data-v-da30d5d6] { font-size: 1.15rem !important; color: #6b7280 !important; margin-bottom: 2.2rem !important; }

.search-input-group[data-v-da30d5d6] { max-width: 660px; margin: 0 auto 1rem !important; }

.search-input[data-v-da30d5d6] {
  padding: 1.05rem 1.5rem !important;
  font-size: 1.08rem !important;
  border: 2px solid #3b82f6 !important;
  border-radius: 12px 0 0 12px !important;
  background: #fff !important;
}
.search-input[data-v-da30d5d6]::placeholder { color: #9aa5b4; }
.search-input[data-v-da30d5d6]:focus { box-shadow: 0 0 0 3px rgba(59, 130, 246, .16) !important; }

.search-btn[data-v-da30d5d6] {
  background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  letter-spacing: 2px;
  padding: 0 2.4rem !important;
  border-radius: 0 12px 12px 0 !important;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(59, 130, 246, .28);
}
.search-btn[data-v-da30d5d6]:hover:not(:disabled) {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  transform: translateY(-1px) !important;
}

/* 查询框下方的提示语 */
.wd-search-tip {
  margin: 18px 0 0; font-size: 13px; color: #9ca3af; line-height: 1.7;
  text-align: center;
}

/* ---------- 4. 页脚「管理后台」入口 ---------- */
.footer_admin {
  color: rgba(255, 255, 255, .5) !important;
  text-decoration: none !important;
  margin-left: 14px;
  font-size: 13px;
}
.footer_admin:hover { color: #fff !important; }

/* ---------- 5. 响应式 ---------- */
@media (max-width: 991px) {
  .main-nav .nav-item.nav-cta > .nav-link { padding: 10px 16px !important; }
}

@media (max-width: 768px) {
  .search-content[data-v-da30d5d6] { padding: 28px 16px 26px !important; border-radius: 12px; }
  .search-title[data-v-da30d5d6] { font-size: 1.7rem !important; }
  .search-description[data-v-da30d5d6] { font-size: 1rem !important; margin-bottom: 1.4rem !important; }
  .search-input-group[data-v-da30d5d6] { flex-direction: column; gap: .8rem !important; }
  .search-input[data-v-da30d5d6] { border-radius: 12px !important; }
  .search-btn[data-v-da30d5d6] { border-radius: 12px !important; padding: .9rem 0 !important; width: 100%; }
}

@media (max-width: 640px) {
  .qbox-wrap { padding: 22px 12px 4px; }
  .qbox-wrap-home { padding: 30px 12px 34px; }
  .qbox { padding: 24px 16px 20px; border-radius: 12px; }
  .qbox-title { font-size: 22px; }
  .qbox-sub { font-size: 14px; margin-bottom: 18px; }
  .qbox-form { flex-direction: column; }
  .qbox-input { border-right: 2px solid #3b82f6; border-radius: 8px; }
  .qbox-btn { border-radius: 8px; margin-top: 10px; width: 100%; letter-spacing: 4px; }
  .qbox-tip { font-size: 12px; }
}
