#view-warranty {
  background: linear-gradient(180deg, #0b0e1a 0%, #0c1128 50%, #0b0e1a 100%);
  min-height: 100vh;
}

#view-warranty .main-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
}
#view-warranty .page-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}
#view-warranty .page-title {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
#view-warranty .page-title span {
  font-weight: 600;
  background: linear-gradient(90deg, #fff, #4a8fe7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#view-warranty .page-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
#view-warranty .warranty-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 48px;
}
#view-warranty .warranty-card {
  position: relative;
  background: linear-gradient(135deg, rgba(74, 143, 231, 0.06) 0%, rgba(74, 143, 231, 0.015) 100%);
  border: 1px solid rgba(74, 143, 231, 0.12);
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
}
#view-warranty .warranty-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}
#view-warranty .warranty-shield {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#view-warranty .warranty-hint {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.8;
  margin: 0;
  flex: 1;
  white-space: nowrap;
  text-align: center;
}
#view-warranty .warranty-form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
#view-warranty .warranty-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}
#view-warranty .warranty-input:focus {
  border-color: rgba(74, 143, 231, 0.5);
}
#view-warranty .warranty-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
#view-warranty .warranty-btn {
  padding: 12px 20px;
  /* 磨砂玻璃风格：半透明蓝色背景 + 模糊效果，与暗色背景层次感好 */
  background: rgba(74, 143, 231, 0.12);
  color: #ffffff;
  border: 1px solid rgba(74, 143, 231, 0.25);
  border-radius: 0 6px 6px 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}
#view-warranty .warranty-btn:hover {
  /* hover 时提高透明度，增强交互反馈 */
  background: rgba(74, 143, 231, 0.25);
  border-color: rgba(74, 143, 231, 0.4);
}
#view-warranty .warranty-result {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  display: none;
  align-items: flex-start;
  gap: 16px;
}
#view-warranty .warranty-result.show {
  display: flex;
}
#view-warranty .warranty-result-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}
#view-warranty .warranty-result-content {
  flex: 1;
}
#view-warranty .warranty-result-title {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}
#view-warranty .warranty-result-detail {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}
#view-warranty .warranty-result-detail span {
  display: block;
}
#view-warranty .warranty-result-detail .label {
  color: rgba(255, 255, 255, 0.35);
}
#view-warranty .warranty-result-detail .value {
  color: rgba(255, 255, 255, 0.7);
}
#view-warranty .tips-section {
  margin-top: 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}
#view-warranty .tips-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}
#view-warranty .tips-title svg { color: #4a8fe7; }
#view-warranty .tips-list {
  list-style: none;
  padding: 0;
}
#view-warranty .tips-list li {
  padding: 12px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.8;
}
#view-warranty .tips-list li:last-child { border-bottom: none; }
#view-warranty .tips-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #4a8fe7;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  #view-warranty .main-content { padding-top: 80px; }
  #view-warranty .warranty-container { padding: 0 16px; }
  #view-warranty .warranty-card {
    border-radius: 12px;
    padding: 28px 20px;
    gap: 20px;
  }
  #view-warranty .warranty-top {
    gap: 16px;
    max-width: 100%;
  }
  #view-warranty .warranty-shield {
    width: 60px;
    height: 60px;
  }
  #view-warranty .warranty-hint {
    font-size: 10px;
    white-space: normal;
    text-align: center;
  }
  #view-warranty .warranty-form {
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
  }
  #view-warranty .warranty-input {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    width: 100%;
    font-size: 11px;
  }
  #view-warranty .warranty-btn {
    border-radius: 6px;
    width: 100%;
    justify-content: center;
    font-size: 11px;
  }
  #view-warranty .warranty-result {
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
  }
  #view-warranty .warranty-result-icon {
    align-self: center;
  }
  #view-warranty .warranty-result-content {
    text-align: center;
  }
  #view-warranty .warranty-result-title {
    font-size: 11px;
    margin-bottom: 6px;
  }
  #view-warranty .warranty-result-detail {
    font-size: 10px;
  }
  #view-warranty .tips-section { margin-top: 40px; padding: 24px 16px; border-radius: 12px; }
  #view-warranty .tips-list li { font-size: 13px; }
}
