/* ========= 页面基础 ========= */
body {
  margin: 0;
  padding: 0;
  font-family: "微软雅黑", sans-serif;
  background-color: #f4f6f9;
}

.container {
  max-width: 1080px;
  margin: 50px auto;
  padding: 30px 40px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ========= 顶部区域 ========= */
.header {
  display: flex;
  align-items: center;
  justify-content: center; /* 标题居中 */
  flex-direction: column;
  margin-bottom: 25px;
  position: relative; /* 允许其他元素定位 */
}

.header h2 {
  font-size: 26px;
  font-weight: bold;
  color: #2c3e50;
  margin: 0;
  text-align: center; /* 标题居中 */
}

#caseTitle {
  font-size: 16px; /* 案由小一点 */
  color: #555;
  margin-top: 8px;
  text-align: center; /* 标题居中 */
}

/* 返回按钮 */
.back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: #3498db;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
  position: absolute;
  top: 20px;
  left: 20px; /* 固定位置在左上角 */
}

.back-btn:hover {
  background-color: #2980b9;
}

#catalogToggleBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background-color: #4CAF50;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
}
#catalogToggleBtn:hover {
  background-color: #45a049;
}

/* ========= 委托人信息 ========= */
.client-info {
  font-size: 14px;
  color: #555;
  position: absolute; /* 固定在右上角 */
  top: 20px;
  right: 20px;
  text-align: right; /* 右对齐 */
}

.client-info div {
  margin-bottom: 4px;
}

.client-info #clientPhone {
  font-size: 12px;
  color: #888;
}

/* ========= 标签按钮区域 ========= */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  justify-content: center; /* 标签按钮居中 */
}

.tab-btn {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #e0e0e0;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.tab-btn:hover {
  background-color: #d5d5d5;
}

.tab-btn.active {
  background-color: #3498db;
  color: #fff;
  font-weight: bold;
}

/* ========= 内容区域 ========= */
.tab-content {
  padding: 24px;
  background-color: #fbfbfb;
  border: 1px solid #ddd;
  border-radius: 10px;
  min-height: 220px;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.tab-content.hidden {
  display: none;
}

/* ========= 动画容器 ========= */
#transitionBox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #f7f9fc;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#transitionBox.show {
  display: flex;
}

#lottieContainer {
  width: 280px;
  height: 280px;
}
.zhuangtailiuzhuanbutton{
    height: 50px;
    cursor: pointer;
}