
.header[data-v-683c3862] {
    background-color: #ffffff;
    padding: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    transition: all 0.3s ease;
}
.fixed-header[data-v-683c3862] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
.header-content[data-v-683c3862] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    position: relative;
}
.logo-container[data-v-683c3862] {
    display: flex;
    align-items: center;
    width: 200px;
    cursor: pointer;
}
.logo-container a[data-v-683c3862] {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #303133;
}
.logo-image[data-v-683c3862] {
    height: 32px;
}
.logo-text[data-v-683c3862] {
    font-weight: 520;
}

/* 中间导航菜单 */
.nav-menu[data-v-683c3862] {
    flex: 1;
    display: flex;
    justify-content: center;
}
.menu-items[data-v-683c3862] {
    border-bottom: none;
    display: flex;
    margin: 0 auto;
}
.menu-text[data-v-683c3862] {
    font-size: 14px;
    font-weight: 700;
}

/* 只保留底部颜色条样式 */
.el-menu--horizontal>.el-menu-item.is-active[data-v-683c3862] {
    border-bottom: 2px solid #409EFF;
}

/* 确保所有el-menu-item具有相同的样式 */
.el-menu--horizontal>.el-menu-item[data-v-683c3862] {
    height: 60px;
    line-height: 60px;
}

/* 右侧区域 */
.header-right[data-v-683c3862] {
    display: flex;
    align-items: center;
}

/* 搜索框和登录按钮容器 */
.search-user-actions[data-v-683c3862] {
    display: flex;
    align-items: center;
}
.search-container[data-v-683c3862] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}
.search-input[data-v-683c3862] {
    width: 220px;
    margin-right: 15px;
}
.login-button[data-v-683c3862] {
    white-space: nowrap;
}

/* 搜索建议样式 */
.search-suggestion-item[data-v-683c3862] {
    display: flex;
    align-items: center;
    padding: 8px 0;
}
.search-suggestion-item .website-icon[data-v-683c3862] {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-suggestion-item .website-icon img[data-v-683c3862] {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
}
.search-suggestion-item .website-icon i[data-v-683c3862] {
    font-size: 20px;
    color: #909399;
}
.search-suggestion-item .website-info[data-v-683c3862] {
    flex: 1;
    overflow: hidden;
}
.search-suggestion-item .website-name[data-v-683c3862] {
    font-size: 14px;
    font-weight: 500;
    color: #303133;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-suggestion-item .website-description[data-v-683c3862] {
    font-size: 12px;
    color: #909399;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 移动端菜单切换按钮 */
.mobile-menu-toggle[data-v-683c3862] {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.menu-icon[data-v-683c3862] {
    font-size: 24px;
    color: #303133;
    transition: all 0.3s;
}

/* 移动端菜单 */
.mobile-menu[data-v-683c3862] {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #ffffff;
    z-index: 999;
    overflow-y: auto;
    transition: all 0.3s ease;
}
.mobile-menu-items[data-v-683c3862] {
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.mobile-menu-item[data-v-683c3862] {
    display: flex;
    align-items: center;
    padding: 15px;
    color: #303133;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #ebeef5;
    transition: all 0.3s;
}
.mobile-menu-item i[data-v-683c3862] {
    margin-right: 10px;
    font-size: 20px;
}
.mobile-menu-item[data-v-683c3862]:hover,
.mobile-menu-item[data-v-683c3862]:active {
    background-color: #f5f7fa;
    color: #409EFF;
}
.login-item[data-v-683c3862] {
    margin-top: 20px;
    background-color: #f0f8ff;
    border-radius: 4px;
    border: none;
    color: #409EFF;
}

/* PC端和移动端显示控制 */
.pc-only[data-v-683c3862] {
    display: flex;
}
.mobile-only[data-v-683c3862] {
    display: none;
}

/* 响应式样式 */
@media (max-width: 768px) {
.header[data-v-683c3862] {
        height: 60px;
}
.header-content[data-v-683c3862] {
        padding: 0 15px;
        justify-content: space-between;
        height: 60px;
}
.logo-container[data-v-683c3862] {
        width: auto;
        margin-right: 10px;
}
.logo-text[data-v-683c3862] {
        display: none;
}
.logo-image[data-v-683c3862] {
        height: 28px;
}
.mobile-menu-toggle[data-v-683c3862] {
        display: flex;
}
.pc-only[data-v-683c3862] {
        display: none;
}
.mobile-only[data-v-683c3862] {
        display: flex;
}
.search-container[data-v-683c3862] {
        flex: 1;
}
.search-input[data-v-683c3862] {
        width: 100%;
        margin-right: 0;
}

    /* 搜索建议在移动端的样式调整 */
.search-suggestions[data-v-683c3862] {
        width: 90vw !important;
        max-width: none !important;
        left: 5vw !important;
}
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
.search-input[data-v-683c3862] {
        max-width: 180px;
}
.mobile-menu-item[data-v-683c3862] {
        padding: 12px;
        font-size: 15px;
}
}
a[data-v-683c3862] {
    text-decoration: none;
}


body {
    margin: 0;
    padding: 0;
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;
    background-color: #f5f7fa;
}
#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.main-content {
    flex: 1;
    padding-top: 60px;
    /* 为固定header留出空间 */
    position: relative;
}

/* 全局样式重置，确保元素素之间的间距一致 */
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

/* 确保el-menu在各页面样式一致 */
.el-menu.el-menu--horizontal {
    border-bottom: none;
}

/* 移动端底部导航栏 */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background-color: #ffffff;
    z-index: 990;
    justify-content: space-around;
    align-items: center;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: #909399;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
}
.nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}
.nav-item.active {
    color: #409EFF;
}

/* 移动端适配 */
@media (max-width: 768px) {
.main-content {
        padding-top: 60px;
        padding-bottom: 56px;
        /* 为底部导航留出空间 */
}
body {
        overflow-x: hidden;
        /* 防止在移动设备上出现水平滚动 */
}

    /* 调整element-ui组件在移动端的表现 */
.el-message {
        min-width: 80% !important;
        width: 80% !important;
}

    /* 增强移动端触摸体验 */
input,
    button,
    .el-button {
        -webkit-tap-highlight-color: transparent;
}

    /* 移动端点击态反馈 */
.el-button:active {
        transform: scale(0.98);
}

    /* 显示移动端底部导航 */
.mobile-bottom-nav {
        display: flex;
}
}

/* 超小屏幕适配 */
@media (max-width: 480px) {

    /* 调整超小屏幕上的间距 */
.el-row {
        margin-left: -5px !important;
        margin-right: -5px !important;
}
.el-col {
        padding-left: 5px !important;
        padding-right: 5px !important;
}
.nav-item {
        font-size: 11px;
}
.nav-item i {
        font-size: 20px;
}
}

