/* 修复公会导航显示问题 */

.clans-nav-container {
    width: 100% !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 20px 20px 20px 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    border-left: none !important;
    box-shadow: none !important;
    display: block !important;
    visibility: visible !important;
}

/* 顶部用户信息区域 */
.clans-user-info {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.user-avatar {
    margin-right: 15px;
}

.user-avatar img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: none !important;
}

.user-details {
    flex-grow: 1 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.user-clan-info {
    font-size: 14px;
    color: #a04cd5;
    font-weight: 500;
}

/* 左侧导航菜单 */
.clans-sidebar-nav {
    margin-top: 10px;
}

.clans-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 5px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.nav-item a {
    display: flex !important;
    align-items: center !important;
    padding: 12px 15px !important;
    color: #ccc !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
}

.nav-item a i {
    margin-right: 12px !important;
    font-size: 16px !important;
    color: #9b88b4 !important;
    transition: all 0.3s ease !important;
}

.nav-item a span {
    flex-grow: 1 !important;
}

.nav-item:hover a {
    background: rgba(160, 76, 213, 0.1) !important;
    color: #fff !important;
    border-left: 3px solid #a04cd5 !important;
}

.nav-item:hover a i {
    color: #a04cd5 !important;
}

.nav-item.active a {
    background: rgba(160, 76, 213, 0.2) !important;
    color: #fff !important;
    border-left: 3px solid #a04cd5 !important;
    box-shadow: 0 2px 8px rgba(160, 76, 213, 0.3) !important;
}

.nav-item.active a i {
    color: #a04cd5 !important;
    filter: drop-shadow(0 0 3px rgba(160, 76, 213, 0.5)) !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .clans-user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .user-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .nav-item a {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* 确保导航显示在顶部 */
.col-md-12 {
    position: relative;
}

/* 修复公会列表样式 */
.clans-list {
    margin-top: 20px;
}