/* Vuexy主题移动端底部菜单栏样式 */
.mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px;
    padding-bottom: 8px;
    z-index: 1000;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    height: 70px;
    box-sizing: border-box;
}

/* 当菜单隐藏时，确保不占用空间 */
.mobile-bottom-menu[style*="display: none"] {
    height: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

/* 强制移除登录注册页面的底部间距 */
body[style*="padding-bottom: 0"] {
    padding-bottom: 0 !important;
}

/* 确保认证页面没有底部白色带 */
body.auth-page,
body.login-page,
body.register-page {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 针对特定认证页面的强制样式 */
body:has(.login-form),
body:has(form[action*="login"]),
body:has(#login-form) {
    padding-bottom: 0 !important;
}

.mobile-menu-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.mobile-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-width: 60px;
    cursor: pointer;
}

.mobile-menu-item:hover {
    color: #7367f0;
    background: rgba(115, 103, 240, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.mobile-menu-item.active {
    color: #7367f0;
    background: rgba(115, 103, 240, 0.15);
}

.mobile-menu-icon {
    margin-bottom: 4px;
    font-size: 22px;
    line-height: 1;
    transition: all 0.3s ease;
}

.mobile-menu-item.active .mobile-menu-icon {
    opacity: 1;
    transform: scale(1.1);
}

.mobile-menu-text {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    text-shadow: none;
    margin-top: 2px;
}

/* Vuexy主题移动端响应式样式 */
@media (max-width: 768px) {
    body {
        padding-bottom: 40px !important;
    }
    
    #root {
        padding-bottom: 40px !important;
    }
    
    /* Vuexy主题特定样式调整 */
    .main-menu {
        display: none !important;
    }
    
    .navbar {
        padding: 0 16px !important;
    }
    
    .content-wrapper {
        margin-left: 0 !important;
        padding: 16px !important;
        padding-bottom: 60px !important;
    }
    
    .content-area-wrapper {
        padding-bottom: 60px !important;
    }
    
    .mobile-bottom-menu {
        display: block;
    }
    
    /* 隐藏Vuexy主题的侧边栏 */
    .main-menu-content {
        display: none !important;
    }
    
    .sidenav-overlay {
        display: none !important;
    }
    
    /* 调整Vuexy主题的主内容区域 */
    .app-content {
        margin-left: 0 !important;
        padding: 16px !important;
    }
    
    .content-overlay {
        display: none !important;
    }
}

/* 桌面端隐藏移动端菜单 */
@media (min-width: 769px) {
    .mobile-bottom-menu {
        display: none !important;
    }
}

/* Vuexy主题深色模式适配 */
.dark-layout .mobile-bottom-menu {
    background: rgba(30, 30, 30, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.dark-layout .mobile-menu-item {
    color: rgba(255, 255, 255, 0.8);
}

.dark-layout .mobile-menu-item:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(115, 103, 240, 0.2);
    transform: translateY(-1px);
}

.dark-layout .mobile-menu-item.active {
    color: #7367f0;
    background: rgba(115, 103, 240, 0.25);
}