* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "SimSun", "PingFang SC", "Helvetica Neue", sans-serif;
  color: #000;
  background-color: #FFF;
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式：适配右上角登录 */
.header {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 1px solid #EEEEEE;
  position: relative;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.slogan {
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
}

/* 导航栏样式 */
.nav {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #EEEEEE;
  margin-bottom: 30px;
}

.nav a {
  color: #000;
  text-decoration: none;
  margin: 0 12px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
}

.nav a:hover {
  text-decoration: underline;
}

/* 内容区样式 */
.content {
  margin-bottom: 50px;
}

.section h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

hr {
  border: none;
  border-top: 1px solid #EEEEEE;
  margin: 10px 0 20px;
}

.paper {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #EEEEEE;
}

.paper h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* 表单/按钮样式 */
.form-container {
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  border: 1px solid #EEEEEE;
}

.form-title {
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #000;
  color: #FFF;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background: #333;
}

/* 管理员后台样式 */
.admin-panel {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
}

/* 登录页专属样式 */
.login-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 30px;
  border: 1px solid #eee;
  text-align: center;
}
/* 统一模态弹窗 = 和登录框一模一样 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', 'Noto Serif SC', serif;
}
.modal.active {
  display: flex;
}
.modal-box {
  background: #fff;
  width: 100%;
  max-width: 420px;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  text-align: center;
  position: relative;
}
.modal-box h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #2c3e50;
}
.modal-box p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}
.modal-box .btn {
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  margin: 0 6px;
}
.btn-confirm {
  background: #e74c3c;
  color: white;
}
.btn-cancel {
  background: #eee;
  color: #333;
}