/* manquxingqiu/assets/css/components.css */
/* 导航组件 */

.nav-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    display: flex;
    border-top: 1px solid #eee;
    z-index: 100;
}
.nav-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}


/* 通用卡片组件 */
.grid-item,
.list-item {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 切换器组件 */
.order-switch {
    display: flex;
    margin: -15px -15px 15px;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}
.switch-item {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}


/* 用户画像组件 */
.user-persona {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}
.persona-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #07c160;
    transition: transform 0.3s;
}
.persona-avatar:hover {
    transform: scale(1.1);
}

/* 导航栏容器 */
.nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 0 10px;
}

/* 导航项 */
.nav-item {
    flex: 1;
    max-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
}



/* 图标样式 */
.nav-item svg {
    width: 26px;  /* 统一图标尺寸 */
    height: 26px; /* 统一图标尺寸 */
    margin-bottom: 3px; /* 调整间距 */
    transition: transform 0.2s ease;
}


/* 文字样式 */
.nav-text {
    font-size: 0.75rem;
    line-height: 1.2;
}
/* manquxingqiu/assets/css/components.css */
.nav-item {
    flex: 1;
    max-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
}


.nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}



.route-transition {
  animation: routeFade 0.3s ease;
}

@keyframes routeFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
