* {
  margin: 0;
  padding: 0;
}
body,
#app {
  height: 100%;
  background: #f4f5f6;
  color: #2b2e4a;
  position: relative;
}
#app > div:first-child {
  background: url("../static/authentication/background.jpg") no-repeat;
  background-size: 100% 570px;
}
#app .verification-title {
  padding: 74px 0 85px 376px;
}
.verification-title h1 {
    font-size: inherit; /* 重置字体大小 */
    color: inherit; /* 继承父元素的文字颜色 */
    font-weight: 600;
}
.verification-title h2 {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    margin: 0;
}
.verification-title>div:first-child {
  font-weight: 600;
  font-size: 56px;
  padding-bottom: 14px;
}
.verification-title>div:nth-child(2) {
  font-weight: 400;
  font-size: 16px;
}
#app .verification-query {
  width: 1280px;
  background: #ffffff;
  box-shadow: 0px 2px 4px 0px rgba(225, 225, 225, 0.5);
  border-radius: 26px;
  box-sizing: border-box;
  padding: 60px 280px;
  margin: 0 auto;
}
.verification-query > div:first-child {
  font-weight: 600;
  font-size: 28px;
  color: #000000;
}
.verification-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0 47px;
  gap: 20px;
}
.verification-input > div:first-child {
  flex: 1;
  font-size: 20px;
}
.verification-input > div:first-child input {
  width: 100%;
  height: 40px;
  text-indent: 20px;
  font-size: 16px;
}
.verification-input > div:last-child {
  cursor: pointer;
  width: 144px;
  line-height: 45px;
  text-align: center;
  border-radius: 4px;
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
  background: #000000;
  /* background:#000000 url("../static/authentication/search.png") no-repeat 10px center;
  background-size: 19px 18px; */
}
.verification-result {
  background: #f8f9fa;
  border-radius: 16px;
  border: 1px solid #f3f4f6;
  padding: 10px 17px 8px;
}
.verification-result > div:first-child {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.verification-result > div:first-child > div:first-child {
  width: 4px;
  height: 14px;
  background: linear-gradient(
    180deg,
    #0894ff 0%,
    #c959dd 33.33%,
    #ff2e54 66.67%,
    #ddac6f 100%
  );
  border-radius: 2px;
}
.verification-result > div:first-child > div:last-child {
  font-weight: 600;
  font-size: 16px;
  color: #000000;
  margin-left: 8px;
}
.verification-result > div:nth-child(2) {
  font-weight: 500;
  font-size: 12px;
  color: #4b5563;
  margin-bottom: 5px;
}
.verification-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.verification-result-item > div {
  display: flex;
  align-items: center;
  gap: 3px;
}
.verification-result-item > div img {
  width: 48px;
  height: 48px;
}
.verification-result-item > div > div > div:first-child {
  font-weight: 400;
  font-size: 14px;
  color: #000000;
}
.verification-result-item > div > div > div:last-child {
  font-weight: 400;
  font-size: 14px;
  color: #8c8c8c;
}

.main-success,
.main-fail {
  width: 1280px;
  margin: 20px auto;
  background: #ffffff;
  box-shadow: 0px 2px 4px 0px rgba(225, 225, 225, 0.5);
  border-radius: 26px;
  padding: 30px 48px 60px;
  box-sizing: border-box;
  position: relative;
}
.main-success > div:first-child,
.main-fail > div:first-child {
  display: flex;
  align-items: center;
  font-size: 16px;
}
.main-success > div:first-child > div:first-child,
.main-fail > div:first-child > div:first-child {
  width: 4px;
  height: 14px;
  background: linear-gradient(
    180deg,
    #0894ff 0%,
    #c959dd 33.33%,
    #ff2e54 66.67%,
    #ddac6f 100%
  );
  border-radius: 2px;
  margin-right: 8px;
}
.main-success > div:first-child > div:nth-child(2),
.main-fail > div:first-child > div:nth-child(2) {
  font-weight: 600;
  color: #000000;
}
.main-success > div:first-child > div:last-child {
  font-weight: 600;
  color: #30a46c;
}
.main-fail > div:first-child > div:last-child {
  font-weight: 600;
  color: #e5484d;
}
.main-success .success-table {
  width: 90%;
  margin: 60px auto 0;
  position: relative;
}
.main-success table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  color: #000000;
  font-size: 14px;
}
.main-success table th {
  background: #4379e7;
  color: #ffffff;
}
.main-success table tr {
  /* height: 50px; */
  line-height: 50px;
}
.main-success .success-report {
  color: #1677ff;
  cursor: pointer;
}
.main-success .success-certification {
  position: absolute;
  top: -30px;
  right: -50px;
}
.main-success .success-certification img {
  width: 100px;
  height: auto;
}
.main-success .success-clothing {
  width: 60px;
  height: auto;
  border-radius: 10px;
  margin-right: 14px;
  padding-left: 20px;
}
.main-success .success-icon {
  width: 15px;
  line-height: 15px;
  background: #30a46c;
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  display: inline-block;
  margin-right: 4px;
}
.main-success .success-left {
  text-align: left;
  padding-left: 20px;
}

.main-fail {
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.85);
}
.main-fail img {
  width: 99px;
  height: 88px;
  margin: 60px auto 10px;
  display: block;
}
.main-fail > div:nth-child(3) {
  font-weight: 400;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 10px;
}
.main-fail > div:last-child {
  margin: 30px auto 0;
  width: 292px;
  line-height: 32px;
  background: #1677ff;
  box-shadow:
    0px 0px 1px 0px rgba(0, 27, 102, 0.08),
    0px 1px 4px -1px rgba(0, 42, 140, 0.08),
    0px 2px 8px -2px rgba(0, 27, 102, 0.08);
  border-radius: 4px;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
}

#header {
  height: 80px;
  width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#logo {
  height: 80px;
  width: 149px;
  height: 22px;
}
#nav {
  height: 80px;
  width: 720px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#nav a {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

#main {
  background: url("../static/index/watermark.png") no-repeat 220px 1000px;
  background-size: 800px 130px;
}

.footer {
  margin-top: 80px;
  background: #ffffff;
}
.footer > div:first-child {
  display: flex;
  justify-content: space-between;
  width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid #979797;
}
.footer > div:first-child img {
  width: 130px;
  height: 20px;
}
.footer > div:first-child > div {
  width: 360px;
}
.footer > div:first-child > div > div {
  font-size: 12px;
  line-height: 24px;
}
.footer > div:first-child > div > div:first-child {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 20px;
}
.footer > div:last-child {
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  color: #6e6f81;
  padding: 20px 0;
}
.footer > div:last-child a {
  color: inherit;
  text-decoration: none;
}
.footer > div:first-child .footer-middle{
  width: 140px;
}

.footer-middle>div:not(:first-child){
  cursor: pointer;
}
.footer-middle>div:not(:first-child):hover{
  color: #1677ff;
}
.footer-middle a {
  color: inherit;
  text-decoration: none;
}
#nav a:hover{
  color: #3742fa;
}
/* 桌面端隐藏汉堡按钮 */
#nav-toggle {
  display: none;
}
.nav-toggle-btn {
  display: none;
}

/* 平板及移动端导航折叠菜单 (≤991px) */
@media (max-width: 991px) {
  .nav-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 24px;
    cursor: pointer;
  }
  .nav-toggle-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: #2b2e4a;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  /* 展开时汉堡按钮变为关闭图标 */
  #nav-toggle:checked ~ .nav-toggle-btn span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  #nav-toggle:checked ~ .nav-toggle-btn span:nth-child(2) {
    opacity: 0;
  }
  #nav-toggle:checked ~ .nav-toggle-btn span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  #header {
    position: relative;
    width: 100%;
    height: auto;
    padding: 16px 20px;
    box-sizing: border-box;
  }
  #logo {
    height: 22px;
  }
  #nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 15px;
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 100;
  }
  #nav > a {
    display: block;
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  }
  #nav > a:hover {
    background: #f4f5f6;
    color: #3742fa;
    padding-left: 14px;
  }
  #nav > a:last-child {
    border-bottom: none;
  }
  /* 勾选时展开导航 */
  #nav-toggle:checked ~ #nav {
    display: flex;
  }
}

/* 平板端适配 (768px - 991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  #app > div:first-child{
    background-size: 100% auto;
  }
  #app .verification-title{
    padding:0;
    margin: 0 auto 20px;
    text-align: center;
  }
  .verification-title > div:first-child {
    font-size: 40px;
    line-height: 56px;
  }
  .verification-title > div:nth-child(2) {
    font-size: 14px;
  }
  #app .verification-query {
    width: calc(100% - 48px);
    padding: 48px 56px;
  }
  .verification-query > div:first-child {
    font-size: 24px;
  }
  .verification-input {
    margin: 20px 0 36px;
    gap: 16px;
  }
  .verification-input > div:first-child {
    font-size: 16px;
  }
  .verification-input > div:first-child input {
    height: 42px;
    font-size: 15px;
  }
  .verification-input > div:last-child {
    width: 130px;
    line-height: 42px;
    font-size: 16px;
  }
  .verification-result-item {
    flex-wrap: wrap;
    gap: 16px 0;
  }
  .verification-result-item > div {
    width: 48%;
  }
  .main-success,
  .main-fail {
    width: calc(100% - 48px);
    padding: 28px 36px 48px;
  }
  .main-success table {
    width: 100%;
  }
  .main-success .success-certification {
    top: -12px;
    right: -38px;
  }
  .main-success .success-certification img {
    width: 76px;
    height: auto;
  }
  .main-success .success-clothing {
    width: 50px;
    height: auto;
  }
  .main-fail img {
    width: 88px;
    height: 78px;
    margin: 40px auto 10px;
  }
  .main-fail > div:last-child {
    padding:3px 5px;
    line-height: 30px;
  }
  .footer > div:first-child {
    width: 100%;
    padding: 48px 24px;
    flex-wrap: wrap;
    gap: 32px;
  }
  .footer > div:first-child > div {
    width: 45%;
  }
  .footer > div:first-child .footer-middle {
    width: 45%;
   }
}

/* 移动端适配 (<768px) */
@media (max-width: 767px) {
  #app > div:first-child {
    background-size: 100% auto;
  }
  #app .verification-title {
    padding: 0px 16px;
    text-align: center;
  }
  .verification-title > div:first-child {
    font-size: 26px;
    line-height: 33px;
    padding-bottom: 0px;
  }
  .verification-title > div:nth-child(2) {
    font-size: 14px;
    line-height: 22px;
  }
  #app .verification-query {
    width: calc(100% - 32px);
    padding: 32px 20px;
    border-radius: 18px;
    margin-top: 30px;
  }
  .verification-query > div:first-child {
    font-size: 20px;
  }
  .verification-input {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 18px 0 28px;
    gap: 12px;
  }
  .verification-input > div:first-child {
    font-size: 14px;
    flex:1;
  }
  .verification-input > div:first-child input {
    height: 42px;
    font-size: 14px;
  }
  .verification-input > div:last-child {
    width: fit-content;
    line-height: 42px;
    font-size: 16px;
    border-radius: 4px;
    padding: 0 12px;
  }
  .verification-result {
    padding: 10px 12px 8px;
  }
  .verification-result-item {
    flex-wrap: wrap;
    gap: 14px 0;
  }
  .verification-result-item > div {
    width: 48%;
    gap: 6px;
  }
  .verification-result-item > div img {
    width: 36px;
    height: 36px;
  }
  .verification-result-item > div > div > div:first-child {
    font-size: 13px;
  }
  .verification-result-item > div > div > div:last-child {
    font-size: 12px;
  }
  .main-success,
  .main-fail {
    width: calc(100% - 32px);
    padding: 24px 18px 36px;
    border-radius: 18px;
    position: relative;
  }
  .main-success > div:first-child,
  .main-fail > div:first-child {
    font-size: 14px;
  }
  .main-success .success-table{
    width: 100%;
  }
  .main-success table {
    width: 100%;
    margin: 32px auto 0;
    font-size: 12px;
  }
  .main-success table tr {
    line-height: 40px;
  }
  .main-success .success-certification {
    top: 5px;
    right: -12px;
  }
  .main-success .success-certification img {
      width: 36px;
      height: auto;
  }
  .main-success .success-clothing {
    width: 40px;
    height: auto;
    margin-right: 8px;
    padding-left: 8px;
  }
  .main-success .success-left {
    padding-left: 8px;
  }
  .main-fail {
    font-size: 16px;
  }
  .main-fail img {
    width: 76px;
    height: 68px;
    margin: 32px auto 8px;
  }
  .main-fail > div:nth-child(3) {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .main-fail > div:last-child {
    line-height: 30px;
    font-size: 13px;
    box-sizing: border-box;
    padding: 3px 5px;
  }
  .footer {
    margin-top: 56px;
  }
  .footer > div:first-child {
    width: 100%;
    flex-direction: column;
    padding: 36px 20px;
    gap: 28px;
  }
  .footer > div:first-child > div {
    width: 100%;
  }
  .footer > div:first-child .footer-middle {
    width: 100%;
  }
  .footer > div:last-child {
    padding: 16px 20px;
    font-size: 11px;
    line-height: 18px;
  }
}
