.mechanism-wrap {
  padding: 20px 15px;
  font-family: 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  color: #333;
}

.detail-wrap {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.detail-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin: 0 0 20px 0;
  padding-bottom: 20px;
  border-bottom: 2px solid #000;
}

.detail-section {
  margin-bottom: 30px;
}

.divider-top {
  border-top: 1px dashed #ccc;
  padding-top: 30px;
}

.section-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000;
}

.text-center {
  text-align: center;
}

/* Info Table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}

.info-table td {
  padding: 12px 10px;
  border-bottom: 1px dashed #eee;
}

.info-table .label {
    display: table-cell;
    font-size: 14px;
  font-weight: bold;
  width: 15%;
  text-align: right;
  color: #333;
  line-height: unset;
}

.info-table .value {
  width: 35%;
  color: #555;
}

.link-blue {
  color: #003087;
  text-decoration: none;
  cursor: pointer;
}
.link-blue:hover {
  text-decoration: underline;
}

/* License Image */
.license-img {
  text-align: center;
  margin: 20px 0;
}
.license-img img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
}

/* Intro Text */
.intro-text {
  line-height: 1.8;
  text-indent: 2em;
  color: #333;
}

/* Data Table */
.table-responsive {
  overflow-x: auto;
  width: 100%;
}

.data-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  text-align: center;
}

.data-table th {
  font-weight: 600;
  padding: 14px 8px;
  background-color: #e0e0e0;
  border: none;
  color: #000;
  text-align: center;
}

.data-table td {
  padding: 12px 12px;
  border-bottom: 1px dashed #ccc;
  color: #333;
}

.data-table tbody tr:hover td {
  background-color: #f9f9f9;
}

.multi-row-td {
  vertical-align: middle;
}

/* 隐藏图片预览容器 */
#viewer-container {
  display: none;
}

/* Responsive Media Queries */
@media screen and (max-width: 768px) {
  .container {
    width: auto;
  }

  .mechanism-wrap {
    padding: 10px;
  }
  
  .detail-wrap {
    padding: unset;
    box-shadow: unset;
    padding-top: 20px;
  }
  
  .detail-title {
    font-size: 20px;
  }
  
  .info-table, .info-table tbody, .info-table tr, .info-table td {
    display: block;
    width: 100%;
  }
  
  .info-table tr {
    margin-bottom: 0;
    border-bottom: none;
    display: flex;
    flex-wrap: wrap;
  }
  
  .info-table td {
    padding: 10px 0;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
  
  .info-table .label {
    text-align: left;
    padding-bottom: 5px;
    width: 100%;
  }
  
  /* 每行中作为结尾的 value 单元格才加底边框，作为整个条目的分割线 */
  .info-table .value {
    padding-bottom: 10px;
    width: 100%;
    word-break: break-all;
    border-bottom: 1px dashed #eee;
  }
  
  /* 如果一行中最后一个元素是 value，并且它已经是整个表格最后一行，则去掉下边框 */
  .info-table tr:last-child .value:last-child {
    border-bottom: none;
  }
}