/* 面包屑 */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #595959;
}
.breadcrumb a {
  color: #595959;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: #1890ff;
}
.breadcrumb .sep {
  color: #d9d9d9;
}
.breadcrumb .current {
  color: #8c8c8c;
}
.back-btn {
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 13px;
  border: 1px solid #1890ff;
  background: #1890ff;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}
.back-btn:hover {
  opacity: 0.85;
}

/* ── 商标详情页专用样式 ── */

/* 申请人详情页通用样式（补回） */
.card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  margin-bottom: 16px;
}
.card-body {
  padding: 16px 20px;
}
.section-title {
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  font-weight: 600;
  color: #1f1f1f;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  background: #1890ff;
  border-radius: 2px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
.grid-item {
  display: flex;
  font-size: 13px;
  line-height: 1.8;
}
.grid-label {
  color: #8c8c8c;
  min-width: 110px;
  flex-shrink: 0;
}
.grid-value {
  color: #1f1f1f;
  flex: 1;
  word-break: break-all;
}
.doc-preview-area {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.doc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.doc-box {
  width: 180px;
  height: 120px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.2s;
}
.doc-box:hover {
  border-color: #1890ff;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
}
.doc-label {
  font-size: 12px;
  color: #595959;
}

/* 卡片通用 */
.tm-detail-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  margin-bottom: 16px;
}
.tm-detail-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f1f1f;
  padding: 16px 24px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tm-detail-section-title::before {
  content: "";
  width: 3px;
  height: 16px;
  background: #1890ff;
  border-radius: 2px;
}

/* 垂直时间线 */
.tm-detail-v-timeline {
  padding: 16px 24px 24px 48px;
  position: relative;
}
.tm-detail-v-item {
  position: relative;
  padding-bottom: 12px;
  padding-left: 20px;
}
.tm-detail-v-item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: #e8e8e8;
}
.tm-detail-v-item:last-child::before {
  display: none;
}
.tm-detail-v-dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d9d9d9;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d9d9d9;
  z-index: 1;
}
.tm-detail-v-item.active .tm-detail-v-dot {
  background: #fa8c16;
  box-shadow: 0 0 0 1px #fa8c16;
}
.tm-detail-v-item.active::before {
  background: #fa8c16;
}
.tm-detail-v-content {
  line-height: 1.6;
}
.tm-detail-v-date {
  font-size: 12px;
  color: #8c8c8c;
}
.tm-detail-v-item.active .tm-detail-v-date {
  color: #fa8c16;
}
.tm-detail-v-name {
  font-size: 13px;
  color: #8c8c8c;
  margin-top: 2px;
}
.tm-detail-v-item.active .tm-detail-v-name {
  color: #1f1f1f;
  font-weight: 500;
}

/* 审核提示 */
.tm-detail-audit-tip {
  padding: 12px 24px 20px;
  font-size: 12px;
  color: #fa8c16;
  line-height: 1.6;
  text-align: center;
}

/* 商标信息布局 */
.tm-detail-info-layout {
  display: flex;
  padding: 20px 24px 24px 24px;
  gap: 60px;
}
.tm-detail-info-left {
  flex: none;
  width: 520px;
}
.tm-detail-info-right {
  flex-shrink: 0;
  display: flex;
  gap: 60px;
}
.tm-detail-info-row {
  display: flex;
  margin-bottom: 14px;
  align-items: flex-start;
  line-height: 1.6;
}
.tm-detail-info-row:last-child {
  margin-bottom: 0;
}
.tm-detail-info-label {
  width: 90px;
  font-size: 13px;
  color: #8c8c8c;
  flex-shrink: 0;
}
.tm-detail-info-value {
  font-size: 13px;
  color: #1f1f1f;
  flex: 1;
  word-break: break-all;
}

/* 商品/服务项目列表 */
.tm-detail-goods-list {
  margin-top: 6px;
}
.tm-detail-goods-item {
  display: flex;
  gap: 8px;
  margin-bottom: 3px;
  font-size: 12px;
}
.tm-detail-goods-item:last-child {
  margin-bottom: 0;
}
.tm-detail-goods-code {
  color: #fa8c16;
  min-width: 44px;
}
.tm-detail-goods-name {
  color: #1f1f1f;
}

/* 信息右侧文档预览 */
.tm-detail-doc-item {
  text-align: center;
}
.tm-detail-doc-box {
  width: 110px;
  height: 140px;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  margin-bottom: 6px;
  overflow: hidden;
}
.tm-detail-doc-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tm-detail-doc-label {
  font-size: 11px;
  color: #666;
}

/* ── 申请人列表 - 注册商标数量链接 ── */
.tm-tm-count-link {
  color: #1890ff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.tm-tm-count-link:hover {
  color: #096dd9;
  text-decoration: underline;
}

/* ── 申请人统计卡片 ── */
.appl-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.appl-stat-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.appl-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.appl-stat-icon.blue {
  background: #e6f7ff;
}
.appl-stat-icon.green {
  background: #f6ffed;
}
.appl-stat-icon.orange {
  background: #fff7e6;
}
.appl-stat-icon.red {
  background: #fff1f0;
}
.appl-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #1f1f1f;
  line-height: 1.2;
}
.appl-stat-label {
  font-size: 12px;
  color: #8c8c8c;
  margin-top: 2px;
}
@media (max-width: 992px) {
  .appl-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .appl-stats-row {
    grid-template-columns: 1fr;
  }
}
