/* 全局样式 - 自适应 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-size: 14px;
  background: #F5F5F5;
  padding-bottom: 60px; /* 给底部导航留空间 */
}

/* 底部导航 - 手机端 */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.tab-item {
  flex: 1;
  text-align: center;
  color: #333;
  font-size: 12px;
}

/* 电脑端适配 - 隐藏底部导航，显示侧边栏 */
@media screen and (min-width: 768px) {
  .tabbar {
    display: none;
  }
  body {
    padding-left: 200px;
    padding-bottom: 0;
  }
  /* 电脑端侧边菜单 */
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    background: #fff;
    border-right: 1px solid #eee;
    padding-top: 20px;
  }
  .sidebar-item {
    padding: 10px 20px;
    color: #333;
    cursor: pointer;
  }
}

/* 通用按钮 */
.btn {
  display: block;
  width: 90%;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background: #FF4D4F;
  color: #fff;
  border-radius: 8px;
  margin: 10px auto;
  border: none;
}

/* 表单样式 */
.form-item {
  margin: 15px 10px;
}
.form-item label {
  display: block;
  margin-bottom: 5px;
}
.form-item input, .form-item select {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}