/* 固定样式规则 - 不要修改这个文件 */

/* 导航菜单固定宽度和间距 */
.nav-links > li > span,
.nav-links > li > a {
    white-space: nowrap;
    padding: 0.5rem 1.5rem;
    min-width: 120px;
}

/* 子菜单固定宽度 */
.theme-options { min-width: 280px; }
.route-options { min-width: 260px; }
.type-options { min-width: 300px; }
.community-options { min-width: 240px; }
.member-options { min-width: 240px; }
.language-options { min-width: 200px; }

/* 图标固定间距 */
.nav-links i,
.theme-options i,
.route-options i,
.type-options i,
.community-options i,
.member-options i,
.language-options i {
    width: 24px;
    margin-right: 15px;
    text-align: center;
}

/* 语言切换器固定样式 */
#current-language {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    min-width: 180px;
}

#current-language i:first-child {
    margin-right: 12px;
    width: 24px;
}

#current-language i:last-child {
    margin-left: 12px;
}

/* 子菜单项固定样式 */
.theme-options a,
.route-options a,
.type-options a,
.community-options a,
.member-options a,
.language-options a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    white-space: nowrap;
}

/* 移动端固定样式 */
@media screen and (max-width: 768px) {
    .nav-links li > a,
    .nav-links li > span {
        padding: 15px 20px;
        width: 100%;
    }

    .theme-options,
    .route-options,
    .type-options,
    .community-options,
    .member-options,
    .language-options {
        width: 100%;
        min-width: 100%;
    }
} 

/* 图标尺寸规范 */

/* 导航栏主菜单图标 */
.nav-links i {
    font-size: 16px;  /* 主导航图标大小 */
    width: 20px;      /* 固定宽度确保对齐 */
    margin-right: 10px;
}

/* 子菜单图标 */
.theme-options i,
.route-options i,
.type-options i,
.community-options i,
.member-options i {
    font-size: 14px;  /* 子菜单图标稍小 */
    width: 18px;      /* 固定宽度 */
    margin-right: 12px;
}

/* 语言切换器图标 */
#current-language i.fi {
    font-size: 16px;  /* 国旗图标大小 */
    width: 20px;
}

/* RV类型图标（图片） */
.rv-type-icon {
    width: 24px;      /* 房车类型图标较大 */
    height: 24px;
    margin-right: 12px;
}

/* 页脚社交媒体图标 */
.social-links i {
    font-size: 18px;  /* 社交媒体图标突出显示 */
    width: 24px;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    /* 移动端图标放大 */
    .nav-links i {
        font-size: 18px;
        width: 24px;
    }
    
    .theme-options i,
    .route-options i,
    .type-options i,
    .community-options i,
    .member-options i {
        font-size: 16px;
        width: 20px;
    }

    .rv-type-icon {
        width: 28px;
        height: 28px;
    }
} 