/* 深色主题法律页面样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #16191d;
  color: #eef0f2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.8;
  min-height: 100vh;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 页面头部 */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid #2d3339;
  margin-bottom: 40px;
}

.page-header .logo {
  height: 50px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.page-header .logo:hover {
  opacity: 0.8;
}

.page-header .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ffeb06, #fe5400);
  color: #16191d;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 127, 0, 0.3);
}

.page-header .back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 127, 0, 0.4);
}

/* 内容区域 */
.edit-body {
  flex: 1;
  background-color: #1b1f24;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2d3339;
}

.edit-body h3 {
  font-size: 28px;
  color: #ff7f00;
  margin-bottom: 10px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

.edit-body h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ffeb06, #fe5400);
  border-radius: 2px;
}

.edit-body .update-time {
  color: #9ba5b1;
  font-size: 14px;
  margin-bottom: 30px;
  padding-top: 10px;
}

.edit-body h4 {
  font-size: 18px;
  color: #ffae00;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  padding-left: 15px;
}

.edit-body h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #ffeb06, #fe5400);
  border-radius: 2px;
}

.edit-body p {
  color: #eef0f2;
  font-size: 15px;
  margin-bottom: 15px;
  text-align: justify;
}

.edit-body a {
  color: #ff7f00;
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.edit-body a:hover {
  color: #ffae00;
  border-bottom-color: #ffae00;
}

.edit-body ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.edit-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.edit-body ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff7f00;
  font-weight: bold;
}

.edit-body ul li p {
  margin-bottom: 5px;
}

/* 页脚 */
.footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #2d3339;
  text-align: center;
  color: #9ba5b1;
  font-size: 14px;
}

.footer a {
  color: #9ba5b1;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ff7f00;
}

.footer span {
  display: block;
  margin-top: 15px;
}

.footer span a {
  margin: 0 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .wrap {
    padding: 20px 15px;
  }

  .page-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .edit-body {
    padding: 25px 20px;
  }

  .edit-body h3 {
    font-size: 22px;
  }

  .edit-body h4 {
    font-size: 16px;
  }

  .edit-body p {
    font-size: 14px;
  }
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1b1f24;
}

::-webkit-scrollbar-thumb {
  background: #2d3339;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3d4349;
}
