* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: #f5f5f5;
  color: #333;
  min-height: 100vh;
  max-width: 750px;
  margin: 0 auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========== 查询页 ========== */
.page-index {
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-index .header-banner {
  width: 100%;
}

.page-index .main-content {
  flex: 1;
  padding: 20px 16px 0;
}

.notice-box {
  position: relative;
  border: 1px dashed #ccc;
  border-radius: 24px;
  padding: 16px 32px 16px 16px;
  margin-bottom: 24px;
  background: #fff;
  line-height: 1.8;
  font-size: 14px;
  color: #333;
}

.notice-box.hidden {
  display: none;
}

.notice-box .notice-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #999;
  line-height: 24px;
  text-align: center;
  padding: 0;
}

.notice-box .notice-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.notice-box p:not(.notice-title) {
  text-indent: 2em;
}

.search-box {
  position: relative;
  margin-bottom: 28px;
}

.search-box input {
  width: 100%;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 24px;
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  background: #fff;
  color: #333;
}

.search-box input::placeholder {
  color: #bbb;
}

.search-box input:focus {
  border-color: #0081c6;
}

.btn-search {
  display: block;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 24px;
  background: #0081c6;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 129, 198, 0.3);
  transition: opacity 0.2s;
}

.btn-search:active {
  opacity: 0.85;
}

.page-index .footer-banner {
  width: 100%;
  margin-top: auto;
}

/* ========== 结果页通用 ========== */
.page-result {
  min-height: 100vh;
  padding: 48px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-icon {
  width: 80px;
  height: auto;
  margin-bottom: 16px;
  object-fit: contain;
}

.result-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.result-title.success {
  color: #2db84d;
}

.result-title.fail {
  color: #e53935;
}

.result-desc {
  text-align: center;
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 24px;
}

.result-desc .agent-name {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

/* ========== 成功页 ========== */
.info-card {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 20px 16px;
  margin-bottom: 32px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.info-card .info-tip {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.6;
}

.info-card .info-row {
  font-size: 15px;
  color: #333;
  line-height: 2;
}

.info-card .info-row .label {
  color: #666;
}

/* ========== 失败页 ========== */
.warning-card {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}

.warning-card img {
  width: 100%;
}

/* ========== 温馨提示 ========== */
.tips-section {
  width: 100%;
}

.tips-section .tips-title {
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
}

.tips-section .tips-content {
  font-size: 13px;
  color: #aaa;
  line-height: 1.8;
}

/* ========== 返回按钮 ========== */
.btn-back {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border: 1px solid #1a5a9e;
  border-radius: 22px;
  color: #1a5a9e;
  font-size: 15px;
  margin-top: auto;
  background: #fff;
  cursor: pointer;
}

.btn-back:active {
  background: #f0f6fc;
}
