
    .header-navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .topnav-logo {
        display: flex;
        align-items: center;
    }

    .logo-title {
        margin-left: 10px;
    }

    .nav-link {
        color: white;
        text-decoration: none;
        margin-left: 10px;
        font-size: 1.1rem;
    }

    .nav-link:hover {

        color: #ff0000; /* 悬停时的颜色，可以根据需要进行调整 */
    }

    .menu-icon {
        display: none;
        font-size: 30px;
        cursor: pointer;
        position: absolute;
        right: 10px;
    }

    .header-left {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .header-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
    }

/* 分类下拉框通用样式 */
.category-select {
    width: 300px;
    height: 38px;
    border-radius: 6px;
    margin-right: 12px;
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ced4da;
    background-color: #fff;
}

/* 如有需要区分移动端样式 */
@media (max-width: 768px) {
    .category-select {
        width: 100%;
        margin-right: 0;
        margin-top: 10px;
    }
}


#search {
    height: 38px;
    border-radius: 6px;
    padding-right: 36px;
    text-align: left;
    width: 180px;
}

    @media (max-width: 768px) {
        .menu-icon {
            display: block;
            color: white;
        }

        .mobile-nav {
            display: none;
            position: absolute;
            top: 60px;
            right: 0;
            background-color: #393D49;
            flex-direction: column;
            z-index: 1000;
            width: auto;
        }

        .mobile-nav.show {
            display: flex;
        }

        .mobile-nav a {
            color: white;
            padding: 10px;
            text-align: center;
            border-bottom: 1px solid #575757;
            text-decoration: none;
            white-space: nowrap;
        }

        .mobile-nav a:hover {
            background-color: #575757;
        }

        .topnav-logo {
            flex-grow: 1;
            justify-content: center;
            display: flex;
            order: 1; /* Ensures logo is first */
        }

        .menu-icon {
            order: 2; /* Ensures menu icon is second */
        }
        
        .header-right .app-search .form-control {
        width: 80%; /* 或者设置为你需要的具体宽度 */
    }
        
    }

    @media (min-width: 769px) {
        .topnav-logo {
            justify-content: flex-start;
        }
    }
