.cert-body {
  width: 100%;
  overflow-y: hidden;
  max-width: 500px;
  margin: 0px auto;
  background-size: 100% auto;
  background-color: #4eaceb;
  font-family: "Arial";
  color: #fff;
  background-image: linear-gradient(#207ec8, #fff);
}

.box_title {
  height: 3rem;
  font-size: 1.6rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.content_box_title{
  color: #000;
  background-color: #f3f8fc;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 57px;
}
.content_box_title span{
  width: 55%;
  text-align: center;
}

.sign-serach{
  width: 360px;
  margin-top: 1rem;
  padding-top: 1rem;
  margin: 1rem auto;
  background-color: white;
}

.sign-serach button{
  padding: 12px 64px;
}

.mess_style {
  background-color: #f3f8fc;
  padding: 1rem;
  font-size: 1.1rem;
  color: #999;
  line-height: 1.5rem;
  margin-top: 1.2rem;
}



.mess_title {
  color: #000;
  font-weight: 600;
  margin-top: 1rem;
}

.mess_explain {
  position: relative;
  width: 6rem;
  height: 3rem;
  text-align: right;
  float: right;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #178ce8;
  opacity: .7;
  border-radius: 0 0 0 20px;
}

.mess_explain img {
  width: 2rem;
  margin-right: 8px;
}

.mess_text {
  display: inline-block;
  text-align: justify;
  text-indent: 2rem;
  margin-top: .8rem;
  line-height: 2rem;
}


.qr-code {
  cursor: pointer; /* 鼠标悬停显示手型，提示可点击 */
  display: inline-block;
}

/* 验证码图片样式 */
.qr-code img {
  height: 40px; /* 与输入框高度保持一致 */
  width: auto; /* 自动计算宽度，保持图片比例 */
  vertical-align: middle; /* 垂直居中对齐 */
  border-radius: 4px; /* 可选：添加轻微圆角，与输入框风格统一 */
}


.certificate-cards {
  display: flex;
  margin-top: 0rem;
  flex-direction: column;
  gap: 15px;
  overflow-y: hidden;
}

.card {
  background-color: #fff;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.04);
}

.card-title {
  font-size: 15px;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.card-status {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.card-status.valid {
  background-color: #e6f7ed;
  color: #00875a;
}

.card-status.expired {
  background-color: #fff2e8;
  color: #e53e3e;
}

/* 信息网格布局，适合手机屏幕 */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0; /* 移除间隙，让线条连贯 */
}

.info-item {
  display: flex;
  padding: 0;
}

/* 为第一列（标签列）添加背景色 */
.certificate-cards .el-table_1_column_1 {
  flex: 0 0 35%;
  font-size: 14px;
  color: #666;
  background-color: #f5f7fa !important; /* 浅灰色背景 */
  padding: 10px 8px;
  border-bottom: 1px solid #e9e9e9;
  font-weight: 500;
}

.info-value {
  flex: 0 0 65%;
  font-size: 14px;
  color: #333;
  padding: 10px 8px;
  border-bottom: 1px solid #e7f1f9;
  word-break: break-word;
}

/* 最后一项去除底部边框 */
.info-grid :last-child .info-label,
.info-grid :last-child .info-value {
  border-bottom: none;
}

.remark {
  margin-top: 12px;
  padding: 8px;
  background-color: #f5f7fa;
  border-left: 3px solid #2f86eb;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.cls-label{
  background-color: #999;
}
/* 适配小屏手机 */
@media (max-width: 360px) {
  .main-title {
    font-size: 15px;
  }
  .info-label, .info-value {
    font-size: 13px;
    padding: 8px 6px;
  }
}



 /* 左上角后退按钮 */
.back-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background-color: #1E88E5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #1565C0;
}

.back-button svg {
    width: 30px;
    height: 30px;
    fill: white;
}
