@font-face {
  font-family: "PingFang-Original";
  src: url('pingfang.ttf') format('truetype');
}
@font-face {
  font-family: "PingFang-New";
  src: url('pingfang1.ttf') format('truetype');
}

* {
  font-family: "PingFang-New", sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

img {
  display: block;
}

ul,li,ol {
  list-style: none;
}

body {
  width: 100%;
  min-height: 100vh;
  padding: 1rem;
  font-family: "PingFang-New", sans-serif;
}

.box1,.box2,.box3,.last {
  font-family: "PingFang-Original", sans-serif !important;
}

.box1 *, .box2 *:not(button), .box3 *, .last * {
  font-family: inherit !important;
}

.box2 button {
  font-family: "PingFang-New", sans-serif !important;
}

.box1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
}

.box1 div {
  background-color: #c9c9c9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box1 img{
    width: 2rem;
}

.box2 {
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-left: 0.5rem;
  padding-bottom: 2rem;
  position: relative;
}

.box2 .avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  margin-right: 1rem;
}

.box2 h2 {
  color: #c98e34;
  font-weight: 500;
  font-size: 1rem;
  margin-right: 0.8rem;
}

.box2 button {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 0.6rem;
  padding: 0.2rem;
  height: 1.2rem;
  width: 3rem;
  background-color: #fff;
  border: 1px solid #e9e8ea;
  color: #3e4040;
}

.box2 button img {
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.1rem;
  margin-top: 0.1rem;
}

.box2 .good {
  position: absolute;
  background-color: #696669;
  color: #ffffff;
  display: flex;
  align-items: center;
  right: 1rem;
  bottom: 2rem;
  min-width: 3.2rem;
  border-radius: 1rem;
  padding: 0.2rem 0.4rem;
}

.box2 .good img {
  width: 1rem;
  height: 1rem;
  margin-right: 0.3rem;
}

.box2 .good p {
  font-size: 0.8rem;
}

.list {
  margin-right: 1rem;
  width: 1.2rem;
  height: 1.2rem;
}

.box3 section {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 1rem;
}

.box3 section .i1 {
  width: 1rem;
  height: 1rem;
  position: absolute;
  left: -0.3rem;
  top: -0.3rem;
  transform: rotate(315deg);
}

.box3 span {
  display: block;
  color: #c2a77d;
  font-weight: 600;
  background-color: #3e4040;
  height: 1.3rem;
  font-style: italic;
  border-bottom-left-radius: 1rem;
  border-top-left-radius: 1rem;
  padding: 0.1rem 0.2rem 0.1rem .6rem;
}

.box3 div{
    display: flex;
    justify-content: flex-start !important;
}

.box3 .i3{
    height: 1.2rem;
    margin-left: .6rem;
}

.box3 .i2 {
  width: 1rem;
}

.box3 p {
  height: 1.3rem;
  font-weight: normal;
  background: linear-gradient(to right, #454545, #303030);
  border: 0;
  color: #E7D9A0;
  font-weight: 500;
  padding: 0.1rem 0.6rem 0.1rem 0.3rem;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.box div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.box5 {
  color: #b8b8ba;
}

.box10 div p:last-child {
  color: #b8b8ba;
}

.box7_right {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
}

.box7_right img {
  height: 1rem;
  margin-right: 0.5rem;
}

.box8 .box7_right img {
  height: 2rem;
  margin-right: 0.5rem;
}

.box8 .box7_right img:last-child {
  height: 1rem;
}

.box .right {
  margin-left: 1rem;
  width: 1.2rem;
  height: 1.2rem;
}

.box4 {
  display: flex;
  align-items: center;
}

.last {
  display: grid;
  align-items: center;
  justify-content: space-between;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
  margin-top: 8rem;
}

.last button {
  width: 100%;
  border: none;
  border: 1.5px solid #d7d7d7;
  height: 35%;
  padding-bottom: 35%;
  position: relative;
  border-radius: 5px;
  background-color: #fff;
}
.last span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 500;
  color: #000;
  font-size: 1rem;
}

.last button:last-child {
  background-color: #0099ff;
  border-color: #0099ff;
}

.last button:last-child span {
  color: #fff !important;
}

/* 弹窗样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  backdrop-filter: blur(5px); /* 毛玻璃效果 */
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px; /* 圆角边框 */
  width: 80%; /* 调整宽度 */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* 阴影效果 */
  animation-name: animatetop;
  animation-duration: 0.4s; /* 弹窗动画 */
}

/* 弹窗动画 */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  transition: color 0.3s; /* 过渡效果 */
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* 表单样式 */
#editForm label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

#editForm input[type="text"],
#editForm input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

#editForm input[type="submit"] {
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#editForm input[type="submit"]:hover {
  background-color: #0056b3;
}