/* 移动端布局样式 */

/* 基础布局 */
.mobile-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  background-color: #f8f9fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mobile-content {
  flex: 1;
  padding: 1rem;
  padding-bottom: 70px; /* 为底部导航留出空间 */
  overflow-y: auto;
}

/* 底部导航 */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #fff;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  padding: 0 10px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 25%;
  height: 100%;
  color: #555;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.nav-item.active {
  color: #007bff;
  font-weight: 500;
}

.nav-icon {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

/* 响应式调整 */
@media (max-width: 360px) {
  .nav-item {
    font-size: 0.7rem;
  }

  .nav-icon {
    font-size: 1.3rem;
  }
}
